ee4ba0ed26
functions.php: add caching to has_any_history
2024-11-12 15:11:25 +01:00
2981859ac1
functions.php: add has_any_history function
2024-11-12 15:07:15 +01:00
585e5638fd
functions.php: handle very large numbers with handle_dice_roll_markup
2024-10-15 21:11:28 +02:00
37d275468e
funtions.php: unify inline dice roll result
2024-10-14 15:13:42 +02:00
e6b345f8cc
funtions.php: rework dice markup generation
2024-10-14 10:52:00 +02:00
22d76ad9f6
functions.php: fix re-definition of get_or_default
2024-10-14 10:14:14 +02:00
a90b15d596
functions.php: dice minimum value set to 1
2024-10-14 10:13:05 +02:00
3e857c16f6
functions.php: load image from the root in handle_dice_roll_markup.
2024-10-14 01:06:31 +02:00
Zankaria
56ad753b76
functions.php: add new dice function
2024-10-12 16:22:08 +02:00
d69eebb1d3
bans.php: refactor to expose the moratorium on ban deletion from the database.
...
Also fixes the 'purge_bans' configuration for non-cache deployments.
2024-07-14 18:22:51 +02:00
4b03672f77
functions.php: skip ban deletion on auto_maintenance disabled
2024-07-14 18:22:51 +02:00
d0b1c388eb
bans.php: make the purge configurable
2024-07-14 18:22:51 +02:00
bcfc934604
Add auto_maintenance configuration option
2024-07-14 18:22:51 +02:00
870d3812d3
bans.php: split find implementations
2024-07-14 18:22:51 +02:00
Zankaria
98ef473a9a
functions.php: trim
2024-03-26 15:00:15 +01:00
Your Name
0cffd52b02
add colon to character class for cites
2022-08-04 09:18:31 +02:00
nonmakina
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
discomrade
a1f64335f9
Added multiple file select dialog for post form
...
Mostly 808c2072d3
2022-02-12 01:34:46 -01:00
discomrade
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
discomrade
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
discomrade
2605a6ff5d
Merge vichan PHP8 fixes, configure composer, fix outstanding incompatibilities
2022-01-17 02:14:22 -01:00
discomrade
bba5e1bff3
Clean up duplicate code
2021-10-14 07:04:26 +00:00
discomrade
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
discomrade
46d62584d0
Remove newlines and modifiers from thread title
...
Parts sampled from NPFchan
2021-09-28 03:09:18 +00:00
nonmakina
4379135437
Refactor deferred js
2021-07-11 12:46:26 +02:00
nonmakina
3bae2c65a2
Merge pull request #311 from discomrade/arabic-fix
...
Fix combining character set, allow limit for combining characters
2021-07-11 11:07:00 +02:00
discomrade
8b3df89863
Fix combining character set, allow limit for combining characters
2021-07-10 01:37:31 -02:00
discomrade
e418f1e3aa
Prevent double-encoding of HTML entities in [code]
2021-07-06 12:41:16 +00:00
Pietro Carrara
3a5081e73d
Add board data on all catalogs, rename overboard 'replies' and 'images' fields to keep consistency
2021-01-12 15:46:01 -03:00
towards-a-new-leftypol
271e4f1f5d
chmod 644
2020-12-31 05:54:09 -05:00
towards-a-new-leftypol
bc1c493620
This seems to work better with unicode values
...
- this seems to not break anything (that I know of)
- possibly a fix for issue 23, at least for most common cases (there
are other iconv usages still in the code)
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/23
2020-12-28 20:48:57 -05:00
towards-a-new-leftypol
e82012d6d6
Remove print statements
...
- comment out print_err function behavior (something I was using for
debugging before, but I'm keeping the function for future debugging)
2020-12-27 15:14:34 -05:00
Barbara Pitt
9ccfb6f33d
issue#35 - lookahead regex bug on quotes and crossboard quotes
2020-12-26 16:23:59 -06:00
towards_a_new_leftypol
195a3914d1
lots of print statements
2020-12-22 01:35:35 -05:00
towards_a_new_leftypol
1760f98a0c
print statements and relax rules in config
2020-12-22 01:34:51 -05:00
towards_a_new_leftypol
cd9515397c
Print statements everywhere
2020-12-22 01:33:07 -05:00
gamer551
cc8b8bf369
anti bump flood ( #173 )
2019-11-15 17:25:09 +04:00
Benjamin Southall
a632d6a299
Fix cross board linking support for board aliases. Note this doesn't have overboard support yet
2019-08-17 23:55:02 +10:00
Benjamin Southall
7dba466f73
Fixes You look like a bot (reCaptcha window doesn't appear) #159 , straight implementation of upstream https://github.com/vichan-devel/vichan/pull/241 , but I bumped the jquery version.
2019-08-10 20:39:17 +10:00
Benjamin Southall
a68d9bb120
Add support for gopher url:// markup as hyperlinks
2019-04-21 20:20:21 +10:00
Benjamin Southall
2bb2a6d3d7
Change capcode binding from int to string, needed for newer PHP support
2019-02-26 11:01:19 +10:00
Benjamin Southall
d2429e05d1
Add warning without ban, joke capcode support, SC editor support, home link support, table for calender theme / extension, removing boardalias duplicate citations in markup and other features
2017-09-03 23:39:43 +09:00
Benjamin Southall
967a969373
Merge pull request from vichan-devel/vichan#200 from seisatsu/patch-2 Fix typo in max_images comment , Adding early 404 staged from 40fe35fedc
2017-06-08 07:44:27 +09:00
Benjamin Southall
b68e749876
Fix mod_view_board for ukko / overboard theme / extension. Add support for boards_alias to mod_view_board and initial preliminary support to markup for crossboard citations
2017-04-23 20:01:34 +09:00
Benjamin Southall
3f236c3f25
Thumbnails for PDFs / other things #6 When locale fails to be loaded fallback on C.UTF-8 instead of C, so that boards with unicode characters in the name are not stripped by escape_shell_args
2017-03-09 13:58:41 +09:00
Benjamin Southall
a1b0ffdfdc
Added support for anonymous name generator to be a function in addition to being an array of names
2016-12-16 05:25:26 +09:00
Benjamin Southall
49311e5e4a
Add support for ignoring URLs when using word filters
2016-12-14 05:47:08 +09:00
Benjamin Southall
c58e37ce39
Merged lainchan with vichan master at 25/9/2016 0bd63149b7
@czaks czaks committed on GitHub 2 days ago
2016-09-25 16:34:47 +09:00