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
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
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
6da9f7ad93
Make it so you can change names/file of user flags
2015-04-03 17:59:15 +08:00
Fredrick Brennan
1e91310f6a
Cyclical threads ♺
2015-04-03 14:56:28 +08:00
Fredrick Brennan
7f95ac8c9c
Remove unused variable
2015-03-30 07:12:54 +08:00
Fredrick Brennan
12fa8ec3ef
Edit static pages commit
2015-03-29 09:18:14 +08:00
8chan
2a40d82c00
Revert 9920a51ff5a5c6914f5bc72ce60c22245d5f1352
2015-03-22 20:14:08 -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
8chan
c04d46933e
New post form part one
2015-03-10 16:18:28 -07:00
8chan
83cbe5977b
less_ip is now per board, not site-wide
2015-03-06 02:00:03 -08:00
8chan
03419dc770
markup() would erroneously set $board on x-board ref
2015-02-26 01:13:07 -08: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
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
8chan
4e335db3e8
Add event to quote backlinks
2015-02-18 16:55:03 -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
804247654d
No IP showing in purge()
2015-01-28 17:57:16 -08:00
Pashe
916cb4c997
inc/functions.php: Tabs in code tags ( fixes #328 )
2015-01-03 23:48:57 -06:00
8chan
351375185e
Early 404 option in clean()
2014-12-31 22:33:31 -08:00
8chan
87e914948b
SECURITY / XSS : ?/edit allowed arbitrary HTML to be added by any user thru addition of <tinyboard raw html>1</tinyboard>
...
This allowed ANY user with ?/edit privilege to also have raw_html regardless of whether they had $config['mod']['rawhtml']
Now, any changes to <tinyboard> markup modifiers via ?/edit are not allowed. They are removed at read time, and before write they are removed again and the ones in the database (which should be clean...) are inserted instead.
Please immediately apply this patch to your instance if you are running any version of 8chan/infinity.
2014-12-24 06:08:19 -08:00
8chan
f8c1d7c80f
what the fuck were you even thinking
...
this is an insane default
BUGFIX: all-Japanese, all-Arabic, etc posts no longer trip the filter if not robot_enable
2014-12-15 17:50:22 -08:00
8chan
b9b1935e08
Bug fix: Boards were always unindexed in search engines
2014-12-14 03:28:04 -08:00
8chan
9db6895c98
Allow + in board names, add some new config vars (news+)
2014-12-14 03:25:43 -08:00
8chan
3df5b86235
Return some important info from listBoards()
2014-12-03 00:19:50 -08:00
8chan
8d34866636
Fix locale bugs, init_locale was not calling setlocale!?
2014-12-03 00:17:24 -08:00
8chan
dd1c160d35
Hash masked IPs option, use less_ip in inc/bans
2014-12-03 00:15:24 -08:00
8chan
fa9a3da913
New boards.html page now with tags
2014-12-03 00:10:28 -08:00
8chan
6d54ae5262
read.php +50 fix
2014-11-22 00:44:57 -08:00
8chan
7d11c7a884
Fix mod mode for read.php
2014-11-21 16:17:00 -08:00
8chan
faa51accaa
We dynamic pages now, read.php
2014-11-21 04:05:20 -08:00
8chan
4f2398f7b8
Make deletePost more tolerant of errors
...
Sometimes thumbnail generation fails but the post is still there, sometimes post deletion is aborted halfway through
Ignore errors from file_unlink and don't fail if $f->file, $f->thumb not set
2014-11-12 21:06:58 -08:00
8chan
cfb31c53af
Merge https://github.com/ctrlcctrlv/8chan
2014-10-22 19:20:28 -07:00
8chan
0f8aef4f50
I'm going to run this on a cron job instead...people were using this to DoS
2014-10-22 19:19:49 -07:00
8chan
840c42adc4
array_unique to prevent JS Errors
2014-10-22 19:16:45 -07:00
unknown
4c8e920303
[ #184 ] Resolved duplicate report issue. Added rudamentary Clean functionality.
2014-10-20 10:17:19 -05:00
unknown
3c2ebb2d6b
Merge branch 'master' of git://github.com/ctrlcctrlv/8chan
...
Conflicts:
templates/8chan/index.html
2014-10-19 11:15:57 -05:00