justcool393
a3b9d71e70
user badge permissions
2022-10-05 20:50:02 -07:00
justcool393
65c75ba5da
club permissions
2022-10-05 20:47:42 -07:00
justcool393
4aef026594
add and remove admin permissions
2022-10-05 20:37:18 -07:00
justcool393
3cf972ef9a
merge permission
2022-10-05 20:33:23 -07:00
justcool393
c813f52c1a
view active users perm
2022-10-05 20:29:14 -07:00
justcool393
1a0785d497
add perm for kippy's marseybux printer
2022-10-05 20:26:39 -07:00
justcool393
c0f753e101
asset submissions permissions
2022-10-05 20:15:10 -07:00
justcool393
c2109fd611
modmail viewing perm
2022-10-05 20:10:57 -07:00
justcool393
d709334180
lottery permissions
2022-10-05 20:09:20 -07:00
justcool393
f5996afc5a
add some perm requirements and add agendaposter thing
2022-10-05 20:04:38 -07:00
justcool393
970a7adfbd
buy ghost award permission
2022-10-05 19:57:31 -07:00
justcool393
0349862531
view pending submitted marseys and hats perms
2022-10-05 19:55:54 -07:00
justcool393
ae0c215af3
...
2022-10-05 19:51:44 -07:00
justcool393
43f137208a
bypass pin limit perm and also fix a shadowban perm
2022-10-05 19:51:30 -07:00
justcool393
d8610b34b6
changelog permission and don't query db for badges if admin with perm level
2022-10-05 19:45:05 -07:00
justcool393
2fc3044d5b
shadowban perms and stuff
2022-10-05 19:24:37 -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
591e6342bb
editing permissions
2022-10-05 18:24:37 -07:00
justcool393
4b78ed176a
global moderation perm and add some more checks for const perm
2022-10-05 18:16:52 -07:00
justcool393
04f24cd8fd
content moderation permission level
...
holy crap there's a lot
2022-10-05 17:57:08 -07:00
justcool393
d58351637c
use constants
2022-10-05 16:35:44 -07:00
justcool393
093ced7b20
introduce constant for post and title length
2022-10-05 16:35:44 -07:00
justcool393
88ae00deef
sanitize raw bodies
2022-10-05 16:35:44 -07:00
justcool393
19b2f71c3b
improve raw title sanitization and don't check the same thing like 5 times
2022-10-05 16:35:44 -07:00
Aevann1
045dac01a5
reduce NOTIFICATION_SPAM_AGE_THRESHOLD from 3 days to 0.5 days
2022-10-06 01:29:30 +02:00
Snakes
3f338fc3f2
WPD: add login required explanatory text.
2022-10-05 19:17:42 -04:00
Aevann1
9134a91481
add jigsaw tier
2022-10-06 00:47:12 +02:00
justcool393
9575e11b8b
add get_sub_by_name function
2022-10-05 03:37:29 -07:00
justcool393
4037eed228
use constant instead of literal 200 for poll bets
2022-10-04 23:07:53 -07:00
justcool393
b0da0ac604
fix regex capturing groups
2022-10-04 17:58:51 -07:00
justcool393
d564592276
revert per aevann. (why are we replacing www.reddit.com)
2022-10-04 17:32:08 -07:00
justcool393
775686028b
use reddit regex from snapshillbot
...
reference: https://github.com/justcool393/SnapshillBot/blob/master/snapshill.py#L30
2022-10-04 16:05:14 -07:00
justcool393
f901d5af05
show raw unicode codes instead of the actual characters
2022-10-04 15:29:00 -07:00
Aevann1
243cf4eaf8
Revert "improve fishylinks_regex"
...
This reverts commit 88c1f1b233
.
2022-10-05 00:19:50 +02:00
justcool393
4c71bd6b5c
fake colon
2022-10-04 14:33:23 -07:00
Aevann1
88c1f1b233
improve fishylinks_regex
2022-10-04 23:31:23 +02:00
Aevann1
d203b22461
fix "iibertarianphile" for real this time
2022-10-04 22:12:18 +02:00
Aevann1
ed6b7f1a10
fix "iibertarianphile"
2022-10-04 21:54:45 +02:00
Aevann1
337e5d59c5
Revert "make house holes immune from deletion"
...
This reverts commit 7defcd07cf
.
2022-10-04 15:48:08 +02:00
justcool393
7defcd07cf
make house holes immune from deletion
2022-10-03 20:22:16 -07:00
Aevann1
13f5ab7c07
remove long slur filters
2022-10-02 12:33:01 +02:00
Aevann1
dee46a9306
revert an earlier change for video and audio files in sanitize()
2022-10-01 19:42:34 +02:00
Aevann1
fbaa3984a0
small adjustment to prev commit, making it an "elif"
2022-10-01 19:37:59 +02:00
Aevann1
15e0447826
ban ppl for 14 minutes if snappy comments ":marseyban:" on their post
2022-10-01 19:37:25 +02:00
Aevann1
2cf9c7560f
remove unused legacy function
2022-10-01 18:29:16 +02:00
Aevann1
a7acbe9831
show our email to loggedout visitors in /contact
2022-10-01 12:14:46 +02:00
Aevann1
e9ffc02fb9
tweak slur filter to stop repititive bug reports
2022-10-01 11:56:31 +02:00
justcool393
fc623b7201
get id fix for sbs
2022-09-30 22:16:15 -07:00
justcool393
50689c9298
remove early life badge if status expired
2022-09-30 16:20:53 -07:00
justcool393
057bc360bf
don't duplicate get checks for posts
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
Snakes
60d6f8b20d
WPD: add revolving banner selection.
2022-09-29 14:09:26 -04:00
Snakes
e52fc4eb9e
cron: commit roulette txn early for long tasks.
2022-09-29 14:09:26 -04:00
Aevann1
ff12923eb1
revert back to old welcome msg
2022-09-29 16:27:50 +02:00
Aevann1
3006da3f8f
increase sanitize timeout limit from 2 seconds to 5 seconds
2022-09-29 12:34:09 +02:00
Aevann1
94f0789827
fix 500 error
2022-09-29 12:21:55 +02:00
justcool393
57ce828af4
add 1 words to filter ( #379 )
...
* add 2 words to filter
* Update const.py
2022-09-29 11:38:37 +02:00
Aevann1
cc38a82587
remove discord from image host whitelist (they delete images)
2022-09-29 10:24:12 +02:00
Aevann1
b9d3336a9e
nitter shit
2022-09-29 07:53:37 +02:00
Snakes
4a54c6219a
Add trailing final newlines to source files.
...
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.
This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Snakes
f05ec93b95
Add gambling wager badge logic.
...
This commit touches more files than it ought to because this change
required untangling some circular imports, notably a lingering import
of files.helpers.slots in helpers.actions (presumably from old Snappy
gambling logic) and the User.active_blackjack_game accessor. Otherwise,
the logic is fairly straightforward.
2022-09-29 00:26:50 -04:00
Aevann1
0b5293d8e7
test stagger again
2022-09-27 12:56:57 +02:00
Aevann1
85653b0438
testing worker reloading
2022-09-27 12:55:20 +02:00
Aevann1
0686cdbcf6
remove testing print statement
2022-09-27 12:52:48 +02:00
Aevann1
c882b366a1
testing smth
2022-09-27 08:41:23 +02:00
Snakes
d0d67085e3
Rebuild assetcache on inotify events.
2022-09-27 02:07:32 -04:00
Aevann1
faf4403e26
check for duplicate images when admigger threads for banners/sidebar/badges are used
2022-09-27 03:24:20 +02:00
Aevann1
fa4dee419d
remove unnecessary imports
2022-09-27 02:47:52 +02:00
Aevann1
574040c3f5
add furry and pony image hosts
2022-09-26 11:02:39 +02:00
Snakes
0b416dcf2c
Revise marsify logic.
2022-09-26 02:09:26 -04:00
Snakes
742093aeae
Revert "Revert "WPD: enable rotating sidebar art & admin thread.""
...
This reverts commit 74db58e54b
.
2022-09-26 01:19:37 -04:00
Aevann1
37e1f25624
make using proxies only happen in 3 circumstances again
2022-09-26 06:01:25 +02:00
Aevann1
517e62e61b
add proxies on pushshift requests
2022-09-26 04:40:31 +02:00
Aevann1
0a83feb966
add proxies on lain.la requests
2022-09-26 04:40:21 +02:00
Aevann1
6158cf632a
add proxies on discord requests
2022-09-26 04:40:08 +02:00
Aevann1
05079a40f4
limit banners to 1MB
2022-09-26 03:41:03 +02:00
Snakes
b0529716bc
Remove voluntary marsify toggle.
2022-09-25 21:32:36 -04:00
Aevann1
4c26a7cd02
limit sidebar and badge images to 1MB
2022-09-26 03:27:31 +02:00
Aevann1
e4f14c57de
make holes cost 50k again
2022-09-25 13:34:34 +02:00
Aevann1
4212cfa0b2
testing on pcm
2022-09-25 06:11:06 +02:00
Aevann1
dd0f8fbed7
proxy all requests we make
2022-09-25 05:23:50 +02:00
Aevann1
f4b41f0049
make addition and removal of channels happen instantly (testing in devrama)
2022-09-25 05:08:44 +02:00
official-techsupport
bd8b96c1f5
fix the TLD matching to exclude numbers ( #371 )
2022-09-24 18:06:53 -04:00
Snakes
a3664e252c
assetcache: change asset_siteimg macro to filter.
2022-09-24 03:14:20 -04:00
Snakes
ac66eb07e9
Implement hash-based cachebusting module.
...
Adds the files.helpers.assetcache module, which runs on worker startup
to compute CRC digests of files in given asset directories and provides
a Jinja filter to create cachebusted URLs based on those hashes.
This alleviates the need to increment cachebusting counters in query
strings entirely for files it is applied to.
2022-09-24 02:40:26 -04:00
official-techsupport
0ff839d396
Accept any TLDS ( #369 )
2022-09-24 02:04:09 +02:00
Aevann1
d1a8aeb3db
allow some ppl to have spider permenantly
2022-09-24 02:02:27 +02:00
Snakes
2e464e307d
Make forced banned hat respect unban_utc.
2022-09-23 17:47:32 -04:00
Aevann1
a63d4940ae
fix PCM /live list
2022-09-23 22:58:10 +02:00
Snakes
1cf5ec9e0d
Revert "PCM: update live list in background."
...
This reverts commit 3acdb44a98
.
2022-09-23 15:41:04 -04:00
Aevann1
c7b41f3b57
update pin/unpin award description
2022-09-23 16:43:45 +02:00
Aevann1
bb4e21b2f0
fix utm regex
2022-09-23 15:23:11 +02:00
Aevann1
0db9bf14b9
add the expiry code for spider award lol
2022-09-23 15:15:56 +02:00
Aevann1
d1bc2f3468
integrate check_ban_evade into check_for_alts
2022-09-23 14:33:58 +02:00
Aevann1
182b851e58
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-09-23 14:01:46 +02:00
Aevann1
08e4d04c92
minor change to silence warnings
2022-09-23 14:01:42 +02:00
Snakes
3acdb44a98
PCM: update live list in background.
2022-09-22 19:39:26 -04:00
Aevann1
cd5d0c7c92
dont archive rdrama.org
2022-09-22 22:45:26 +02:00
Aevann1
f9fdeed771
fix
2022-09-22 21:42:09 +02:00
Aevann1
8a8a67a059
remove ban_evade logic
2022-09-22 21:40:14 +02:00