forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

1868 Commits (4718df733b6b5478714e786b1b5418d9d6245c9b)

Author SHA1 Message Date
Aevann ac7db0106f move the resource-intensive part of "upvotes given" leaderboard to cron 2023-04-25 11:31:02 +02:00
Aevann 8f7a0bc4e7 restore upvotes given leaderboard (testing on dev.rdrama.net) 2023-04-25 10:59:26 +02:00
Aevann a37fca393d combined buy button for awards and hats 2023-04-24 17:08:40 +02:00
Aevann a34fc92e97 show mbux in popover 2023-04-24 15:39:25 +02:00
Aevann 4b8e7997c5 Revert "print debug on staging.rdrama.net"
This reverts commit fff0b9c0c5.
2023-03-26 01:31:24 +02:00
Aevann fff0b9c0c5 print debug on staging.rdrama.net 2023-03-25 22:43:28 +02:00
Aevann 780d0eb99e disable the slur filter in chudrama 2023-03-24 18:38:18 +02:00
Aevann 019253e6db use css for chud images instead 2023-03-24 14:29:19 +02:00
Aevann da3456ba9d add agendaposter phrase to user json 2023-03-23 20:28:54 +02:00
Aevann f78cd322d1 much better chud award logic 2023-03-22 23:39:25 +02:00
Aevann a4de71456b fix this https://rdrama.net/post/157037/i-kinda-enjoy-seeing-people-freak/3843351#context 2023-03-22 23:10:43 +02:00
Aevann 40b73fe048 very minor dedup 2023-03-22 00:12:32 +02:00
Aevann 50680e0fa8 cut down on chud award evasion 2023-03-21 23:33:43 +02:00
Aevann 4c47cc5d63 stop implementing BAN_EVASION_DOMAIN since nobody actually uses it https://camas.unddit.com/#{%22searchFor%22:1,%22resultSize%22:100,%22query%22:%22stupidpol.site%22} 2023-03-21 17:39:26 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann b004617695 customizable chud phrases 2023-03-19 19:13:45 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 9cea919e98 dont force tempchuds to see chudrama on their feed 2023-03-19 10:34:54 +02:00
Aevann 62fcaec40d fix muted users not notifying the person they reply to 2023-03-19 10:30:03 +02:00
Aevann 20eef6e063 unify chudrama and CC's logic 2023-03-19 10:30:03 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann f05dbd1ce7 remove EventUser class 2023-03-16 08:18:16 +02:00
Aevann a392fbb86d restore autoflush 2023-03-16 06:21:57 +02:00
Aevann 9f44a3f9fb add db.flush() in has_badge 2023-03-15 08:08:57 +02:00
Aevann 1e832b0027 Revert "remove hidevotedon"
This reverts commit d8cf302a43.
2023-03-15 08:03:11 +02:00
Aevann 3de34c9a65 Merge branch 'keep-session-open' of https://fsdfsd.net/rDrama/rDrama 2023-03-15 08:02:47 +02:00
Aevann a5d5e8e3b8 Revert "remove hidevotedon"
This reverts commit d8cf302a43.
2023-03-15 07:22:13 +02:00
Aevann fe2f1293f1 more fixes 2023-03-15 07:13:58 +02:00
Aevann a068d22213 more fixes 2023-03-15 06:47:47 +02:00
Aevann d8cf302a43 remove hidevotedon 2023-03-15 06:21:52 +02:00
Aevann da75577732 cachebust badges 2023-03-15 06:05:59 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 729b095713 remove /h/masterbaiters 2023-03-13 20:53:08 +02:00
Aevann 83248970b5 fix this https://stupidpol.site/post/154579/betting-badge-opportunity-are-you-a/3781652#context 2023-03-13 18:44:21 +02:00
Aevann 25b8913b8d fix 500 error 2023-03-12 20:03:15 +02:00
Aevann 1d13c1f4da fix 500 error 2023-03-12 20:02:50 +02:00
Aevann d2ccce4dba allow making bets in comments 2023-03-12 19:36:35 +02:00
Aevann b6b1597748 whenever u import from const, import everything 2023-03-12 15:03:58 +02:00
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +02:00
Aevann eb2659aac8 use censored title in post url 2023-03-12 12:19:10 +02:00
Aevann f79733a36f include hole in post json 2023-03-12 12:18:48 +02:00
Aevann ccf6ccd468 same as last commit 2023-03-11 11:50:29 +02:00
Aevann e1252803aa decrease DEFAULT_ADMIN_LEVEL 2023-03-11 11:30:24 +02:00
Aevann dc9a2f6782 fix repr for Notification 2023-03-11 10:18:40 +02:00
Aevann 14a2664534 fix last commit 2023-03-11 09:14:13 +02:00
Aevann 397ab186f6 hide a bunch of user customization on shadowbanned profiles 2023-03-11 09:11:58 +02:00
Aevann 25312029aa add poster_url for videos 2023-03-11 08:29:52 +02:00
Aevann 9cf396c106 remove leftover print statement 2023-03-10 04:15:14 +02:00
Aevann a6af121c42 fix sidebar images and marsey images for new holes 2023-03-10 03:22:11 +02:00
Aevann 6d3d15f097 fix 2 year badge 2023-03-10 02:12:29 +02:00
Aevann ef8b7de749 add logic for 2 year badge 2023-03-10 00:40:42 +02:00
Aevann 9f66e33061 Revert "convert IS_FISTMAS and IS_HOMOWEEN from functions to variables"
This reverts commit b45d845630.
2023-03-08 08:51:40 +02:00
Aevann 292498bdc8 fix thumbnail for videos 2023-03-08 08:49:18 +02:00
Aevann b45d845630 convert IS_FISTMAS and IS_HOMOWEEN from functions to variables 2023-03-08 08:10:18 +02:00
Aevann 77e7663476 remove leftover shit 2023-03-08 08:01:53 +02:00
Aevann 1d992892d9 remove jc insanity 2023-03-07 17:56:38 +02:00
Aevann e014d81c67 fix combined charging 2023-03-07 15:20:46 +02:00
Aevann a1838f3e77 allow betting with mbux 2023-03-07 07:27:21 +02:00
Aevann 1025c32322 allow ppl to make ping groups w/ mbux 2023-03-07 07:06:17 +02:00
Aevann cb5227fdc4 same as last commits 2023-03-07 03:24:02 +02:00
Aevann 03c5dcc1ec fix 2023-03-07 03:21:30 +02:00
Aevann e4c8fab6dc same as last 2 commits 2023-03-07 03:17:51 +02:00
Aevann 86a2610845 make links from BAN_EVASION_DOMAIN also have site_preview as a thumbnail 2023-03-07 03:11:16 +02:00
Aevann ddb641f865 fix prev commit 2023-03-06 20:07:55 +02:00
Aevann f36c5b50bc make me able to demod ppl from holes 2023-03-06 20:06:01 +02:00
Aevann 0a30a7baef remove unnecessary check 2023-03-06 19:19:49 +02:00
Aevann 712c649cc8 fix missing self. 2023-03-06 18:53:40 +02:00
Aevann cb9e9a849a fix hole banners 2023-03-06 18:45:21 +02:00
Aevann d814fbbff6 fix wpd videos 2023-03-06 02:02:40 +02:00
Aevann 3ac75b2ac7 fix wpd videos 2023-03-06 01:58:58 +02:00
Aevann 7b0feda471 fix modmail replies 2023-03-06 00:50:36 +02:00
Aevann 0c91650a1d remove jc insanity 2023-03-06 00:50:06 +02:00
Aevann 2d2a1ca28c always use charge_account() 2023-03-04 20:32:55 +02:00
Aevann f299d4c52c fix tilt>4 2023-03-04 19:59:34 +02:00
Aevann 747af298c2 remove unnecessary g.db.flush() 2023-03-04 17:54:40 +02:00
Aevann f15e8372b3 fix 500 error 2023-03-04 17:44:59 +02:00
Aevann 36beea8d22 try to fix roulette 2023-03-03 23:43:44 +02:00
Aevann 117624f313 add session["GLOBAL"] 2023-03-02 22:29:22 +02:00
Aevann d7f42ac50a dont give shekels to ppl not notified bc of blocks + dont give shekels to ppl ALSO mentioned directly + prevent group double charging on edit + do this https://stupidpol.site/h/countryclub/post/79285/-/3695711#context 2023-03-02 21:56:43 +02:00
Aevann 9eba456031 fix this https://stupidpol.site/post/151194/its-time-for-rdrama-to-designate/3695638#context 2023-03-02 03:15:04 +02:00
Aevann e7aa739e62 remove extra linefeed 2023-03-01 22:40:41 +02:00
Aevann 712239157f two-way-blocks for ping groups 2023-03-01 22:28:34 +02:00
Aevann 95d1e69c68 fix wordle 2023-03-01 21:40:25 +02:00
Aevann b3f75b9beb always use author_name even if its not needed for consistency 2023-03-01 21:28:10 +02:00
Aevann 96ce985cd6 allow poll options with the same text 2023-03-01 01:46:11 +02:00
Aevann 17330c073b fix emojis in polls 2023-03-01 00:56:46 +02:00
Aevann 76e2e8e321 decrease poll change timestamp 2023-03-01 00:42:58 +02:00
Aevann 4c38cb24ac fix 500 error 2023-03-01 00:39:39 +02:00
Aevann d7f43d4e3a make it possible to delete poll options 2023-03-01 00:15:05 +02:00
Aevann 55c8a51a1d make it possible to position poll options 2023-03-01 00:09:16 +02:00
Aevann ac5b58cdb6 fix shadowbannedcel post count and comment count 2023-02-28 19:54:01 +02:00
Aevann c505eddd9d fix polls on walls 2023-02-28 18:53:51 +02:00
Aevann 984aecec9a destroy the shadow realm (#135)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#135
2023-02-27 15:38:12 +00:00
Aevann 94ed49569a better can_see logic 2023-02-27 14:46:22 +02:00
Aevann 26d1b6bb0a fix this https://stupidpol.site/h/changelog/post/150341/paypigs-paypigonly-thread-no-poors-allowed/3671353#context 2023-02-26 14:24:07 +02:00
Aevann 490d5765fa paypig-only threads 2023-02-26 13:22:30 +02:00
Aevann 890fedf1f3 remove redundant condition 2023-02-26 11:14:39 +02:00
Aevann 7a8ec235e0 add tabs to award modal 2023-02-25 21:40:15 +02:00
Aevann d26cc5a83f ping groups improvements 2023-02-24 21:29:07 +02:00
Aevann a90744145a add ping groups 2023-02-24 08:31:06 +02:00
Aevann d2bda15383 remove unnecessary f 2023-02-24 04:54:31 +02:00
Aevann a395c18955 remove unnecessary tabs 2023-02-22 19:27:33 +02:00
Aevann 8cf4b6fda6 reduce default admin level 2023-02-21 17:14:37 +02:00
Aevann b819fa51d0 make it possible for jannies to stack chuds and bans 2023-02-19 15:23:08 +02:00
Aevann 8158b70c20 apparently cardview toggle got removed from the settings, so might as well remove it from the code 2023-02-19 11:20:16 +02:00
Aevann a6f57c1bc3 fix the "more comments" link on walls on mobile 2023-02-19 00:58:17 +02:00
Aevann 4dfb21cd0a fix comment jumping 2023-02-18 23:03:23 +02:00
Aevann b99f17216e fix boot error 2023-02-18 22:01:28 +02:00
Aevann 835e1f6155 give gambling badges for roulette too (testing on devrama) 2023-02-18 21:57:34 +02:00
Aevann d4210c2710 renamed p.embed_url to p.embed 2023-02-18 18:33:19 +02:00
Aevann 57e9cb3428 remove .deleted column for alts 2023-02-18 17:19:14 +02:00
Aevann 4d27bc46d3 wpd awards commit 2023-02-08 05:36:01 +02:00
Aevann 95938ee3ec make sure all comment links have #context 2023-02-07 04:34:11 +02:00
mummified-corroding-granny b0797c4493 fix-small-tisms that I had piled up in my todo (#109)
fix-small-tisms that I had piled up in my todo

Reviewed-on: rDrama/rDrama#109
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-02 16:54:52 +00:00
Aevann 06a70f7fd7 refactor donation code 2023-02-01 21:49:39 +02:00
Aevann 728217c075 remove FORBIDDEN 2023-01-31 23:22:21 +02:00
Aevann 995b5365cc Revert "give me modaction notifs on WPD"
This reverts commit 6105640429.
2023-01-30 11:39:12 +02:00
Aevann 683b7751bc show me modaction notifs 2023-01-28 10:09:18 +02:00
Aevann 6105640429 give me modaction notifs on WPD 2023-01-27 15:50:47 +02:00
Aevann ffa04a3cd5 constantify my log action types 2023-01-27 10:18:05 +02:00
Aevann d00fef9faf use transactions table in rdrama (#99)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#99
2023-01-26 11:25:28 +00:00
Aevann 2754abb58e fix 500 error 2023-01-26 07:39:17 +02:00
Aevann 5eea908e6f fix 500 error 2023-01-26 07:36:41 +02:00
Aevann ab580f626f fix 500 error 2023-01-26 07:31:47 +02:00
Aevann ceee02fbce add button to blacklist users from restricted holes 2023-01-25 17:41:46 +02:00
Aevann 90181024cc fix 1 year badge 2023-01-25 14:36:09 +02:00
Aevann 680135755e Revert "get rid of get_alt_graph"
This reverts commit e2e3da4bda.
2023-01-25 04:51:48 +02:00
Aevann e2e3da4bda get rid of get_alt_graph 2023-01-25 03:07:30 +02:00
SneedBot 625778721e sneed 2023-01-24 06:42:36 +00:00
Aevann 0f4de38141 exclude merari and permabanned/shadowbanned from chudrama 2023-01-24 07:20:15 +02:00
Aevann 78738589b5 exclude merari from all restricted shit 2023-01-24 07:17:58 +02:00
Aevann 0c5c97a1f8 only allow imginn replacement for posts, since other types of content arent supported by it 2023-01-23 08:28:54 +02:00
Aevann 4f0b771983 increase DEFAULT_ADMIN_LEVEL from 3 to 5 on devrama 2023-01-23 07:40:01 +02:00
Aevann 7f1ddf5c0c fix delinking alts 2023-01-22 10:20:38 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann 75cb26ccf4 remove platform-specific posts 2023-01-22 09:57:47 +02:00
Aevann f17fade8a6 purge discord from site code 2023-01-20 07:31:53 +02:00
Aevann 9f0b238370 increase ts gate for masterbaiters from 0 to 100 and ban merari from it 2023-01-20 07:13:53 +02:00
Aevann 18aad5a8c6 try fix 2023-01-02 06:23:44 +02:00
Aevann daad32d0ce fix nonces in py files 2023-01-02 06:20:59 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann db6db63836 change event structure 2023-01-01 07:33:09 +02:00
Aevann 2d2a3520b3 hide post title for the 3 restricted holes 2023-01-01 05:50:29 +02:00
Aevann 03fb84e618 fix HOLIDAY_EVENT check 2023-01-01 04:50:11 +02:00
Aevann 78351abc4c clean up legacy stuff 2023-01-01 03:17:07 +02:00
Aevann 8362a4c497 js fixes 2022-12-30 21:35:23 +02:00
Aevann f800950d02 fix error on signup 2022-12-30 21:13:45 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 1759039f75 remove </input> 2022-12-30 11:45:14 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann 21a8e6570b reduce devrama starter amount by one zero 2022-12-27 11:33:31 +02:00
Aevann f97be253e7 increase number of coins and mbux on devrama 2022-12-27 06:32:01 +02:00
Aevann 30afd3a5ed put spaces around == 2022-12-27 04:51:12 +02:00
Aevann f4164052cf give devrama users a shitton of coins and mbux 2022-12-27 04:00:08 +02:00
Aevann ba13454f9e give everyone on devrama admin_level 2022-12-27 03:53:47 +02:00
Aevann 2b6698e2dd make xmas badge graphic site-specific 2022-12-26 21:36:19 +02:00
Aevann cc5e195228 remove unused property 2022-12-26 04:45:22 +02:00
Aevann f37e1dc702 disallow jannoids from undoing chud awards 2022-12-26 04:38:32 +02:00
Aevann 3dd1f706a8 rename fistmas to christmas on WPD 2022-12-25 04:25:11 +02:00
Aevann ecfcbaf3df make hat_active return a tuple 2022-12-25 00:21:49 +02:00
Aevann 0299a287ed Revert "remove #context in links"
This reverts commit 169dc4ebef.
2022-12-24 21:19:47 +02:00
Aevann a63b02470d use sets with in statements 2022-12-24 00:22:41 +02:00
Aevann 478b176f5e fix christmas hat descriptions 2022-12-23 04:11:47 +02:00
Aevann 5d09ef1103 fix accidentially deleted @property 🤡 2022-12-22 22:58:27 +02:00
Aevann 284b3ba9ec delete property that jc forgot to actually define... 2022-12-22 22:46:05 +02:00
Aevann 92cbe64ac0 cache get_alt_graph for 1 hour 2022-12-22 22:44:37 +02:00
Aevann 0e6b144ed7 alt graph 2022-12-22 22:03:40 +02:00
Aevann1 1d3fa2f93f remove CARD_VIEW env var 2022-12-21 15:04:45 +02:00
Aevann1 3ae5292ce4 remove pcm from code 2022-12-21 14:42:41 +02:00
Aevann1 e80dab6bb9 remove replies from comment json temporarily until i figure it out 2022-12-20 23:12:12 +02:00
Aevann1 d17cfbf323 allow PCM and WPD users to opt into event music 2022-12-20 05:52:00 +02:00
Aevann1 169dc4ebef remove #context in links 2022-12-20 05:05:13 +02:00
Aevann1 7297fad5fe allow PCM and WPD users to opt into event music 2022-12-20 03:40:41 +02:00
Aevann1 2183161916 add toggle for event music 2022-12-20 03:38:19 +02:00
Aevann1 373a6cf0db add grinch 2022-12-20 03:13:34 +02:00
Aevann1 b3d1490418 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3266878#context 2022-12-20 00:08:13 +02:00
Aevann1 c190fa89b2 give jannoids notifs for deleted and removed comments 2022-12-19 23:28:37 +02:00
Aevann1 e3a4b50c34 fix "more comments" button on mobile 2022-12-19 21:48:39 +02:00
geese_suck 1574b4da63 fistmas (#79)
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Nekobit Bitneko <me@ow.nekobit.net>
Reviewed-on: rDrama/rDrama#79
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-12-19 01:20:14 +00:00
Aevann1 6cde4a040c make ?context=8 default 2022-12-18 16:48:48 +02:00
Aevann1 ecfba3e3b5 give me notifs for only "ban_user" and "shadowban" 2022-12-16 21:34:01 +02:00
Captain 84cfc21b0b added original name for user.json 2022-12-15 19:00:53 +00:00
justcool393 d556e72c04 users: let users see (comments on) own posts 2022-12-14 18:33:54 -06:00
Aevann1 e48d133977 rename Casino_Game to CasinoGame for consistency 2022-12-14 21:30:05 +02:00
Aevann1 8bc8546089 fix prev commit 2022-12-14 00:05:34 +02:00
Aevann1 c10c00473a make is_banned fkey on user id 2022-12-14 00:02:53 +02:00
Aevann1 1ba74ad8fa fix for last commit 2022-12-13 20:52:28 +02:00
Aevann1 36fca9caab minor bugfix 2022-12-13 20:50:38 +02:00
Snakes 3459c4c9da
Fix merge of #59 with data-click2 attributes.
PR #59 was started prior to 59e0beebb2
and data-click2 -> data-click was not automerged for obvious reasons.
Resolve this to fix the delete banner buttons.
2022-12-11 20:03:22 -05:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1 59e0beebb2 minor change 2022-12-11 21:19:10 +02:00
Aevann1 235cfb0dfa do this https://stupidpol.site/h/marsey/post/130585/marsey-lost-and-found-who-made/3224501?context=8#context 2022-12-11 20:52:15 +02:00
Aevann1 3e3d39e432 minor /set_new rework 2022-12-10 16:57:19 +02:00
Aevann1 da4f3937f5 change mod log descriptions of mark +18 and unmark +18 2022-12-10 16:52:25 +02:00
Aevann1 1a1a55712e cachebust default_thumb_video.webp 2022-12-10 15:19:04 +02:00
Aevann1 1886dd986e move sort_table.js to core.js 2022-12-10 12:40:34 +02:00
Aevann1 0a915aae08 disable ghost threads in WPD 2022-12-08 07:14:59 +02:00
Snakes 9160a853ec
Remove !YOU!.
Security mess and stale joke.
2022-12-05 20:06:04 -05:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann f8aa67fb9a add button on profile to upload profile background (#48)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#48
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 04:16:45 +00:00
Aevann1 af3b028ca5 add links to individuals comments in walls + fix awards for wall comments 2022-12-05 05:01:50 +02:00
Aevann1 dbc64dc487 fix profile wall for logged-outcels 2022-12-05 03:53:09 +02:00
Aevann1 cb4d941fd0
add profile wall 2022-12-04 20:05:45 -05:00
Aevann1 814552cdfe small fix for ppl with progstack=1 2022-12-05 02:45:02 +02:00
Aevann1 892e35b1c3 splash mountain for PCM 2022-12-04 23:28:39 +02:00
justcool393 6e1509f2df admins: let mops who can mop posts see posts regardless of browser (#45)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#45
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-04 20:26:39 +00:00
Aevann1 c56ceaf668 allow me and sneks to see apple posts 2022-12-04 22:11:16 +02:00
Aevann 3eecec0a51 downloadable videos on apple devices (#42)
![image](/attachments/bd1b3e1e-c0a9-4eee-9b1c-a03e1e8a8cbd)

Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Snakes <snakes@noreply.fsdfsd.net>
Reviewed-on: rDrama/rDrama#42
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 19:02:22 +00:00
Aevann e105035272 remove country club system and replace it with a 3 tier thing: (#41)
- /h/masterbaiters: 1 TS - for gayops

- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub

- /h/chudrama: 5000 TS - for chad+stud posts

EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1 aad1d72f43 add code so i can make a post that only legacy android app users can see 2022-12-03 01:58:16 +02:00
Aevann 5c2dab73c7 stop using pusher (#37)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#37
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-02 22:21:18 +00:00
Aevann1 3542703ced Revert "make it so only the post author can declare winner and not all admins"
This reverts commit 9e1425d93e.
2022-12-03 00:08:46 +02:00
Aevann1 9e1425d93e make it so only the post author can declare winner and not all admins 2022-12-03 00:06:57 +02:00
justcool393 0f2f72f2c3 sort by new button (#34)
also get rid of megathread logic

do the needful and do
```sql
UPDATE submissions SET new=true WHERE title LIKE 'Thread' OR title ILIKE 'megathread';
```
or whatever the proper equivalent is

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#34
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-01 22:04:10 +00:00
Aevann1 4ab8825d35 fix 500 error 2022-12-01 15:19:09 +02:00
Aevann1 8bbc107137 dont give me reddit notifs again 2022-12-01 14:46:58 +02:00
Aevann1 e0bcc71727 fix notifs 2022-12-01 00:59:56 +02:00
Aevann1 cbd04b3c38 remove my special case so i can test 2022-12-01 00:44:16 +02:00
Aevann1 e1ed46fa36 rework reddit notifs - testing on pcm lol 2022-12-01 00:29:13 +02:00
justcool393 69a44baea7 settings: convert all to snek_case 2022-11-30 12:26:07 -06:00
Aevann1 b6eea4191c make me able to see reddit mentions again 2022-11-30 02:40:38 +02:00
Aevann1 b6efc27551 use "i" instead of "assets/images" 2022-11-30 00:52:19 +02:00
justcool393 e9887059d1 use `self.__class__.__name__` for `__repr__` 2022-11-29 15:02:38 -06:00
justcool393 67bfe5a5bd remove unnecessary `str()` 2022-11-29 14:29:27 -06:00
Snakes 2304876348
Fix emoji search after Marsey caching revert. 2022-11-28 22:18:16 -05:00
geese_suck 030710e5db
add fallback award so I dont get fucked by aevann asking me to change something for a site that has 3 active users 2022-11-27 21:24:05 -08:00
Aevann1 c9f44b5777 rename data-click to data-click2 2022-11-28 06:35:33 +02:00
Aevann1 d0047dcc5a include users who have more than 30 days to be unbanned/unchhuded in /banned and /chuds for accountability 2022-11-28 03:32:01 +02:00
justcool393 5381074617 sigs: limit to 250px (configurable by variable) 2022-11-27 12:15:33 -06:00
justcool393 767cc467bb marseys: cache marseys and emojis and fun stuff (#15)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#15
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 16:59:36 +00:00
Aevann1 1f4fc16d44 add !YOU! to post bodies and to comments 2022-11-27 03:31:46 +02:00
Aevann1 575a5080bd unpaywall profile views 2022-11-27 02:20:54 +02:00
justcool393 ae50cc2772 const: rename constants from LIMIT to MINIMUM
the new name is much much clearer
2022-11-26 14:20:44 -06:00
Marco af74c7c1fc Update chud award to include forced trans/pride flag hats (#10)
Disclaimer: I made these changes in Notepad and didn't bother to test this change locally.
Co-authored-by: Marco <bussylmao@gmail.com>
Reviewed-on: rDrama/rDrama#10
Co-authored-by: Marco <marco@noreply.fsdfsd.net>
Co-committed-by: Marco <marco@noreply.fsdfsd.net>
2022-11-26 20:14:31 +00:00
Aevann1 b93bf4daae dont convert username to lowercase for !YOU! 2022-11-26 22:11:07 +02:00
Aevann1 39bb04bdb8 remove TS limit for !YOU! 2022-11-26 22:10:40 +02:00
Aevann1 bb153e541d Revert "you posts: constantify truescore requirement"
This reverts commit 1b721126a2.
2022-11-26 22:09:07 +02:00
Aevann1 98a0f37e59 Revert "user and"
This reverts commit 0b146d0b7b.
2022-11-26 22:08:54 +02:00
justcool393 0b146d0b7b user and 2022-11-26 13:40:34 -06:00
justcool393 1b721126a2 you posts: constantify truescore requirement 2022-11-26 13:39:31 -06:00
float trip df4eb02c0e Allow API clients to view !YOU! submissions. 2022-11-26 18:06:04 +00:00
Aevann1 7cb4740426 snned 2022-11-26 07:02:34 +02:00
Aevann1 9c773b02a5 sneed 2022-11-26 06:59:07 +02:00
Aevann1 a641acaf8f use sets instead of lists in some statements 2022-11-26 06:52:47 +02:00
Aevann1 6dd4f2492d fix api app link 2022-11-26 06:41:56 +02:00
Aevann1 bcbf524fbe make sure stickied child comments are always at the top place they can be 2022-11-26 06:01:20 +02:00
justcool393 f86d351ac4 fix saved subscribers stuff 2022-11-25 16:06:18 -06:00
Snakes 0254ff6567
Restrict New User hat to rDrama. 2022-11-23 20:28:39 -05:00
Snakes 9eab252e5b
Fix reply/mention notifications from muted users.
Consider the case of the current /notifications filter condition:
    WHERE ... NOT ((comments.sentto = 2) AND (users.is_muted))

SELECT 1 WHERE NOT ((null = 2) AND (true)); ⇒ 0 rows
SELECT 1 WHERE NOT ((1 = 2) AND (true)); ⇒ 1 row
SELECT 1 WHERE NOT ((2 = 2) AND (true)); ⇒ 0 rows

We want the first expression, where comments.sentto = null, to evaluate
to false, not to null, so it negates to true. Behavior as written is:

SELECT 1 WHERE NOT ((null = 2) AND (true)); →
SELECT 1 WHERE NOT (null AND true); →
SELECT 1 WHERE NOT null; →
SELECT 1 WHERE null;

Which guarantees a null return set. If we check first for non-nullity:

SELECT 1 WHERE NOT ((null IS NOT null) AND (null = 2) AND (true)); ⇒ 1
SELECT 1 WHERE NOT ((1 IS NOT null) AND (1 = 2) AND (true)); ⇒ 1
SELECT 1 WHERE NOT ((2 IS NOT null) AND (2 = 2) AND (true)); ⇒ 0
2022-11-21 23:08:31 -05:00