Commit Graph

13633 Commits (84f4fc164d215cc27f07e73eafd3c70cc69552cf)

Author SHA1 Message Date
Aevann1 b061b5eae1 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-13 22:39:18 +02:00
Aevann1 ff5054cc7a fixing buttons on win98 2022-07-13 22:39:15 +02:00
Snakes 5005c7ab97 Center voting on submission_listing desktop. 2022-07-13 16:25:05 -04:00
Aevann1 1555a1061a fixing primary buttons on win98 theme 2022-07-13 22:21:45 +02:00
Aevann1 c4499968ad make pins toggle sort-specific 2022-07-13 21:32:28 +02:00
Aevann1 3554ae8e7c re-allow notifs on admigger threads 2022-07-13 21:21:13 +02:00
Aevann1 ff4f423c2c testing on deux 2022-07-13 21:17:17 +02:00
Aevann1 4dc3c2d416 testing on deux 2022-07-13 21:14:59 +02:00
Aevann1 b59b8e49a0 change deux cover 2022-07-13 21:09:57 +02:00
Aevann1 deb292a65d make unblock button look better 2022-07-13 20:50:10 +02:00
Aevann1 eba03c8173 fix "unblock" button 2022-07-13 20:49:47 +02:00
Aevann1 28119f1aa4 fix blocks 2022-07-13 20:48:04 +02:00
Aevann1 c514ef720b fix "api app" button v2 2022-07-13 20:45:03 +02:00
Aevann1 a081673458 fix api app button 2022-07-13 20:44:21 +02:00
Aevann1 f5bacd8938 Revert "log ppl into deux automatically"
This reverts commit 86f7e627ea.
2022-07-13 20:33:31 +02:00
Aevann1 cd94fa535f restore user count for PCM 2022-07-13 20:17:03 +02:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 86f7e627ea log ppl into deux automatically 2022-07-13 20:14:07 +02:00
Aevann1 5fb6bd86f9 remove "warm" sorting 2022-07-13 19:32:31 +02:00
Aevann1 b2de11cb1a add "pins" toggle to the frontpage 2022-07-13 19:31:35 +02:00
Aevann1 870ea381b8 fix 2fa 2022-07-13 19:07:59 +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 4a3693c1b3 fix transfer log links appearing on normal comments (lol) 2022-07-13 17:22:25 +02:00
Aevann1 f6bf7400c3 do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2298056?context=8#context 2022-07-13 17:20:10 +02:00
Aevann1 dde09890e1 make profile avatars neater on /log AND add toast when copying link 2022-07-13 17:19:36 +02:00
Aevann1 aa4ab5b217 sneed 2022-07-13 17:16:53 +02:00
Aevann1 df3df30840 fix 500 errors 2022-07-13 15:11:37 +02:00
Aevann1 2da7bea62b combine the 2 user counters for non-jannies 2022-07-13 15:08:21 +02:00
Aevann1 df096e7cc4 add #roll 2022-07-13 15:06:59 +02:00
Aevann1 706b8491fe Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-13 14:56:41 +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
Snakes 221a177790 Deduplicate userpage IDs desktop vs mobile. 2022-07-13 05:19:36 -04:00
Aevann1 16fd7310c1 replace "sub" with "HOLE_NAME" 2022-07-13 11:13:42 +02:00
Aevann1 05fb4168e4 hide user counter on other sites when num of users is under 100 2022-07-13 10:19:21 +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 a088a6ec7b censor slurs on flairs 2022-07-12 22:09:59 +02:00
Aevann1 75b2b62597 increase award columns number from 7 to 9 on desktop 2022-07-12 22:09:43 +02:00
Aevann1 093c83d7c9 tweaking bannedfor column 2022-07-12 22:00:19 +02:00
Aevann1 077353c1f4 hide ghost posts from post notifications 2022-07-12 21:42:23 +02:00
Aevann1 bc927ef238 remove editing sidebar from PCM 2022-07-12 21:32:34 +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 240ffdb675 Revert "move the icons to the headers on desktop"
This reverts commit 292207bd83.
2022-07-12 21:18:40 +02:00
Aevann1 afa2f68804 change pronouns required format from 1-5 to 2-5 2022-07-12 20:28:07 +02:00
Aevann1 7a484859da fix 500 error 2022-07-12 20:05:56 +02:00
Aevann1 7a80ceef59 fix PCM reddit mentions 2022-07-12 02:47:46 +02:00
Aevann1 b7b0b200ad move icons back to sidebar for PCM 2022-07-12 02:40:30 +02:00
Aevann1 334c5d449b change deux assets 2022-07-12 02:35:40 +02:00
Aevann1 5ed43762aa fix reddit notif spam 2022-07-12 00:55:40 +02:00
Aevann1 ffc8f28843 remove pronouns from other sites 2022-07-11 23:23:20 +02:00
Aevann1 f2e2e05958 don't collapse comment chains 2022-07-11 23:21:25 +02:00
Aevann1 e82dbd69ef tweak post-preview padding 2022-07-11 22:41:51 +02:00
Aevann1 fe4a37ceab increase pronoun padding 2022-07-11 22:22:26 +02:00
Aevann1 802952a555 relax slur filter on non-rdrama sites 2022-07-11 22:18:22 +02:00
Aevann1 7cf7725ef5 fix replying to modmail being broken 2022-07-11 22:15:48 +02:00
Aevann1 0ee6566c21 tweak spider exclusion 2022-07-11 20:43:44 +02:00
Aevann1 f8bf31a051 restrict pronouns to rdrama only 2022-07-11 20:32:38 +02:00
Aevann1 b8185d21d5 add regex validation to pronouns on the frontend 2022-07-11 20:31:38 +02:00
Aevann1 74cceb248b make pronouns bolder 2022-07-11 20:24:45 +02:00
Aevann1 ee11a28636 fix flag filtering 2022-07-11 20:13:00 +02:00
Aevann1 20a659da73 hide reports made by shadowbanned niggas 2022-07-11 20:04:35 +02:00
Aevann1 f8624dfc2c display pronouns on profiles 2022-07-11 20:04:24 +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 ae45b45bfb refactor json again 2022-07-11 19:33:26 +02:00
Aevann1 bc4074f9aa fix api 500 errors 2022-07-11 19:19:48 +02:00
Aevann1 b1db5a008b make small emojis 40px instead of 30px 2022-07-11 18:56:40 +02:00
Aevann1 292207bd83 move the icons to the headers on desktop 2022-07-11 18:53:33 +02: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 68ba0f564c do this https://watchpeopledie.co/h/meta/post/2750/what-would-u-like-to-see/29788?context=8#context 2022-07-11 15:18:05 +02:00
Aevann1 27b1ed83cc refactor json a little bit and fix https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context 2022-07-11 15:14:34 +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 a7c49ca69a don't embed comments as posts 2022-07-11 13:55:15 +02:00
Aevann1 e3ca369392 fix the id of the first user 2022-07-11 12:19:43 +02:00
Aevann1 0f5b04ad7a dont surprise new users on rdrama with 835 notifications 2022-07-11 12:04:13 +02:00
Aevann1 a9e355c804 sneed 2022-07-11 11:52:59 +02:00
Aevann1 dc3dcc881f change cover for deux 2022-07-10 22:35:32 +02:00
Aevann1 4c2cb82f48 change deux' assets 2022-07-10 22:27:56 +02:00
Aevann1 386bfbb690 rename removing posts from holes to "kick" 2022-07-10 20:13:21 +02:00
Aevann1 3e0a4fe015 fix old mp3 songs being displayed as youtube links 2022-07-10 18:35:39 +02:00
Aevann1 9c3976a622 make new users follow carp automatically v2 2022-07-10 18:23:32 +02:00
Aevann1 d3b15e2b8a make new users follow carp automatically on rdrama 2022-07-10 18:13:16 +02:00
Aevann1 fecaed8223 fix mp3 songs getting cached 2022-07-10 17:43:27 +02:00
Aevann1 a26f2656aa remove unnecessary hole links from WPD 2022-07-10 16:46:29 +02:00
Aevann1 2ddbcaa254 change agendaposter phrase for chudrama 2022-07-10 16:37:05 +02:00
Aevann1 4e6c7fe683 don't notify on drafts 2022-07-10 16:34:11 +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 0b7a5208e9 fix reddit mention bugs 2022-07-10 16:09:41 +02:00
Aevann1 9ea0f46250 tweaking offsite mentions a little 2022-07-10 15:02:24 +02:00
Aevann1 3cd0878d0a fix redirect bug 2022-07-10 14:09:03 +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 0ebd721884 fix WPD sorting 2022-07-10 12:07:11 +02:00
Aevann1 79ba533351 change donation link for chudrama 2022-07-10 11:48:28 +02:00
Aevann1 da40122a5c change chudrama banner 2022-07-10 11:44:30 +02:00
Aevann1 e65b86cbfc change banners for chudrama 2022-07-10 11:43:03 +02:00
Aevann1 870a0f7084 fix 500 errors 2022-07-10 11:32:53 +02:00
Aevann1 4d987c8d87 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-10 11:29:57 +02:00
Aevann1 c214d4b7cc change sorting logic for WPD 2022-07-10 11:29:55 +02:00
Snakes 759a877b33 LGB: Enable sidebar art. 2022-07-09 21:42:25 -04:00
Aevann1 7ccd3a79b7 fix ">" after badges 2022-07-09 21:26:35 +02:00
Aevann1 ef2d0b9a5b make deleted comment background take presedence 2022-07-09 17:20:47 +02:00
Aevann1 79824227de Revert "Revert "Revert "try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context"""
This reverts commit 95194359fa.
2022-07-09 14:21:28 +00:00
Aevann1 95194359fa Revert "Revert "try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context""
This reverts commit 5dcd678193.
2022-07-09 15:29:00 +02:00
Snakes 85d59d5656 LGB: Populate sidebar. 2022-07-09 08:51:08 -04:00
Aevann1 b9bc2968cf Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-09 14:02:24 +02:00
Aevann1 5dcd678193 Revert "try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context"
This reverts commit f166522b26.
2022-07-09 14:02:21 +02:00
Snakes 095b0229a2 LGB: Rename holes; make hole sidebar Drama-like. 2022-07-09 08:01:44 -04:00
Aevann1 f166522b26 try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context 2022-07-09 13:19:15 +02: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 bf386fa9fe LGB: Add directory. 2022-07-09 07:11:05 -04:00
Snakes fde2d5ca11 LGB: Use static default pfp. 2022-07-09 07:11:05 -04:00
Aevann1 d572941971 fix 500 error 2022-07-09 13:08:23 +02:00
Aevann1 f3fbb5c743 sneed 2022-07-09 13:07:43 +02:00
Aevann1 8590456eaa Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-09 12:32:52 +02:00
Aevann1 ec3b4357cf refactor sorting and time filter 2022-07-09 12:32:49 +02:00
Snakes 0fbb102929 Propagate shadows to new alts on signup. 2022-07-09 05:25:15 -04:00
Aevann1 3238a78eb1 fix confetti award 2022-07-09 10:42:09 +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
Aevann1 55abb8bd72 fix button highlighting in search 2022-07-09 09:43:36 +02:00
Aevann1 99f0cb7742 strip embed_url 2022-07-09 09:41:05 +02:00
Aevann1 56b7fa8e98 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-09 09:23:28 +02:00
Aevann1 4093eba7d0 fix notifications link on mobile 2022-07-09 09:23:25 +02:00
Snakes 02e096e5af LGB: add custom emoji list. 2022-07-09 00:32:48 -04:00
Snakes 3416ed76e4 Increase rate-limit on /del_report/. 2022-07-08 20:46:44 -04:00
Snakes 13dfa370b1 PCM: swap banner to Summer 2022 v2. 2022-07-08 16:46:35 -04:00
Aevann1 38f6a6f81d remove special timefilter condition for "bump" sorting 2022-07-08 21:49:27 +02:00
Aevann1 a1fbe62c88 make the "clear notifgications" button universal 2022-07-08 21:45:38 +02:00
Aevann1 683c9c7bdd fix lingering notifications 2022-07-08 21:42:40 +02:00
Aevann1 c912c4c9d1 tweak notifications margin 2022-07-08 21:35:15 +02:00
Aevann1 f298d134ac make "clear all notifications" button also clear post notifs 2022-07-08 21:33:26 +02:00
Aevann1 6deb1cf0a4 add bottom margin to "clear all notifiications" button 2022-07-08 21:30:13 +02:00
Aevann1 65a98cd9fc dont show notifications for posts the user himself makes in a hole they follow 2022-07-08 21:14:04 +02:00
Aevann1 19ee55d27c fix post notifications not being visible 2022-07-08 21:11:56 +02:00
Aevann1 939861e1a0 fix 500 error 2022-07-08 21:10:01 +02: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 a64736d9fb get voting status on posts in /notifications/posts 2022-07-08 20:28:27 +02:00
Aevann1 9abd2cc508 dont show deleted and removed posts in /notifications/posts 2022-07-08 20:27:42 +02:00
Aevann1 ea3d7997c8 fix 500 error 2022-07-08 20:13:18 +02:00
Aevann1 14d2845f93 Revert "Disable fartmode on non-rDrama sites."
This reverts commit da27b16c39.
2022-07-08 20:10:42 +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 83a931343e uncomment rss feed 2022-07-08 18:21:20 +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 c01a1ea08b cache bust badges 2022-07-08 17:11:59 +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 a4b2a69689 make "more comments" button work on the whole chain 2022-07-08 14:19:35 +02:00
Aevann1 18385f80a1 make snappy only comment on drafts when they're published 2022-07-08 13:44:17 +02:00
Aevann1 461e822314 change style of tables in midnight theme 2022-07-08 13:20:55 +02:00
Aevann1 f350a681d9 remove weird space before "admin tools" 2022-07-08 13:15:25 +02:00
Aevann1 b9d6f796a3 return 404 on shadowbanned comments when linking to them 2022-07-08 13:13:59 +02:00
Aevann1 747ccf5dab don't count deleted posts and comments 2022-07-08 13:07:27 +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 a3f94a77f3 Fix comment /votes/ 500 when no upvoters. 2022-07-07 19:53:28 -04:00
Snakes c25ab027a0 Add link to new canary location. 2022-07-07 03:31:32 -04:00
Aevann1 278ec3dab4 Revert "make "text-danger" less hostile on the eyes"
This reverts commit 0371ee6c7c.
2022-07-07 07:29:18 +02:00
Aevann1 887d521f4a Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-07 07:14:41 +02:00
Aevann1 7cd1e4bf8f give chadmins marseybux 2022-07-07 07:14:39 +02: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 742a3698ea fix my vote being above OP's vote 2022-07-06 13:00:28 +02:00
Aevann1 4057711c83 Revert "remove all joinedload bullshit I added"
This reverts commit c8d5eb0f57.
2022-07-06 12:58:44 +02:00
Aevann1 364c8eca4f Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-06 12:56:43 +02:00
Aevann1 05b70969e5 trying to fix WPD's issue 2022-07-06 12:56:39 +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
Snakes bf1a983f5e PCM: swap banner asset. 2022-07-05 15:23:42 -04:00
Snakes fa850ba69a PCM: swap banner; fix asset_siteimg logic. 2022-07-04 18:40:04 -04:00
Snakes 425e6860ac Remove vestigial email field from /contact. 2022-07-04 15:33:05 -04:00
Snakes 95f9fbfab1 Add searching for "exact phrases" to search. 2022-07-04 04:19:41 -04:00
Aevann1 67dff25a5a fix previous commit 2022-07-04 09:05:14 +02:00
Aevann1 c8d5eb0f57 remove all joinedload bullshit I added 2022-07-04 09:04:14 +02:00
Aevann1 82821a16c2 tweak my autoupvoting shit 2022-07-04 07:42:46 +02:00
Aevann1 09be0394cd fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2244925?context=8#context 2022-07-04 06:07:51 +02:00
Aevann1 6ba9c6b796 Revert "add bootstrap tooltips to gif modal"
This reverts commit 93173cb74a.
2022-07-04 05:55:48 +02:00
Aevann1 93173cb74a add bootstrap tooltips to gif modal 2022-07-04 05:53:53 +02:00
Aevann1 3356504b78 sneed 2022-07-04 05:50:01 +02:00
Aevann1 037d41f5d5 fix /sidebar page not visible on mobile 2022-07-04 05:48:02 +02:00
Aevann1 1136683a14 actually fix the followers pages 2022-07-04 05:41:44 +02:00
Aevann1 4ccead8439 Revert "refactor "view more comments""
This reverts commit 68da93ec02.
2022-07-04 05:37:48 +02:00
Aevann1 d517baebdc Revert "make "view more" button neater"
This reverts commit cae656186a.
2022-07-04 05:35:10 +02:00
Aevann1 b55d17859e Revert "make the timeout 2 seconds for the button"
This reverts commit c222d36366.
2022-07-04 05:35:00 +02:00
Aevann1 63ae3c8ad7 fix emoji preview 2022-07-04 05:13:53 +02:00
Aevann1 1115c1a574 fix reddit domain replacement 2022-07-04 05:08:33 +02:00
Aevann1 1528d91ea3 fix quoting comments 2022-07-04 05:06:43 +02:00
Aevann1 2f2d858f24 fix first part of this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2242248?context=8#context 2022-07-04 05:03:10 +02:00
Aevann1 9d0b53ad54 fix /followers and /following being empty 2022-07-04 04:59:24 +02:00
Aevann1 ed02d7572a rename "frontpage" to "main feed" in move_hole mod action 2022-07-04 04:54:03 +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 72013dcb43 fix 500 error 2022-07-04 03:05:26 +02:00
Aevann1 978c3eb880 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2242521?context=8#context 2022-07-04 03:04:33 +02:00
Snakes 35ff2d1f25 Fix preview of user pats with -_ in name. 2022-07-03 20:12:22 -04:00
Snakes 5407f4ed7f Lottershe icon back to navbar. 2022-07-03 14:33:31 -04:00
Snakes 9e1a3be278 Fix DMs improperly treating all users as blocked.
The changes to helpers/get.py @ get_user(...) in a6b7fed2fc resulted
in `is_blocking` no longer being present on all User objects retrieved
via `get_user`. This triggered a latent identifier shadow where the
property method `User.is_blocking` on the User model caused checks for
blocks on objects retrieved via `get_user` to always return True.

