Commit Graph

1759 Commits

Author SHA1 Message Date
czaks
f9abd0669b js i18n: local-time.js 2013-07-03 01:27:09 -04:00
czaks
f2128758f2 i18n tools: small fixes 2013-07-03 01:24:09 -04:00
czaks
7180a77705 smartphone-spoiler.js: make it work with thread expanding etc. 2013-07-03 01:18:44 -04:00
czaks
37c1b134de js i18n: expand.js 2013-07-03 01:17:56 -04:00
czaks
da9f367f2f js i18n: misc fixes; quick-reply.js i18n 2013-07-03 01:04:08 -04:00
czaks
3fc38cb552 tools/inc/lib/jsgettext/: misc fixes 2013-07-03 00:50:43 -04:00
czaks
21f6799617 js i18n: finish implementation with addition of the compiled locale strings file to additional javascripts 2013-07-03 00:25:32 -04:00
czaks
2b8d695b49 tools/i18n_*: introduction of translation tools for tinyboard; supporting javascript i18n 2013-07-03 00:12:28 -04:00
czaks
8fd569ce1e tools/inc/lib/jsgettext/: remove unnecessary file 2013-07-02 23:58:37 -04:00
czaks
f7d7981248 tools/inc/lib/jsgettext/: apply fixes from bugtracker 2013-07-02 23:57:47 -04:00
czaks
74f4c7da18 main.js: added preliminary translation functions for javascript 2013-07-02 23:10:00 -04:00
czaks
7ab1ec4caa tools/inc/lib/jsgettext/: bundle jsgettext library from https://code.google.com/p/jsgettext 2013-07-02 22:48:43 -04:00
czaks
47640a0ce8 tools/: move cli utils from tinyboard-tools to tinyboard repo 2013-07-02 22:45:52 -04:00
czaks
fe1e07f1bf 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
dfe31de156 local-time.js: make it work in localised environments 2013-07-02 20:58:16 -04:00
Marcin Łabanowski
6961f5b8b5 post_form: move submit button upper when thread field is disabled 2013-07-02 18:05:40 -04:00
czaks
d134d2ae22 post-hider.js: further code cleanup; fix displaying on board pages 2013-06-24 09:05:33 -04:00
czaks
0cae0d70b8 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
802fd16d46 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
da57f51c87 templates/post_thread.html: changed windows-type endlines to unix-type 2013-06-24 08:44:19 -04:00
czaks
3bcf88e842 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
08494f2b2f Added gentoochan.css. 2013-06-24 07:49:41 -04:00
czaks
24a520485d Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
czaks
c073967600 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
9b0c31daa6 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
0ac9dd5f25 Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Michael
cbc3bd0c0a 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
68c6a749f2 Merge pull request #113 from Macil/tzfix
Output times in UTC
2013-06-18 10:40:56 -07:00
Macil Tech
3eda5b0543 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
399aa463b3 Fix #71. 2013-06-18 12:10:06 -05:00
Macil Tech
765e64ee38 m and n dash fix 2013-06-18 12:07:30 -05:00
Macil Tech
b078222ede Fix "Undefined index: sticky" and "locked" errors on new thread creation. 2013-06-18 12:00:26 -05:00
Macil Tech
a5e5cd03e6 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
4ad1ce13b1 Include non-compiled javascript in page.html too. 2013-06-18 11:55:51 -05:00
Macil Tech
fa9c2a0fd1 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
b6fc7ca89d Fix broken entity removal in post truncation. 2013-06-18 11:16:15 -05:00
Macil Tech
be1e55b9d6 Fix result page after installing theme getting doubled up. 2013-06-18 11:14:02 -05:00
Macil Tech
6fd6b92fe8 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
1d4fced75a pm_snippet() should probably use mb_substr if it's using mb_strlen. 2013-06-18 11:12:31 -05:00
Macil Tech
2fe79f6a61 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
a92bb182d9 Fix display issues with RTL control characters in post names, subjects, and filenames. 2013-06-18 11:07:47 -05:00
Macil Tech
3bcc87caf2 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
2df2b8ba4d Merge pull request #109 from undido/banlistpatch
Banlistpatch
2013-06-17 09:54:29 -07:00
Michael
81b3eec4e0 Merge pull request #104 from undido/patch-1
Update auto-reload.js possible minor issue
2013-06-17 09:52:29 -07:00
55ch
9f00d86f1a Brazilian Portuguese translation for Tinyboard 2013-06-15 07:07:16 -04:00
czaks
1d76164e29 javascripts: fixed interactions (BEWARE, inline-expanding.js now requires jquery! fix your configs) 2013-06-15 01:39:39 -04:00
czaks
9b3eb9c2ca stylesheets: add photon.css by Turanga 2013-06-15 01:36:30 -04:00
czaks
ef66fd62b4 inline-expanding.js: don't set max height 2013-06-15 00:37:12 -04:00
czaks
ba424698e0 header abstraction: abstracted also in thread.html 2013-06-15 00:22:13 -04:00
czaks
e53481f93e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/index.html
2013-06-15 00:08:11 -04:00