1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-26 16:30:52 +01:00
Commit Graph

170 Commits

Author SHA1 Message Date
Marcin Łabanowski
6990cab263 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-21 13:17:13 +01:00
Michael Save
4f58617507 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Marcin Łabanowski
f6b7b3901a Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-19 16:23:02 +01:00
Macil Tech
3b739ba722 Fix transforming links to mod links in OP posts.
Similar regexes are called for threads and posts, but they differed
needlessly, and the thread regex would drop anything between the `<a`
and `href="` parts. This makes them both the same and functional.
2013-01-19 00:39:30 -06:00
Macil Tech
97ae4dd6bc Don't do anything if a mod link is middle-clicked.
This lets Chrome users open mod actions in a new tab by middle-clicking,
as Chrome still calls the onclick event when middle-clicking unlike
Firefox.
2013-01-19 00:38:44 -06:00
Macil Tech
5c2b26d2d3 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
263ecfe5ce Don't truncate inside an HTML comment! 2013-01-18 18:26:25 -06:00
Macil Tech
36af0af624 Don't require closing tag for tags that don't need it. 2013-01-18 18:26:25 -06:00
Marcin Łabanowski
3f53e1a83f Facilitate styling of subboard listings 2012-12-22 20:14:43 +01:00
Michael Save
3347cfb4fb Bugfix: [sticky] 2012-09-30 22:56:09 +10:00
Michael Save
bb5fc5545b Bugfix: [F] 2012-09-28 04:00:13 +10:00
Michael Save
69b3c28a5d minor consistency cleanup 2012-08-27 21:50:15 +10:00
Michael Save
ab70068de2 CSRF protection 2012-08-27 15:19:05 +10:00
Michael Save
17a56af9a7 code cleanup 2012-04-13 00:18:19 +10:00
Michael Save
c98a8afc1d large cleanup 2012-04-12 02:49:22 +10:00
Michael Save
4e9cc24fad increase character limit on board URI, title and subtitle 2012-04-09 21:13:44 +10:00
Michael Save
bb2e931fe7 Split [D+] (delete all posts by IP address) into global and non-global commands 2012-03-25 16:12:42 +11:00
Michael Save
b36f1218ed experimental post editing (for mods) 2012-02-15 20:11:09 +11:00
Michael Save
552924e704 Fixed issue #34: "HTML entities can be cut in half when truncating posts" 2012-02-11 18:53:27 +11:00
Michael Save
8a54298376 XSS in login form 2012-01-07 21:10:10 +11:00
Michael Save
4772a09423 horrible bug in the "post too long. click here to view the full text" truncating 2012-01-06 06:40:26 +11:00
Savetheinternet
79d26ae40d custom capcode fix 2011-12-05 10:33:31 +11:00
Savetheinternet
2080fb75fb ability to translate error messages 2011-12-02 19:42:51 +11:00
Savetheinternet
daed6d9221 Last finnish translations for the day 2011-11-23 23:52:38 +11:00
Savetheinternet
95ade9c2a6 Ability to "move" a thread to another board (2/3 done) 2011-11-19 01:35:22 +11:00
Savetheinternet
d6dbd9ee9a syslog() 2011-11-18 23:39:13 +11:00
Savetheinternet
6971028d58 ... 2011-11-16 07:40:31 +11:00
Savetheinternet
6b88eeb5f0 Added rel="directory" to "return" links 2011-11-16 07:40:03 +11:00
Savetheinternet
af3f5d9371 added "bumplocking" feature 2011-10-10 22:37:39 +11:00
Savetheinternet
90d1faafd1 fix pm_snippet bug 2011-10-10 21:49:38 +11:00
Savetheinternet
8cbdc85896 remove the retard function html_entity_decode_utf8(). not sure why seisatsu added it in the first place. 2011-10-10 21:06:39 +11:00
Savetheinternet
f8d7870dea ... 2011-10-10 20:50:01 +11:00
Savetheinternet
5e02493e6b pm_snippet bugfix (incorrectly double-escaped HTML entity) 2011-10-08 21:01:26 +11:00
Savetheinternet
82edb9cbbf memcached, APC, xcache 2011-10-07 16:51:19 +11:00
Savetheinternet
4a0b0e424b newline after CLI errors 2011-10-07 00:55:45 +11:00
Savetheinternet
06e2cdc2b1 broken unicode 2011-10-06 23:26:07 +11:00
Savetheinternet
9b5bc0b4a7 use template files instead of hardcoded HTML for generating psots 2011-10-05 23:53:43 +11:00
Savetheinternet
069f373abf non-image file icons 2011-10-05 16:45:34 +11:00
Savetheinternet
f76e6990b3 bug fix for non-image and spoiler thumbnails 2011-10-04 03:07:20 +11:00
Savetheinternet
2e6dcc62a4 image spoilers 2011-10-04 02:46:39 +11:00
Savetheinternet
bae23a2c65 Show full filename on mouseover. 2011-10-01 22:12:31 +10:00
Savetheinternet
f228c07744 Disable inline-expanding for non-images 2011-10-01 21:43:23 +10:00
Savetheinternet
b7b3ca4ff3 ... 2011-08-15 00:49:52 +10:00
Savetheinternet
ab599f79dc target="_blank" on images 2011-07-11 08:19:04 +10:00
Savetheinternet
c489ecf03e removed annoying white-space 2011-07-07 05:22:33 +10:00
Savetheinternet
ad23a613dc per-board moderators 2011-07-03 23:05:14 +10:00
Savetheinternet
b5f2390d10 "lock" should be "unlock" and "unlock" should be "lock" 2011-06-27 20:01:39 +10:00
Savetheinternet
242dcc8b1b make displaying original filename optional 2011-06-16 04:03:10 +10:00
Savetheinternet
88ec10c6aa display errors in plain-text for CLI users 2011-06-07 15:21:36 +10:00
Savetheinternet
7fb9a8a603 bug fix causing reported post controls to be truncated/omitted 2011-06-04 20:18:03 +10:00
Savetheinternet
5f64de42dd ... 2011-05-25 20:15:47 +10:00
Savetheinternet
6f0252c40e a bit of optimization 2011-05-24 15:39:07 +10:00
Savetheinternet
7812092d44 Automatically check for Tinyboard updates 2011-05-21 15:21:45 +10:00
Savetheinternet
8cc92ad6cc stop ignoring $config[file_page]... 2011-05-20 22:44:11 +10:00
Savetheinternet
d88e1d3635 few bug fixes 2011-05-19 21:59:25 +10:00
Savetheinternet
34b94c49a0 cache built posts' HTML with memcached 2011-05-19 21:50:19 +10:00
Savetheinternet
c24175711e Embedding field 2011-05-18 17:05:48 +10:00
Savetheinternet
0abbcf9aba truncate posts 2011-04-17 15:28:15 +10:00
Savetheinternet
bc875e0749 ... 2011-04-15 04:59:04 +10:00
Savetheinternet
0d41ac46c6 email <a> tag should end before the capcode begins 2011-04-14 02:19:31 +10:00
Savetheinternet
36b6f3f248 block loading include files directly 2011-04-13 22:21:07 +10:00
Savetheinternet
21c59a10d6 non-image uploads 2011-04-13 20:57:41 +10:00
Savetheinternet
09b34c8a67 poster IDs 2011-04-13 20:02:58 +10:00
Savetheinternet
1bcef4f2c2 Show reply IDs in HTML on index page too 2011-04-13 17:24:06 +10:00
Savetheinternet
be590ac7d5 New capcode field for posts and custom capcodes (run install.php to upgrade tables) 2011-04-12 21:08:54 +10:00
Savetheinternet
422867421b PM inbox 2011-04-12 18:02:20 +10:00
Savetheinternet
eb7146dc3e Post saving/cache and Google Analytics integration 2011-04-06 18:31:26 +10:00
Savetheinternet
d952f8a475 fixed bug on login 2011-03-26 19:11:48 +11:00
Savetheinternet
d1a74bd49d Allow custom URLs for stylesheet/javascript/banner 2011-03-26 18:23:15 +11:00
Savetheinternet
e4a7b6133d Fix [ and ] brackets and whitespace trimming 2011-03-17 23:53:27 +11:00
Savetheinternet
9473881d03 Custom links in the board list 2011-03-17 23:49:28 +11:00
Savetheinternet
11ba64da0c Add [ and ] in the boardlist when non existant 2011-03-17 23:45:14 +11:00
Savetheinternet
26391289f8 Ability to move images and thumbnails to a seperate domain/URL 2011-03-17 18:56:18 +11:00
Savetheinternet
3572ec4f17 Beta PM system 2011-03-17 16:52:43 +11:00
Savetheinternet
ae03149465 Word-wrap fix for OP. 2011-02-22 11:47:09 +11:00
Savetheinternet
9228dcc3f0 Invalid HTML -> Valid HTML 2011-02-20 22:47:01 +11:00
Savetheinternet
3c80d8b857 Fixed display for instances without boardlists 2011-02-20 18:46:38 +11:00
Savetheinternet
c7a4b8cfdb Fixed margin on boardlist 2011-02-20 12:39:56 +11:00
Savetheinternet
fdb83ea4da Added boardlinks 2011-02-19 20:16:13 +11:00
Savetheinternet
7045bf34e7 Fixed cite links for mods 2011-02-19 17:38:25 +11:00
Savetheinternet
0ce43f3c11 Fixed display of OP in IP page 2011-02-18 01:13:56 +11:00
Savetheinternet
75747c47b6 Show omitted image replies count 2011-02-17 17:07:36 +11:00
Savetheinternet
6b3f051b96 Return to page if mod clicked on a link to a moderator page but was not logged in 2011-02-16 19:59:13 +11:00
Savetheinternet
3737439338 Changed config to an array 2011-02-12 17:25:15 +11:00
Savetheinternet
6994b6a2f5 Fix internal links for moderator interface 2011-02-07 00:37:26 +11:00
Savetheinternet
67148f2846 ... 2011-01-21 13:14:55 +11:00
Savetheinternet
5c2b7dfe61 .. 2011-01-18 16:48:39 +11:00
Savetheinternet
3a3578c805 Valid HTML5 2011-01-03 16:29:34 +11:00
Savetheinternet
083d7213f6 Fixed link in "Go back" on error pages for mods 2011-01-03 15:10:21 +11:00
Savetheinternet
5538d5589d Fixed error, confused stickies with locks 2011-01-03 02:00:03 +11:00
Savetheinternet
76cb8b0788 Lock controls on posts 2011-01-03 01:58:38 +11:00
Savetheinternet
f5f4d8743e Fixed an incorrect comment... 2011-01-03 01:57:24 +11:00
Savetheinternet
97e927bef9 Show locked threads 2011-01-02 22:30:30 +11:00
Savetheinternet
2f602e9b4d Fixed DELETED_IMAGE showing wrong image location 2011-01-02 15:31:47 +11:00
Savetheinternet
9ba2638ad7 Configurable post time format 2011-01-02 01:45:14 +11:00
Savetheinternet
e401668732 Fixed major security bug and image deleting 2011-01-01 22:12:31 +11:00
Savetheinternet
139514402d Only show "delete file" link on posts with files 2010-12-17 20:05:26 +11:00
Savetheinternet
9554291802 Mod controls and permissions 2010-12-17 02:20:16 +11:00
Savetheinternet
627c6ac91a Stickies 2010-12-16 23:08:52 +11:00
Savetheinternet
b0bee3556f Made HTML valid in mod controls 2010-12-16 22:48:54 +11:00