1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-13 16:21:10 +01:00
Commit Graph

3498 Commits

Author SHA1 Message Date
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
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
8chan
3e0134e53e New feature: Board owner logs of their board 2015-02-19 22:58:30 -08:00
8chan
61fd6ef25c Use post filter JS instead of hide-threads 2015-02-19 20:52:53 -08:00
8chan
ef21c6d864 Close ctrlcctrlv/infinity#396 2015-02-19 20:52:26 -08:00
8chan
9beffe618c /meta/ back in top bar next to /operate/ 2015-02-19 19:14:55 -08:00
8chan
4e335db3e8 Add event to quote backlinks 2015-02-18 16:55:03 -08:00
8chan
8ddc472239 Fix shadow cap 2015-02-16 16:56:09 -08:00
8chan
027687acc0 Merge https://github.com/ctrlcctrlv/infinity
Conflicts:
	inc/8chan-mod-pages.php
	templates/mod/settings.html
2015-02-17 00:43:00 +00:00
8chan
0389b280d8 Fix mod_move if file deleted or spoiler 2015-02-16 16:35:15 -08:00
8chan
f00d342c41 Extend max webm length 2015-02-16 16:35:01 -08:00
8chan
61e50ff3cf Show what line an error occured on by default 2015-02-16 16:34:45 -08:00
8chan
c7f26b31c1 board_log function, ?/log🅱️test 2015-02-16 16:28:22 -08:00
8chan
fb800497f1 /meta/ -> /operate 2015-02-16 16:26:20 -08:00
8chan
15987f919f Fix *0 secure tripcodes caused by accidentally feeding + signs to crypt() 2015-02-16 16:24:54 -08:00
8chan
ee635db05f new checkDNSBL() function, return true/false, not error 2015-02-16 16:24:11 -08:00
8chan
ecdc53522f New event: rebuildpost, allows you to bind events to ?/edit 2015-02-16 16:21:30 -08:00
8chan
11b1d2fcb9 Add email selectbox to forced anonymous 2015-02-16 16:20:14 -08:00
8chan
2cb1bbe3da Fix webm bug: Wrong max length shown in error message 2015-02-16 16:19:55 -08:00
8chan
df7c7c8454 Make ban list faster for board owners/vols 2015-02-16 16:19:02 -08:00
8chan
ed73fd525e Poster IDs in API 2015-02-16 16:17:18 -08:00
8chan
06ecd784cf SECURITY: Fix more cross-linking problems in ?/settings CSS 2015-02-16 16:15:15 -08:00
8chan
0eb3073819 Tor posting ?/settings option 2015-02-16 16:14:40 -08:00
8chan
b6abb4ab4f Allow global volunteers to move threads 2015-02-16 16:14:05 -08:00
8chan
c3ff6daa53 Billion laughs detection in wordfilters 2015-02-16 16:11:21 -08:00
anonish
b7a6f6419f Merge branch 'master' of https://github.com/anonish/infinity-anonish 2015-02-08 21:37:18 -06:00
anonish
78cc03c204 Updating expand-video.js 2015-02-08 21:36:33 -06:00
Fredrick Brennan
4434f2cd93 Merge pull request #375 from blahblah666/master
Option to enable captcha for thread creation only + README.md with better install instructions
2015-02-02 12:33:03 +08:00
8chan
546e49f560 Add the subject field to forced anonymous by default 2015-01-30 21:12:20 -08:00
8chan
f4e0b415ac [aa] tags - ASCII art 2015-01-30 21:12:03 -08:00
8chan
1338ca3091 SECURITY / XSS: Stop arbitrary HTML injection introduced by @forklessanon 2015-01-29 19:01:59 -08:00
8chan
da3927ed17 Put a limit on ?/recent 2015-01-29 19:01:11 -08:00
blahblah666
885dffdd01 Fixed idiotic typo. tread > thread 2015-01-29 05:46:41 -08:00
blahblah666
cea12ee665 Update 8chan-mod-pages.php 2015-01-29 04:19:38 -08:00
blahblah666
52b72c0ee2 Update 8chan-mod-pages.php 2015-01-28 23:37:33 -08:00
blahblah666
86cd7b81f9 Update 8chan-mod-pages.php 2015-01-28 23:25:55 -08:00
blahblah666
89e2677a1e Update config.php 2015-01-28 23:23:50 -08:00
8chan
4cca83da8f b/w issues, disable auto-gif for now 2015-01-28 17:57:31 -08:00
8chan
804247654d No IP showing in purge() 2015-01-28 17:57:16 -08:00
8chan
5efd0e9b18 This is using jQuery now 2015-01-23 02:19:01 -08:00
Fredrick Brennan
f5b7e8adfe Merge pull request #315 from forklessanon/feature-3
Added mod function to spoiler all images in a given post
2015-01-22 16:11:25 +08:00
Fredrick Brennan
fd7620bddf Merge pull request #331 from marktaiwan/better-webm-thumbnail
Better webm thumbnail
2015-01-22 16:09:10 +08:00
8chan
138f9aeb40 Merge 2015-01-22 08:04:12 +00:00
8chan
c473b5409c Fix no cache bug in display.php 2015-01-21 23:53:43 -08:00
8chan
f9119b16b9 Ban appeals for admin/globals fix 2015-01-21 23:52:50 -08:00
8chan
6cca52e92d ReCAPTCHA lib fix 2015-01-21 23:52:25 -08:00
8chan
f66c78e20b sql_open mask_db_error 2015-01-21 23:51:48 -08:00
8chan
290eed43d0 Some 8chan.co>8ch.net (rest in #348) 2015-01-21 23:49:15 -08:00
Markerov
7011fdf9c2 round starting time down to nearest second 2015-01-07 03:18:24 +08:00
8chan
980d8784e5 Tinyboard is defunct. No reason to keep the update checker 2015-01-06 01:34:54 -08:00
8chan
0a2dfedb0e Ban appeals: limit by board, make more efficient, enable in infinity 2015-01-06 01:34:27 -08:00
8chan
437ff83696 max wf bugfix 2015-01-06 01:32:45 -08:00
8chan
1a154223ea Merge https://github.com/ctrlcctrlv/infinity 2015-01-05 04:40:24 -08:00
8chan
b7e6bca82e Allow ADMIN level to use Global Volunteer capcode 2015-01-05 04:38:16 -08:00
Fredrick Brennan
755fc1e592 Merge pull request #334 from Pashe/css-urls
Board stylesheet URL filter fixes and whitelist additions
2015-01-05 12:43:33 +08:00
Pashe
916cb4c997 inc/functions.php: Tabs in code tags (fixes #328) 2015-01-03 23:48:57 -06:00
Pashe
e95a147e3e 8chan-mod-pages.php: Filter CSS imports from sites with potentially unsafe content (pomf.se) 2015-01-03 16:35:03 -06:00
Pashe
fe8b02442a 8chan-mod-pages.php: Make the CSS URL filter error message less vague 2015-01-03 16:16:55 -06:00
Pashe
dbc4fbc5fe 8chan-mod-pages.php: Fix CSS URL filter ignoring all but the last URL on a line 2015-01-02 23:27:12 -06:00
Pashe
aa71065dac 8chan-mod-pages.php: Add 8chan.co and fonts.gstatic.com to the CSS whitelist 2015-01-02 21:09:22 -06:00
Fredrick Brennan
3692d12cbc Merge pull request #332 from cmdrk/master
Updated dnsbl to only block exit nodes
2015-01-01 14:57:24 +08:00
8chan
72255ad5b8 Merge
Conflicts:
	stylesheets/style.css
2014-12-31 22:45:03 -08:00
8chan
c1ec49dc29 Mask DB error option 2014-12-31 22:42:42 -08:00
8chan
aa5d0e6e4b Hour max threads filter 2014-12-31 22:37:38 -08:00
8chan
3f3b0051d8 Move login check in inc/mod/auth.php to a function
This allows pages like create.php to not include inc/mod/pages.php while still being able to use the mod auth functions (like generating salts and passwords)
2014-12-31 22:35:21 -08:00
8chan
351375185e Early 404 option in clean() 2014-12-31 22:33:31 -08:00
8chan
db89ee7827 No file placeholder in catalog 2014-12-31 22:33:10 -08:00
8chan
0f3a65a984 First spam settings in ?/settings 2014-12-31 22:32:26 -08:00
8chan
04afbe904d Move bans.html theme over to cron 2014-12-31 22:31:43 -08:00
cmdrk
69cd484038 Updated dnsbl to only block exit nodes 2015-01-01 00:09:58 -06:00
8chan
8ac83fbba6 Merge
Conflicts:
	inc/mod/pages.php
2014-12-24 14:19:35 +00:00
8chan
f60c3f5935 Preview board flags script 2014-12-24 06:14:33 -08:00