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
runit
63b71bf1fc
We're not Tinyboard anymore. We've been vichan for 8 years. We should reflect that.
...
Also use Github wiki so new enhancements can be reflected. It's better than linking to 10-year-old archived documentation.
I'll update the wiki eventually.
2022-10-15 10:09:10 -04:00
Fred Brennan
4c6a695a6f
Use ENT_QUOTES when converting UTF-8 to HTML ( #448 )
...
Closes #448 .
2022-09-15 14:46:05 -04: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
PVNFU-28
75236d6ae5
Update functions.php
...
current regex consumes the space after a post quote, instead of merely checking that it's there. As a result textually consecutive post quotes, which the source calls cites, cannot be separated by a single space. This fixes that
2022-08-20 12:20:53 -04:00
discomrade
77bab66293
Fix multiple issues in anti bump flood
...
- saged posts aren't ignored when finding last bump
- bumplocked thread with one reply, delete the reply and no post matches the query
- bumplocked threads should be ignored
2022-01-22 03:31:52 +00:00
h00j
281dccb690
fix undefined index in cloak_mask/uncloak_mask
2021-04-01 22:30:22 +02:00
h00j
908b843854
move antibot functions
2021-02-13 21:14:06 +01:00
h00j
599fee5e21
use composer
2021-02-13 19:24:03 +01:00
h00j
bce71c1f98
ip cloaking
2021-02-13 14:11:41 +01:00
Sardach
19151def82
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".
2020-10-31 04:24:21 -07:00
papereth
a268004c7a
Fix wrong variable used in ban lookup ( #376 )
...
` $_SERVER['REMOTE_ADDR']` was hardcoded in ban lookup instead of `$ip` variable
2020-08-09 18:31:50 -07:00
Daniel Saunders
c7e5cd6814
$board can be NULL here, prevent indexing it
...
Simplest 7.4 fix ever? Possibly.
2020-01-20 10:37:10 +08:00
Fredrick Brennan
5e809047ad
By default, no longer treat deprecations as errors
...
Close #363 .
See also https://www.youtube.com/watch?v=9crnlHLVdno
2020-01-20 10:04:39 +08:00
rarjpg
63b0b92690
Move HTML Tidy 'bare' option to the config
2019-11-29 19:21:20 +08:00
Kureva
1613f6baea
Option to reset thread bump
after last post deleted.
2019-10-14 18:56:13 +08:00
Fredrick Brennan
ac971f36d5
Fix capcodes in PHP7.2. Close #299
2018-07-27 20:08:03 +08:00
Daniel Saunders
b5fac28a8b
Fully removed the outdated recaptchalib.php (freed up some room hehe)
2017-07-24 04:03:49 -04:00
czaks
40fe35fedc
early 404 staged
2017-05-17 14:54:35 -04:00
czaks
0b19051891
fix a notice; increase waiting time for dns
2016-08-15 04:13:26 +02:00
czaks
11cecf8452
Revert "[BUG] Image reject repost board option now also affects YT embeds"
...
This reverts commit b476b66007
.
2016-06-21 05:03:44 +02:00
czaks
d2bb4a776f
fail gracefully on no thumbnail
2016-06-09 11:15:45 +02:00
czaks
8a46c7a0d5
tesseract OCR support for spamfilters
2016-06-09 11:09:10 +02:00