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

2206 Commits

Author SHA1 Message Date
czaks
94b87f2f71 js i18n: misc fixes; quick-reply.js i18n 2013-07-03 01:04:08 -04:00
czaks
76e9c24475 tools/inc/lib/jsgettext/: misc fixes 2013-07-03 00:50:43 -04:00
czaks
7503a1a7b6 js i18n: finish implementation with addition of the compiled locale strings file to additional javascripts 2013-07-03 00:25:32 -04:00
czaks
cbae46246e tools/i18n_*: introduction of translation tools for tinyboard; supporting javascript i18n 2013-07-03 00:12:28 -04:00
czaks
c6cc7dc02c tools/inc/lib/jsgettext/: remove unnecessary file 2013-07-02 23:58:37 -04:00
czaks
8db7654a2d tools/inc/lib/jsgettext/: apply fixes from bugtracker 2013-07-02 23:57:47 -04:00
czaks
1603f246f2 main.js: added preliminary translation functions for javascript 2013-07-02 23:10:00 -04:00
czaks
d866687d38 tools/inc/lib/jsgettext/: bundle jsgettext library from https://code.google.com/p/jsgettext 2013-07-02 22:48:43 -04:00
czaks
1c08907043 tools/: move cli utils from tinyboard-tools to tinyboard repo 2013-07-02 22:45:52 -04:00
czaks
16cab70da0 local-time.js: make it work with thread expand etc; BEWARE IT NOW NEEDS JQUERY TO BE LOADED BEFORE 2013-07-02 21:09:05 -04:00
czaks
47fad498dd local-time.js: make it work in localised environments 2013-07-02 20:58:16 -04:00
Marcin Łabanowski
8ee3ff9caa post_form: move submit button upper when thread field is disabled 2013-07-02 18:05:40 -04:00
K
1b3852c8b4 Add support for 4chan-compatible json API. 2013-07-02 19:52:29 +02:00
czaks
06b3af0f28 post-hider.js: further code cleanup; fix displaying on board pages 2013-06-24 09:05:33 -04:00
czaks
7915be5d26 post-hider.js: fixed multiple board issues; eg. you could hide a thread on one board, and threads from other boards with the same id would have been hidden too 2013-06-24 09:02:12 -04:00
czaks
c65fe97a99 templates/post_thread.html: add data-board field for every thread; mainly for post-hiding and ukko integration 2013-06-24 08:46:59 -04:00
czaks
8a9a8da9fc templates/post_thread.html: changed windows-type endlines to unix-type 2013-06-24 08:44:19 -04:00
czaks
07e419e967 JS Api: added an active_page variable to make it easier to denote the context from javascript 2013-06-24 08:23:09 -04:00
lanc33
730fc2e223 Added gentoochan.css. 2013-06-24 07:49:41 -04:00
czaks
a139c44a80 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
czaks
2542aec237 SPDY: send back updated thread/index after post
Sets X-Associated-Content header, which is at least recognized
by Apache mod_spdy.
2013-06-21 16:37:56 -04:00
Michael
bab6548929 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
a087ab72db Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Michael
9ca0aa37f5 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
6c367c8f31 Merge pull request #113 from Macil/tzfix
Output times in UTC
2013-06-18 10:40:56 -07:00
Macil Tech
aa881058a3 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
75e19543a3 Fix #71. 2013-06-18 12:10:06 -05:00
Macil Tech
b872cf55e4 m and n dash fix 2013-06-18 12:07:30 -05:00
Macil Tech
01f1c89f7c Fix "Undefined index: sticky" and "locked" errors on new thread creation. 2013-06-18 12:00:26 -05:00
Macil Tech
9a6349450c Don't forget secure tripcode that's preceded by a space.
Mod capcodes are not remembered in the posting form.
2013-06-18 11:58:32 -05:00
Macil Tech
0563bbb4a3 Include non-compiled javascript in page.html too. 2013-06-18 11:55:51 -05:00
Macil Tech
a741116ade mod.php: Don't freak out if extra dummy query parameters are added.
(Such as for cache-avoidance.)
2013-06-18 11:16:28 -05:00
Macil Tech
66965b3655 Fix broken entity removal in post truncation. 2013-06-18 11:16:15 -05:00
Macil Tech
821f40a794 Fix result page after installing theme getting doubled up. 2013-06-18 11:14:02 -05:00
Macil Tech
42aec516f6 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
b992532c32 pm_snippet() should probably use mb_substr if it's using mb_strlen. 2013-06-18 11:12:31 -05:00
Macil Tech
7912f13319 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
8b14cbb091 Fix display issues with RTL control characters in post names, subjects, and filenames. 2013-06-18 11:07:47 -05:00
Macil Tech
3d9f318397 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
Michael
764729a99e Merge pull request #109 from undido/banlistpatch
Banlistpatch
2013-06-17 09:54:29 -07:00
Michael
f322af4831 Merge pull request #104 from undido/patch-1
Update auto-reload.js possible minor issue
2013-06-17 09:52:29 -07:00
55ch
0ea05236d5 Brazilian Portuguese translation for Tinyboard 2013-06-15 07:07:16 -04:00
czaks
ab146f39c3 javascripts: fixed interactions (BEWARE, inline-expanding.js now requires jquery! fix your configs) 2013-06-15 01:39:39 -04:00
czaks
e2d6a0c146 stylesheets: add photon.css by Turanga 2013-06-15 01:36:30 -04:00
czaks
7417980496 inline-expanding.js: don't set max height 2013-06-15 00:37:12 -04:00
czaks
588a915c40 header abstraction: abstracted also in thread.html 2013-06-15 00:22:13 -04:00
czaks
b0a555365c Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/index.html
2013-06-15 00:08:11 -04:00
czaks
1f35fa8bac overboard: missed templates/index.html 2013-06-15 00:04:08 -04:00
czaks
29d900ea95 generic boardlist for overboard 2013-06-14 23:57:04 -04:00
Michael
9ddc2fd062 Merge pull request #110 from lanc33/master
Fixes #59
2013-06-13 11:11:08 -07:00