1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-12 15:51:17 +01:00
Commit Graph

72 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
8chan
d794d88ae0 Information in cycle migration script 2015-04-03 18:51:10 -07:00
Fredrick Brennan
2a52ca8aab Migrate cycle 2015-04-03 14:57:47 +08:00
Fredrick Brennan
3590d873bb Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-04-03 14:54:32 +08:00
Fredrick Brennan
fe400d4e6c -c comment flag is unnecessary 2015-04-03 14:08:57 +08:00
8chan
5acafdf1b9 Datetime migration fix: bans table wasn't taken into account 2015-04-01 16:50:09 -07:00
Fredrick Brennan
e9714b2260 Migrate datetime script for edited_at 2015-03-30 11:22:03 +08:00
8chan
6644bd5b1d Log in tools/import_rules 2015-03-28 19:39:54 -07:00
Fredrick Brennan
12fa8ec3ef Edit static pages commit 2015-03-29 09:18:14 +08:00
Fredrick Brennan
7c54e80554 [i18n] If joining omit header so attribution/plurals stay 2015-03-18 16:59:42 +08:00
Fredrick Brennan
b85e1f2f0b Make it so board owners can force flags
For country flags, a "?" will now show if the flag is unknown (for example, if the user is using Tor or just has an IP that is not in the GeoIP database)

For board owner-defined flags, "None" option disappears and posting is impossible without choosing a valid flag.

This commit is for /fringe/.
2015-03-16 16:31:01 +08: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
78425e8d87 rebuild2 - multithreaded rebuild script 2015-02-19 19:14:24 -08:00
8chan
d63dea93c5 Remove links from ban list 2014-12-24 06:14:04 -08:00
8chan
f3000b6d8a Reset to global locale before openBoard 2014-09-29 07:17:39 +00:00
czaks
fd9196f036 tools/stats.php: restore php 5.3 compatibility; fixes vichan-devel#85 2014-09-24 03:43:23 +02:00
czaks
5f7e62142c SECURITY: prevent a DoS attack by disabling HTTP access to tools/ scripts. 2014-09-21 00:56:00 +02:00
czaks
31185ab4c9 update locales from transifex 2014-04-22 08:49:40 +02:00
czaks
e5c48282c4 apply new branding for vichan-devel 2014-04-17 17:11:32 +02:00
czaks
d274180f81 recount-bumps.txt: a small fix 2014-02-23 22:53:41 +01:00
czaks
15b42f35d0 tools/recount-bumps.php: initial commit 2014-02-23 22:46:04 +01:00
czaks
5fde4acf17 don't touch node_modules. that's mostly an internal commit, but teh public shouldn't mind 2014-02-23 19:39:20 +01:00
czaks
fc178c2724 stats.php: fix typo 2014-01-31 23:39:50 +01:00
czaks
57ae4e1e9b stats.php: update 2014-01-31 23:39:04 +01:00
czaks
c29f1a3db7 add a basic stats CLI util 2014-01-31 23:38:29 +01:00
czaks
87677f7ed4 SECURITY: disallow execution of cli scripts from webserver context 2014-01-31 23:37:55 +01:00
czaks
ab661f9a5c display errors for CLI utils by default 2013-12-25 23:08:19 +01:00
czaks
9092788fe1 Merge https://github.com/savetheinternet/Tinyboard-Tools into vichan-devel-4.5
Conflicts:
	README.md
	js/auto-reload.js
	js/fix-report-delete-submit.js
	js/forced-anon.js
	js/local-time.js
	js/post-hover.js
	js/quick-post-controls.js
	js/quick-reply.js
	js/show-backlinks.js
	js/smartphone-spoiler.js
	migration/kusabax.php
	stylesheets/dark.css
	stylesheets/futaba+vichan.css
	stylesheets/miku.css
	stylesheets/testorange.css
	stylesheets/wasabi.css
	tools/benchmark.php
	tools/i18n_extract.php
	tools/inc/cli.php
	tools/rebuild.php
2013-09-17 15:08:41 -04:00
Michael Foster
c43386253a disable $config['try_smarter'] 2013-09-15 04:23:18 +10:00
Michael Foster
ce3d2019e1 inc/mod.php => inc/mod/auth.php 2013-09-07 00:10:32 +10:00
Michael Foster
4562457de7 typo 2013-08-19 01:48:40 +10:00
Michael Foster
0e89d39e67 +x 2013-08-19 01:36:38 +10:00
Michael Foster
bb300c5d38 tools/delete-stray-images.php 2013-08-19 01:33:30 +10:00
czaks
ad90ea7238 update translation tools 2013-08-05 05:30:11 -04:00
Michael Foster
d6526d27da benchmark: add gm 2013-08-04 06:01:40 -04:00
Michael Foster
8709b3fdfd Add convert+gifsicle 2013-08-01 03:58:44 -04:00
Michael Foster
7aae4df443 chmod +x 2013-08-01 03:48:00 -04:00
Michael Foster
d322c43e41 Update for latest Tinyboard (table prefixes) -- breaks compatiability with earlier Tinyboard versions 2013-08-01 03:26:39 -04:00
Michael Foster
0f7b252994 Convert to UNIX line endings 2013-07-31 16:04:46 -04:00
czaks
1f2b4e0181 i18n_extract tool: replace the bundled lib with gettext forced to assume python, since it extracts more strings 2013-07-31 16:00:16 -04:00
czaks
cb82c7d28a i18n tools: small fixes 2013-07-31 16:00:01 -04:00
czaks
ca72ad64ca js i18n: misc fixes; quick-reply.js i18n
Conflicts:
	js/quick-reply.js
	templates/main.js
2013-07-31 15:59:51 -04:00
czaks
291a0f02cb tools/inc/lib/jsgettext/: misc fixes 2013-07-31 15:58:45 -04:00
czaks
73fb2cfe55 tools/i18n_*: introduction of translation tools for tinyboard; supporting javascript i18n 2013-07-31 15:58:31 -04:00
czaks
ad809eeceb tools/inc/lib/jsgettext/: remove unnecessary file 2013-07-31 15:58:21 -04:00
czaks
79b6428718 tools/inc/lib/jsgettext/: apply fixes from bugtracker 2013-07-31 15:58:07 -04:00
czaks
12d1636b40 tools/inc/lib/jsgettext/: bundle jsgettext library from https://code.google.com/p/jsgettext 2013-07-31 15:57:53 -04:00
czaks
0a6a982ae9 i18n_extract tool: replace the bundled lib with gettext forced to assume python, since it extracts more strings 2013-07-03 01:37:48 -04:00
czaks
f2128758f2 i18n tools: small fixes 2013-07-03 01:24:09 -04:00