forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

867 Commits (d783bc89013638e26f62ce73b93f322dd07e66b0)

Author SHA1 Message Date
Snakes 1d500917ad Improve header currency display style. 2022-06-27 00:09:32 -04:00
Aevann1 b5d993569f embed rework 2022-06-27 03:00:45 +02:00
Aevann1 b124afb60f make CTRL+ENTER possible with gifting 2022-06-27 00:27:41 +02:00
Aevann1 e022b29ef6 rework custom css a little 2022-06-26 07:26:45 +02:00
Aevann1 74978bfbf7 Revert "put custom CSS into HTML templates"
This reverts commit 19c82b7ea1.
2022-06-26 07:07:28 +02:00
Aevann1 19c82b7ea1 put custom CSS into HTML templates 2022-06-26 06:33:41 +02:00
Aevann1 55ebd98f40 add confirmation dialog when u close tab while text is in commentbox/messagebox 2022-06-25 00:58:15 +02:00
Aevann1 ef3843f628 add timer to re-enable form buttons after 1 second 2022-06-24 04:53:31 +02:00
Aevann1 4fc8520e24 remove post_toast2() and post_toast3() and incorporate them into post_toast() 2022-06-24 01:07:47 +02:00
Aevann1 4d692bebe8 make all form-submitting buttons get disabled after clicking
so spergs like me with poor motor control don't click twice and get hit with 429
2022-06-23 22:49:23 +02:00
Aevann1 d704592bdd cache-bust all previously broken images 2022-06-22 17:59:47 +02:00
Aevann1 20585ca543 add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes) 2022-06-22 17:51:19 +02:00
Snakes f6b6997f61 Persist activity timestamp to users. 2022-06-20 16:25:03 -04: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
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
Snakes f04c3d6cdd Asst'd mobile CSS & markup fixes.
Kitchen sink commit of semi-related things:
  - `#profile--bio a` tags didn't properly wrap on mobile with some
    browsers. Changing overflow-wrap may fix this.
  - Userpage markup for mobile tried to place profile_bio inside a
    <p> tag. Nesting paragraphs is invalid HTML. It has been made a
    <div> to match desktop and even nearby sections on mobile.
  - Fedi icon in mobile dropdown had the wrong classes, which broke
    consistent styling with its neighbors.
  - fa-square-share-nodes improperly wound up with the fa-share-nodes
    character code when committed.
2022-06-15 05:59:27 -04:00
Aevann1 8f72407f84 show the party hat in the header too 2022-06-13 19:46:40 +02:00
Aevann1 8a5d2ad9f8 tinker with image heights a little 2022-06-13 19:00:50 +02:00
Aevann1 fdbc2d2f2c make user banners expand in the same page (like hole banners) 2022-06-13 18:57:44 +02:00
Aevann1 cda275c194 replace \n with \n\n in previews (to match the backend behavior) 2022-06-10 21:45:48 +02:00
Snakes 5a5a0f6bd1 Swap badge 139 asset to rescale. 2022-06-08 01:29:12 -04:00
Aevann1 4a1e6cc726 a 500 error is much better than an XSS, bro 2022-06-07 12:03:51 +02:00
Snakes 1d49012c16 Revise 16587cdf7cf5, expand assetcache.
Assetcache: now supports js/userpage.js & js/userpage_v.js.
The three userpage*.html templates now implement it.

Revising gift messages 16587cdf7cf5:
  - routes/users.py: Deduplicate code, more descriptive var name.
  - templates/userpage.html: Move post-tax gift line below reasons
    box. Ultimately just an aesthetic change.
