1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +01:00
Commit Graph

198 Commits

Author SHA1 Message Date
czaks
f128811dd3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 22:18:46 -04:00
Michael Foster
ac4306555b Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). 2013-08-03 22:14:25 -04:00
czaks
a0855cdcf5 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/functions.php
	templates/generic_page.html
	templates/index.html
2013-08-03 19:05:25 -04:00
Michael Foster
056a6001ac Erorr handling update 2013-08-03 02:01:52 -04:00
Michael Foster
1d37e81ade Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster
4fce9b63ae Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
czaks
9769e1f964 i18n even more strings in inc/display.php 2013-08-01 02:39:41 -04:00
czaks
3b03e18d68 i18n even more strings in inc/display.php 2013-08-01 01:56:04 -04:00
czaks
b9769d0cea i18n strings in inc/display.php 2013-08-01 01:53:13 -04:00
czaks
a1e105a470 i18n strings in inc/display.php 2013-08-01 01:47:15 -04:00
czaks
55c7146d88 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
	inc/image.php
	js/expand.js
	js/hide-threads.js
	js/local-time.js
	js/smartphone-spoiler.js
	templates/header.html
	templates/index.html
	templates/main.js
	templates/page.html
	templates/post_reply.html
	templates/post_thread.html
	templates/thread.html
2013-07-31 14:54:20 -04:00
Michael Foster
81da2fea04 Undo 7e0cec for now. Will restore later once I resolve issues 2013-07-31 05:03:50 -04:00
Marcin Łabanowski
7e0cec3d9d Facilitate styling of subboard listings 2013-07-31 04:09:35 -04:00
czaks
96bcf5dd1e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/functions.php
	inc/mod/pages.php
	install.php
	js/expand.js
	mod.php
2013-07-31 02:30:44 -04:00
Michael Foster
42cba53887 Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
czaks
9f323ae65f Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/themes/sitemap/info.php
2013-07-20 17:28:34 -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
czaks
7bdb96a16b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
	templates/index.html
	templates/thread.html
