1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00
Commit Graph

7617 Commits

Author SHA1 Message Date
Fredrick Brennan
48d02bfbef Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-04-20 10:58:49 +08:00
Fredrick Brennan
7523c9bc04 Merge branch '8n-tech-master' 2015-04-20 10:56:04 +08:00
8n-tech
aa370fe797 Sweeping CSS fixes.
#467 - Added a title to the board list page.
#467 - Fixed every single custom stylesheet.
#467 - Fixed several stray CSS isues.
#467 - Removed most precision from the PPH.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-20 02:30:51 +10:00
8chan
e0d27d2e98 Fix stylesheet 2015-04-19 08:56:59 -07:00
8n-tech
41f2156b2b Fixed paragraph margins in OP. 2015-04-20 01:25:47 +10:00
8chan
53e2d65419 Merge https://github.com/ctrlcctrlv/infinity 2015-04-19 08:18:20 -07:00
8chan
d3bb0266db Add stylesheet to 8chan/index.html 2015-04-19 08:18:12 -07:00
8chan
0db0ed3beb Hide report/delete by default (needs fix for no JS mode) 2015-04-19 08:17:43 -07:00
8chan
01114796fc jp>ja 2015-04-19 08:17:00 -07:00
8chan
393088e043 Uptime not necessary in boards.php 2015-04-19 08:16:47 -07:00
8chan
96411813b4 Rollback file_write function 2015-04-19 08:16:35 -07:00
Fredrick Brennan
1f4fd1398f Merge pull request #468 from 8n-tech/master
Fixed some styling issues with the latest update.
2015-04-19 10:56:02 -04:00
8n-tech
2c39452190 Fixed some styling issues with the latest update.
#201 - Increased top padding of post blocks.
#458 - Fixed meme arrows.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-20 00:51:45 +10:00
8chan
7fbb51bdd9 Fix thread stats not appearing 2015-04-19 07:39:03 -07:00
8chan
e44a609aa9 Sorry, I don't like this logo addition. 2015-04-19 06:46:02 -07:00
8chan
f34b376dfc Title in boards.html 2015-04-19 06:45:44 -07:00
8chan
5cceda9d15 Merge https://github.com/ctrlcctrlv/infinity
Conflicts:
	boards.php
2015-04-19 06:09:14 -07:00
8chan
31caeed7db Fix no top bar boards 2015-04-19 06:08:29 -07:00
Fredrick Brennan
6076fd077c Merge pull request #465 from 8n-tech/master
More board directory stuff.
2015-04-19 09:04:45 -04:00
8n-tech
558152790d More board directory stuff.
#456 - Fixed issue where the CLI was generating the wrong index.
#456 - Fixed issue where the user was requesting 100% of the boards on pagination.
#456 - Fixed issue where board active users tracked the last hour and not the last 72 hours.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-19 23:00:39 +10:00
8chan
b59999a05d Merge https://github.com/ctrlcctrlv/infinity 2015-04-19 05:37:51 -07:00
Fredrick Brennan
9179290c2a Merge pull request #464 from 8n-tech/master
#456 - boards.php no longer generates a cache file or forbids direct acc...
2015-04-19 08:25:42 -04:00
8n-tech
5f5dbbd163 #456 - boards.php no longer generates a cache file or forbids direct access if a $_GET is specified.
#456 - boards.php now generates a boards.json and boards-top20.json when accessed directly.
#456 - Added API compatibility to board-search.php ('max' and 'ppd')
#456 - Fixed an issue with listBoards() that caused an SQL error if you only asked for indexed.

