Lorenzo Yario
6a44f6f544
Merge pull request #931 from Zankaria/cross-strikethrough
...
Crossboard strikethrough for invalid cites
2025-04-24 23:54:01 -05:00
Zankaria
08a5e0d3bf
functions.php: remove checkDNSBL and DNS functions
2025-04-24 17:29:36 +02:00
Zankaria
6857372be9
functions.php: add crossboard strikethrough for invalid cites
2025-04-23 20:17:15 +02:00
Lorenzo Yario
94082cf517
Merge pull request #923 from perdedora/new-filtersystem
...
New filter system
2025-04-18 10:36:59 -07:00
Zankaria
3ea2fb4cd4
functions.php: use secure_hash where appropriate
2025-04-16 14:58:09 +02:00
fowr
4420c08ef4
functions.php: remove insertFloodPost
2025-04-10 12:09:46 -03:00
Zankaria
13c9e01a2c
functions.php: strikethrough bad citations
2025-02-28 17:37:09 +01:00
Zankaria
619303c8cf
functions.php: remove unused parameter from markup
2025-02-28 17:36:28 +01:00
Zankaria
21f085a69e
functions.php: optimize listBoards a bit
2024-12-14 00:35:11 +01:00
Zankaria
b8c53fbbcd
dice.php: extract email dice function from functions.php
2024-10-14 12:31:36 +02:00
Zankaria
23f3d15a52
extract create_pm_header
2024-10-06 10:41:32 +02:00
Lorenzo Yario
39876f3cc7
Merge pull request #795 from Zankaria/api-modern
...
Modernize (a bit) the Api class
2024-08-16 21:43:17 -07:00
fowr
4f68166870
api.php: using depedency injection instead of globals
2024-08-16 19:26:19 +02:00
Zankaria
b2df2ab2a5
theme.php: extract theme functions from functions.php
2024-08-16 18:24:26 +02:00
Zankaria
ede7591702
bans.php: refactor to expose the moratorium on ban deletion from the database.
...
Also fixes the 'purge_bans' configuration for non-cache deployments.
2024-08-11 12:04:12 +02:00
Zankaria
c057c6df29
functions.php: skip ban deletion on auto_maintenance disabled
2024-08-11 12:04:12 +02:00
Zankaria
e5bbdb9d28
functions.php: make automated antispam puring optional
2024-08-11 12:04:12 +02:00
Zankaria
cbaf19cb7a
bans.php: make the purge configurable
2024-08-11 12:04:12 +02:00
Zankaria
75714505a0
config.php: add auto_maintenance configuration option
2024-08-11 12:04:10 +02:00
Zankaria
36476f6341
bans.php: split find implementations
2024-08-11 11:53:27 +02:00
Zankaria
00cc1f434d
anti-bot.php: add comments to _create_antibot
2024-08-11 10:17:14 +02:00
Zankaria
ee20bf574a
functions.php: format _create_antibot
2024-08-11 10:14:54 +02:00
seisatsu
098edb9cd7
Add a spam filter that unshortens urls
2024-07-31 12:44:39 -05:00
Weav
fee67b6719
Merge branch 'dev' into hash-passwords
2024-06-20 13:21:05 +00:00
fowr
fff9b88c6d
hash poster passwords
2024-06-20 10:11:47 -03:00
Lorenzo Yario
809ab99c9b
allow images for markdown
2024-06-05 18:02:08 -07:00
Zankaria
9f46f0fdd4
functions.php: do not fail fail_unlink if the file does not exist
2024-05-11 15:38:17 +02:00
fowr
ffa5c018e7
functions.php: add missing global
2024-05-11 12:24:50 +02:00
Zankaria
dd224cea58
functions.php: handle null body in remove_modifiers
2024-05-11 11:48:01 +02:00
Zankaria
ed05049777
functions.php: fix null parameter
2024-05-11 00:51:02 +02:00
Zankaria
f6960b8b3a
functions.php: format and trim
2024-04-30 15:57:02 +02:00
Zankaria
b7eed34b83
functions: split off time formatting functions
2024-04-30 15:56:53 +02:00
Zankaria
c91c58ed07
Fix: substitute deprecated string interning syntax
2024-04-03 19:18:41 +02:00
Zankaria
f47332cdff
Allow queue push to fail gracefully
2024-04-03 14:34:43 +02:00
Zankaria
09dc44ec40
functions.php: trim
2024-04-03 14:34:42 +02:00
Zankaria
e61ed35aa0
Refactor queue.php
2024-04-03 14:33:51 +02:00
Lorenzo Yario
3ac86a074a
Merge pull request #687 from Zankaria/trim-functions
...
Trim the whitespace in functions.php
2024-03-14 06:12:42 -07:00
nonmakina
fff3e11c48
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>
2024-03-14 12:28:02 +01:00
Zankaria
b25cffe12e
functions.php: trim
2024-03-14 10:01:13 +01:00
Zankaria
dd5c25f99c
Remove remote server support
...
The functionality was marked as "I'm not even sure if this code works anymore" 11 years ago...
2024-02-14 23:00:52 +01:00
Lorenzo Yario
ec515621eb
Revert "Initial break up of functions.php"
2024-02-04 05:53:06 -08:00
Zankaria
3baa68c7b6
Initial refactor of functions.php
2024-02-03 17:17:14 +01:00
RealAngeleno
1b14830dfd
drop-in replacement for rc4-40
2023-09-01 22:16:05 -07:00
RealAngeleno
997babeee0
add hourly thread limit (from npfchan)
2023-08-13 23:14:41 -07:00
RealAngeleno
4d3ca11b91
allow cyclical images to be set independently of stickies
2023-08-05 15:35:28 -07:00
RealAngeleno
fb8f1d04d0
Update functions.php
2023-08-02 18:04:49 -07:00
basedgentoo
8012cc5f05
Merge pull request #527 from discomrade/regex-open-bracket
...
Allow open parentheses before cite: "(>>1"
2023-04-23 22:13:18 -04:00
f89s
90bf50fa30
Fix combining character set, allow limit for combining characters
2023-03-28 19:01:12 +04:00
discomrade
5d31f3bab7
Add open parentheses to cite regex
...
Allows cite regex to match a post number after an opening parenthesis. "I like the comfy threads (>>1 and >>2) because they're comfy"
From d78254b41d
2023-01-12 10:16:15 +00:00
runit
4e5fecebd2
I didn't need to actually touch this.
2022-10-15 10:09:10 -04:00