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

3435 Commits

Author SHA1 Message Date
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
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
8n-tech
ee7c624517 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.
2015-04-09 20:11:48 +10:00
8n-tech
46cd77e813 Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-04-09 10:22:24 +10:00
czaks
51b93e643d 8chan/smart-build: includable 404.php 2015-04-07 01:44:55 +02:00
czaks
ac693427f8 infinity/smart-build: needless code duplication, fixed now 2015-04-07 00:20:07 +02:00
czaks
e3a8308e00 infinity/smart-build: fix order of loading 2015-04-07 00:04:55 +02:00
czaks
ef8ef2c0b4 infinity/smart-build: rebuild config cache when flags are modified 2015-04-06 23:58:23 +02:00
czaks
8a6a20bd9c infinity/smart-build: fix context 2015-04-06 23:54:00 +02:00
czaks
1670da07cb infinity/smart-build: move a require to instance-functions 2015-04-06 22:56:01 +02:00
czaks
ab74235a4b fs cache backend: silence the error 2015-04-06 22:51:42 +02:00
czaks
be88d026bd infinity/smart-build: typo 2015-04-06 22:47:46 +02:00
czaks
92e4314a62 infinity/smart-build: lol nano 2015-04-06 22:44:48 +02:00
czaks
a123d8b2ee infinity/smart-build: do it other way around (esthetics) 2015-04-06 22:42:15 +02:00
czaks
ca92457e88 infinity/smart-build: rearrange the config files for cache_config 2015-04-06 22:37:47 +02:00
czaks
798121060c infinity/smart-build: missing slugify patchset fix 2015-04-06 22:22:30 +02:00
czaks
be4bf70278 infinity/smart-build: don`t include gettext php lib if a shared object is loaded: adaptation of vichan-devel/cbbebc 2015-04-06 20:00:18 +02:00
czaks
9ca7dae9c9 infinity/smart-build: clean cache on rebuilding the boards 2015-04-06 19:54:41 +02:00
czaks
d67313f9fa groups were not defined 2015-04-06 19:31:27 +02:00
czaks
0969d1b538 cache_config: fix debug notice 2015-04-06 19:31:08 +02:00
czaks
18e5de9a1f cache_config preliminary release 2015-04-06 19:30:52 +02:00
czaks
9907ae29b8 rearrange config processing a bit 2015-04-06 19:29:43 +02:00
czaks
8da7ec3bde try_smarter: fix two bugs. 1. uncovered by the second, during a bump only the page the thread was on and first page were rebuild, despite threads rearranging their positions on the remaining pages. happening always. 2. during smart build, the page wasn`t ordered to be rebuilt 2015-04-06 19:17:00 +02:00
czaks
093b1b605b cache.php: fs cache 2015-04-06 19:15:14 +02:00
czaks
372e3fc3fc uncache themes on settings change 2015-04-06 19:15:03 +02:00
czaks
3368ca1141 optimization: locale caching, so we don`t have to reparse instance-config every single time 2015-04-06 19:14:41 +02:00
czaks
0e84743f7a optimization: get rid of one more sql query related to installed themes 2015-04-06 19:14:13 +02:00
Jayme Brereton
da75891dd8 made the define_groups function play nice on hhvm 2015-04-06 19:11:11 +02:00
czaks
66638348dc smart_build: buildThread 2015-04-06 19:06:04 +02:00
czaks
d14594ce63 functions.php fix: after_open_board support; so that we may disable smart_build immediately after open_board 2015-04-06 19:05:43 +02:00
czaks
97e0380d65 smart_build for buildIndex 2015-04-06 19:05:29 +02:00
czaks
854b9689b3 fix one of the previous commits: fix api_global 2015-04-06 19:05:04 +02:00
czaks
b2f6c4c956 smart build: define configuration variables 2015-04-06 19:04:45 +02:00
czaks
3f381ee569 add a global_api variable for buildIndex 2015-04-06 19:04:33 +02:00
czaks
453ecfdc6b unlink a .gz version of a file if it exists 2015-04-06 19:04:23 +02:00
czaks
08fd6ae474 dont rebuild a page, when not needed, even if it doesnt exist 2015-04-06 19:04:10 +02:00
Fredrick Brennan
8a05c2c122 New board option: Max newlines limit 2015-04-04 10:36:03 +08:00
8chan
30f13f844f Add image_reject_repost_in_thread to ?/settings 2015-04-03 18:50:28 -07:00
8chan
f587bd0b69 Merge https://github.com/ctrlcctrlv/infinity 2015-04-03 03:04:08 -07:00
8chan
d2a1b9c5b3 Edited page in log 2015-04-03 03:04:03 -07:00
Fredrick Brennan
6da9f7ad93 Make it so you can change names/file of user flags 2015-04-03 17:59:15 +08:00
Fredrick Brennan
31d160d25b Make it so you can edit/remove embed, post preview 2015-04-03 15:37:55 +08:00
Fredrick Brennan
1e91310f6a Cyclical threads ♺ 2015-04-03 14:56:28 +08:00
8chan
420e677c08 Generate JS files for locales 2015-04-01 16:49:35 -07:00
Redanon
dac1fbb36c Fix misleading modLog() message in dismiss 2015-04-02 07:35:14 +08:00
Fredrick Brennan
4951aab67a Update translations (forgot -a flag) 2015-04-02 07:26:15 +08:00
Fredrick Brennan
a9476966e5 Update translation strings 2015-04-02 07:19:56 +08:00
Fredrick Brennan
98ecfc643f New Hungarian locale 2015-04-02 07:10:38 +08:00
czaks
a8c537a70e fix some png images being discarded 2015-03-31 12:30:14 +08:00