1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 02:27:24 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
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