2022-06-01 00:11:23 -04:00
Ubuntu 453d5f57a3 added a gift message to go with coin and bux transfers 2022-06-01 00:10:33 -04:00
Snakes b63e7c3d36 Cachebust badge images. 2022-05-31 13:07:08 -04:00
Aevann1 5745f73f6c removed leftover meme janny shit 2022-05-30 05:40:39 +02:00
Aevann1 aff30db1fe make sure the post/comment for which someone was banned is linked everywhere (for convenience) 2022-05-30 04:55:51 +02:00
Aevann1 3e472c74e0 Removed "make admin" on rdrama.net 2022-05-29 20:36:51 +02:00
Aevann1 851eff0f18 sdf 2022-05-28 19:50:48 +02:00
Aevann1 2595706b49 fsd 2022-05-26 20:36:37 +02:00
Aevann1 163267c88c Revert "Add Y'all Seein' Eye award."
This reverts commit a0f441a67d.
2022-05-26 02:51:42 +02:00
Snakes a0f441a67d Add Y'all Seein' Eye award.
Adds award to enable viewing profile visitors for non-mops and
non-patrons. This commit should encompass all frontend, backend, and
database changes necessary. Perhaps usable as a model for other
user upgrade flag awards.
2022-05-25 19:44:34 -04:00
Snakes 3a2c16a696 Userpage: fix display-none on own profile in 8a400a209b.
With the changes in 8a400a209b, a bug was accidentally introduced
which resulted in one's own profile being wrapped in a `display: none;`
block due to a template conditional which caused the mobile
<div id="profile--actionbtns"> to not be closed when v.id != u.id
(cf. userpage.html circa L489).

Because the current conditional structure makes it hard to add an
analogous profile--actionbtns div to mobile, it has been removed.
2022-05-25 03:55:09 -04:00
Snakes 8a400a209b Userpage: add id attributes to profile markup. 2022-05-25 03:18:42 -04:00
Snakes cc75375c82 Un-deploy Birthgay event.
Removes temporary changes for the Birthgay 2022 event, ending
approximately at 2022-05-23 0600Z. Changes:
 - Double XP disabled.
 - Lootboxes disabled.
 - Three event awards given real descriptions and colors.
 - Partyhats: restored to cakeday-only condition and tooltip.
 - Header UI: balloons removed, text visibility outline removed,
   journoid banner reverted, marseyjam as header icon.
 - Birthgay banners: removed from template, moved to new storage dir.

Confetti, though remaining as a permanent award, has been temporarily
removed pending a less performance-intensive implementation and one
that doesn't require maintaining a third-party package in the codebase.
2022-05-23 01:48:25 -04:00
Aevann1 b9316c0073 fsd 2022-05-21 15:19:02 +02:00
Snakes 6fbaf2f15f Partially revert: cb1bb4e43b, 2737a6ca47.
cb1bb4e43b40: Server cleaned out schema.sql for some reason and
it was autocommitted by the sneed cron. This is why the tests fail.