2013-07-16 13:02:13 -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
czaks
24a520485d Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
Michael
0ac9dd5f25 Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Macil Tech
b6fc7ca89d Fix broken entity removal in post truncation. 2013-06-18 11:16:15 -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
a92bb182d9 Fix display issues with RTL control characters in post names, subjects, and filenames. 2013-06-18 11:07:47 -05:00
Marcin Łabanowski
e6b9bad788 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	mod.php
2013-01-26 15:08:48 +01:00
Michael Save
85710249b7 Raw HTML editing 2013-01-24 19:16:25 +11:00
Marcin Łabanowski
25268f3876 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-23 17:19:31 +01:00
Michael Save
b693779d0d Hopefully a final fix for caching thread previews. This feature was previous disabled because of a bug/confliction. 2013-01-23 12:43:46 +11:00
Marcin Łabanowski
18ca523b18 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-21 13:17:13 +01:00
Michael Save
7a68fc9525 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Marcin Łabanowski
82fb733906 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-19 16:23:02 +01:00
Macil Tech
7eef94e04e 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
9007640e88 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
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
Marcin Łabanowski
56eb3c6b15 Facilitate styling of subboard listings 2012-12-22 20:14:43 +01:00
Michael Save
209f061eed Bugfix: [sticky] 2012-09-30 22:56:09 +10:00
Michael Save
db14f9ce15 Bugfix: [F] 2012-09-28 04:00:13 +10:00
Michael Save
913010cff5 minor consistency cleanup 2012-08-27 21:50:15 +10:00
Michael Save
6229b82a43 CSRF protection 2012-08-27 15:19:05 +10:00
Michael Save
51675e7a9b code cleanup 2012-04-13 00:18:19 +10:00
Michael Save
c9423a2c34 large cleanup 2012-04-12 02:49:22 +10:00
Michael Save
033491f84f increase character limit on board URI, title and subtitle 2012-04-09 21:13:44 +10:00
Michael Save
1e88a003cf Split [D+] (delete all posts by IP address) into global and non-global commands 2012-03-25 16:12:42 +11:00
Michael Save
3f1c279ce3 experimental post editing (for mods) 2012-02-15 20:11:09 +11:00
Michael Save
ae76ddb079 Fixed issue #34: "HTML entities can be cut in half when truncating posts" 2012-02-11 18:53:27 +11:00
Michael Save
c7d72306ed XSS in login form 2012-01-07 21:10:10 +11:00
Michael Save
c519bd66f5 horrible bug in the "post too long. click here to view the full text" truncating 2012-01-06 06:40:26 +11:00
Savetheinternet
c5a961a6a5 custom capcode fix 2011-12-05 10:33:31 +11:00
Savetheinternet
3979d9a740 ability to translate error messages 2011-12-02 19:42:51 +11:00
Savetheinternet
87c73a41dd Last finnish translations for the day 2011-11-23 23:52:38 +11:00
Savetheinternet
d8fe3ff8d8 Ability to "move" a thread to another board (2/3 done) 2011-11-19 01:35:22 +11:00
Savetheinternet
3e28328dc9 syslog() 2011-11-18 23:39:13 +11:00
Savetheinternet
86bbe132a9 ... 2011-11-16 07:40:31 +11:00
Savetheinternet
a48572119e Added rel="directory" to "return" links 2011-11-16 07:40:03 +11:00
Savetheinternet
ffb215eb47 added "bumplocking" feature 2011-10-10 22:37:39 +11:00
Savetheinternet
ef125249b9 fix pm_snippet bug 2011-10-10 21:49:38 +11:00
Savetheinternet
85d37a55c3 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
bf803e5d58 ... 2011-10-10 20:50:01 +11:00
Savetheinternet
ea2e4f12f8 pm_snippet bugfix (incorrectly double-escaped HTML entity) 2011-10-08 21:01:26 +11:00
Savetheinternet
555688e880 memcached, APC, xcache 2011-10-07 16:51:19 +11:00
Savetheinternet
160647d196 newline after CLI errors 2011-10-07 00:55:45 +11:00
Savetheinternet
ea641d4335 broken unicode 2011-10-06 23:26:07 +11:00
Savetheinternet
0629bf68f7 use template files instead of hardcoded HTML for generating psots 2011-10-05 23:53:43 +11:00
Savetheinternet
d7f32670c5 non-image file icons 2011-10-05 16:45:34 +11:00
Savetheinternet
514eb2aa84 bug fix for non-image and spoiler thumbnails 2011-10-04 03:07:20 +11:00
Savetheinternet
53dce652a8 image spoilers 2011-10-04 02:46:39 +11:00
Savetheinternet
339853e5de Show full filename on mouseover. 2011-10-01 22:12:31 +10:00
Savetheinternet
0bad03d3a2 Disable inline-expanding for non-images 2011-10-01 21:43:23 +10:00
Savetheinternet
e3f2aa8da3 ... 2011-08-15 00:49:52 +10:00
Savetheinternet
4bf3a5da58 target="_blank" on images 2011-07-11 08:19:04 +10:00
Savetheinternet
1e88c55b37 removed annoying white-space 2011-07-07 05:22:33 +10:00
Savetheinternet
e3cba2b450 per-board moderators 2011-07-03 23:05:14 +10:00
Savetheinternet
1338769d44 "lock" should be "unlock" and "unlock" should be "lock" 2011-06-27 20:01:39 +10:00
Savetheinternet
ef2e7c616b make displaying original filename optional 2011-06-16 04:03:10 +10:00
Savetheinternet
922409e323 display errors in plain-text for CLI users 2011-06-07 15:21:36 +10:00
Savetheinternet
3d86bc9bc3 bug fix causing reported post controls to be truncated/omitted 2011-06-04 20:18:03 +10:00
Savetheinternet
38cc13f9b9 ... 2011-05-25 20:15:47 +10:00
Savetheinternet
d21e28f6f6 a bit of optimization 2011-05-24 15:39:07 +10:00
Savetheinternet
bdb05b16d8 Automatically check for Tinyboard updates 2011-05-21 15:21:45 +10:00
Savetheinternet
65c5e91af2 stop ignoring $config[file_page]... 2011-05-20 22:44:11 +10:00
Savetheinternet
0794f9c53b few bug fixes 2011-05-19 21:59:25 +10:00
Savetheinternet
e60a6a1a58 cache built posts' HTML with memcached 2011-05-19 21:50:19 +10:00
Savetheinternet
797fd8ad13 Embedding field 2011-05-18 17:05:48 +10:00
Savetheinternet
2babc137e9 truncate posts 2011-04-17 15:28:15 +10:00
Savetheinternet
21d97bab29 ... 2011-04-15 04:59:04 +10:00
Savetheinternet
169215da52 email <a> tag should end before the capcode begins 2011-04-14 02:19:31 +10:00
Savetheinternet
b895102563 block loading include files directly 2011-04-13 22:21:07 +10:00
Savetheinternet
10a8fe28e6 non-image uploads 2011-04-13 20:57:41 +10:00
Savetheinternet
7d736c102b poster IDs 2011-04-13 20:02:58 +10:00
Savetheinternet
e4467a58cf Show reply IDs in HTML on index page too 2011-04-13 17:24:06 +10:00
Savetheinternet
c596d45711 New capcode field for posts and custom capcodes (run install.php to upgrade tables) 2011-04-12 21:08:54 +10:00
Savetheinternet
9dc1e98704 PM inbox 2011-04-12 18:02:20 +10:00
Savetheinternet
08bbd3f912 Post saving/cache and Google Analytics integration 2011-04-06 18:31:26 +10:00
Savetheinternet
b64604ca30 fixed bug on login 2011-03-26 19:11:48 +11:00
Savetheinternet
92310f445c Allow custom URLs for stylesheet/javascript/banner 2011-03-26 18:23:15 +11:00
Savetheinternet
ea06613d44 Fix [ and ] brackets and whitespace trimming 2011-03-17 23:53:27 +11:00
Savetheinternet
fe9a8a1074 Custom links in the board list 2011-03-17 23:49:28 +11:00
Savetheinternet
08c3edecc1 Add [ and ] in the boardlist when non existant 2011-03-17 23:45:14 +11:00