Commit Graph

2022 Commits

Author SHA1 Message Date
Your Name
b833e2743a Simple anti-spam mechanism 2024-01-16 18:04:00 +00:00
Your Name
e2bef8c2f2 Simple anti-spam mechanism 2024-01-16 18:04:00 +00:00
Your Name
0cffd52b02 add colon to character class for cites 2022-08-04 09:18:31 +02:00
Your Name
5b01f34973 mute redefinition. reference: 00349d0315 2022-07-16 00:26:59 +02:00
Your Name
f1a48042c2 add some stuff to the api, to match vichan's api at the request of a user. fixed the delete-stray-images script 2022-06-22 20:39:47 +02:00
bf4fb6d0e8 Added Feature - Premade Ban Reasons
see 13ac9172e7
2022-05-22 19:42:57 -02:00
3725d27e72 Matrix report integration (#74)
Enables posting reports to a matrix room.
Co-authored-by: nonmakina <nonmakina@leftypol.org>
Co-committed-by: nonmakina <nonmakina@leftypol.org>
2022-04-03 22:06:42 +00:00
2b5365b572 use more cache. Speeds up page builds (#72)
use more cache. Speeds up page builds.
Tested as much as reasonably possible. Works well.
cuts self delete from ~8 seconds to ~1 second. and mod delete from 10-14 seconds to ~4 seconds.
Co-authored-by: nonmakina <nonmakina@leftypol.org>
Co-committed-by: nonmakina <nonmakina@leftypol.org>
2022-03-30 23:59:21 +00:00
a1f64335f9 Added multiple file select dialog for post form
Mostly 808c2072d3
2022-02-12 01:34:46 -01:00
ca1ce0103f Fix multiple issues with anti_bump_flood
- bumplocked thread with one reply, delete the reply and no post matches the query
- saged posts aren't ignored when finding last bump
- bumplocked threads should be ignored
2022-01-22 02:05:04 -01:00
2f64d7edff Remove useless debug messages
lainchan was a mistake
2022-01-17 13:08:57 -01:00
Daniel Saunders
c388081617 $board can be NULL here, prevent indexing it
Simplest 7.4 fix ever? Possibly.
2022-01-17 12:31:42 -01:00
Sardach
15a099deb3 insignificant fix
PHP7 shows a warning when executing tools/rebuild2.php: "Declaration of case-insensitive constants is deprecated"
$group_name and $group_value really not need be case-insensitive, so i simply removed that "true".
2022-01-17 12:27:34 -01:00
d66b9d6208 Merge pull request 'Make compatible with PHP 8' (#67) from php8-compat into config 2022-01-17 10:42:55 +00:00
9bf3c9a0ae Fix redis deprecation of delete 2022-01-17 03:01:56 -01:00
2605a6ff5d Merge vichan PHP8 fixes, configure composer, fix outstanding incompatibilities 2022-01-17 02:14:22 -01:00
bba5e1bff3 Clean up duplicate code 2021-10-14 07:04:26 +00:00
132b7ace54 Add IPv6 support for DNSBL
Should have used the library but didn't want to experiement and posiibly break the includes
2021-10-13 13:32:23 +00:00
99493b054d Revert obsolete foreign board top bar code 2021-10-01 04:26:39 +00:00
f45636065d Rename sample captcha config 2021-10-01 01:22:46 +00:00
c909b31cd7 Fix cyclic threads not cycling, remove inconsistent code whitespace 2021-10-01 00:53:53 +00:00
e69e18ae26 Fix indenting of filter code 2021-09-30 10:05:47 +00:00
c35c6a5dbe Add board search to index page 2021-09-28 09:36:14 +00:00
4e4d3a0d29 Improve documentation for securimage 2021-09-28 08:21:04 +00:00
46d62584d0 Remove newlines and modifiers from thread title
Parts sampled from NPFchan
2021-09-28 03:09:18 +00:00
9c7239f2d4 Improve default filters 2021-09-28 02:02:19 +00:00
5bb8505dfd Fix bug in ban appeal counter 2021-09-28 01:16:31 +00:00
bbf7ced5db Block D+ on special IP addresses 2021-09-28 01:13:40 +00:00
2dee1c1f38 Fix name typo in post edit SQL 2021-09-28 01:11:09 +00:00
9ca34d6ed5 Fix errors moving/merging with spoilers/deleted files 2021-09-28 01:07:35 +00:00
2532d08331 Bypass broken mysql version check 2021-09-28 00:52:22 +00:00
1d97b825d3 Remove instance configuration 2021-09-28 00:42:31 +00:00
nonmakina
843ab6f55e Merge pull request #348 from discomrade/ban-appeal-limit
Enforce maximum length of ban appeal
2021-07-24 17:27:01 +02:00
4a5944795c Enforce maximum length of ban appeal 2021-07-24 10:47:56 -02:00
nonmakina
52d6de5681 Merge pull request #346 from towards-a-new-leftypol/wordfilter-fbi
Reduce overreach of fbi.gov filter
2021-07-24 13:34:41 +02:00
f2e398305d Reduce overreach of fbi.gov filter
The initial filter would have ruined words or links containing 'discord', including the non-English words 'discordo' and 'discordar'.
Legitimate use of the exact word 'discord', such as sowing discord, will still trigger the filter.
2021-07-24 11:21:38 +00:00
29e0906022 Fix typos in https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/336 2021-07-24 08:47:50 -02:00
nonmakina
4a4bb4e856 Merge pull request #332 from discomrade/vichan-0d7ee48
Update config.php image documentation, move bad defaults to instance-config.php
2021-07-24 10:40:08 +02:00
nonmakina
89c5246e3c Merge pull request #324 from towards-a-new-leftypol/remove-autoupdates
Set update-checking to false by default
2021-07-24 10:35:14 +02:00
nonmakina
7d23e14cb9 Merge pull request #336 from discomrade/vichan-report-length
vichan downstream: Enforce maximum report length
2021-07-24 10:32:45 +02:00
nonmakina
eee71e58a3 Merge pull request #344 from discomrade/appeals-count
Show ban appeal count on mod dashboard
2021-07-24 10:31:44 +02:00
nonmakina
9b749a6c81 Merge pull request #330 from towards-a-new-leftypol/remove-scripts-config
Remove additonal scripts
2021-07-24 10:31:03 +02:00
78b3a63311 Show ban appeal count on mod dashboard 2021-07-24 04:33:00 -02:00
f575691fc4 Fix 387ebe9c0c , extract limit to variable 2021-07-24 01:38:59 -02:00
af889e8941 Give descriptive name to report too long error 2021-07-24 01:38:59 -02:00
vholmes
ed55ea23ea Prevents reports with too many characters 2021-07-24 01:38:31 -02:00
55a9caefa1 Extract bad defaults to instance-config.php, from c9c4273d4b, updates documentation 2021-07-24 01:15:38 -02:00
819b520e37 Remove additonal scripts 2021-07-24 02:19:41 +00:00
7b0564ca33 Add IPA symbols to wordfilter alias letters 2021-07-22 04:51:43 +00:00
344f8371c0 Update wordfilters
- Add 'IQ' filter
- Add 'Discord' filter
- Add exclamation points as 'i' lookalikes
2021-07-22 01:33:58 +00:00