1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-21 03:45:58 +01:00
Commit Graph

4003 Commits

Author SHA1 Message Date
K
74a470bf4e Add support for 4chan-compatible json API. 2013-07-02 19:52:29 +02: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
czaks
8b952fe97f overboard: missed templates/index.html 2013-06-15 00:04:08 -04:00
czaks
b85fc7d102 generic boardlist for overboard 2013-06-14 23:57:04 -04:00
Michael
a2c215d5d0 Merge pull request #110 from lanc33/master
Fixes #59
2013-06-13 11:11:08 -07:00
lanc33
0e490407e1 Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply']. 2013-05-29 19:16:37 -03:00
czaks
9c29cec659 Moved ukko to a proper location 2013-05-26 18:03:20 -04:00
Riku Rouvila
9b83264735 Here we go 2013-05-26 18:00:46 -04:00
czaks
258083e5cb Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-05-26 17:53:00 -04:00
czaks
4c45689528 vichan specific fix to facilitate using "." and "+" in boardnames 2013-05-26 17:52:33 -04:00
undido
83401b3a68 update config.php config for unban limit
Adding config and error for unban list when a user tries to unban more users than they are allowed too.
2013-04-16 19:14:51 -03:00
undido
b4ff535128 update to pages.php minor exploit
A lot of bans can be removed from a tinyboard database because it isn't limited A staff member could select 100 users all at once with a simple javascript function and unban them all this needs to be limited because a staff member on an image board if they feel hostile they can just remove all bans on the tinyboard site easily without being limited to how many people they can unban at a time, this adds an option to limit it.
2013-04-16 19:09:58 -03:00
Michael
b9140f3c07 Merge pull request #106 from ctrlcctrlv/master
Per board configuration names were not working
2013-03-21 08:53:36 -07:00
Fredrick
bb54605eb7 Fix per-board name not being used 2013-03-20 07:46:48 -04:00
undido
41ee55a1b2 Update auto-reload.js
check if viewing a thread or viewing a board page when updating a thread so new posts do not appear at bottom of page while viewing threads list not sure if this was because of an outdated template but I thought I should point out this as it may affect html templates no matter the code as the banner code is the only code that checks where the user currently is.
2013-03-20 00:56:59 -03:00
Michael
31a21a5957 Merge pull request #102 from ctrlcctrlv/master
Fix truncation issues once and for all
2013-03-17 04:13:13 -07:00
Fredrick
53f710060d Fix truncation issue by no longer using HTML entities for Unicode characters 2013-03-17 07:00:55 -04:00