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

3366 Commits

Author SHA1 Message Date
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
8chan
e2baf27c5c SECURITY: No more off-site images in board announcements 2015-02-20 23:13:52 -08:00
anonish
6dd547e1bf revert changes to template.php 2015-02-21 00:47:07 -06:00
Anonish
79e972945f Merge pull request #3 from ctrlcctrlv/master
update to infinity
2015-02-21 00:39:20 -06:00
8chan
aa1d2b3128 /infinity/ board with locked owner password 2015-02-20 17:16:06 -08:00
8chan
488f8e2648 Redchanit CSS 2015-02-20 17:15:40 -08:00
8chan
8c63d906e9 Sorry @Kyokou, this should fix both problems, close ctrlcctrlv/infinity#399 2015-02-20 10:16:28 +00:00