#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>
#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>
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>
- 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>
- 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>
- 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>
- 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>
- 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>
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.