forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

8074 Commits (dedbc0296898d27c1c3961d5a3ab428d3bf13299)

Author SHA1 Message Date
Snakes d5d221e773 Fix layout with both card and catalog view. 2022-06-21 16:06:08 -04:00
Snakes 5609a96e05 Fix info leak of removed & deleted via post embeds.
Embedded local posts (posts which link to posts on the same site)
embed the linked post using submission_listing.html via
helpers/jinja2:post_embed. This suffered from much the same issue
recently fixed in submission.html through the addition of
`v_forbid_deleted` in the template before outputting privileged
information. A similar fix has been applied to submission_listing.

Unfortunately, this is not the most elegant fix. Surely this would be
better resolved more centrally in the submission model. However, I am
not clear at present about the precise interaction between deletion,
removal, and realbody & realurl in all of the different places they
are used. This commit fixes the problem, but it also highlights a
potential future refactoring target.
2022-06-21 02:38:18 -04:00
Snakes e2cd25db67 WPD: limit hole creation to JL2+. 2022-06-21 01:20:21 -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
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 dee8eb5154 Replace loading.webp with new marseyloading. 2022-06-19 22:15:33 -04:00
Aevann1 b5df4bca40 make expanded images' size be at least 50% of window width 2022-06-20 00:46:36 +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 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 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 26686a65ec Finish adding admin home cards. 2022-06-19 04:55:44 -04:00
gooseman cde860da55 update admin panel with snakes template thing 2022-06-19 00:18:14 -07:00
Aevann1 8eaacff14b switch "chaptraphouse.club" with "rdrama.lol" 2022-06-18 18:32:43 +02:00
Aevann1 b017dedd24 fix bug in image preview in /submit 2022-06-18 18:20:36 +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 8d83c6944b readjust ricardo3 2022-06-18 15:27:04 +02:00
Aevann1 31b0bd5b68 readjuct ricardo3 again 2022-06-18 15:22:03 +02:00
Aevann1 088e98ed1b readjuct ricardo3 2022-06-18 15:21:03 +02:00
Aevann1 89a85a8ec0 remove weird trailing tabs 2022-06-18 04:13:55 +02:00
Aevann1 7387616100 move all of wholesome award to translate 2022-06-18 04:11:27 +02:00
Aevann1 76ac00f04b convert 1 part of wholesome award on inferior browsers to translate + clean up awards.css 2022-06-18 03:53:25 +02:00
Aevann1 c609e98ba5 move ricardo from top-left to translate 2022-06-18 03:39:50 +02:00
Aevann1 c42cb538aa add a button for PCM to print marseybux 2022-06-18 02:35:27 +02:00
Aevann1 82cede6e1a more gif modal bullshit 2022-06-18 01:57:02 +02:00
Aevann1 8c137fef2b verify cloudflare 2022-06-18 01:22:56 +02:00
Aevann1 0b0e3454f8 Fix replacement of link with itself (stolen from themotte) 2022-06-18 00:10:19 +02:00
Aevann1 17144cd98e Added mentions to the markdown preview (stolen from themotte) 2022-06-17 22:42:31 +02:00
Aevann1 65d9209568 increment css in assetcache.html 2022-06-16 17:57:25 +02:00
Aevann1 99910591c5 fix this https://i.imgur.com/rBomhtq.png 2022-06-16 17:36:01 +02:00
Aevann1 d4260138f5 Revert "de-nerf tilt award on mobile"
This reverts commit 3985a58815.
2022-06-16 14:37:23 +02:00
Aevann1 59456fc895 Revert "fuck you, use a real browser"
This reverts commit 6ecca70924.
2022-06-16 02:31:14 +02:00
Aevann1 6ecca70924 fuck you, use a real browser 2022-06-16 01:56:24 +02: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 aea7e0b83a Exclude golden Marseys from animations flag.
Fixes: https://rdrama.net/post/18459/-/2128499?context=8#context
2022-06-15 16:40:30 -04:00
Aevann1 ef00f31831 trying to fix a bug with old image embeds 2022-06-15 22:23:22 +02:00
Aevann1 cd5f8a528b in the preview, dont replace '\n' with '\n\n' if the text
has "```" or "<pre>" (to match backend behavior)
2022-06-15 22:12:03 +02:00
Aevann1 d32a3774a6 fix bug where user banner sometimes wasn't shown on mobile 2022-06-15 20:29:54 +02:00
Aevann1 3985a58815 de-nerf tilt award on mobile 2022-06-15 19:05:04 +02:00
Aevann1 d8ee822082 stop rules from being hidden for mobilecels in hamborger menu 2022-06-15 18:32:45 +02:00