Commit graph

153 commits

Author SHA1 Message Date
deysu
2e84ebcbe2 Add banners as default functionality & display them on mod login / dashboard when enabled (#513)
* Add banner support as a default, integrated option.
Used lainchan's original banner script, authored by barrucadu

* Display banners on moderator login and dashboard

* Remove memes & better directory structure
2025-02-06 14:50:12 +01:00
7c982da304 view_ip.html: use ?/IP endpoint to remove bans and add notes 2024-12-29 00:19:48 +01:00
d4781d6f00 view_passwd.html: add view password template 2024-12-27 19:39:24 +01:00
2ec23083a4 view_ip.html: use mod_user_posts_by_ip 2024-12-27 19:33:25 +01:00
39b6a60257 view_ip.html: use user_posts_list.html 2024-12-27 19:33:25 +01:00
d29de1a9ef user_posts_list.html: add template to list posts 2024-12-27 19:33:25 +01:00
9e2ab87df6 ban_form.html: add autofocus on reason text form 2024-10-28 23:39:17 +01:00
b9081be4ac view_ip.html: add links to previous and next cursors 2024-10-15 21:15:06 +02:00
Zankaria
77370144ee template: supply data-resource-version to main.js 2024-08-24 01:45:22 +02:00
Zankaria
ef1634184a templates: bust all css caches with resource_version 2024-08-22 14:39:36 +02:00
Zankaria
abfa773282 templates: bust all js caches with resource_version 2024-08-22 14:39:32 +02:00
fowr
285c151be9 Add resource_version to avoid cache. 2024-08-21 11:24:05 +02:00
3351715795 Attempt fix broken unban on serveral pages 2024-04-25 18:50:32 +02:00
Zankaria
e8f589f6c1 ban_appeals.html: do not display the source ip row if there is none 2024-03-15 16:44:44 +01:00
Zankaria
a8ff605571 Display split ban mask and appeal IP 2024-03-15 14:54:32 +01:00
Zankaria
0b7161a588 ban_appeals.html: trim 2024-03-15 14:48:45 +01:00
Zankaria
45f310e4e3 Add the edit_news link to the mod dashboard 2024-01-29 11:18:06 +01:00
discomrade
bf4fb6d0e8 Added Feature - Premade Ban Reasons
see 13ac9172e7
2022-05-22 19:42:57 -02:00
discomrade
c20db2988d Add IP address link to ban appeals 2021-12-09 23:16:23 -01:00
discomrade
badfb60161 Add default ban length of 1 hour instead of permanent ban 2021-11-12 10:26:48 -01:00
discomrade
135604386a Make bans default to board of offending post 2021-11-12 10:21:39 -01:00
discomrade
9efcec3573 Fix double-encoding on post edit form https://git.leftypol.org/leftypol/leftypol/issues/31 2021-10-15 04:20:09 +00:00
discomrade
37bfc3beeb Add mod auto-reload 2021-09-28 01:35:12 +00:00
discomrade
78b3a63311 Show ban appeal count on mod dashboard 2021-07-24 04:33:00 -02:00
discomrade
8ad44a39eb Extend maxlength of IP for IPv6 subnets 2021-07-04 08:43:38 -02:00
discomrade
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