justcool393
3a6dfdf2de
listings: constantify PAGE_SIZE as 25
...
magic numbers are bad, do better next time
2022-10-28 22:20:48 -05:00
Aevann1
98bae12134
show the time on which ppl blocked/followed the hole
2022-10-27 17:38:54 +02:00
Aevann1
2dcf6bcb0f
make sure all images with resize parameter are under 500KB
2022-10-22 17:24:07 +02:00
justcool393
39aa59a37a
add g.is_api_or_xhr so we can use it where we want to give API output
...
* also use v.client for strict API clients
2022-10-15 02:11:36 -07:00
Aevann1
cdff11424f
use charge_account everywhere
2022-10-12 18:33:00 +02:00
justcool393
c0acb1722b
abort a bunch of stuff where we manually returned JSON
2022-10-11 08:40:19 -07:00
justcool393
456dd43bba
replace "if not FEATURES" with wrapper
2022-10-11 00:33:23 -07:00
justcool393
75e593da00
Revert "feature required wrapper"
...
This reverts commit 8700bcc5ee
.
2022-10-10 02:54:47 -07:00
justcool393
8700bcc5ee
feature required wrapper
2022-10-09 23:16:05 -07:00
justcool393
c9ab2c515b
remove some more vestiges
...
get_post and get_comment both handle this
2022-10-09 01:25:21 -07:00
Snakes
1966ccec6c
Fix incorrect identifier in create_hole.
...
Looks to have been accidentally introduced in 9575e11b8b
, because
for some reason this is the only route that uses `name` instead of
`sub`. Weird. Perhaps worth changing to sub for consistency, but
surely there's some reason it's like this.
2022-10-07 21:28:13 -04:00
Aevann1
cfd4b6399f
use mailgun again
2022-10-08 02:44:02 +02:00
justcool393
d9cc95dd71
fix global hole mod and template error
2022-10-06 20:06:22 -07:00
justcool393
e372158729
Merge branch 'frost' into permissions-refactor
2022-10-06 19:05:42 -07:00
Aevann1
96f4f8499f
fix 500 errors
2022-10-06 09:30:38 +02:00
justcool393
68851ed986
profile views and modmail/hole creation notifications
2022-10-05 22:07:38 -07:00
justcool393
a22c426310
fix unblocking (type error)
2022-10-05 20:45:03 -07:00
justcool393
d5a48871f8
user ban and also fix global hole mod a bit i hope i didn't screw up the templates
2022-10-05 18:58:43 -07:00
justcool393
9a1efe8aec
add some more chudrama checks (ideally this would be a can_see function or something)
2022-10-05 04:16:03 -07:00
justcool393
9575e11b8b
add get_sub_by_name function
2022-10-05 03:37:29 -07:00
justcool393
591fe9721f
don't let shadowbanned users create holes
2022-10-03 01:18:06 -07:00
justcool393
40c2360d00
don't duplicate checks for comments
2022-09-30 15:51:17 -07:00
justcool393
7e3f43c9ab
unperson shadowbanned users ( #373 )
...
* unperson shadowbanned users
if a shadowbanned user copes, does anyone hear them seethe?
* unperson shadowbanned users (by id)
* don't import that
* Add include_blocks.
We don't always want to request blocks from the db when we have a user set
* block shadowbanned users from hole mod tools
* don't allow awarding shadowbanned things
* fix conflict
* gracefully use get_account when specified and also add include_blocks flag to get_account as well
2022-09-30 14:00:58 -07:00
Aevann1
51d7cd6d7e
fix shit with hole logs
2022-09-29 12:18:27 +02:00
Aevann1
09cc43060d
add hole mod logs ( #380 )
2022-09-29 11:39:37 +02:00
Aevann1
87f3af5968
generate notifs for moving posts
2022-09-29 08:05:42 +02:00
justcool393
e5de8cc66c
add mod action if JL3 kicks post from hole ( #377 )
...
* add mod action if JL3 kicks from hole
* don't be dumb
2022-09-27 18:09:08 -04:00
Aevann1
ffa83ad3e7
disallow permabanned hole mods from pinning or unpinning
2022-09-26 10:58:43 +02:00
Snakes
0a05562f8c
Order sub exile/etc listings reverse chronological.
2022-09-24 14:11:48 -04:00
Aevann1
61c586d7cc
make 3 routes auth_required instead of auth_desired
2022-09-20 02:54:10 +02:00
Aevann1
7d39cdb520
minor auth_desired refactor
2022-09-20 02:51:01 +02:00
Aevann1
0302270e16
more detailed pin/unpin messages
2022-09-13 11:01:30 +02:00
Aevann1
4abf75edc0
add error codes
2022-09-12 11:52:07 +02:00
Aevann1
2e31b52366
for consistency's sake, don't use {sub.name} inside strings anymore
2022-09-12 07:25:04 +02:00
Aevann1
fbe7089d2a
more detailed success message description
2022-09-11 16:32:00 +02:00
Aevann1
ae90eb1cf2
simplify house checking logic
2022-09-11 03:53:16 +02:00
Aevann1
615d18c41b
like last commit
2022-09-08 17:49:34 +02:00
Aevann1
a19d700c8d
up ratelimit for adding mods
2022-09-06 04:40:46 +02:00
Aevann1
dcf8892465
make it so u cant add hole mods in WPD
2022-09-02 01:54:05 +02:00
Aevann1
8e74171d9d
exclude authorized bots from hole restrictions
2022-09-01 22:01:03 +02:00
Aevann1
11d7f34ad0
allow hole jannies to change the hole marsey + cachebust all site assets
2022-08-25 00:22:44 +02:00
Aevann1
9dba3240c3
disallow adding ppl as mods to house holes if they're not members of that house
2022-08-21 18:02:01 +02:00
Aevann1
a36c0f9dd3
trying to fix exiling
2022-08-20 22:24:20 +02:00
Aevann1
8c99bebd87
disallow brocels from disabling stealth mode
2022-08-20 21:41:58 +02:00
Aevann1
b60f46d0bf
disallow /h/smuggies mods from disabling stealth mode
2022-08-20 21:41:15 +02:00
Aevann1
9e5ddcbd92
large commit: stealth mode, SubJoin, chudtopia
...
dont read if u value ur sanity
2022-08-19 23:31:26 +02:00
Aevann1
687cd766b9
restore autoflush
2022-08-17 18:36:59 +02:00
Aevann1
53c495d25f
do this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2412894?context=8#context
2022-08-13 09:08:32 +02:00
Aevann1
cec08c9e55
increase charlimit for hole css
2022-08-13 01:07:49 +02:00
Aevann1
ad8cb16bee
notify chadmins of new holes
2022-08-11 15:25:56 +02:00