Commit Graph

753 Commits

Author SHA1 Message Date
Macil Tech b63d94838d Do truncation by actual character count.
Using substr can cut a multi-byte character in half.

Also, if a long post with many multi-byte characters was reported, then
the mod interface would temporarily extend the body_truncate_char
setting to be sure to cover all of the *characters* in the report, but
this function would interpret body_truncate_char as a number of *bytes*,
so sometimes the end of the report's appended html would be cut off.
2013-01-18 18:26:25 -06:00
Macil Tech 948dfe8555 Don't truncate inside an HTML comment! 2013-01-18 18:26:25 -06:00
Macil Tech 46f50248f0 Don't require closing tag for tags that don't need it. 2013-01-18 18:26:25 -06:00
Michael df667896cd Merge pull request #81 from Appe/patch-1
Updated Youtube embed code.
2012-12-01 06:40:21 -08:00
Michael Save 30ecfc76e7 Added new events: lock and load-config 2012-11-19 10:28:23 +11:00
Appe 6dd452e10c Updated Youtube embed code. 2012-11-08 23:58:05 +02:00
Michael Save 209f061eed Bugfix: [sticky] 2012-09-30 22:56:09 +10:00
Michael Save 23653994ac Something is broken. Removed that for now. 2012-09-28 04:53:07 +10:00
Michael Save 696c1a05b7 Quick fix relating to last commit 2012-09-28 04:50:25 +10:00
Michael Save 6b7daacdb3 Bugfix: Caching complications with thread preview 2012-09-28 04:46:20 +10:00
Michael Save db14f9ce15 Bugfix: [F] 2012-09-28 04:00:13 +10:00
Michael Save ac9296169f Bugfix: B&D "invalid security token" error 2012-09-28 03:54:32 +10:00
Michael Save 268d9d2c88 bugfix: security token forgotten for ban form in view_ip.html 2012-08-28 02:24:29 +10:00
Michael Save a7d4a5c3c8 pagination bug for user logs 2012-08-27 22:15:58 +10:00
Michael Save b105a17b4f user logs 2012-08-27 22:13:47 +10:00
Michael Save 913010cff5 minor consistency cleanup 2012-08-27 21:50:15 +10:00
Michael Save eb146d9201 properly tie auth cookies to private salt 2012-08-27 21:45:05 +10:00
Michael Save 28392a12d3 fix "unbuffered queries" bug (issue #75) 2012-08-27 21:37:21 +10:00
Michael Save 6229b82a43 CSRF protection 2012-08-27 15:19:05 +10:00
Michael Save a9562075f6 Merge branch 'master' of git://github.com/Yousha/Tinyboard into yousha 2012-08-27 02:40:50 +10:00
Yousha 55470a7ac8 Improved. 2012-08-30 20:05:27 +04:30
Macil Tech bec9f21787 Antibot make_confusing fix 2012-08-25 07:52:37 -06:00
Michael Save c5ec20684e themes 2012-08-13 00:18:13 +10:00
Sebastian Stal 318a9554c2 Remove the double-quote (") from characters used for random inputs 2012-07-29 15:59:42 -07:00
thegentoo 9f4fd8e445 Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks 2012-07-13 10:58:42 +02:00
thegentoo bdaf619dda Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks 2012-07-11 17:11:08 -03:00
Sebastian Stal 8b4e097b3c Share antibot hash across index pages
fixes an issue with slow boards and multi-page indexes
2012-07-04 10:17:51 -07:00
Michael Save 8d96bfc3e9 minor change 2012-05-28 17:08:29 +10:00
Michael Save 97dd6ab391 Bugfix: deleting OP image didn't rebuild 2012-05-28 17:08:09 +10:00
Michael Save e4b6c89375 show number of reports from dashboard; translatable mod panel 2012-05-25 21:40:01 +10:00
Michael Save 0c682f5cc3 Missing buildIndex() after moving threads 2012-05-22 15:25:22 +10:00
Michael Save bb521da32e small code cleanup 2012-05-20 20:22:19 +10:00
Michael Save 4a48888b55 Config editor 2012-05-20 20:21:33 +10:00
Michael Save d3739c48c2 Config editort 2012-05-20 20:20:50 +10:00
Michael Save 0f04117037 Cache unread PM notices 2012-05-20 19:06:27 +10:00
Michael Save d2c6853ed3 small bugfixes 2012-05-19 20:52:45 +10:00
Michael Save 93c3ceb04d tiny cleanup 2012-05-19 20:46:05 +10:00
Michael Save 970c6cd95b [move] 2012-05-19 18:27:45 +10:00
Michael Save 750fed8a47 Custom filters: "trip" condition should be string, not regexp 2012-05-19 12:23:51 +10:00
Michael Save 1593916907 Permissions fix; missing global 2012-05-18 20:30:55 +10:00
Michael Save ae91636d1d Bugfix: with disabling config[markup_urls] 2012-05-08 23:59:54 +10:00
Michael Save 9eb3a17faa Bugfix: ?/ban did the same as ?/ban&delete 2012-05-08 00:49:48 +10:00
Michael Save 2cc17f8d9b more information in modlog for bans 2012-05-08 00:42:17 +10:00
Michael Save ad220b725d Bugfix: the number of successful passes for an anti-spam "hash" was often incorrectly incremented 2012-05-07 23:51:58 +10:00
Michael Save 9058d202ed Bugfix: the number of successful passes for an anti-spam "hash" was often incorrectly incremented 2012-05-07 23:51:15 +10:00
Michael Save cf801586f7 $config[ipv6_regex] no longer used 2012-05-07 18:29:54 +10:00
Michael Save 890b541191 custom capcode permissions 2012-05-07 18:22:20 +10:00
Michael Save e132e4c2b3 a few permissions-related bugs 2012-05-07 14:08:40 +10:00
Michael Save af61bcaf77 Slightly less crappy stylesheet chooser 2012-05-06 01:37:46 +10:00
Michael Save a610458720 a lot more improvements 2012-05-06 01:33:10 +10:00