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.
2013-07-30 16:41:10 -04:00
Michael Foster
1759ac2ea3
Post search: Search other fields too
2013-07-29 20:20:07 -04:00
Michael Foster
58306bdc63
Search posts
2013-07-29 16:18:06 -04:00
Michael Foster
5bab041814
Make font-awesome enabled by default
2013-07-29 12:27:10 -04:00
Michael Foster
bd8bd3c02e
Fix for last commit
2013-07-28 20:46:00 -04:00
Michael Foster
57c8e4ee7c
Strip combining characters from Unicode strings (eg. Zalgo)
2013-07-28 20:33:26 -04:00
Michael Foster
37d5846e4e
Fix markup overlapping. Issue #124
2013-07-26 11:01:13 -04:00
Michael Foster
33a1c00bd5
%length% in public ban messages
2013-07-24 11:30:01 -04:00
Michael Foster
31f657e550
Long overdue: Salted password hashes
2013-07-24 11:15:55 -04:00
Michael Foster
1132a4ce79
Option to use font-awesome for sticky/lock icons, etc.
2013-07-23 09:38:42 -04:00
Michael Foster
ab0c5ee481
Option to make stylesheet selections board-specific
2013-07-23 01:35:56 -04:00
Michael Foster
6ba8f3f7de
Add custom links to dashboard
2013-07-22 18:30:45 -04:00
Michael Foster
ed8fe6c27a
Option to check public ban message by default
2013-07-22 17:51:13 -04:00
Michael Foster
308f557fd5
Option to automatically strip EXIF metadata from JPEGs
2013-07-21 15:50:45 -04:00
Michael Foster
67cbc2b1aa
Fix permissions with search
2013-07-20 13:15:44 -04:00
Michael Foster
b776e0a7f0
Search update
2013-07-20 12:05:42 -04:00
Michael Foster
e62b83e79c
Bring back search (searching posts not implemented yet)
2013-07-20 07:50:33 -04:00
Michael Foster
30dc892786
Only store video URLs in database, instead of the generated player HTML.
2013-07-19 18:36:12 -04:00
Michael Foster
e4bd9a6886
Themes edit: Split "post" into two seperate actions: "post" (replies) and "post-thread". And add a $board variable.
2013-07-18 12:06:26 -04:00
Michael Foster
ce9431ba34
Update filters to work with new ban table
2013-07-18 10:17:19 -04:00
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.
2013-07-16 08:50:39 -04:00
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.
2013-07-16 06:33:37 -04:00
Michael Foster
29b10c88db
Outputting thread subject in header/title (issue #122 )
2013-07-16 02:48:20 -04:00
Michael Foster
7302fc57a8
Automatically dismiss all reports regarding a thread after it is locked.
2013-07-16 02:32:44 -04:00
Michael Foster
2144d43f2b
Fix issue #24
2013-07-16 02:27:20 -04:00
Michael Foster
23b27d8057
Add clean() to mod_move function
2013-07-16 01:38:24 -04:00
Michael Foster
77e4d926d9
Add "write" (files written to) to debug section
2013-07-16 01:21:06 -04:00
Macil Tech
82e3592703
Argh, just remove all RTL and LTR control codes in bidi_cleanup.
...
If the name and subject fields both start with RLO characters, then the
subject would be after the name with the old bidi_cleanup.
2013-07-08 13:26:31 -05:00
Michael
9b0c31daa6
Merge pull request #116 from Macil/hardlimits
...
Adds image_hard_limit and reply_hard_limit options
2013-06-18 10:46:25 -07:00
Michael
0ac9dd5f25
Merge pull request #115 from Macil/miscfixes
...
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Michael
cbc3bd0c0a
Merge pull request #114 from Macil/rtlfix
...
Fix display issues with RTL control characters in post names, subjects, ...
2013-06-18 10:41:31 -07:00
Michael
68c6a749f2
Merge pull request #113 from Macil/tzfix
...
Output times in UTC
2013-06-18 10:40:56 -07:00
Macil Tech
3eda5b0543
Adds image_hard_limit and reply_hard_limit options.
...
Also reworks the numPosts() function and uses it elsewhere too.
2013-06-18 12:21:41 -05:00
Macil Tech
765e64ee38
m and n dash fix
2013-06-18 12:07:30 -05:00
Macil Tech
b078222ede
Fix "Undefined index: sticky" and "locked" errors on new thread creation.
2013-06-18 12:00:26 -05:00
Macil Tech
b6fc7ca89d
Fix broken entity removal in post truncation.
2013-06-18 11:16:15 -05:00
Macil Tech
be1e55b9d6
Fix result page after installing theme getting doubled up.
2013-06-18 11:14:02 -05:00
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.
2013-06-18 11:13:43 -05:00
Macil Tech
1d4fced75a
pm_snippet() should probably use mb_substr if it's using mb_strlen.
2013-06-18 11:12:31 -05:00
Macil Tech
2fe79f6a61
Output times in UTC.
...
Let the client localize the times with js/local-time.js themselves. No
one cares what the server timezone is.
This fixes a bug where posts made in a different daylight savings mode
have their times displayed off by an hour. Their times would be rendered
to the server's own timezone area correctly, but then the server's
*current* utc-offset would be appended, which wouldn't match up.
2013-06-18 11:10:39 -05:00
Macil Tech
a92bb182d9
Fix display issues with RTL control characters in post names, subjects, and filenames.
2013-06-18 11:07:47 -05:00
Macil Tech
3bcc87caf2
Fix PM count caching.
...
cache::get() returns null if the key wasn't found (at least when using
the Redis cache backend).
2013-06-18 11:02:45 -05:00
undido
83401b3a68
update config.php config for unban limit
...
Adding config and error for unban list when a user tries to unban more users than they are allowed too.
2013-04-16 19:14:51 -03:00
undido
b4ff535128
update to pages.php minor exploit
...
A lot of bans can be removed from a tinyboard database because it isn't limited A staff member could select 100 users all at once with a simple javascript function and unban them all this needs to be limited because a staff member on an image board if they feel hostile they can just remove all bans on the tinyboard site easily without being limited to how many people they can unban at a time, this adds an option to limit it.
2013-04-16 19:09:58 -03:00
Fredrick
bb54605eb7
Fix per-board name not being used
2013-03-20 07:46:48 -04:00
Fredrick
53f710060d
Fix truncation issue by no longer using HTML entities for Unicode characters
2013-03-17 07:00:55 -04:00
Michael Save
64ae123739
Mod log in ?/IP (ie. ban history)
2013-03-16 18:27:24 +11:00
Michael Save
1816218c64
Fix: Critical security vulnerability
2013-03-15 00:40:02 +11:00
Michael Save
2051018ba1
...
2013-01-30 05:07:09 +11:00
Michael Save
5661e32b1c
Instead of showing $config['error']['malformed'] on corrupt session, just go straight to the login form
2013-01-30 04:45:38 +11:00