fuck I hope this works

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-19 22:11:56 +10:00
Fredrick Brennan
0be784e1c8 Merge pull request #463 from 8n-tech/master
#456 #458 #460 #461- Board Lists, RTL Arabic, Index page links, Quick reply link
2015-04-19 06:46:25 -04:00
8n-tech
32061668a3 #456 #458 - Completed language support on boards list.
#461 - "Post a reply" button JS added.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-19 13:10:13 +10:00
Fredrick Brennan
99be39433e Merge pull request #459 from Doctor-von-Piglet/master
replaced location.origin
2015-04-18 20:35:18 -04:00
8n-tech
7257642906 #461 - Added "Post a Reply" button to the thread index page.
Also improved some CSS and HTML aspects of the thread layout.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-18 04:39:50 +10:00
8n-tech
fdce50adf9 #456 Added CSS styling for mobile view of boardlist.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-17 04:03:01 +10:00
8n-tech
62380bfbde #458 - Issue Added RTL support for Arabic writers.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-17 04:02:11 +10:00
8n-tech
80c312b7e3 Issue #460 - No linkbanks to the index or frontpage
I've added the infinity logo to page.html. Any standard page (boards / mod pages / plain pages) will have the logo.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 20:55:04 +10:00
8n-tech
95e92c40a8 Bug fixes.
- board-search.php Fixed an issue with tag weight where all tags have an equal prominance
- inc/functions.php Fixed an issue where board stats were incorrectly assuming all recent activity was in the last hour.
- js/board-directory.js JS will now repopulate the tag list.
- Improved handling of the load more button.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 19:41:52 +10:00
8n-tech
9eb8452793 Made the range for board range now inclusive. i.e. 1-50 instead of 0-50. 101-200 instead of 100-200. 2015-04-16 07:08:30 +10:00
8n-tech
497e554f49 "Load more" button and functionality.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 07:02:17 +10:00
8n-tech
ec90c96459 - board-search.php Now properly calculates tag weight.
- boards.php Passes $search parameters into Twig.
- js/board-reictory.js Stores last search parameters and handles tag click events.
- Twig now passes old search parameters into the search form.
- Tags now link in such a way that they will preserve form data and other tags when clicked in a browser without JavaScript.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 05:46:48 +10:00
Doctor-von-Piglet
cde464b6bf replaced location.origin
location.origin is not defined in all browsers.
2015-04-15 12:03:42 -07:00
8n-tech
67bab31510 - Reworked tag weight.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 00:35:36 +10:00
8n-tech
0347bf772d - board-search.php Improved result limiting.
- boards.php Passes omit information
- js/board-directory.js Improved code organization.
- js/board-directory.js Added NSFW icon.
- js/board-directory.js Added basic locale handling.
- js/board-directory.js Disabled submit button until JS is bound.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-15 22:02:11 +10:00
8n-tech
f09def2712 Main change with this commit is adding board-directory.js which is to handle JS enabled searching.
Highly incomplete. Barely functional. Just lays groundwork.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-15 05:06:49 +10:00
8n-tech
ecfe072a4f - IMPORTANT: Now EXPLICITLY defines $post['time'] as PHP time() instead of relying on database NOW().
- Increased memory management in all of my recent work.
- board-search.php Fetches activity from board_stats and now includes timestamp as a search option.
- boards.php Correctly fetches board activity and formats numbers.
- inc/functions.php Completely reworked activity fetching.
- inc/functions Wrote updateStatisticsForPost() which streams new posts in statistics.
- post.php Writes into updateStatisticsForPost() for streaming new posts.
- Added styling for tags (in progress work).
- tools/migrate_board_stats.php Now correcty defines author_ip_count.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-15 01:01:32 +10:00
8n-tech
316e681bbd New CLI tool for upgrade: tools/migrate_board_stats.php
- Adds new coumn to `boards` for easy-access post total storage.
- Migrates the AUTO_INCREMENT number to the `posts_total` column for every board. This ensures accurate post count measurement.
- Adds `board_stats` table for recording histric data.
- Retroactively records all boards into `board_stats`.

- inc/functions.php Added handling for `posts_total` column in `boards`.
- inc/functions.php Removed some bogus data from fetchBoardActivity
- board-search.php Fixed issue with SFW filtering.
- board-search.php Now accurately sends `posts_total` data for board sum posts.
- boards-search.html Various form fixes so search now submits correctly.
- boards-table.html Fixed `posts_total` value.


Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-14 05:36:38 +10:00
8n-tech
6d1eb9961d - board-search.php can now act as an include as well as a direct request.
- boards.php completely rewritten to work with new board-search.php. Functions (sort-of) without JavaScript.
- inc/functions.php fetchBoardActivity() now pulls total board counts with a more reliable and faster method.
- inc/functions.php fetchBoardActivity() & fetchBoardTags() now expect db prefixes.
- stylesheets/stylesheet.css now handles title search bar.
- boards-tags.html completely thrown out for flat tag list styling.
- boards-search.html added for the new page layout.
- boards-table.html added for the <tbody> contents.


Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-14 01:40:45 +10:00
8n-tech
0ceb814ab3 - Added board-search.php with improved board directory searching.
- Added new functions to functions.php for fetching board meta.
- Added new styling for non-index page 12-col layouts.
- Modified templating for board directories.
- Moved CSS from the index page to CSS files.


Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-13 14:24:55 +10:00
8n-tech
ee7c624517 Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
inc/functions.php
- Fixed issues with dio on windows machines.

inc/lib/Twig/Extensions/Extension/Tinyboard.php
- Added strict (int) typecasting to avoid critical errors in timestamp formatting.

index.php
- Fixed issue where opening index.php would whitepage.

static/nsfw.png
static/swf.png
- Added missing static files.
2015-04-09 20:11:48 +10:00
8n-tech
46cd77e813 Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-04-09 10:22:24 +10:00
Marcin Łabanowski
d00b9633c0 Merge pull request #455 from ninjadoge24/patch-1
Remove redundant check for existence of board
2015-04-08 18:32:37 +02:00
ninjadoge24
d0e240acb7 Remove redundant check for existence of board
It already gets checked in line 217.
2015-04-08 21:49:03 +05:30
8chan
2be56352a1 Merge https://github.com/ctrlcctrlv/infinity 2015-04-06 20:12:42 -07:00
8chan
bd128bf465 This clean feature is too SQL intensive. Only check clean if in mod.php 2015-04-06 20:12:37 -07:00
Fredrick Brennan
64e3f488d6 Merge pull request #453 from czaks/smart-build
Smart build and a few more optimizations
2015-04-07 11:01:23 +08:00
czaks
be80df21f0 8chan/smart-build: 404.php should global $config? php is weird 2015-04-07 01:48:03 +02:00