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

3474 Commits

Author SHA1 Message Date
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
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
Bui
9c7cfc56d0 actually check if images are disabled
fixes #410
2015-02-27 23:34:16 +09:00
8chan
03419dc770 markup() would erroneously set $board on x-board ref 2015-02-26 01:13:07 -08:00
8chan
2f04aefdf5 Re-enable antibot system, disable hash expiration & unicode 2015-02-26 01:12:12 -08:00
8chan
3e68a3e8b8 Merge 2015-02-26 09:11:48 +00:00
8chan
b49fe85345 ( ͡° ͜ʖ ͡°) Allow board owners to enable Zalgo text 2015-02-26 01:10:00 -08:00
8chan
652497ad57 Merge 2015-02-26 02:07:22 +00: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
276f2e58ad have this handy in case i need to shut off /infinity/'s settings again 2015-02-25 17:18:01 -08:00
8chan
fbb85593fa New API endpoint: settings.php - get settings of board 2015-02-25 17:16:44 -08:00
8chan
46ba60fff1 Handle NULL files in class Post 2015-02-25 17:15:45 -08:00
8chan
8db4baccca Allow title attr in img and href 2015-02-25 17:15:18 -08:00
8chan
3312e38f07 Change from fopen/flock to dio_open/dio_fcntl in file_write
8chan uses NFS and flock() does not work over NFS. See http://0pointer.de/blog/projects/locking.html for more information.

Without proper file locking, race conditions are possible in ?/settings and other pages. The one in ?/settings is particularly bad, too many successive writes can cause a PHP file with bad syntax to be written which breaks an entire board and many scripts that call openBoard().

You need to install the dio.so module if you merge this commit.
2015-02-25 17:12:25 -08:00
Anonish
14f664b558 Merge pull request #4 from ctrlcctrlv/master
update to infinity
2015-02-22 13:28:31 -06:00
8chan
ae02998948 Upgrade HTMLPurifier library 4.5->4.6 2015-02-20 23:16:38 -08:00