Aevann1
af5d392fc0
sneed
2022-09-10 21:06:47 +00:00
outruncolors
d57a569125
[DO NOT MERGE] Casino changes ( #350 )
...
* Merge up
* Create composable template for casino games
* Big changerinos
* Only allow double down sometimes
* Add drawing capability
* Make everything pretty
* Add leaderboard
* Update files/routes/casino.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/casino.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/twentyone.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/twentyone.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/twentyone.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Add some stuff
* Rehab screen
* Default sets for no games
* Stupid revert
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-10 16:01:34 -05:00
Aevann1
c99343e9e0
bump hole price to 100k (per poll)
2022-09-10 11:03:21 +02:00
Aevann1
1a64ba3db8
hat submission UI
2022-09-10 07:37:11 +02:00
Aevann1
744f847c73
I dont remember the purpose of this line
2022-09-10 02:38:06 +02:00
Aevann1
fbbb2c2ceb
marsey submission stuff
2022-09-10 01:41:54 +02:00
Aevann1
5076859817
marsey UI stuff
2022-09-09 11:39:03 +02:00
Aevann1
47890d771d
add Marsey Submission UI
2022-09-09 11:13:50 +02:00
Aevann1
77128f54f8
adjust bite award logic
2022-09-09 08:49:05 +02:00
Aevann1
a306193e90
increase pin award price from 1k to 1500
2022-09-09 08:37:58 +02:00
Aevann1
6e1b454d1c
fix last commit
2022-09-08 19:57:20 +02:00
Aevann1
40b4aff0e8
same as last commit
2022-09-08 19:51:03 +02:00
Aevann1
e382334c53
add description to new badge messages
2022-09-08 19:48:56 +02:00
Aevann1
28aaf15d85
fix bird award icon
2022-09-08 19:41:37 +02:00
Aevann1
615d18c41b
like last commit
2022-09-08 17:49:34 +02:00
Aevann1
f23912bc5b
cosmetic shit
2022-09-08 17:45:10 +02:00
Aevann1
f4e4ff3839
comsetic shit
2022-09-08 17:38:27 +02:00
Snakes
e1c44d99d5
cron.py: hole inactivity criteria, stealth fix.
...
Two bugs:
1) Drafts, deleted posts, and removed posts counted toward hole
aliveness. This has been fixed.
2) Foreign key constraints in sub_joins weren't getting deleted,
so stealth holes couldn't be deleted.
Both of these conspired to keep /h/smuggies alive, so they must be
fixed.
2022-09-07 18:29:40 -04:00
Aevann1
be53d04d65
fix pp20
2022-09-07 08:41:08 +02:00
Aevann1
9475aa27e4
award badges shit
2022-09-07 05:31:55 +02:00
Aevann1
043a235082
buff vamp house award again
2022-09-07 00:35:05 +02:00
Aevann1
71f3a2c24c
buff vamp house award
2022-09-07 00:25:29 +02:00
Aevann1
8e4866e43d
forgot to add rainbow expiry code
2022-09-06 06:51:53 +02:00
Aevann1
d0cfd8a8c1
change house femboy award
2022-09-06 06:16:41 +02:00
Aevann1
de46a6e519
fix
2022-09-05 23:43:36 +02:00
Aevann1
3f54b065fa
small modification
2022-09-05 23:28:05 +02:00
Outrun Colors
90507fc8e5
Merge branch 'frost' of github.com:Aevann1/rDrama into frost
2022-09-05 15:59:48 -05:00
Outrun Colors
3509d6a8b1
Implement a function to fix bad blackjack games
2022-09-05 15:59:42 -05:00
Aevann1
7404d94610
fix issues for new instances
2022-09-05 22:37:38 +02:00
Aevann1
0f232b264c
refactor torture_ap
2022-09-05 22:05:04 +02:00
Outrun Colors
b1674355c0
Restructure blackjack to only use a single endpoint and better handle "game end" logic
2022-09-05 13:27:00 -05:00
Aevann1
514e67a454
THERE SHOULDN'T BE CONCURRENT BLACKJACK GAMES BY SAME USER
2022-09-05 10:59:30 +02:00
Aevann1
959e08bb83
make marsify not count towards /marseys
2022-09-05 10:49:34 +02:00
Aevann1
22c65f74da
reduce minimum gambling amount from 100 to 5
2022-09-05 09:28:53 +02:00
Aevann1
aae9389b23
comment "push" and "blackjack"
2022-09-05 08:50:18 +02:00
Aevann1
e554f0924b
try fixing blackjack
2022-09-05 07:15:42 +02:00
Aevann1
225e64b91e
add marsify toggle in settings
2022-09-05 06:50:27 +02:00
Aevann1
fe7f0316f7
flush before game query
2022-09-05 04:41:08 +02:00
Aevann1
11b391c437
fix blackjack when hitting blackjack
2022-09-05 04:34:30 +02:00
Aevann1
0271d4488f
do this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2658067?context=8#context
2022-09-05 03:43:07 +02:00
Aevann1
cf5012aa35
blackjack fix (I hope)
2022-09-05 02:38:35 +02:00
Aevann1
97e3614072
fix 500 error
2022-09-05 01:39:56 +02:00
Aevann1
0c32d56cd6
casino + style shit
2022-09-05 01:15:37 +02:00
Aevann1
57dcd0ddef
remove snappy gambling
2022-09-05 00:13:23 +02:00
Aevann1
eec0a6a436
casino shit
2022-09-04 23:35:18 +02:00
Outrun Colors
cfa4231f7d
Fix issue with slots not reducing value / center casino games / update user currency without refresh
2022-09-04 16:17:44 -05:00
outruncolors
5e1d98a3bf
WIP: Add Casino (Do Not Merge) ( #341 )
...
* Add new /casino route and template
* Consolidate lottery into casino and add initial template for slots
* Change /lottery route to /casino and replace icon with usd symbol and change sitewide const to reflect change
* Hook up new slots method to casino
* Enable Marseybux spending in casino slots
* Add UI for playing blackjack in casino
* First connection of blackjack UI to backend
* Add protective clause thanks to help from carpathianflorist.
* Create new Casino_Game relation and persist inside of blackjack
* Connect new slots behavior to Casino_Game table
* Create UI action management logic
* Add blackjack game status checker which adds persistence for blackjack
* Gonna handle this better, hold on
* Reorganize blackjack helper methods
* Reorganize casino.js to account for new changes
* Connect up to frontend
* Little changes ya know
* Display a message when winning in Blackjack
* Fix some issues with double down and insure
* Revert "remove owoify-py from requirements"
This reverts commit 4454648ea2
.
* A little casino styling change
* Reorganize into a casino block
* Smallenize the card'
* Remove references to old game data on comments
* Add sql migration file
* Remove logic to drop old columns
* Fix two forgotten conflicts
2022-09-04 22:53:34 +02:00
Aevann1
d88d5ad453
add logic for permarsify
2022-09-04 21:06:26 +02:00
Aevann1
3e4216c78e
fix my whoopsie
2022-09-03 21:37:20 +02:00
Aevann1
5fa854afd6
dont archive site urls
2022-09-03 20:05:00 +02:00
Aevann1
284dfbc30e
ignore archiveorg errors
2022-09-03 16:24:16 +02:00
Aevann1
18c0cfe94f
sneed
2022-09-03 05:56:25 +02:00
Aevann1
982984acd2
sneed
2022-09-03 05:50:21 +02:00
Aevann1
e4d6c596ed
sneed
2022-09-03 05:48:52 +02:00
Aevann1
a0579b40e0
restore metadata for audio
2022-09-03 05:39:35 +02:00
Aevann1
28dbe0d6ab
fix WPD slowness
2022-09-03 05:34:06 +02:00
Aevann1
3a83e8f4c8
enable hats on all sites
2022-09-03 05:11:17 +02:00
Aevann1
2398cf45f7
refactor archive.org
2022-09-03 05:10:14 +02:00
Aevann1
515526f9cb
fix hat name regex
2022-09-03 03:57:03 +02:00
Aevann1
f221af76f2
allow capital letters in hat names
2022-09-03 03:51:24 +02:00
Aevann1
79b4e2c7dc
Hats ( #349 )
...
* hat
* hats
* hats 2
* hats
* hats 4
* hats 5
* hats
* replace weird iOS apostrophe ’
* print archiveorg response codes
2022-09-03 02:10:15 +02:00
Aevann1
88a2c69659
Hats ( #348 )
...
* hat
* hats
* hats 2
* hats
* hats 4
* hats 5
* hats
2022-09-03 01:58:55 +02:00
Aevann1
7bb902c814
remove comma bothering me
2022-09-02 20:14:13 +02:00
Aevann1
2201745c93
add owoify and marsify to offsites
2022-09-02 20:10:35 +02:00
Aevann1
1024c48cb4
prepare for site-wide marsify
2022-09-02 20:02:56 +02:00
Aevann1
03f37e4972
print archive.org exceptions
2022-09-02 19:43:16 +02:00
Aevann1
b416f2fb67
refactor slurs
2022-09-02 19:42:06 +02:00
Aevann1
027449325f
tweak to send_repeatable_notification() to minimize num of comments
2022-09-02 03:59:05 +02:00
Aevann1
6201a79df0
fix gumroad for humbdolt
2022-09-02 02:48:15 +02:00
Aevann1
65d347cce0
all tags are lower-case alrdy
2022-09-02 00:51:35 +02:00
Aevann1
52dd53f1d6
add :#trumpjaktalking: to the bottom of chudded comments and posts
2022-09-02 00:49:07 +02:00
Aevann1
c4e46839c8
reduce minimum char count for marsify from 5 to 4
2022-09-02 00:47:09 +02:00
Aevann1
e50fd2d0f4
make marsify case-insensitive
2022-09-02 00:38:33 +02:00
Snakes
ba05430a80
Prevent permabanned users from replying to DMs.
...
Permabanning already prevents users from initiating new DMs, and we
complete this by preventing replying to existing DM chains.
New modmails may still be initiated, and existing modmails may still
be replied to.
2022-09-01 17:30:15 -04:00
Aevann1
083371f20f
keep_blank_values
2022-09-01 22:46:57 +02:00
Aevann1
523bfd93c5
show first frame of video
2022-09-01 22:43:11 +02:00
Aevann1
619a7bf0ec
fix "DISABLE_DOWNVOTES"
2022-09-01 21:12:16 +02:00
Aevann1
768a2eda24
clarify CC function in WPD and PCM
2022-09-01 21:12:05 +02:00
Aevann1
78380d8b0c
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-09-01 20:52:47 +02:00
Aevann1
2312101157
sneed
2022-09-01 20:52:43 +02:00
official-techsupport
d00d685c77
fix showmore regex (yet again) ( #347 )
2022-09-01 00:37:08 -04:00
official-techsupport
948972945a
fix showmore regex (again) ( #346 )
2022-08-31 17:08:27 +02:00
Aevann1
a2183a0ff2
remove "swagman" from mentions
2022-08-31 16:57:52 +02:00
Aevann1
8e44e9815c
slurfilter update
2022-08-31 03:12:45 +02:00
official-techsupport
643ea8b429
rewrite regex nonsense ( #345 )
2022-08-31 00:40:15 +02:00
official-techsupport
36c3cd60e8
showmore works in the presence of pre tags ( #344 )
2022-08-30 18:11:45 -04:00
Aevann1
f586fac262
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-08-30 23:22:19 +02:00
Aevann1
648c792834
fix WPD welcome msg
2022-08-30 23:22:16 +02:00
official-techsupport
a9eeb29b9b
fix showmore quadratic behavior ( #343 )
2022-08-30 23:19:53 +02:00
Aevann1
a3c0e39b39
add welcome_msg for WPD
2022-08-30 23:17:08 +02:00
Aevann1
a9714e77ec
\n\n -> \n
2022-08-30 23:16:58 +02:00
Aevann1
14f109ea52
simplify marsify's code
2022-08-30 14:11:05 +02:00
Aevann1
2aaed858d2
add a #changelog channel in jannycord
2022-08-30 04:03:48 +02:00
Aevann1
7da380259c
update wpd #posts discord channel id
2022-08-30 03:58:22 +02:00
Snakes
9c03ab2d5e
Fix owoify award affecting links, emoji, markup.
2022-08-27 00:48:44 -04:00
Aevann1
df022bd003
make marsify and owoify user-level
2022-08-27 05:22:57 +02:00
Aevann1
0f11312d24
add house awards
2022-08-27 04:57:19 +02:00
Aevann1
ac98f54902
remove .can_gamble
2022-08-26 23:00:17 +02:00
Aevann1
2dcd1288d7
Revert "adjust audio and video embedding"
...
This reverts commit e9d98e158c
.
2022-08-26 20:15:26 +02:00
Aevann1
8ee8a44256
add approved image hosts to /formatting
2022-08-26 17:20:20 +02:00
Aevann1
4bb6eecb17
new rare carp snappy reply (idea by tax)
2022-08-26 01:40:57 +02:00
Aevann1
9032e23182
add patron icons for WPD
2022-08-25 22:34:05 +02:00
Aevann1
6a21dd347b
Revert "Revert "Revert "restore autoflush"""
...
This reverts commit d84b26fc77
.
2022-08-25 17:04:33 +02:00
Aevann1
0b786477fc
support all existing TLDs
2022-08-25 17:04:25 +02:00
Aevann1
1675bdc2d3
sneed
2022-08-25 15:57:05 +02:00
Aevann1
965febc0a8
sneed
2022-08-25 15:53:24 +02:00
Aevann1
d0cae2f806
update WPD posts channel
2022-08-25 15:35:28 +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
75ad5b34f2
fix youtube embedding
2022-08-25 00:02:06 +02:00
Snakes
f0becbd26e
Fix hole neglecter logic & missing imports.
...
Amends 69903bb94b
and c3109601f4
after local testing.
2022-08-24 16:38:44 -04:00
Aevann1
c3109601f4
fix previous commit (thx sneks)
2022-08-24 22:30:31 +02:00
Aevann1
69903bb94b
grant "Hole Neglector" badge automatically
2022-08-24 22:26:41 +02:00
Aevann1
9773930d48
sneed
2022-08-24 16:58:58 +02:00
Aevann1
d84b26fc77
Revert "Revert "restore autoflush""
...
This reverts commit 5aa03d87bb
.
2022-08-24 16:36:44 +02:00
Aevann1
d924130479
progressiestack rn doesnt work on non-rdrama site, so i just disabled it instead of fixing it
2022-08-23 20:09:38 +02:00
Aevann1
5aa03d87bb
Revert "restore autoflush"
...
This reverts commit 687cd766b9
.
2022-08-23 17:17:37 +02:00
Aevann1
3c9145ee60
add .world tld
2022-08-23 00:13:32 +02:00
Aevann1
20e4e7c57a
remove "groomercord" from slur filter
2022-08-22 22:47:42 +02:00
official-techsupport
d49cba78a3
improve 'graceful' behavior of get_users ( #331 )
2022-08-21 21:54:55 +02:00
Aevann1
fbbd6f9be8
fix prev commit
2022-08-21 19:22:18 +02:00
Aevann1
663904fb3d
steal the parts I wanted from spidey's PR
2022-08-21 19:20:09 +02:00
Aevann1
fb2437574f
change ping_limit to be 3 for comments, and 50 for posts
2022-08-21 17:05:32 +02:00
Aevann1
0e0f414cc9
add .farm TLD
2022-08-21 15:29:35 +02:00
Aevann1
7084e71c57
fix pinging
2022-08-20 23:39:01 +02:00
Aevann1
e9d98e158c
adjust audio and video embedding
2022-08-20 22:32:28 +02:00
Aevann1
734844291c
fix bug I introduced
2022-08-20 14:38:46 +02:00
Aevann1
d8c6b575de
fix pinging
2022-08-19 15:10:39 +02:00
Aevann1
df2f5d3b61
restore downvotes acting like upvotes in rdrama for comments
2022-08-19 14:50:35 +02:00
Aevann1
c29e5cdb5d
adjust discord
2022-08-18 18:52:26 +02:00
Aevann1
7951064b19
fix 500 error when benefactor award expires
2022-08-18 17:19:32 +02:00
Aevann1
905e8ae351
WPD daisy filter
2022-08-18 11:52:37 +02:00
Snakes
80aee5cebb
WPD: add Marseys thread, notif keywords for 14668.
2022-08-17 18:53:14 -04:00
Aevann1
5234c8ef21
remove weird spaes
2022-08-17 22:30:07 +02:00
Aevann1
0715ab3e64
fix multipinging (hopefully this doesnt break other shit)
2022-08-17 21:41:09 +02:00
Aevann1
0cae055403
remove weird spaces annoying me
2022-08-17 21:25:57 +02:00
Aevann1
7ee7868185
restore the ability to permachud someone, apparently that stings less than being chudded for a month/year (fascinating)
2022-08-17 21:17:34 +02:00
Aevann1
05689c87f6
fix previous commit
2022-08-17 19:57:32 +02:00
Aevann1
687cd766b9
restore autoflush
2022-08-17 18:36:59 +02:00
Aevann1
b201d7d28a
add longpostbot quote
2022-08-17 08:24:51 +02:00
Aevann1
7edd569090
refactor nitter
2022-08-16 18:53:24 +02:00
Aevann1
acd892d681
change WPD tier names
2022-08-16 17:26:50 +02:00
Aevann1
d14aa7100b
fix gumroad for WPD
2022-08-16 17:17:16 +02:00
Aevann1
8e48728614
add imginn toggle
2022-08-15 19:45:43 +02:00
Aevann1
067eb208a2
enable procoins for WPD
2022-08-15 19:29:35 +02:00
Aevann1
8e8264de92
kill LGB
2022-08-15 17:24:40 +02:00
Aevann1
ce0d94f7b3
fix 500 error on /submit caused by me being a retard
2022-08-15 07:48:03 +02:00
Aevann1
5065ab3b48
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-08-15 07:10:17 +02:00
Aevann1
9176a7746a
make the chance of snappy marseys and snappy quotes even
...
instead of being dependant on the number of each
2022-08-15 07:10:15 +02:00
Snakes
5ddf1c979a
WPD: enable rotating sidebar art & admin thread.
2022-08-14 20:12:55 -04:00
Aevann1
ed028f0fae
disable procoins again on WPD
2022-08-14 15:18:06 +02:00
Aevann1
6b72433ed2
change patron terminology for not rdrama-sites
2022-08-14 14:59:56 +02:00
Aevann1
a1b295d084
remove default patron for WPD
2022-08-14 14:41:08 +02:00
Aevann1
db8a3013a1
better approach for last commit
2022-08-14 08:12:34 +02:00
Aevann1
64594b48eb
fix what sneks said about hole deletion crash when one of the mods is a site janny
2022-08-14 08:05:24 +02:00
Aevann1
0880694abd
fix reddit replacing (fr this time)
2022-08-14 05:14:36 +02:00
Aevann1
2aa046c58a
fix reddit replacing
2022-08-14 05:12:33 +02:00
Aevann1
1be6a6f0dd
sneed
2022-08-14 01:49:18 +02:00
Aevann1
b01aae3d43
fix muting
2022-08-13 11:48:55 +02:00
Aevann1
b59056fd16
fix muting
2022-08-13 11:24:56 +02:00
Aevann1
2d9b42237e
fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2497656?context=8#context
2022-08-13 10:26:33 +02:00
Aevann1
517d419f0b
fix twitter.com/i/ links being switched to nitter
2022-08-13 10:00:35 +02:00
Aevann1
9557553508
add chat users-online counter to chat icon on desktop header
2022-08-13 09:42:06 +02:00
Aevann1
b9453bac03
replace " https://imgur.com/ " with " https://i.imgur.com/ " for the sake of mobilecels
2022-08-13 07:06:53 +02:00
Aevann1
d0083b579f
expand 593b74c969
+ make AEVANN_ID default 0
2022-08-13 05:11:44 +02:00
Aevann1
6e2a7aa99e
increase webp quality
2022-08-13 01:40:59 +02:00
Aevann1
26959e0751
murder deuxrama.net
2022-08-11 18:46:11 +02:00
Aevann1
67f223536c
increase hole max char limit from 20 to 25
2022-08-11 15:34:56 +02:00
Aevann1
16f949e38d
pure rage
2022-08-11 15:09:39 +02:00
Aevann1
9267d43293
fix censoring notifs
2022-08-11 13:45:30 +02:00
Aevann1
861b16478b
fix b6e7151cce
2022-08-11 13:40:36 +02:00
Aevann1
b6e7151cce
censor notifs
2022-08-11 13:27:52 +02:00
Snakes
249c593379
Hats: frontend interface, migrate cakeday.
...
Getting the basic hats frontend changes into master so my branch stops
diverging from the templates. Migrates the existing cakeday partyhat
functionality to the new system also.
Establishes a (hopefully) static interface for PFP hat display:
- Hat image assets are 100px w x 130px h and anchored to the bottom-
left corner of pfps.
- User.hat_active provides either empty string or the internal
string identifier for active user hat.
- User.hat_tooltip provides mouseover text. Likely only to be used
for cakeday hats on one's cakeday.
Additionally, per discussion with Carp, PFPs in comments and posts
increased from 25px diameter to 30px.
2022-08-11 03:30:43 -04:00
Aevann1
ae79bc8e0e
remove LLM_ID
2022-08-11 06:06:34 +02:00
Snakes
55c1ad859e
Disable showmore logic on posts.
2022-08-10 17:34:15 -04:00
Snakes
c8ae56cbbf
WPD: update slur replacements.
2022-08-07 16:35:56 -04:00
Snakes
1411018f8d
Add post categories.
...
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
- Admin panel for Category management.
- Category selection on post submission.
- 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Snakes
77e5fd074d
LGB: hide donation link.
2022-08-07 02:57:30 -04:00
Snakes
4fddb88c1a
Hide Android app menu on sites without app.
2022-08-07 02:57:30 -04:00
Snakes
1bacb9cf9d
LGB: site-specific NOTIFIED_USERS.
2022-08-07 02:57:30 -04:00
Aevann1
eac3a72976
fix typo and remove deux redirect
2022-08-06 01:47:20 +02:00
Aevann1
0429da4493
mod action notifs rework
2022-08-05 23:50:30 +02:00
Snakes
2845e0961b
Turn login-gate of 1568ec0162
into admin toggle.
2022-08-05 16:42:22 -04:00
Aevann1
66088d5a5b
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-08-05 19:22:19 +02:00
Snakes
8b241a765a
Check URI approved embed in all CSS contexts.
2022-08-05 13:09:41 -04:00
Snakes
59344a28cd
Fix safe_url bypass for profilecss external embeds.
2022-08-05 12:32:56 -04:00
Aevann1
2ec5531080
order themes alphabetically
2022-08-05 18:26:44 +02:00
Aevann1
981692550f
fix ping limiting being applies on all instances of "sanitize()"
2022-08-05 17:14:22 +02:00
Aevann1
9a2b80e374
spam carp inbox
2022-08-04 23:20:29 +02:00
Aevann1
cbfc611228
sneed
2022-08-04 23:02:27 +02:00
Aevann1
0dde4c81c5
sneed
2022-08-04 22:34:51 +02:00
Aevann1
d069550284
fix issue with showmore button breaking divs
2022-08-04 21:31:13 +02:00
Snakes
73b71b2f44
PCM: disable repost detection.
2022-08-04 00:07:17 -04:00
Aevann1
c924f4b04f
sneed
2022-08-03 01:19:33 +02:00
Aevann1
ac7317d519
sneed
2022-08-03 01:18:44 +02:00
Aevann1
45753ee166
I hate programming
2022-08-01 21:37:57 +02:00
Aevann1
db72908da6
sneed
2022-08-01 02:43:17 +02:00
Aevann1
739268774f
sneed
2022-08-01 02:41:12 +02:00
Aevann1
71748f22c2
sneed
2022-07-30 15:41:00 +02:00
Snakes
bc98d86c42
LGB: fix welcome message typo.
2022-07-29 22:11:12 -04:00
Aevann1
9838b01032
sneed
2022-07-30 01:23:33 +02:00
Aevann1
68c07b77bb
move site_settings.json out of the repo
2022-07-30 00:14:25 +02:00
Aevann1
684a804e6e
sneed
2022-07-30 00:07:08 +02:00
Snakes
0539609d61
Restrict abuse from young accounts.
2022-07-29 15:55:12 -04:00
Snakes
390acb66e0
cron.py: fix missing import, preserve /h/changelog.
...
Multiple closely related issues:
- When sub_inactive_purge_task was moved to cron.py, a number of
imports were not added. Notably, missing helpers/alerts.py.
This led to hole inactivity deletions not taking place.
- However, this proved useful: the hole it's been trying to delete
the past few days was /h/changelog. This has now been excluded
from deletion.
- Finally, the missing import would've meant the monthly procoins
disbursement would fail when it runs in a couple days. This has
likewise been fixed.
2022-07-29 15:12:56 -04:00
Aevann1
347604c433
make non-jannies unable to ping more than 3 ppl
2022-07-29 15:23:34 +02:00
Aevann1
aee293c72c
disable cumroad in deux
2022-07-23 16:33:26 +02:00
Aevann1
6a26672a8f
edit cumroad link
2022-07-23 16:31:19 +02:00
Aevann1
bcda8a9a5a
LGB enable gumroad
2022-07-23 16:29:49 +02:00
Aevann1
59faca9892
refine pronouns
2022-07-23 15:35:45 +02:00
Aevann1
6dd37ba757
fix previous commit
2022-07-23 15:03:59 +02:00
Aevann1
05837c5b08
fix previous commit
2022-07-23 15:03:30 +02:00
Aevann1
583767aa6f
stop notif spam on WPD
2022-07-23 15:02:36 +02:00
Aevann1
ed36803842
allow uppercase on pronouns
2022-07-23 14:41:49 +02:00
Aevann1
aa644fd208
allow a third pronoun if total character count is 11 or lower
2022-07-23 08:48:32 +02:00
Snakes
4723332e07
LGB: disable wordle.
2022-07-23 02:22:45 -04:00
Snakes
ed40fd9d76
Amend 2ccb50504: HOLE_OST -> HOLE_COST.
2022-07-22 15:43:34 -04:00
Aevann1
15073496c6
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-07-22 03:18:23 +02:00
Aevann1
2ccb505045
fix sneks accidentially adding pronouns and houses to deux
2022-07-22 03:18:20 +02:00
Snakes
be1023f734
cron.py bugs: missing import; lottery edge case
2022-07-21 14:28:52 -04:00
Snakes
0fe1e57ecd
Fix cfa6c13ea: cron.py missing import.
2022-07-21 14:11:04 -04:00
Snakes
eb55a6cc01
LGB: disable country club.
2022-07-19 21:50:08 -04:00
Snakes
b4fdf248ef
LGB: disable profile bio, banner, song.
2022-07-19 21:20:52 -04:00
Snakes
d06ea7d349
LGB: disable markup commands.
2022-07-19 21:20:52 -04:00
Snakes
3225a2a3d4
LGB: disable awards, badges.
2022-07-19 19:59:39 -04:00
Snakes
82de9657e9
Fix commenting 500 from blackjack.py.
...
Apparently the blackjack code didn't have the global constants.
And was breaking everything when checking `FEATURES`.
2022-07-18 05:05:48 -04:00
Snakes
001caf0c98
LGB: Add static /kb/ route; two static pages.
2022-07-18 04:39:21 -04:00
Snakes
be983504b7
LGB: disable gambling.
2022-07-18 03:47:17 -04:00
Snakes
eef6c25b0b
LGB: Permission block, follow, voters visibility.
2022-07-18 03:17:45 -04:00
Snakes
0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm.
2022-07-18 02:43:20 -04:00
Snakes
8f7d05d62d
Refactor feature flags to dict.
...
In anticipation of adding about a dozen more features flags to support
work for LGB, PIN_ENABLED and PROCOINS_ENABLED have been moved to the
FEATURES dict in const.py. More generally looking to create a unified
interface for logically-related constants, perhaps to support e.g.
later moving these settings from hardcoded constants to data.
2022-07-18 01:10:01 -04:00
Snakes
c4e8755a8d
LGB: const settings, welcome message.
2022-07-17 23:59:20 -04:00
Aevann1
8af9b8a339
wipe cringetopia
2022-07-18 04:46:03 +02:00
Aevann1
91fe866f47
fix comment sorting
2022-07-18 04:08:43 +02:00
Aevann1
4058e2adce
revert what I did with the slur regex
2022-07-17 21:17:46 +02:00
Aevann1
1998536e4e
fix previous commit
2022-07-17 19:19:48 +02:00
Aevann1
565b5c842a
fix fag slur filter
2022-07-17 19:18:52 +02:00
Aevann1
1fbefa7f69
fix wpd reddit mention spam
2022-07-17 19:14:01 +02:00
Aevann1
5703425418
improve slur regex
2022-07-17 07:24:53 +02:00
Aevann1
0b77e3f039
sneed
2022-07-16 20:37:07 +02:00
Aevann1
18ac7981ed
fix snappy gambling
2022-07-16 03:54:50 +02:00
Aevann1
8bd7bd0ff8
fix nitter regex
2022-07-15 15:45:57 +02:00
Aevann1
636e5e1254
fix camas.unddit.com
2022-07-15 15:27:45 +02:00
Aevann1
8da96d40f7
replace search.marsey.cat with camas.unddit.com
2022-07-15 15:00:51 +02:00
Snakes
a98f5e5706
PCM: raise pin limit to 10 for Kippy.
2022-07-14 21:21:20 -04:00
Aevann1
c56f3951e1
make roll command neater
2022-07-14 16:43:05 +02:00
Snakes
a217f76bad
Deux: sidebar, sidebar thread; restrict holes.
2022-07-14 02:19:59 -04:00
Snakes
88108594ad
Implement Deux login with rDrama challenge.
2022-07-13 20:36:04 -04:00
Aevann1
7243ed408f
allow "I" as the first pronoun
2022-07-13 23:43:46 +02:00
Aevann1
a7c5ad6045
change carp's id on lgbdropthet from 17 to 18
2022-07-13 23:37:15 +02:00
Aevann1
86717e37b2
refactor changelog
2022-07-13 23:03:11 +02:00
Aevann1
f5bacd8938
Revert "log ppl into deux automatically"
...
This reverts commit 86f7e627ea
.
2022-07-13 20:33:31 +02:00
Aevann1
86f7e627ea
log ppl into deux automatically
2022-07-13 20:14:07 +02:00
Aevann1
b2de11cb1a
add "pins" toggle to the frontpage
2022-07-13 19:31:35 +02:00
Aevann1
e3d2d24d94
fix this https://chapotraphouse.club/post/85005/chadblack2-soymad-soycry-soymad-black-man/2294928?context=8#context
2022-07-13 18:48:53 +02:00
Aevann1
aa4ab5b217
sneed
2022-07-13 17:16:53 +02:00
Aevann1
df096e7cc4
add #roll
2022-07-13 15:06:59 +02:00
Aevann1
f7c2befeed
allow deux jannies to add badges
2022-07-13 14:56:30 +02:00
Aevann1
f585597401
make deuxrama use rdrama's snappy quotes
2022-07-13 14:55:28 +02:00
Aevann1
dcc63c7834
add more image validation (to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2298173?context=8#context )
2022-07-12 22:30:00 +02:00
Aevann1
fb73fa0612
add target="_blank" to all external urls
2022-07-12 22:29:27 +02:00
Aevann1
3a97dac234
fix PCM reddit notifs
2022-07-12 21:26:07 +02:00
Aevann1
2a95c25675
allow @bbbb to vote
2022-07-12 21:23:37 +02:00
Aevann1
afa2f68804
change pronouns required format from 1-5 to 2-5
2022-07-12 20:28:07 +02:00
Aevann1
7a80ceef59
fix PCM reddit mentions
2022-07-12 02:47:46 +02:00
Aevann1
5ed43762aa
fix reddit notif spam
2022-07-12 00:55:40 +02:00
Aevann1
802952a555
relax slur filter on non-rdrama sites
2022-07-11 22:18:22 +02:00
Aevann1
0ee6566c21
tweak spider exclusion
2022-07-11 20:43:44 +02:00
Aevann1
bab105223b
make snappy archive youtube videos too
2022-07-11 19:45:07 +02:00
Snakes
c385e12f9d
Minor fix for pronouns logic.
2022-07-11 13:34:46 -04:00
Aevann1
6428dd08c5
add pronouns
2022-07-11 18:46:08 +02:00
Aevann1
c504b76329
fix this https://chapotraphouse.club/h/schizocel/post/84780/-/2289248?context=8#context
2022-07-11 16:09:13 +02:00
Aevann1
bf1fec7918
remove ban_reason when unbanning users
2022-07-11 14:35:28 +02:00
Aevann1
70ea10eaf6
rename chudrama to deuxrama
2022-07-11 14:25:27 +02:00
Aevann1
b5d9db86d1
refactor comment commands
2022-07-11 14:14:18 +02:00
Aevann1
bd323d2bb9
add 2 more trusted domains
2022-07-11 13:55:19 +02:00
Aevann1
e3ca369392
fix the id of the first user
2022-07-11 12:19:43 +02:00
Aevann1
a9e355c804
sneed
2022-07-11 11:52:59 +02:00
Aevann1
4c2cb82f48
change deux' assets
2022-07-10 22:27:56 +02:00
Aevann1
9c3976a622
make new users follow carp automatically v2
2022-07-10 18:23:32 +02:00
Aevann1
2ddbcaa254
change agendaposter phrase for chudrama
2022-07-10 16:37:05 +02:00
Aevann1
fe959573ec
fix 500 errors
2022-07-10 16:29:47 +02:00
Aevann1
2a1efff78b
repost new posts in WPD in discord
2022-07-10 16:25:42 +02:00
Aevann1
bb59cd0476
minor logic tweaks
2022-07-10 16:21:16 +02:00
Aevann1
9ea0f46250
tweaking offsite mentions a little
2022-07-10 15:02:24 +02:00
Aevann1
74a39109e9
fix WPD bugs
2022-07-10 14:05:12 +02:00
Aevann1
59844e8232
fix chudrama bugs
2022-07-10 13:57:18 +02:00
Aevann1
870a0f7084
fix 500 errors
2022-07-10 11:32:53 +02:00
Aevann1
c214d4b7cc
change sorting logic for WPD
2022-07-10 11:29:55 +02:00
Snakes
095b0229a2
LGB: Rename holes; make hole sidebar Drama-like.
2022-07-09 08:01:44 -04:00
Snakes
b47e9c7e18
Fix bot ID constants for CT, WPD, LGB.
...
seed-db.sql in a8fe49f232
was changed to no longer have a System
user to support the notifications rework. The default IDs in const.py
were updated to reflect this. However, CT/WPD/LGB had user IDs from
the pre-rework SQL yet were using default IDs. The constants were
updated to reflect the state on prod.
Strangely, LGB has no user id #2 . I have no idea why, but the
constants accurately reflect this fact.
2022-07-09 07:11:05 -04:00
Snakes
16125b419b
LGB: Disable Snappy Marseys; Snappy empty behavior.
2022-07-09 07:11:05 -04:00
Snakes
fde2d5ca11
LGB: Use static default pfp.
2022-07-09 07:11:05 -04:00
Aevann1
ec3b4357cf
refactor sorting and time filter
2022-07-09 12:32:49 +02:00
Aevann1
382df30e1f
show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing)
2022-07-09 10:35:47 +02:00
Snakes
02e096e5af
LGB: add custom emoji list.
2022-07-09 00:32:48 -04:00
Aevann1
a8fe49f232
kitchen sink commit, all over the place
2022-07-08 21:03:04 +02:00
Aevann1
c380848d47
remove leftover code from ill-fated joinedload attempt
2022-07-08 20:28:56 +02:00
Aevann1
ad1273995d
notifications rework
2022-07-08 20:06:54 +02:00
Aevann1
cfa6c13eaa
move 2 cron functions from routes files to .cron
2022-07-08 18:21:39 +02:00
Aevann1
b617321529
move all env-getting to .const
2022-07-08 18:21:13 +02:00
Aevann1
1549508e49
make :marseyunpettable: unpettable
2022-07-08 17:39:54 +02:00
Aevann1
e34f1a1c15
Revert "testing bandwidth"
...
This reverts commit d6559471b7
.
2022-07-08 17:13:37 +02:00
Aevann1
d6559471b7
testing bandwidth
2022-07-08 17:05:08 +02:00
Aevann1
c23366843e
fix 500 error on posting
2022-07-08 14:40:07 +02:00
Aevann1
18385f80a1
make snappy only comment on drafts when they're published
2022-07-08 13:44:17 +02:00
Snakes
894011335b
PCM: hole price- Kippy indecisive.
2022-07-07 23:43:48 -04:00
Snakes
c7467419b9
PCM: change hole cost.
2022-07-07 23:37:37 -04:00
Snakes
6ad935e12a
Permission flags UI visibility; start PERMS dict.
...
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.
This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
Aevann1
470b046702
compile regext outside of routes
2022-07-06 13:49:13 +02:00
Aevann1
4ba413eaa9
Revert "Revert "remove all joinedload bullshit I added""
...
This reverts commit 4057711c83
.
2022-07-06 13:08:11 +02:00
Aevann1
4057711c83
Revert "remove all joinedload bullshit I added"
...
This reverts commit c8d5eb0f57
.
2022-07-06 12:58:44 +02:00
Snakes
b66bfdcab9
sanitize.with_sigalrm_timeout: functools.wrap fix.
2022-07-06 05:01:48 -04:00
official-techsupport
548030fcf1
fix exceptions in sanitize leaving SIGALRM on
2022-07-06 04:46:00 -04:00
Aevann1
c8d5eb0f57
remove all joinedload bullshit I added
2022-07-04 09:04:14 +02:00
Aevann1
1115c1a574
fix reddit domain replacement
2022-07-04 05:08:33 +02:00
Aevann1
35e2e12e24
OPs can now rehole their posts
2022-07-04 04:19:43 +02:00
Aevann1
faa4f993f2
increase the price of progressivestack from 1000 to 1500
2022-07-04 04:06:28 +02:00
Aevann1
e60c4d46fe
Revert "testing bandwidth"
...
This reverts commit cc3137d730
.
2022-07-04 04:02:34 +02:00
Aevann1
c0c5057ab9
make reddit_domain_regex work with user profiles too
2022-07-04 03:12:28 +02:00
Aevann1
cc3137d730
testing bandwidth
2022-07-04 03:08:13 +02:00
Aevann1
a6b7fed2fc
minor logic change in /@username
2022-07-03 14:12:33 +02:00
Aevann1
8917427323
fix snytax error
2022-07-03 13:59:39 +02:00
Aevann1
ed86ec1c14
more query optimization v3
2022-07-03 13:56:40 +02:00
Aevann1
3e87b20ed0
more query optiimzation v2
2022-07-03 13:30:54 +02:00
Aevann1
72884713ac
more quert optimization
2022-07-03 13:21:58 +02:00
Aevann1
6c8bcc0bda
fix long emojis
2022-07-03 10:00:42 +02:00
Aevann1
1f0f0ef0be
messing with joins
2022-07-03 08:12:53 +02:00
Aevann1
c8b4838157
unmessing with queries
2022-07-03 06:34:29 +02:00
Aevann1
91951ed142
messing with relationships
2022-07-03 06:27:48 +02:00
Aevann1
076fad1108
fix 403 errors on unrelated text
2022-07-03 05:42:15 +02:00
Aevann1
e121523a42
fix accidential greentext in reddit mentions
2022-07-03 04:13:25 +02:00
Aevann1
3bfe9e984b
don't allow URLs with '\\' in them
2022-07-03 04:03:40 +02:00
Aevann1
587b864e0a
re-enable pins
2022-07-03 04:00:29 +02:00
Aevann1
bce4c13043
kitchen sink commit, all over the place
2022-07-02 12:44:05 +02:00
Aevann1
6ec0d25034
strip sanitized text
2022-07-02 12:12:52 +02:00
Aevann1
b6ca73a0c5
testing
2022-07-02 11:30:17 +02:00
Aevann1
bc41bb5584
testing, pls ignore
2022-07-02 11:29:01 +02:00
Aevann1
d0d15c319a
Poll rework ( #312 )
...
* poll rework
* forgot to do joinedload on comments
* Fix logic errors with voting, SQL syntax.
Kitchen sink commit from review of poll-rework changes:
1. Fix seed-db.sql syntax error.
2. Fix SQL patch file duplication of *submissions* tables rather
than one set of submissions and one for comments.
3. Start makeshift SQL patch folder, since this is a large change
that contributors may wish to apply to their local instances.
4. Fix checkbox (non-`exclusive`) polls being unable to be
unchecked. For consistency with `exclusive` polls, they should.
5. Fix changing the option of an `exclusive` poll when both
exclusive and non-exclusive options are present in one comment/
post causing the non-exclusive options to become unchecked.
(which, by my reading of SQLAlchemy `Query.one_or_none()`
really could break quite badly in some cases).
* link relationships with their counterparts
* small modification to poll unchecking
Co-authored-by: TLSM <duolsm@outlook.com>
2022-07-02 08:48:04 +02:00
Aevann1
83228249ad
fix marseyschizochadseethecapylovepat
2022-07-02 03:38:32 +02:00
Aevann1
77c1f96383
remove empty anchor tags
2022-07-02 02:54:59 +02:00
Aevann1
28786342dc
fix snappy archiving images
2022-07-02 02:25:58 +02:00
Aevann1
f56be06eb8
add hole pinning
2022-07-02 01:11:48 +02:00
Aevann1
9ffc3015e2
testing
2022-07-01 20:09:56 +02:00
Aevann1
e8f5827c5e
more testing
2022-07-01 15:34:11 +02:00
Aevann1
1676572f09
test
2022-07-01 15:15:44 +02:00
Aevann1
5bbd14ebd6
testing
2022-07-01 15:11:41 +02:00
Aevann1
2fd8e88ceb
try fixing inbound bandwidth
2022-07-01 13:32:01 +02:00
Snakes
1b9237ceaf
Add assetcache.asset_siteimg, has_logo.
...
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Snakes
39c945f7ca
LGB: Initial sidebar & const.
2022-07-01 01:08:15 -04:00
Aevann1
05aa116a8a
cutting down on query volume
2022-07-01 03:18:06 +02:00
Aevann1
461eba7427
fix issue with reddit domain replacement
2022-07-01 01:06:39 +02:00
Aevann1
cba02b9e4b
fix issue with code blocks
2022-07-01 01:01:10 +02:00
Aevann1
95dc6bc4f3
fix old.reddit bug
2022-07-01 00:39:48 +02:00
Aevann1
aa53296d07
Revert "remove "filter" from allowed styles"
...
This reverts commit 14d929623e
.
2022-07-01 00:18:05 +02:00
Aevann1
14d929623e
remove "filter" from allowed styles
2022-07-01 00:03:32 +02:00
Aevann1
070945d98a
cut down on the number of queries
2022-06-29 09:22:18 +02:00
Aevann1
790a814b36
make "show more" button look nicer
2022-06-29 04:35:52 +02:00
Aevann1
e7460874e9
double the timeout duration for sanitize()
2022-06-29 03:39:33 +02:00
Aevann1
b6a5d010ca
add "show more..." button
2022-06-29 02:55:44 +02:00
Aevann1
3ed41a0835
remove insane number of line breaks in rendered HTML
2022-06-29 01:53:41 +02:00
Snakes
08c2ec7223
Make pin disabling site-specific.
2022-06-28 02:27:25 -04:00
Aevann1
42a6b5731a
sneed
2022-06-28 08:17:21 +02:00
Aevann1
4580cf534d
fix strikethrough regex
2022-06-28 08:05:49 +02:00
Aevann1
b873492dd0
fix strikethrough, v2
2022-06-28 07:52:29 +02:00
Aevann1
50121f6960
fixed strikethrough
2022-06-28 07:41:21 +02:00
Aevann1
cd811d7b9d
consistent lottershe naming
2022-06-28 02:54:44 +02:00
Aevann1
a0cb5874cc
refactor push notifs
2022-06-27 21:02:24 +02:00
Snakes
d68f2a604a
Check bot award timers more frequently.
...
Also: change to docker-compose.yml is to see if it'll fix the Github
tests failing. Lumped in here because it's too dumb to make a commit
for by itself.
2022-06-27 02:15:35 -04:00
Aevann1
e527dec36b
fix mentions in marquees
2022-06-27 07:14:45 +02:00
Snakes
1d500917ad
Improve header currency display style.
2022-06-27 00:09:32 -04:00
Aevann1
52a8a219ae
make poorcel-mode device-specific
2022-06-27 05:46:32 +02:00
Aevann1
46c9c719d0
fixed 500 error
2022-06-27 04:22:12 +02:00
Aevann1
b5d993569f
embed rework
2022-06-27 03:00:45 +02:00
Snakes
e0c3c79902
WPD: Require flairs on all posts.
2022-06-26 03:42:56 -04:00
Snakes
268c23e2f8
WPD: make holes more flair-like in UI.
2022-06-26 03:42:15 -04:00
Snakes
cd556b6d8e
Refactor UI name of hole/sub to constant.
2022-06-26 03:41:28 -04:00
Aevann1
1367d944da
commit only when status code is 200
2022-06-26 07:37:36 +02:00
Aevann1
3b8188fd67
fixed version of d83d47e280
2022-06-26 03:22:05 +02:00
Aevann1
a1b137447e
Revert "reduce query volume #1"
...
This reverts commit d83d47e280
.
2022-06-26 03:12:31 +02:00
Aevann1
cff34fb3a4
reducing query volume, #2
2022-06-26 03:11:02 +02:00
Aevann1
d83d47e280
reduce query volume #1
2022-06-26 02:50:47 +02:00
Aevann1
c1d227e2b6
exclude poll bots from "simps for" lists
2022-06-25 22:24:47 +02:00
Snakes
aaf718c78c
Fix timeout in sanitize from link_fix_regex.
...
h/t to @official-techsupport for finding and help fixing this bug.
When given certain pathological input, `sanitize` would time out
(notably only on posts, rather than comments, perhaps due to the
longer maximum length of input). For example, using as input the
result of:
with open("test.txt", "w") as f:
for i in range(26):
f.write(f":{chr(ord('a') + i)}: ")
f.write('x' * 20_000)
We believe this to be because of some combination of the greedy
quantifiers and the negative lookahead before the match. The regex
was rewritten to (in theory) have much more linear performance.
2022-06-25 01:28:43 -04:00
Aevann1
c5c21da76f
validate colors
2022-06-24 19:32:31 +02:00
Aevann1
f34c4e1196
stop using app.config for our own stuff
2022-06-24 17:08:57 +02:00
Aevann1
fcf600cb35
fix this https://chapotraphouse.club/post/79771/workaholics-are-worse-for-society-than/2183396?context=8#context
2022-06-24 16:45:19 +02:00
Aevann1
9593dc58dd
move regex from helpers.const into its own helper file
2022-06-24 16:30:59 +02:00
Aevann1
6f6d01c1c6
actually use the get functions
2022-06-24 15:19:53 +02:00
Snakes
ce79b1d84b
PCM: lottery duration back to 1wk.
2022-06-23 22:40:51 -04:00
Aevann1
6463cbd1f4
"kike" slur filter modification
2022-06-24 00:33:39 +02:00
Aevann1
cff28b2070
add i.reddit.com to reddit_domain_regex
2022-06-23 22:00:49 +02:00
Aevann1
2c1d1aceff
fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2178607?context=8#context
2022-06-23 21:43:49 +02:00
Aevann1
810e80c010
fix issue with snappy url archival
2022-06-23 21:41:23 +02:00
Aevann1
39cf7fc48b
refactor normalizing urls at runtime (I put the function in comment.py cuz there were weird import errors that i didnt wanna fix)
2022-06-23 17:47:57 +02:00
gooseman
6fec7d51d9
make me notified ( #308 )
2022-06-22 21:37:27 -04:00
Aevann1
e42227ab67
add glowie marseys
2022-06-23 02:34:37 +02:00
Aevann1
233f24c0c4
make reddit notifs look neater (again)
2022-06-23 01:45:09 +02:00
Aevann1
262138b542
make reddit notifications look neater
2022-06-23 01:16:59 +02:00
Aevann1
8f2c2885d2
include psot body in reddit mentions too
2022-06-23 00:40:53 +02:00
Aevann1
0e1177843e
remove the need for alert flag on sanitize()
2022-06-23 00:12:47 +02:00
Snakes
26273d0997
Revert "delete empty <a> tags to prevent exploits"
...
This reverts commit 5f78b4e365
.
This commit is breaking @-mentions in a great many contexts and
I'm not quite sure how to fix it right now.
2022-06-22 18:00:23 -04:00
Aevann1
5f78b4e365
delete empty <a> tags to prevent exploits
2022-06-22 23:12:02 +02:00
Aevann1
365d21ff9c
fix this https://i.imgur.com/F0OiGKH.png
2022-06-22 23:00:09 +02:00
Aevann1
e1d0269a81
fix 413 error for patrons
2022-06-22 21:12:12 +02:00
Aevann1
ebdda8c412
add poll_thread (fix)
2022-06-22 20:01:22 +02:00
Aevann1
414eb12410
add poll_thread
2022-06-22 20:01:00 +02:00
Aevann1
71d892a8a9
get file extension
2022-06-22 19:44:43 +02:00
Aevann1
20585ca543
add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes)
2022-06-22 17:51:19 +02:00
Snakes
e2cd25db67
WPD: limit hole creation to JL2+.
2022-06-21 01:20:21 -04:00
Snakes
4166b2d2f0
Content: chadsoy x2, more neo-gTLDs.
2022-06-21 01:03:33 -04:00
Marco Rebhan
3c5e2c9455
Include message text in off-site mentions
2022-06-20 18:32:46 -04:00
Snakes
f59556cac3
stats: add WAU based on activity timestamp.
2022-06-20 16:33:47 -04:00
Snakes
f6b6997f61
Persist activity timestamp to users.
2022-06-20 16:25:03 -04:00
Snakes
dee8eb5154
Replace loading.webp with new marseyloading.
2022-06-19 22:15:33 -04:00
Aevann1
7c5e8c04b0
add .dev tld
2022-06-19 22:32:12 +02:00
Aevann1
ef3fbbf520
adjusting greentext regex
2022-06-19 22:22:36 +02:00
Aevann1
f77a7b7cfc
fixed double quoting and triple quoting, etc
2022-06-19 20:21:25 +02:00
Aevann1
3eb788103c
allow only ascii characters in links ( https://rdrama.net/comment/2150032 )
2022-06-19 19:25:55 +02:00
Aevann1
d9cdbd0015
return to only allowing images/videos/audio
2022-06-19 18:56:45 +02:00
Aevann1
5ddde69ac9
greentext fix
2022-06-19 17:22:06 +02:00
Aevann1
45b1b61760
added greentext
2022-06-19 17:05:50 +02:00
Aevann1
06677d269e
refactor process_video
2022-06-19 16:49:44 +02:00
Aevann1
5d74693c22
try converting webm to mp4
2022-06-19 15:03:14 +02:00
Snakes
e5193cbd46
Fix mention sanitize when `g.v` not present.
...
This bug was discovered when lottery.check_if_end_lottery_task was
failing due to a stack trace thru end_lottery session < badge_grant
< send_repeatable_notifications < sanitize L208. In particular, when
`flask cron` (helpers/cron.py) executes, it does not set g.v, whereas
this code previously assumed that g.v : (None + User) and did not
check for its presence.
2022-06-18 21:22:04 -04:00
Aevann1
193615a441
make sure thumbnails are always lower than 8 MB
2022-06-18 23:11:53 +02:00
Aevann1
eba4452d79
fix 500 error
2022-06-18 22:41:00 +02:00
Aevann1
b34dd88560
remove legacy code in video upload (thx @everyone)
2022-06-18 18:23:10 +02:00
Aevann1
453d83856e
add .press tld
2022-06-18 18:07:57 +02:00
Aevann1
ccdabcba29
allow uploading of all types of files (using lain.la)
...
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +02:00
Aevann1
56f8cf793e
give visible bots a body column (so their comments are searchable)
...
+ don't sanitize zoz/longpostbot/aj comments
2022-06-18 17:37:01 +02:00
Aevann1
f60db1598d
replace "g.db.query" on pkeys with the much more efficient "g.db.get"
2022-06-18 02:57:23 +02:00
Aevann1
c01d53aa0d
make mentioning case-insensitive again
2022-06-18 00:03:23 +02:00
Aevann1
fae0bee0d9
Refactored mention sanitization (stolen commit from themotte)
2022-06-17 22:37:27 +02:00
Aevann1
a771596d25
videos bullshit
2022-06-17 22:23:04 +02:00
Aevann1
38c12209fb
move from os.sytem to subprocess.run, and fix bug
2022-06-17 22:16:22 +02:00
Snakes
a0d923e759
Use subprocess.check_call in media.py
2022-06-17 16:15:42 -04:00
Aevann1
30ed6daa26
fix RCE, thank you @Camas
2022-06-17 20:36:34 +02:00
Aevann1
35875d69f6
stop replacing "nitter.net" with "twitter.com" (to fix this shit https://chapotraphouse.club/post/77517/xueen-ezra-is-taunting-the-pigs/2132884?context=8#context )
2022-06-16 18:46:32 +02:00
Aevann1
0fb48bc380
make reddit_notifs_jl_min default to be 1
2022-06-16 16:15:24 +02:00
Aevann1
cab92d3c24
add marsey.cat to safe list
2022-06-16 14:36:43 +02:00
Snakes
46520a9f8c
Site-specific: change lotto for PCM.
2022-06-15 22:23:21 -04:00
Snakes
a8155d964a
Kitchen sink: emoji content, assert, assetcache.
...
These are all minor and uncontroversial enough it just felt gross
making multiple commits.
- Adds marseymummified.
- Changes the new `raise ValueError(...)` in badge_grant to
an `assert`.
- Expands assetcache to a convenient grab bag of JS files.
2022-06-15 17:17:31 -04:00
Snakes
7e54f858d3
Amend f8ae2a3d17c6: revert >= logic, fail loudly.
...
First, the apparent errors with >= 9 and 99 in the Marseys and
referrals code after the refactor are not actually bugs: they were
bug fixes mixed in with the refactor to fix an off-by-one.
Next, instead of failing silently on the `not user` branch in
badge_grant, we throw a ValueError. This retains the current
behavior where users get 500s to report while also enforcing the
assertion near the edge of the function.
2022-06-15 16:32:25 -04:00
Snakes
f8ae2a3d17
Amend 3bc98f0a6b84: minor logic, style.
2022-06-15 16:08:26 -04:00
Aevann1
3bc98f0a6b
extend TLSM's badge_grant() to almost all instanes where badges are granted
2022-06-15 21:33:21 +02:00
Aevann1
cdcef7d01d
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-15 15:32:55 +02:00
Aevann1
ff9c7c17fb
readjust prophet muhammed (ﷺ) slur filter
2022-06-15 15:32:52 +02:00
Snakes
dfe0c64d99
Deduplicate site-specific constants, add SNAKES_ID.
2022-06-14 23:39:37 -04:00
Snakes
3301e238d6
Content: alphabet emoji, christian list.
2022-06-14 14:37:45 -04:00
Snakes
c61375288f
Content: add TLD to sanitize.
2022-06-14 03:48:02 -04:00