Commit Graph

997 Commits (152d39ce6c195b6fe3981ecbb8e695b8675d095a)

Author SHA1 Message Date
Aevann1 8ecb4582d0 refactor sorting comments 2022-06-22 21:50:20 +02:00
Aevann1 91d7725997 make me autoupvote posts in slackernews 2022-06-22 18:28:59 +02:00
Aevann1 838afa93e8 stop my autoupvote 2022-06-21 16:34:50 +02:00
Aevann1 ccd4dfa6ee fix my upsoren being added before OP's upsoren 2022-06-19 23:40:07 +02:00
Aevann1 fa2681c886 fix for fae784336 2022-06-19 19:49:22 +02:00
Aevann1 17c3fe9e4c make me auto-upvote all posts in holes 2022-06-19 19:45:48 +02:00
Aevann1 96163b17bb fix bug that made ppl unable to post images 2022-06-19 19:31:59 +02:00
Aevann1 d9cdbd0015 return to only allowing images/videos/audio 2022-06-19 18:56:45 +02:00
Snakes eb8b85eb09 Exclude drafts from edit limit. 2022-06-19 02:10:37 -04:00
Aevann1 214d863ff3 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-19 01:55:47 +02:00
Aevann1 f1f30635b2 hide deleted posts and comments from userpages (frequently requested) 2022-06-19 01:55:45 +02:00
Snakes 27b6055d6e Exclude JL3 from edit_post limit (megathreads &c). 2022-06-18 18:24:59 -04:00
Aevann1 668cfdc90a made it not possible to edit posts/comments older than a week 2022-06-18 22:53:10 +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 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
Snakes 131ae3027b Content: Snappy Christian /h/truth. 2022-06-13 20:43:56 -04:00
Aevann1 cec1994ff7 ppl with code contributor badge can now make "(changelog)" posts 2022-06-13 23:41:29 +02:00
Aevann1 53a8818f80 fix snappy gambling 2022-06-13 19:30:04 +02:00
Snakes acde2c856b Enable JL2 viewing shadowbanned comments. 2022-06-12 05:48:27 -04:00
Aevann1 a082105ab8 remove weird trailing tabs 2022-06-11 11:56:16 +02:00
Aevann1 c0da5ed7d9 make twitter links have "nofollow noopener norefeerrer" 2022-06-11 11:53:53 +02:00
Aevann1 654ddc4157 re-refactor normalize_url 2022-06-10 22:02:15 +02:00
Aevann1 abae90fbfd fixed bug with snappy gambling 2022-06-10 16:44:30 +02:00
Snakes dc7f13304e Add following holes for notifications. 2022-06-09 16:24:24 -04:00
Aevann1 c100ed415c increase edit_post ratelimit so it doesnt fuck with drafts 2022-06-09 20:09:18 +02:00
Aevann1 63c16a867a make the ratelimit for editing much lower to cut
down on mass overwriting
2022-06-09 18:10:25 +02:00
Aevann1 cea253a52c don't notify me anymore of carp posts 2022-06-09 15:29:13 +02:00
Snakes 995375decc Refactor reddit mentions, move to cron.
The reddit mentions system contained much duplicated code and was
grafted onto the post thumbnail pipeline to achieve semi-regular
invocation. Instead, we now run it through the new cron system,
and the duplicate code has been refactored out.
2022-06-07 10:42:24 -04:00
Snakes 843ff51ace Make post rate limit site-specific. 2022-06-02 22:10:59 -04:00
Snakes e32a4bda48 Add set/unset nsfw on comment to modlog. 2022-05-30 08:00:16 -04:00
Aevann1 e5dbc9bfdd made it so ALL comments on ghosted posts are ghosted too, this includes the hidden poll comments
that way, the poll voters will be hidden and we can have anonymous polls

context: https://rdrama.net/votes?link=t3_2007526
2022-05-30 05:26:52 +02:00
Aevann1 4e5f7935dd dfs 2022-05-28 02:30:07 +02:00
Aevann1 384afb125a fsd 2022-05-27 17:28:30 +02:00
Aevann1 66b3efab36 award refactor 2022-05-27 01:08:23 +02:00
Aevann1 c5ace85f9b fsd 2022-05-26 17:57:24 +02:00
Aevann1 195148da1e sfd 2022-05-25 21:45:34 +02:00
Aevann1 94151bf2d6 fsd 2022-05-25 21:45:03 +02:00
Aevann1 386db76c10 crgd is a king 2022-05-25 20:29:22 +02:00
Snakes 1c7458e111 Sanitize: modularize normalize_url, fix streamable.
Originally prompted by https://rdrama.net/post/18459/-/1984609 which
noticed that streamable.com/e/ links as posts would have another e/
added to them. This was in spite of logic in posts.py api_is_repost
and submit_post designed to specifically counteract this.
Proximal cause was a copypasta'd url.replace(...) chain which
caused the mistake before the streamable-specific logic had a chance
to avoid making it.

Solution: remove the streamable replacement from the chained statement
and create `helpers.normalize_url(url)` to get rid of the copypasta.
2022-05-25 04:43:16 -04:00
Aevann1 0bd15d3914 burgers? 2022-05-23 21:00:14 +02:00
Aevann1 0a74a98ec5 big ass commit 2022-05-23 00:15:29 +02:00
Aevann1 969d1898b5 vid refactor 2022-05-22 18:13:19 +02:00
Aevann1 0af46237f6 stripper 2022-05-22 12:26:59 +02:00
Snakes 23d93b2f19 Fix Snappy post pinning condition.
Recently, caa81452f4 relaxed the condition for Snappy pinning a post
from `body.startswith(':#marseypin:')` to the same sans trailing colon.
I believe this was intended to allow :marseypin2: to also lead to post
pinning. However, the amusing, though incorrect, side effect is that
:marseypinkcat: and :marseypinochet: can now also lead to Snappy pins.
This has been remedied by explicitly defining the two conditions we
want rather than hoping all :marseypin [sic] are about pinning.
2022-05-22 00:36:45 -04:00
Aevann1 db3ed7961f idk 2022-05-19 20:36:26 +02:00
Aevann1 ef0046f091 fsd 2022-05-18 21:29:07 +02:00
Aevann1 caa81452f4 sf 2022-05-13 14:38:14 +02:00