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
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
8chan
2be56352a1
Merge https://github.com/ctrlcctrlv/infinity
2015-04-06 20:12:42 -07:00
8chan
bd128bf465
This clean feature is too SQL intensive. Only check clean if in mod.php
2015-04-06 20:12:37 -07: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 doesn
t 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
Fredrick Brennan
16b259ff15
Change edited_at to INT(11)
2015-03-30 11:12:35 +08:00
8chan
cd1c1730e4
Improve ?/reports API
2015-03-29 19:42:25 -07:00
Fredrick Brennan
0b0528b426
Reports JSON API, some style fixes
2015-03-30 07:13:57 +08:00
Fredrick Brennan
7f95ac8c9c
Remove unused variable
2015-03-30 07:12:54 +08:00
8chan
972b3450cf
Run Purifier on Markdown's output, stop XSS bug
2015-03-29 15:32:14 -07:00
8chan
a04c9ee81d
Update locales: Still behind Transifex
2015-03-29 15:25:29 -07:00
8chan
04b5e0f929
Update GeoIP database
2015-03-28 19:37:57 -07:00
8chan
076b64aba4
Add file_unlink on page delete and prevent index overwrite
2015-03-28 19:34:01 -07:00
Fredrick Brennan
12fa8ec3ef
Edit static pages commit
2015-03-29 09:18:14 +08:00
Fredrick Brennan
e31e6af834
Add parsedown library
2015-03-28 17:25:29 +08:00
8chan
2a40d82c00
Revert 9920a51ff5
2015-03-22 20:14:08 -07:00
Fredrick Brennan
80f63caa8c
Update to my wPaint fork
2015-03-22 14:38:56 +08:00
Fredrick Brennan
32eb90add7
Merge https://github.com/ctrlcctrlv/infinity
2015-03-20 12:10:17 +08:00
Fredrick Brennan
bdfbc7a830
Update locales
2015-03-20 12:09:42 +08:00
8chan
f82ad879f0
Make file selector work, add to config
2015-03-19 20:22:17 -07:00
8chan
0b298f9aa4
Flag width/height is now in stylesheet
2015-03-18 19:28:33 -07:00
Fredrick Brennan
0bc65b89de
Update Transifex account for fork
2015-03-18 16:58:48 +08:00
Fredrick Brennan
e5b357e35b
Update locales
2015-03-17 12:38:49 +08:00
8chan
8763cc9327
Let global volunteers do ?/reassign so it's not just me/lowcard
2015-03-16 16:48:10 -07:00
Fredrick Brennan
554da7f6a7
Merge branch 'master' of https://github.com/ctrlcctrlv/infinity
2015-03-16 16:32:50 +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
bbf43d4587
Actually commit code tags
2015-03-15 05:08:07 -07:00
Fredrick Brennan
86d99b332b
Make js/options/favs.js actually usable
...
I pretty much had to rework this completely to get it into a usable state
Reference ctrlcctrlv/infinity#424
2015-03-15 19:56:28 +08:00
8chan
968491b8b8
No more country flags in <title>
2015-03-14 22:03:08 -07:00
8chan
30c4f7ed41
Fix code tags not working
2015-03-14 00:03:36 -07:00
Fredrick Brennan
8aad0dea98
Desktop notifications in auto-reload.js
2015-03-13 19:18:56 +08:00
Fredrick Brennan
6186be4837
Rewrite report system due to flooding
2015-03-13 12:45:57 +08:00
Fredrick Brennan
3ac306b6ea
Fix AJAX bug, wasn't triggering if called immediately from QR
2015-03-12 12:19:30 +08:00
Fredrick Brennan
7e9eca4fb4
We don't need to buildJS in ?/settings anymore
2015-03-12 09:44:31 +08:00
8chan
a97b08db42
New option: $config[twig_cache]
2015-03-11 18:22:42 -07:00
8chan
4602fa3117
Fix some bugs with new post form 3
2015-03-11 16:16:35 -07:00
Fredrick Brennan
440b0d5f82
Make oekaki a $config option, make locales load from inc/locale, one main.js file now possible again!
2015-03-11 18:01:04 +08:00
Fredrick Brennan
d48c568a35
Revert "Update to expand-video.js (video hover changes) and fix for portrait mode laptop"
2015-03-11 09:56:40 +08:00
8chan
c04d46933e
New post form part one
2015-03-10 16:18:28 -07:00
8chan
0bbae23680
Update Twig, resolve licensing issue
2015-03-10 16:16:45 -07:00
8chan
e43764a158
Workaround for https://trac.ffmpeg.org/ticket/4362
2015-03-09 22:11:29 -07:00
8chan
190d193516
Merge https://github.com/ctrlcctrlv/infinity
2015-03-06 02:06:02 -08:00
Fredrick Brennan
26ca2f11e8
Merge pull request #411 from bui/images-disabled
...
actually check if images are disabled
2015-03-06 18:03:44 +08:00
8chan
e5fce2978d
This script is deprecated :^)
2015-03-06 02:00:40 -08:00
8chan
d7ade38cf0
Better YouTube thumbnails for mobile, differentiate them from images
2015-03-06 02:00:25 -08:00
8chan
83cbe5977b
less_ip is now per board, not site-wide
2015-03-06 02:00:03 -08:00
8chan
9ae160d1ba
Page count and bump limit ?/settings
2015-03-06 01:57:03 -08:00
Fredrick Brennan
ee3dea95fc
Merge pull request #386 from anonish/master
...
Update to expand-video.js (video hover changes) and fix for portrait mode laptop
2015-03-06 13:16:42 +08:00
8chan
a77d045bf0
10 thread tatesugi by default
2015-02-28 05:08:48 -08:00
8chan
bcafdaa602
Completely rewrite fix-report-delete-submit.js, add report/delete to menu
2015-02-28 05:06:50 -08:00
8chan
0f3b578dca
Merge
2015-02-27 18:16:52 -08:00
8chan
770748a0d5
Disable antispam again
2015-02-27 18:16:38 -08:00