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

1892 Commits

Author SHA1 Message Date
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
lanc33
9edcdb077c Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply']. 2013-05-29 19:16:37 -03:00
czaks
be7df18e4d Moved ukko to a proper location 2013-05-26 18:03:20 -04:00
Riku Rouvila
29ce033add Here we go 2013-05-26 18:00:46 -04:00
czaks
f6701dfb74 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-05-26 17:53:00 -04:00
czaks
c748d9330f vichan specific fix to facilitate using "." and "+" in boardnames 2013-05-26 17:52:33 -04:00
undido
cd3a05a9d1 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
5ae9fa3c1f 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
9617bd67db Merge pull request #106 from ctrlcctrlv/master
Per board configuration names were not working
2013-03-21 08:53:36 -07:00
Fredrick
b09a46fe99 Fix per-board name not being used 2013-03-20 07:46:48 -04:00
undido
6aa2936032 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
7d657a0a4b Merge pull request #102 from ctrlcctrlv/master
Fix truncation issues once and for all
2013-03-17 04:13:13 -07:00
Fredrick
0b4487aafa Fix truncation issue by no longer using HTML entities for Unicode characters 2013-03-17 07:00:55 -04:00
Michael Save
41b3638fbf Mod log in ?/IP (ie. ban history) 2013-03-16 18:27:24 +11:00
Michael Save
642fbb6b78 Fix: Critical security vulnerability 2013-03-15 00:40:02 +11:00