2737a6ca479b: Originally pulled from themotte/rDrama @ 309bf44f12ba.
In light of the fact this is breaking comment previews right now and
the actual XSS threat is unclear, given we sanitize serverside,
this is reverted until I find time to look at it.
2022-05-20 19:15:44 -04:00
Aevann1 2737a6ca47 sfd 2022-05-20 23:41:08 +02:00
Aevann1 0eb39b987c 2022-05-20 00:24:34 +02:00
Aevann1 3491c9187d pls review 2022-05-17 21:58:41 +02:00
Aevann1 9bd8fcbd1c sf 2022-05-10 09:20:49 +02:00
Aevann1 c0461f4554 fdsdf 2022-05-09 14:13:38 +02:00
Aevann1 bf683cf5a2 vxc 2022-05-07 11:23:13 +02:00
Aevann1 036e61110a sfd 2022-05-07 09:12:59 +02:00
Aevann1 6d95bf04b8 fsd 2022-05-07 09:10:38 +02:00
Aevann1 c06a3b9771 fds 2022-05-07 09:10:18 +02:00
Aevann1 8a5fd22034 sfd 2022-05-07 09:09:46 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 bc2a20cd4b sfd 2022-05-01 23:44:38 +02:00
Aevann1 0f05bf3f94 fsd 2022-04-26 00:28:20 +02:00
Aevann1 e391ef7a29 fds 2022-04-22 21:22:11 +02:00
Aevann1 24c2c52fe4 fds 2022-04-15 18:58:02 +02:00
Aevann1 71bb0385cf fds 2022-04-15 18:57:41 +02:00
bAWario 8c25a48d0c Glowiefied Checkmark (#226)
Co-authored-by: Captain <Captain@PC>
2022-04-14 00:23:46 +02:00
Aevann1 7f865fb4e6 fd 2022-04-13 03:12:38 +02:00
Aevann1 a4c5e2ac96 sfd 2022-04-13 02:10:48 +02:00
Aevann1 4ca5c7a0d8 fsd 2022-04-09 19:32:38 +02:00
Aevann1 1dd380e864 gdf 2022-04-07 00:37:25 +02:00
Aevann1 864fc7d950 fsd 2022-04-04 21:21:33 +02:00
Aevann1 4c44c2ce92 fds 2022-04-03 17:47:53 +02:00
Aevann1 cdac160a0c fsd 2022-04-02 19:43:11 +02:00
Aevann1 ae82ada424 fsd 2022-04-02 18:54:27 +02:00
Aevann1 b538d2a24c gdfg 2022-03-31 18:28:53 +02:00
Aevann1 3a3157def3 df 2022-03-29 19:32:36 +02:00
Aevann1 066ae95921 fsd 2022-03-28 00:11:26 +02:00
Aevann1 c837d5f724 fsdfsd 2022-03-28 00:07:17 +02:00
Aevann1 f207794418 sdf 2022-03-26 14:04:28 +02:00
Aevann1 951c3c13d7 fsd 2022-03-22 17:28:44 +02:00
Aevann1 a9f6f5a0e0 post 2022-03-19 18:19:02 +02:00
Aevann1 b35bab0672 hole 2022-03-09 04:04:37 +02:00
Aevann1 fa14b9019e blocks num 2022-03-06 03:53:11 +02:00
Aevann1 770643b4a6 no more quadrants y'all cant behave 2022-03-06 00:16:40 +02:00
Aevann1 1576fcd57d farts on u 2022-02-28 04:06:15 +02:00
Aevann1 0995f70eb3 fd 2022-02-28 02:13:07 +02:00
Aevann1 9afa6161e5 marked 2022-02-27 17:06:37 +02:00
Aevann1 90c496c027 vc 2022-02-26 21:42:45 +02:00
Aevann1 85ee2076cc fds 2022-02-26 21:36:13 +02:00
Aevann1 47f3151268 gfg 2022-02-26 14:00:27 +02:00
Aevann1 cd4e8d4863 lower 2022-02-26 13:58:49 +02:00
Aevann1 8c725c81ad js 2022-02-25 15:28:27 +02:00
Aevann1 db61d95e1c emoji 2022-02-25 14:43:25 +02:00
Aevann1 d38f5e3c63 e 2022-02-24 20:31:28 +02:00
Aevann1 58ad0f5dbc data-bs-original-title 2022-02-24 20:07:53 +02:00
Aevann1 8ffbac975b fsfd 2022-02-24 14:03:28 +02:00
Aevann1 8529839d7c cxvfd 2022-02-23 07:19:57 +02:00
Aevann1 5d4b09ef62 fd 2022-02-23 07:02:07 +02:00
Aevann1 5871c6106e vc 2022-02-22 13:43:38 +02:00
Aevann1 bf7ef5a943 gf 2022-02-22 12:42:36 +02:00
Aevann1 4155b2ca3b xcv 2022-02-22 10:31:27 +02:00
Aevann1 c4999cc960 fdg 2022-02-22 06:40:29 +02:00
Aevann1 733c63d384 cvb 2022-02-18 23:29:37 +02:00
Aevann1 e63fd49dcc xcv 2022-02-18 22:31:04 +02:00
Aevann1 9d43e68d0d vbc 2022-02-18 12:59:13 +02:00
Aevann1 2dd3852e83 cvb 2022-02-18 12:55:06 +02:00
Aevann1 13e1adfcff cbv 2022-02-17 05:46:18 +02:00
Aevann1 8aa1b7c80d fsd 2022-02-16 06:35:57 +02:00
Aevann1 b9f50d42f6 gf 2022-02-16 02:23:46 +02:00
Aevann1 a706b3105c fd 2022-02-16 01:38:33 +02:00
Aevann1 bf612179cc f 2022-02-16 00:34:18 +02:00
Aevann1 9f446a2163 dfg 2022-02-15 22:22:48 +02:00
Aevann1 ff66082b29 fds 2022-02-15 02:34:29 +02:00
Aevann1 f7a612a3ab fsd 2022-02-15 02:12:34 +02:00
Aevann1 bf3e14bba3 big big chungus big chungus big chungus 2022-02-13 03:08:12 +02:00
Aevann1 22eaa9e7f8 xvc 2022-02-13 01:10:29 +02:00
Aevann1 ad7bc5dd03 fds 2022-02-12 01:52:32 +02:00
Aevann1 c7cf593388 vxc 2022-02-12 01:50:58 +02:00
Aevann1 662aadcebd xvc 2022-02-12 01:42:12 +02:00
BuckFromRdrama 0da9c36a07 Show modded subs on userpage (#205)
* show modded subs

* remove print lol

* added links
2022-02-11 15:33:25 -08:00
Aevann1 97febe0080 big chungus commit 2022-02-12 01:32:14 +02:00
Aevann1 c8893fc27b xcv 2022-02-10 18:11:14 +02:00
Aevann1 978b18d307 bcv 2022-02-10 17:24:04 +02:00
Aevann1 56fd29ca7b fg 2022-02-08 21:01:23 +02:00
Aevann1 839624157e czx 2022-02-08 11:02:14 +02:00
Aevann1 be13ba1810 cvx 2022-02-07 14:26:11 +02:00
Aevann1 a6c2801a9e xcv 2022-02-06 15:04:55 +02:00
Aevann1 b58a45ff09 xcv 2022-02-06 15:03:55 +02:00
Aevann1 81f24c06c7 sdf 2022-02-06 15:01:26 +02:00
Aevann1 50e9e3061a dfs 2022-02-05 16:36:10 +02:00
Aevann1 a24439d1ee sfd 2022-02-04 13:14:33 +02:00
Aevann1 b0b1b4650f hjg 2022-02-04 13:13:59 +02:00
Aevann1 8c3ba8382c sfd 2022-02-04 12:19:49 +02:00
Aevann1 b70cf702b6 f 2022-02-02 02:06:29 +02:00
Aevann1 eeaa824b27 gf4 2022-02-01 01:55:11 +02:00
Aevann1 485735f315 gfd 2022-02-01 00:13:16 +02:00
Aevann1 a5b96fb43d vccv 2022-01-29 07:25:40 +02:00
Aevann1 d39834eb09 vxc 2022-01-29 07:19:20 +02:00
Aevann1 380f23d356 xcv 2022-01-29 05:19:47 +02:00
Aevann1 b5e6849c2c fsd 2022-01-29 05:11:27 +02:00
Aevann1 0b3ddaf921 vcx 2022-01-28 22:55:59 +02:00
Aevann1 9bc39e74bc fds 2022-01-28 21:27:16 +02:00
Aevann1 9c0e14c642 fd 2022-01-28 06:37:40 +02:00
Aevann1 0bd1afc70e fsd 2022-01-25 03:59:58 +02:00
Aevann1 b3a8f84f69 vc 2022-01-24 21:16:29 +02:00
Aevann1 25d9419388 vcvc 2022-01-24 19:37:37 +02:00
Aevann1 823a86b03e cvcv 2022-01-24 18:44:54 +02:00
Aevann1 47d44578a7 fdfd 2022-01-24 18:27:39 +02:00
Aevann1 11022a6b3a gfd 2022-01-24 18:19:18 +02:00
Aevann1 ac15bd64b3 fgg 2022-01-24 18:17:21 +02:00
Aevann1 88307299fb cc 2022-01-24 17:30:45 +02:00
Aevann1 76679ce4b4 vcxvcx 2022-01-23 20:16:53 +02:00
Aevann1 594fbfd41c vcxxcv 2022-01-23 18:54:57 +02:00
Aevann1 2569d29928 vcxxv 2022-01-22 20:34:07 +02:00
Aevann1 98de0a01d6 gfdfg 2022-01-22 14:27:28 +02:00
Aevann1 247caf8683 marsey marsey marsey 2022-01-22 13:54:48 +02:00
Aevann1 a822aa69d9 fds 2022-01-22 11:58:22 +02:00
Aevann1 4ff0f6ea99 cxcxc 2022-01-22 11:15:18 +02:00
Aevann1 0c7955de79 vxc 2022-01-22 00:53:31 +02:00
Aevann1 3cfdeaafd2 vcvxc 2022-01-22 00:50:59 +02:00
Aevann1 72e2af12e0 dasdsa 2022-01-22 00:48:06 +02:00
Aevann1 f969486690 fds 2022-01-21 23:59:27 +02:00
Aevann1 993ed84fea fdsdsf 2022-01-21 23:22:37 +02:00
Aevann1 bd7885ee31 vxcvcxvcxxcv 2022-01-21 19:25:46 +02:00
Aevann1 30bd0902fa czxczx 2022-01-21 16:40:01 +02:00
Aevann1 23a85eab1f dfs 2022-01-19 14:44:05 +02:00
Aevann1 b23d672af1 fds 2022-01-19 12:39:22 +02:00
Aevann1 58717aea77 fsd 2022-01-19 12:17:21 +02:00
Aevann1 ec5745827e fsd 2022-01-19 12:16:31 +02:00
Aevann1 0f58d70cce 100000000k 2022-01-19 08:20:05 +02:00
Aevann1 4f5484a4ab fsd 2022-01-18 15:41:18 +02:00
Aevann1 c8ffcd438e fds 2022-01-18 15:40:45 +02:00
Aevann1 8143cfeb0f fds 2022-01-18 15:37:18 +02:00
Aevann1 70f06f3db6 fds 2022-01-18 15:06:38 +02:00
Aevann1 33ebb23846 fsd 2022-01-18 15:05:50 +02:00
Aevann1 5cf99be59f dfs 2022-01-18 02:59:48 +02:00
Aevann1 f30ae25087 fds 2022-01-18 02:57:11 +02:00
Aevann1 a16fd4989e df 2022-01-17 20:35:06 +02:00
Aevann1 45c80f01f9 1k 2022-01-17 17:03:51 +02:00
Aevann1 90d44999fc bb 2022-01-17 14:48:43 +02:00
Aevann1 eb74353217 bbb 2022-01-17 14:45:24 +02:00
Aevann1 75f61024db bb 2022-01-17 14:44:16 +02:00
Aevann1 a93b2a1781 bb 2022-01-16 08:06:16 +02:00
Aevann1 e108fa509e b 2022-01-16 07:53:32 +02:00
Aevann1 f90e4a272d bbb 2022-01-16 07:26:34 +02:00
Aevann1 10ece28c20 bb 2022-01-16 06:58:56 +02:00
Aevann1 c5dad2639e bb 2022-01-14 13:41:38 +02:00
Aevann1 9c650255cf bbb 2022-01-14 13:25:43 +02:00
Aevann1 9e9f125200 bbb 2022-01-14 12:22:37 +02:00
Aevann1 f7d8c7284d b 2022-01-14 01:39:39 +02:00
Aevann1 6ecf15476a g 2022-01-14 01:29:15 +02:00
Aevann1 837410187c bbb 2022-01-13 23:15:36 +02:00
Aevann1 30e7638b91 bb 2022-01-13 05:52:53 +02:00
Aevann1 d86746c980 bb 2022-01-12 07:37:15 +02:00
Aevann1 2f017271a9 bb 2022-01-11 05:04:28 +02:00
Aevann1 463549fc26 bb 2022-01-11 02:05:00 +02:00
Aevann1 0f2eb87e31 bb 2022-01-11 00:43:00 +02:00
Aevann1 dc80252fde ccc 2022-01-09 02:35:53 +02:00
Aevann1 605a962ec0 fds 2022-01-07 01:07:05 +02:00
Aevann1 597ea69802 fsd 2022-01-06 19:09:03 +02:00
Aevann1 2c7a98e433 big one 2022-01-06 18:46:09 +02:00
kek7198 ac90ffa1fa fix 2022-01-04 22:56:35 -06:00
kek7198 cbdef2a983 fix 2022-01-04 22:49:19 -06:00
kek7198 b4d20059bf fix 2022-01-04 22:46:16 -06:00
kek7198 333f399f82 fix 2022-01-04 22:44:25 -06:00
kek7198 8715a0f5d8 fix 2022-01-04 22:42:01 -06:00
kek7198 71828c557b fix 2022-01-04 22:41:05 -06:00
kek7198 8213d58aa6 fix 2022-01-04 22:40:18 -06:00
kek7198 c99518119c fix 2022-01-04 22:36:54 -06:00
kek7198 667c4213ac fix 2022-01-04 22:33:09 -06:00
kek7198 41ba4bcca5 fix 2022-01-04 22:31:27 -06:00
kek7198 b402c26a73 fix 2022-01-04 22:31:04 -06:00