Commit Graph

4982 Commits

Author SHA1 Message Date
c559d2cd41 Merge pull request 'Update dependencies for Docker image' (#85) from zeke/leftypol:config into config
Reviewed-on: #85
2024-01-29 11:18:06 +01:00
41016b1ca2 Add missing comment doc in post.php 2024-01-29 11:18:06 +01:00
38afe37733 Update dependencies for Docker image 2024-01-29 11:18:06 +01:00
b16e891768 .gitignore more stuff 2024-01-29 11:18:06 +01:00
a4b5bf341b Refactor post.php: isolate more db access and remote REST calls into functions. 2024-01-29 11:18:06 +01:00
fd9baaea5f post.php: sanitize appeal message 2024-01-29 11:18:06 +01:00
854cc6cd23 Remove geoip dependency 2024-01-29 11:18:06 +01:00
a9211d23b5 Remove feature: upload by url 2024-01-29 11:18:01 +01:00
df2fe0e60f Minor format post.php 2024-01-16 18:05:33 +00:00
56b6d6b1aa Refactor post.php: split upload by url file downloading into a function. 2024-01-16 18:05:33 +00:00
df78f0e79f Refactor post.php: move post body's markup splitting into a separate function 2024-01-16 18:05:33 +00:00
799072d692 Refactor post.php: split upload file hashing to a function 2024-01-16 18:05:33 +00:00
8faf20f7ff Format post.php in accordance with PSR-12 2024-01-16 18:05:33 +00:00
5c0d0a8ca1 ban page: remove max-height from table rows, since it doesn't work anyway 2024-01-16 18:05:24 +00:00
1b00660d33 Format bans page fix patch 2024-01-16 18:05:16 +00:00
1adcb13cc1 Fix bans page 2024-01-16 18:04:57 +00:00
Your Name
fdaa4ebdd1 better error 2024-01-16 18:04:00 +00:00
a3a1e8e55e Rename email field to options. (hack)
Didn't worry about doing it properly with translations because this is a local fork
2024-01-16 18:04:00 +00:00
61a3aa8fe1 Describe sage option in email select
'sage' is too esoteric for noobs. Ideally we should make this a checkbox because always noko but whatever
2024-01-16 18:04:00 +00:00
d694f2aa38 Remove fight float on select boxes
I can't even find how this got it, but it's apparently been there for six years on lainchan
2024-01-16 18:04:00 +00:00
Your Name
56bbaf881f Simple anti-spam mechanism 2024-01-16 18:04:00 +00:00
Your Name
b833e2743a Simple anti-spam mechanism 2024-01-16 18:04:00 +00:00
Your Name
845ff14e52 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
ea67272e87 Add various flags 2022-10-06 07:10:10 -01:00
Your Name
0cffd52b02 add colon to character class for cites 2022-08-04 09:18:31 +02:00
Your Name
fc2357e6f2 moves modifiers, as per https://github.com/vichan-devel/vichan/pull/377/files 2022-07-16 00:28:59 +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
57df86557a Update composer.lock 2022-05-22 20:20:50 -02:00
e3ea750c85 Fixes for delete-stray tool and cli.php 2022-05-22 20:00:50 -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
9c70a1f880 Merge pull request 'Adds saboteur banner' (#68) from banners2022_03_01 into config
Reviewed-on: #68
2022-03-23 17:57:11 +00:00
37edb0cf3d Merge branch 'config' into banners2022_03_01 2022-03-23 17:56:14 +00:00
6c2e958a77 Fix status.php 2022-03-01 04:55:53 -01:00
Your Name
ad0af8e082 Adds saboteur banner 2022-03-01 01:54:05 +01:00
a1f64335f9 Added multiple file select dialog for post form
Mostly 808c2072d3
2022-02-12 01:34:46 -01:00
bc7fa47aa2 Solve dynamically loaded threads not being filtered. Possibly a hack-fix.
This seems like the most appropriate simple fix, hopefully not too wasteful.
2022-01-24 03:05:48 +00:00
a1f8f4adca Update jQuery libraries
Mainly for security purposes.
2022-01-23 22:01:25 -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
231321f2c1 Fix deprecated size() in quick-post-controls.js 2022-01-19 03:55:00 -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
e39f342008 Consider nonoko in building after posting, improve comments 2022-01-17 11:14:04 -01:00
a1b6ca71b4 Fix missing function log.php from PHP8 changes
I assume this is a better solution than adding the file to the composer.json autoload files as it's only needed for this single file.
2022-01-17 11:05:32 -01:00
a385be3f4c Update author info 2022-01-17 11:02:35 -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