Notably: when the get_user return value left `is_blocking` unset and
thus implied False, the following expression yielded True due to the
presence of the first-class function at the same identifier:

    hasattr(user, 'is_blocking') and user.is_blocking
2022-07-03 13:55:25 -04:00
Snakes ed42f14a77 Fix frontlist failing on pin expiry.
Proximate cause of 500 error on frontpage is that `Query` has no
such method `remove(...)`. Merely removing the line can't guarantee
identical logic, but I'm not quite clear if explicit removal from the
Query pseudo-collection is necessary, or if the final `pins` variable
after `Query.all()` will be appropriately filtered. It appears to
work right in practice, and the risk of expired pins persisting for
one extra pageload for only one user seems relatively minor.
2022-07-03 13:04:13 -04: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 9607cb7a55 fix 500 error 2022-07-03 13:58:46 +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 b1bfa255bb make flairs on WPD actually readable 2022-07-03 12:23:12 +02:00
Aevann1 eef026be1e don't query comments we won't use 2022-07-03 12:20:43 +02:00
Aevann1 c222d36366 make the timeout 2 seconds for the button 2022-07-03 12:15:55 +02:00
Aevann1 cae656186a make "view more" button neater 2022-07-03 12:15:15 +02:00
Aevann1 57e424af5b revert the "defer" thing 2022-07-03 12:10:04 +02:00
Aevann1 dc675fb23f fix showing new comments 2022-07-03 12:09:00 +02:00
Aevann1 cda162704e fix nav fontsize in userpage_comments 2022-07-03 12:05:27 +02:00
Aevann1 68da93ec02 refactor "view more comments" 2022-07-03 11:11:18 +02:00
Aevann1 45437997c8 show log timestamp in local timezone 2022-07-03 10:38:19 +02:00
Aevann1 c8a83b6b1f fix timestamps on profile page 2022-07-03 10:19:49 +02:00
Aevann1 6c8bcc0bda fix long emojis 2022-07-03 10:00:42 +02:00
Aevann1 a49325ba14 defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost) 2022-07-03 09:42:33 +02:00
Aevann1 3245656787 show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
Aevann1 40182f5f4d show the body of the poll option in the vote page 2022-07-03 08:38:43 +02:00
Aevann1 47cf14c741 decrease the font on "saved posts" "saved comments" etc 2022-07-03 08:36:49 +02:00
Aevann1 f79fb803ae fix 500 error 2022-07-03 08:16:26 +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 367348c8b2 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-03 05:42:24 +02:00
Aevann1 076fad1108 fix 403 errors on unrelated text 2022-07-03 05:42:15 +02:00
Snakes cd43f314ba Fix profile nav wrapping mobile. 2022-07-02 23:40:45 -04:00
Aevann1 6c5b5a5314 add a "subscribed" tab in ur profile page to show posts u subscribed to 2022-07-03 04:43:49 +02:00
Aevann1 ab2d9b492d add "warm" sorting - exact same as hot but pinned posts are shown in their normal positions instead of the top 2022-07-03 04:40:57 +02:00
Aevann1 e121523a42 fix accidential greentext in reddit mentions 2022-07-03 04:13:25 +02:00
Aevann1 a8c4c7bcc5 order child comments by upvotes 2022-07-03 04:10:02 +02:00
Aevann1 3bfe9e984b don't allow URLs with '\\' in them 2022-07-03 04:03:40 +02:00
Aevann1 32a35c7066 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-03 04:00:32 +02:00
Aevann1 587b864e0a re-enable pins 2022-07-03 04:00:29 +02:00
Snakes 33815d8365 Add badge for Checkmark award users. 2022-07-02 21:34:32 -04:00