Michael Foster
461084d400
MySQL's utf8 charset only supports up to 3-byte symbols. Insterting four byte symbols (U+010000 to U+10FFFF) can be done maliciously to break HTML mark-up.
The ideal solution was to convert to MySQL's utf8mb4 charset, but then we would lose support for MySQL < 5.5.3. In this fix, incompatible characters are encoded as HTML numeric character references (eg. #65536 ) and just stripped from body_nommarkup.
11 years ago
Michael Foster
bd8bd3c02e
Fix for last commit
11 years ago
Michael Foster
57c8e4ee7c
Strip combining characters from Unicode strings (eg. Zalgo)
11 years ago
czaks
065a6f97c8
localise time values
11 years ago
czaks
ae99c6dd0d
i18n one more string in inc/functions.php
11 years ago
Michael Foster
37d5846e4e
Fix markup overlapping. Issue #124
11 years ago
Michael Foster
e4bd9a6886
Themes edit: Split "post" into two seperate actions: "post" (replies) and "post-thread". And add a $board variable.
11 years ago
Michael Foster
aadb57f2a2
More ban stuff: Show whether or not user has "seen" a ban yet in the ban list and on IP address pages. Purge useless expired ban records.
11 years ago
Michael Foster
c8f30550af
$config['require_ban_view']: Force users to view the "You are banned" page at least once before letting a ban disappear naturally.
11 years ago
Michael Foster
29b10c88db
Outputting thread subject in header/title (issue #122 )
11 years ago
Michael Foster
77e4d926d9
Add "write" (files written to) to debug section
11 years ago
czaks
21f6799617
js i18n: finish implementation with addition of the compiled locale strings file to additional javascripts
11 years ago
K
74a470bf4e
Add support for 4chan-compatible json API.
11 years ago
Macil Tech
3eda5b0543
Adds image_hard_limit and reply_hard_limit options.
Also reworks the numPosts() function and uses it elsewhere too.
11 years ago
Macil Tech
765e64ee38
m and n dash fix
11 years ago
Macil Tech
b078222ede
Fix "Undefined index: sticky" and "locked" errors on new thread creation.
11 years ago
Macil Tech
6fd6b92fe8
Fix openBoard and boardTitle functions using same caching keys.
Added getBoardInfo function that's used by both of the above functions,
and can get a board's info without loading it.
11 years ago
Fredrick
53f710060d
Fix truncation issue by no longer using HTML entities for Unicode characters
11 years ago
Macil Tech
879f20ec72
Reworked index() slightly to make caching simpler and only use one key.
12 years ago
Michael Save
85578b7105
Bugfix: Anti-bot check not allowing posting from second page
12 years ago
Michael Save
b086e47cfc
Em dash and en dash mix-up. Issue #88
12 years ago
Michael Save
cd81ae8ea5
No point using JSON as Cache class already supports objects
12 years ago
Michael Save
edb9999a7d
I'm dumb
12 years ago
Michael Save
b693779d0d
Hopefully a final fix for caching thread previews. This feature was previous disabled because of a bug/confliction.
12 years ago
Michael Save
7a68fc9525
Copyright and license update for 2013.
12 years ago
Macil Tech
3a9ed90c58
Incorrect parameter type.
The parameter was bound with the wrong type. I guess the type isn't
enforced judging by how the code still seemed to work, but it probably
should be fixed.
12 years ago
Macil Tech
90ada24ddc
Insert into posts table using named columns.
Makes it easier to update the posts table schema.
12 years ago
Macil Tech
91e8547b04
Add image_reject_repost_in_thread option
12 years ago
Marcin Łabanowski
fa0a79d992
url_ads: fix it not working
12 years ago
szalej
35613c6de5
Update inc/functions.php
url ads
12 years ago
szalej
dd8b340459
Update inc/functions.php
Hide Referrer (nullrefer.com)
12 years ago
Marcin Łabanowski
f6e9dbed13
Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
12 years ago
Michael Save
30ecfc76e7
Added new events: lock and load-config
12 years ago
Michael Save
23653994ac
Something is broken. Removed that for now.
12 years ago
Michael Save
696c1a05b7
Quick fix relating to last commit
12 years ago
Michael Save
6b7daacdb3
Bugfix: Caching complications with thread preview
12 years ago
Yousha
55470a7ac8
Improved.
12 years ago
Sebastian Stal
8b4e097b3c
Share antibot hash across index pages
fixes an issue with slow boards and multi-page indexes
12 years ago
Michael Save
97dd6ab391
Bugfix: deleting OP image didn't rebuild
12 years ago
Michael Save
970c6cd95b
[move]
12 years ago
Michael Save
ae91636d1d
Bugfix: with disabling config[markup_urls]
12 years ago
Michael Save
a610458720
a lot more improvements
12 years ago
Michael Save
24cc47791c
Bugfix: with previous commit
12 years ago
Michael Save
fa13f0ef35
Bugfix: purge() while in CLI-mode
12 years ago
Michael Save
b0eda5dcbc
Bugfix: with previous commit
12 years ago
Michael Save
53c53c57ed
Bugfix: with third-party scripts that use create_antibot()
12 years ago
Michael Save
8b7a1d511c
Bugfix: with previous commit
12 years ago
Michael Save
256513b9b9
Bugfix: with previous commit
12 years ago
Michael Save
d86875a3b9
Bugfix: purge() while in CLI-mode
12 years ago
Michael Save
769741407c
Bugfix: purge() while in CLI-mode
12 years ago