Commit Graph

12821 Commits (e2cd25db671e276101a73c83d3c23bd14f0aef21)

Author SHA1 Message Date
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
Snakes 6c00330042 Fix markdown ordered lists breaking after index.
Previously, Markdown ordered lists in user content (in posts,
comments, previews, etc) would display like this:

    1.
    Foo bar baz.

This is because sanitize populates them as <li><p>Foo bar baz.</p></li>
Rather than mess with the Markdown engine and still not have backwards
compatibility, this has been solved in the frontend using CSS to force
the <p> to display inline.
2022-06-20 20:45:05 -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 35720c0a63 Include holed post edit in mobile admin actions. 2022-06-20 11:58:58 -04:00
Snakes e212eb567d Exclude comments on drafts from edit limit.
Draft posts have already been excluded from the edit time limit for
obvious reasons--drafts are intended to be edited, and people use them
as personal megathreads on their profiles. Largely for the latter
use case, this commit also excludes comments on drafts from the limit.
2022-06-20 07:39:45 -04:00
Snakes dee8eb5154 Replace loading.webp with new marseyloading. 2022-06-19 22:15:33 -04:00
Aevann1 c91f09b83f put author username in mod action notifs 2022-06-20 01:08:21 +02:00
Aevann1 b5df4bca40 make expanded images' size be at least 50% of window width 2022-06-20 00:46:36 +02:00
Aevann1 ccd4dfa6ee fix my upsoren being added before OP's upsoren 2022-06-19 23:40:07 +02:00
Aevann1 17c7529977 add ceiling to link boost 2022-06-19 23:38:25 +02: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 3f96a1c310 increase assetcache 2022-06-19 21:10:19 +02:00
Aevann1 0744a91a2f fix greentexting on 4chan theme 2022-06-19 21:06:54 +02:00
Aevann1 f77a7b7cfc fixed double quoting and triple quoting, etc 2022-06-19 20:21:25 +02:00
Aevann1 fa2681c886 fix for fae784336 2022-06-19 19:49:22 +02:00
Aevann1 d7de4f923a fix for 96163b17bb 2022-06-19 19:46:24 +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 3eb788103c allow only ascii characters in links (https://rdrama.net/comment/2150032) 2022-06-19 19:25:55 +02:00
Aevann1 14ffb39ba6 increase edit_comment ratelimit 2022-06-19 19:16:18 +02:00
Aevann1 d9cdbd0015 return to only allowing images/videos/audio 2022-06-19 18:56:45 +02:00
Aevann1 64b384fb42 put greentext in formatting 2022-06-19 18:27:23 +02:00
Aevann1 5ddde69ac9 greentext fix 2022-06-19 17:22:06 +02:00
Aevann1 c02f835708 add greentext to preview 2022-06-19 17:10:38 +02:00
Aevann1 45b1b61760 added greentext 2022-06-19 17:05:50 +02:00
Aevann1 bb1d3677c5 fix this https://i.imgur.com/6A9Rgkt.png 2022-06-19 16:55:10 +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
Aevann1 b4b411e52a Revert "update admin panel with snakes template thing"
This reverts commit cde860da55.
2022-06-19 14:34:10 +02:00
Aevann1 13a6fc8871 Revert "Finish adding admin home cards."
This reverts commit 26686a65ec.
2022-06-19 14:33:51 +02:00
Snakes 612fd44298 Fix cli.py running in wrong working directory.
Previously, cli.py ran in <repo-root>/files. However, our relative
paths assume the working directory is <repo-root>. This resulted in
sanitize.render_emoji L153 to improperly return false when checking
for the presence of 'files/assets/images/emojis/{emoji}.webp',
leading to emojis in notifications sent by cli.py-invoked tasks to
not be rendered to HTML.
2022-06-19 05:28:07 -04:00
Snakes 26686a65ec Finish adding admin home cards. 2022-06-19 04:55:44 -04:00
gooseman 1559cdfc1e Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-06-19 00:18:24 -07:00
gooseman cde860da55 update admin panel with snakes template thing 2022-06-19 00:18:14 -07:00
Snakes eb8b85eb09 Exclude drafts from edit limit. 2022-06-19 02:10:37 -04: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 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 193615a441 make sure thumbnails are always lower than 8 MB 2022-06-18 23:11:53 +02: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 dc8f230ae4 fix 500 error 2022-06-18 22:11:50 +02:00
Aevann1 dde19f7d85 fix 500 error related to variables 2022-06-18 19:50:03 +02:00
Aevann1 5520447d55 make modmail messages use the files refactor 2022-06-18 19:41:24 +02:00
Aevann1 8eaacff14b switch "chaptraphouse.club" with "rdrama.lol" 2022-06-18 18:32:43 +02:00