Commit Graph

128 Commits

Author SHA1 Message Date
dd425e3ef0 Place IP notes and ban form above post history 2021-06-23 21:49:51 +00:00
Benjamin Southall
eefa9e3790 Fixes Where are ip notes displayed #168, typographical error. 2019-08-18 07:38:02 +10:00
Benjamin Southall
a5650df053 Based on #157 and #158, revert back to existence checks and length rather than default empty array initialization for ease of reading 2019-08-10 12:01:07 +10:00
Benjamin Southall
878b9aa420 Fixes count(): Parameter must be an array or an object that implements Countable #158 by replacing count with existence check for var,name and then using length 2019-08-10 12:00:06 +10:00
Benjamin Southall
82335ef2f5 Fixes Recent posts show nothing #157, because I forgot the length check. Reverts to use not because it is simpler than using default empty array and length 2019-08-10 11:58:12 +10:00
Benjamin Southall
d900279707 Fixes count(): Parameter must be an array or an object that implements Countable as well as PHP 7.3 regression in users from upstream 3a41c24e6e5bcea2f4b9f328ddf5ff0cb8a8b2e8 2019-08-08 21:20:48 +10:00
Benjamin Southall
cca756bf92 Add missing moderation templates 2018-04-20 06:48:31 +09:00
Benjamin Southall
82f0e1f3ab Add style-select.js for moving CSS theme selections to Options for Public Ban list theme 2017-09-03 22:42:23 +09:00
Benjamin Southall
d9b7252397 Merge pull request from vichan-devel/vichan#230 from antedeguemon/master Fixed XSS in post edit page and modsearch, this is a partial merge of just modsearch, we already fixed the edit post escaping earlier. 2017-06-08 08:11:18 +09:00
Tobias Umbach
e4bcd58c19 Autofocus username field on mod login page 2017-05-09 15:17:43 +02:00
f0x52
77e8dfc02a escaping on all fields 2017-04-17 22:30:14 +02:00
f0x52
f69f306430 issue #94, mod edit form 2017-04-17 22:15:45 +02:00
Benjamin Southall
025bb70a58 Dashboard simplification 2016-12-11 08:14:23 +09:00
Benjamin Southall
c58e37ce39 Merged lainchan with vichan master at 25/9/2016 0bd63149b7 @czaks czaks committed on GitHub 2 days ago 2016-09-25 16:34:47 +09:00
Michael Walker
b58fab9814 Simpler mod dashboard (by lisp). 2016-09-12 13:11:36 +01:00
czaks
36d762514c Merge branch 'master' of github.com:vichan-devel/Tinyboard 2016-06-09 04:51:17 +02:00
czaks
94c91db097 fix news deletion; thanks MrFreeman 2016-06-09 04:51:05 +02:00
fatchan
d285a79667 Move the 'Go back and rebuild again' to the top of the rebuilt page so you dont have to scroll 2016-05-31 23:28:55 +10:00
czaks
3f405b3484 what if IP address contained bad characters? (highly local) 2016-05-06 16:53:28 +02:00
czaks
a5bd39dc4a mod dashboard html: link to page editor 2016-05-06 16:49:35 +02:00
8chan
d788131202 Allow a board called news to exist 2016-05-06 16:26:17 +02:00
Fredrick Brennan
95b1e103cb Edit static pages commit 2016-05-06 16:03:55 +02:00
8chan
7911c374e8 Public action logs commit (log.php)
Note: In a previous commit, I began making inc/mod/auth.php more modular with the check_login() function. Including it does NOT check mod login by default anymore like it does on vichan. You have to call check_login(). I've finally included it in inc/functions.php. If you have any custom pages that use inc/mod/auth.php, just including functions.php is enough now.

===================================
Also: backports 351375185e5 (early 404)
2016-05-06 15:44:26 +02:00
Michael Walker
166ba2a0a2 Merge remote-tracking branch 'vichan/master' 2015-09-12 21:03:54 +01:00
kellerwhy
d4dcfc6321 Make mod/recent_posts.html respect $config['dir']['res']
So certain links don't keep linking to /board/res/postnumber despite any changes to $config['dir']['res'] e.g. changing res/ to thread/
2015-08-10 23:16:23 -04:00
Michael Walker
edde68f97d Disable dynamic resizing of config textbox 2015-06-17 23:10:22 +01:00
Simon McFarlane
4b40f69a4e Merge remote-tracking branch 'upstream/master' into vichan-merge 2015-05-29 01:34:53 -07:00
Michael Walker
61d9dacdfb When banning/deleting a post, return to the thread, not the board index (unless deleting the OP) 2015-05-10 13:22:53 +01:00
Michael Walker
4184fdec6e Pass the thread ID when banning/deleting 2015-05-10 02:56:48 +01:00
czaks
2d9214ac63 version check should point at engine.vichan.net and not tinyboard.org actually 2015-04-23 08:18:36 +02:00
czaks
bdb6001f3f support for slugified links; may introduce a few bugs 2015-03-10 12:48:59 +01:00
czaks
9b3fa77719 new banlist implementation; also includes a public banlist 2014-10-08 23:23:59 +02:00
8chan
48f99deaa5 Fix post linking bug in ?/recent 2014-07-21 16:55:36 +00:00
Fredrick Brennan
18f158e2d5 Forgot some |e 2014-07-19 18:47:34 +00:00
8chan
ef7556194c Fix 55ch cancer; can now see next page of posts, ?/recent uses templating system 2014-07-19 18:42:52 +00:00
czaks
15810c9bed fix permission name 2014-03-25 12:15:40 +01:00
czaks
1e92e678a6 add a javascript 2014-03-25 12:09:12 +01:00
czaks
fe95b33022 recent posts link 2014-03-25 12:05:07 +01:00
sinuca
fb2b66e2dd Recent posts functionality
Conflicts:
	inc/config.php
	inc/mod/pages.php
	mod.php
2014-03-25 11:35:04 +01:00
czaks
f5657caf24 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
	inc/config.php
	install.php
	post.php
	stylesheets/style.css
2013-11-11 21:54:35 +01:00
Michael Foster
c8062fbf76 CSRF more mod pages 2013-09-23 16:48:56 +10:00
Michael Foster
04cfeaf01c hide expired cache shit 2013-09-23 10:38:06 +10:00
Michael Foster
6eefc5ea2a . 2013-09-23 10:26:13 +10:00
Michael Foster
4ce6218ba0 Some APC libraries/versions do stuff differently. 2013-09-23 10:24:29 +10:00
Michael Foster
fcbc211314 Fixed weird bug with ?/debug/sql trying to allocate a few GB on some instances. Assuming bug with APCu. 2013-09-23 10:21:18 +10:00
Michael Foster
39be89ba49 ?/debug/apc 2013-09-23 10:11:16 +10:00
Michael Foster
a9b7f9b1bc begin implementation of in-built ban appealing 2013-09-21 12:51:23 +10:00
czaks
6cb7eb939e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
	inc/config.php
	inc/display.php
	inc/mod/pages.php
	install.php
	js/quick-reply.js
	post.php
	templates/index.html
2013-09-17 10:43:44 -04:00
Michael Foster
803f0c8ce1 Fix search for new bans table 2013-09-17 09:35:13 +10:00
Michael Foster
3e57bb04d7 Begin upgrade to much better bans table. DO NOT PULL YET; It won't work. 2013-09-17 09:15:24 +10:00