1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00
Commit Graph

281 Commits

Author SHA1 Message Date
Lorenzo Yario
0296301fff
use the current domain 2024-03-11 18:54:20 -07:00
Zankaria
2f88d0809f Remove APC support 2024-03-11 10:24:35 +01:00
discomrade
1ed75a58c2 Show ban appeal count on mod dashboard 2024-02-23 22:59:32 +01:00
Zankaria
f317691dcd mod pages: trim 2024-02-23 22:59:32 +01:00
Zankaria
fde425111c Remove bans.php 2024-02-14 11:12:42 +01:00
RealAngeleno
aa0f6607cf
Fix multi-report bug #567 2023-07-28 14:32:42 -04:00
RealAngeleno
1a5b3c8480
Revert "Temporarily Revert "Remove telegrams" due to critical bug with posting" 2023-07-15 23:10:39 -07:00
RealAngeleno
af6bb09031
Revert "Remove telegrams" 2023-07-15 23:03:13 -07:00
fowr
5ef004c7ad remove telegrams 2023-07-15 00:24:04 -03:00
RealAngeleno
691ce02cbd
add missing break in switch/case for dismiss post
fixes bug in which Dismiss Post worked identically to Dismiss+
2023-06-22 04:49:22 -07:00
RealAngeleno
66be6de2fd
Revert "Temporarily Revert "feature: dismiss all reports for a post" (misclick)" 2023-04-23 19:15:44 -07:00
fowr
87f99715c9 Merge branch 'master' of github.com:perdedora/vichan into update_twig 2023-04-21 00:05:20 -03:00
fowr
d2bb450b1a update twig to 2.9 2023-03-29 18:59:28 -03:00
fowr
2c847a6413 add global to mod_confirm 2023-03-29 18:20:10 -03:00
discomrade
85b5dee77d Fix post number on dismissed reports log, show id
Previously the report dismiss logs would show the report id instead of the post number.
2023-01-20 22:36:36 -05:00
fowr
2d708984c4 fix: vichan ban length post variable is different than npfchan. causing the ban to be always permanent 2023-01-14 19:22:04 -05:00
perdedora
b02a1fc0db
feat: edit pre-existing bans (#528)
* feat: edit pre-existing bans

* change default permission

* theres no need for elseif here. related: d34f083a6b

* quote href param

* changes made
2023-01-12 20:38:23 -05:00
Fredrick Brennan
70222e8c2d Revert "When moving Reply from Thread to Thread: Remove re-direct to error page "Thread does not exist"" 2022-12-14 03:18:00 -05:00
smolten
812a111107 When moving a post, add condition (post is Thread) before trying to make Thread for post. Removes "Thread Does not exist" page that showed up even when a post was successfully moved between threads. 2022-12-13 00:56:23 -07:00
Fred Brennan
191dbd3be0 [SECURITY] [REGRESSION] Fix config editor UI
Closes #516.

Co-Authored-By: Scotty Molt <smolt@asu.edu>
2022-12-10 10:27:59 -05:00
C Hatfield
ae2d91c534
Moved hardcoded html filepaths into config file for extensibility (#354)
Co-authored-by: chatfield <chatfield@creatuity.com>
Co-authored-by: Fred Brennan <copypaste@kittens.ph>
2022-08-29 10:50:45 -04:00
sshscp15
4db4ab9cf0 simple catalog support for moderators 2022-08-20 12:25:10 -04:00
bebyx
c128a37160
Fix editing global pages for 7.4 (#487) 2022-08-20 12:17:04 -04:00
Junicchi
23ebde7883 fix Undefined index ip problem, fixes #434 2022-08-20 12:13:02 -04:00
jove
847c5d130c Fixes an error reporting typo. 2022-01-18 07:17:34 -01:00
h00j
4ef7feabf2 add telegrams 2021-03-12 21:51:42 +01:00
h00j
bce71c1f98 ip cloaking 2021-02-13 14:11:41 +01:00
rarjpg
0a3bca7dd8 Various fixes 2019-11-29 13:54:08 +08:00
Daniel Saunders
e15e966cdb Fix a bug related to deleting boards (see https://github.com/vichan-devel/vichan/issues/331) 2019-09-22 16:57:12 +08:00
Fredrick Brennan
ac971f36d5 Fix capcodes in PHP7.2. Close #299 2018-07-27 20:08:03 +08:00
Fredrick Brennan
09b373cf60 Merge pull request #245 from ghost/patch-2
Bug fixing inc.
2017-10-26 13:35:26 +08:00
RalphORama
c8765dede4 Update PHP version check
Removed trailing zero
2017-10-24 17:36:14 -04:00
RalphORama
2097562596 PHP version check for mcrypt_create_iv
Use `mcrypt_create_iv()` if PHP version is less than 7.1.0, otherwise use `random_bytes()` (introduced in PHP 7.1 to replace `mcrypt_create_iv()`)
2017-10-24 16:27:00 -04:00
RalphORama
67b1565ef8 Replace mcrypt_create_iv with random_bytes
`mcrypt_create_iv()` was deprecated in PHP 7.1.0.
2017-10-24 16:16:25 -04:00
antedeguemon
4d1dc45a7c Bugfix: allow mods to edit poster name at edit post page 2017-07-29 20:23:18 -03:00
Thalis
7529c83a00 added fix from @Circlepuller to mod_move_reply also
thx @Cirlepuller
2017-07-28 22:51:59 +02:00
Thalis
0846d0c784 might fix moving replies with deleted image
brace yourself for other conflicts lol
2017-07-28 22:41:20 +02:00
Thalis
7883998a78 should fix moving a spoilered thread (OP) image 2017-07-28 21:01:12 +02:00
Daniel Saunders
d8e12a15b7 Dirty quick fix to allow moderation to move threads with deleted files 2017-07-24 15:00:33 -04:00
KekuKin
57732bdff5 Fixed uninstall error for themes.
Was receiving uninstall errors: undefined index: theme
2017-03-30 00:58:11 +02:00
Michael D. Reiley
8951cb74c8 Rebuild index when mod deletes a thread.
The index does not properly rebuild when a mod deletes a thread, resulting in a ghost thread remaining in the index until the next rebuild. This fix was originally contributed to Uboachan's codebase by Mannosuke.
2016-09-22 23:03:11 -07:00
Fredrick Brennan
505adffcdc Cyclical threads ♺ 2016-05-06 16:39:20 +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 351375185e (early 404)
2016-05-06 15:44:26 +02:00
8chan
7a7574bdca SECURITY / XSS : ?/edit allowed arbitrary HTML to be added by any user thru addition of <tinyboard raw html>1</tinyboard>
This allowed ANY user with ?/edit privilege to also have raw_html regardless of whether they had $config['mod']['rawhtml']

Now, any changes to <tinyboard> markup modifiers via ?/edit are not allowed. They are removed at read time, and before write they are removed again and the ones in the database (which should be clean...) are inserted instead.

Please immediately apply this patch to your instance if you are running any version of 8chan/infinity.
2016-05-06 12:43:25 +02:00
czaks
cd01191072 those parts are extraneous 2016-05-05 11:45:29 +02:00
8chan
3eb755ee7e Move login check in inc/mod/auth.php to a function
This allows pages like create.php to not include inc/mod/pages.php while still being able to use the mod auth functions (like generating salts and passwords)
2016-05-05 11:40:52 +02:00
8chan Admin
93f748e6a8 Security: capitalization of mods username is significant 2016-05-05 11:39:12 +02:00
czaks
77176faece enable javascript in mod panel 2016-05-05 09:56:54 +02:00