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

39 Commits

Author SHA1 Message Date
8n-tech
3de0e897be Multiple boardlist enhancements.
#467 - Reduced and modified columns.
#467 - Styling changes across all supported stylesheets.
#467 - PPH now reflects last hour's posts count and has average in title.
#467 - Removed precision, except for boards that have between 0~1 posts.
#467 - Fixed issue where inline board tags pointed to the HTML file, rendering them nonfunctional for noJS users.
Misc - Fixed quote color in certain stylesheets.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-21 11:08:47 +10:00
Fredrick Brennan
48d02bfbef Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-04-20 10:58:49 +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
393088e043 Uptime not necessary in boards.php 2015-04-19 08:16:47 -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
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
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
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
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
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
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
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
8chan
f7bfcee84e maxes.txt 2015-03-10 16:20:55 -07:00
8chan
d970baa5d8 Public action logs commit (log.php)
Note: In a previous commit, I began making inc/mod/auth.php more modular with the check_login() function. Including it does NOT check mod login by default anymore like it does on vichan. You have to call check_login(). I've finally included it in inc/functions.php. If you have any custom pages that use inc/mod/auth.php, just including functions.php is enough now.
2015-02-25 17:21:49 -08:00
8chan
3ab6489154 Top 2k in separate file 2015-01-28 17:55:58 -08:00
8chan
de31d6fca8 Option to not show top boards 2014-12-31 22:28:49 -08:00
8chan
fa9a3da913 New boards.html page now with tags 2014-12-03 00:10:28 -08:00
8chan
2f352f390d Don't die on bad board configs 2014-11-09 22:17:50 -08:00
8chan
1db3bbe201 Top bar blacklist 2014-10-28 23:22:13 -07:00
8chan
6e30bda41b Optimization: Load only top 20 boards in update_boards.js 2014-10-21 21:04:46 -07:00
8chan
d58adad48d SECURITY: Move indexed option to table...fixes unindexed boards appearing in search/random 2014-10-07 20:54:00 -07:00
8chan
345e5aa3a4 Featured boards now based on uniques 2014-10-06 18:01:01 -07:00
8chan
84d600a880 unique ips column 2014-09-29 07:17:00 +00:00
8chan
47a92791ed Merge branch 'master' of https://github.com/bui/8chan into bui-master
Conflicts:
	boards.php
2014-09-27 04:58:41 +00:00
8chan
d5c975622e Use templates for more pages, i18n 2014-09-26 23:52:02 +00:00
Bui
f4a9c5f551 only use 8chan locales 2014-09-26 10:38:23 +09:00
Bui
ae183c1c42 use country names in boards.html 2014-09-26 10:15:17 +09:00
8chan
4911017e8e show board titles in boards list 2014-09-25 20:50:37 +00:00
fourfivesix
52b9afe4a8 Tabs > spaces. 2014-09-23 20:49:59 -03:00
fourfivesix
2865b17594 Fixes a little HTML mistake in boards.php. 2014-09-23 20:46:33 -03:00
fourfivesix
d0c4db9f03 Improves the legibility of boards.php 2014-09-23 20:45:48 -03:00
8chan
eb88cfc9de Fix #10 2014-09-23 23:26:27 +00:00