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

150 Commits

Author SHA1 Message Date
Michael Foster
b6faf5b09f js/ajax.js: post with ajax 2013-09-15 14:03:27 +10:00
Michael Foster
bd8c59a8fc show-thread event 2013-09-15 03:54:09 +10:00
Michael Foster
4772cdaff0 fix pm_snippet bug 2013-08-31 13:26:53 +10:00
Michael Foster
cae63cf65e $config['always_regenerate_markup'] 2013-08-29 15:29:04 +10:00
Michael Foster
35331580c3 Unicode bi-directional text: Finally a working fix 2013-08-19 23:47:56 +10:00
Michael Foster
e1cfd77165 disregard 2013-08-19 05:22:08 +10:00
Michael Foster
ade761a88e bidi_cleanup: Just replace with HTML5's <bdi> (for now, at least). The old code was hardly working, and had issued with older PHP versions. 2013-08-19 05:19:54 +10:00
Michael Foster
2c7c1249bf fix aspect ratio displaying 2013-08-17 04:11:24 +10:00
Michael Foster
3860524165 forgot this here 2013-08-16 21:51:10 +10:00
Michael Foster
0d41af4065 This wasn't usd anywhere. 2013-08-16 21:46:51 +10:00
Michael Foster
5fdc0878c9 A few modifications:
1. Finally, clean up some of the crappy code in inc/display.php; no more extreme clutter. new Thread() and new Post() take an array as the first parameter now.

2. Poster country flags. Currently requires the "geoip" extension.

3. Give post images a classname. This was also long-overdue.
2013-08-16 21:08:01 +10:00
Michael Foster
35e2c19fc0 use single quotes 2013-08-12 21:08:40 +10:00
ctrlcctrlv
64bd203bc6 accidentally spaces 2013-08-12 12:55:52 +10:00
ctrlcctrlv
1c78a04edd Spoil files moderator action 2013-08-12 12:55:44 +10:00
Michael Foster
172effc889 Clean: Make boardlist bracket wrapping optional 2013-08-11 21:06:13 +10:00
ctrlcctrlv
51d1d4eb5c Make boardlist bracket wrapping optional 2013-08-11 21:04:45 +10:00
Michael Foster
6bd6faa57d Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). 2013-08-03 22:14:25 -04:00
Michael Foster
4f4e0b73a8 Erorr handling update 2013-08-03 02:01:52 -04:00
Michael Foster
3a0ed6fad3 Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster
d59e74f394 Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
czaks
cbb845c592 i18n even more strings in inc/display.php 2013-08-01 02:39:41 -04:00
czaks
39f490bc5f i18n strings in inc/display.php 2013-08-01 01:53:13 -04:00
Michael Foster
f0e3d62b0f Undo 7e0cec for now. Will restore later once I resolve issues 2013-07-31 05:03:50 -04:00
Marcin Łabanowski
247e183077 Facilitate styling of subboard listings 2013-07-31 04:09:35 -04:00
Michael Foster
ca6cb1fdea Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
Michael Foster
731cfba33b Only store video URLs in database, instead of the generated player HTML. 2013-07-19 18:36:12 -04:00
Macil Tech
90c2b95f92 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
a087ab72db Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Macil Tech
66965b3655 Fix broken entity removal in post truncation. 2013-06-18 11:16:15 -05:00
Macil Tech
b992532c32 pm_snippet() should probably use mb_substr if it's using mb_strlen. 2013-06-18 11:12:31 -05:00
Macil Tech
8b14cbb091 Fix display issues with RTL control characters in post names, subjects, and filenames. 2013-06-18 11:07:47 -05:00
Michael Save
adae930469 Raw HTML editing 2013-01-24 19:16:25 +11:00
Michael Save
656fab9f8e 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
Michael Save
4f58617507 Copyright and license update for 2013. 2013-01-20 21:23:46 +11: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
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