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

2 Commits

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