Commit Graph

12677 Commits (0f49c8e32f870a139fc16f8f4857a8aad57a6747)

Author SHA1 Message Date
Aevann1 c9ec551657 fixed bug with the comment distinguish button on desktop 2022-05-30 05:48:41 +02:00
Aevann1 5745f73f6c removed leftover meme janny shit 2022-05-30 05:40:39 +02:00
Aevann1 de539ab7e5 fixed a bug that caused 500 errors when jannies left the input area for days empty when they chudded someone
also removed some useless code for checking admin status on alts (why did I add this)
2022-05-30 05:30:32 +02: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
Outrun Colors, LLC ef7da60432 Remove new schema changes from file and replace account ids for lottery system 2022-05-29 22:17:31 -05:00
Aevann1 27d81f6506 for rdrama.net, made it so the weekly chart always start before the site got made, and added variable chart width to accomodate that 2022-05-30 05:16:48 +02:00
Outrun Colors, LLC 9f384bf548 Remove extraneous route logic 2022-05-29 22:12:13 -05:00
Outrun Colors, LLC c337d0edde Swap gifs for webms 2022-05-29 22:07:44 -05:00
Aevann1 e52a2e285b added css fallback for garage schizo browsers 2022-05-30 05:02:14 +02:00
Aevann1 b2c011a7ba Give me a notification whenever one of the other jannies removes a post or comment 2022-05-30 05:01:03 +02:00
Outrun Colors, LLC db13e0976c Have tickets show up in treasure chests 2022-05-29 21:59:22 -05: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 79db8254d8 re-added cached banner 2022-05-30 04:33:07 +02:00
Aevann1 3ece35a953 fixed the title on 2 admin pages 2022-05-30 04:22:47 +02:00
Outrun Colors, LLC b9dc28e6d1 Don't show lotteries on the sister sites 2022-05-29 20:43:16 -05:00
Outrun Colors, LLC a0cc7e1cf6 Move more stuff to proper location 2022-05-29 19:49:14 -05:00
Aevann1 ecb4a56047 fixed global variable bug in /stats 2022-05-30 01:01:40 +02:00
Aevann1 08dfef97a3 fixed the icon for "move_hole" mod action 2022-05-29 21:06:51 +02:00
Aevann1 170220e5f4 fds 2022-05-29 20:43:50 +02:00
Aevann1 3e472c74e0 Removed "make admin" on rdrama.net 2022-05-29 20:36:51 +02:00
Aevann1 eafa2a2b0a Revert "Bigly UI improvements (#290)"
This reverts commit c081c2bec2.
2022-05-29 11:13:20 +02:00
Snakes 0a73083e8a Add settings toggle for UI animations. 2022-05-29 03:08:28 -04:00
Outrun Colors, LLC d1f0f7a164 Add foreignkey 2022-05-29 01:18:16 -05:00
Outrun Colors, LLC 562202b38d Reorganize route logic 2022-05-29 01:06:39 -05:00
Outrun Colors, LLC bef0b0ff6d Add participants and field updating 2022-05-29 01:01:45 -05:00
Snakes 0aafd810a2 assetcache: Add dynamic file parameter, apply more.
Assetcache macro improvement: to support assets in folders which are
dynamically referenced by e.g. ID or name, the `asset` macro now
accepts an optional second parameter to be included in the path but
not to be used for versioning the class of assets.

To support recent commits, assetcache now applies for:
  - images/badges/*.webp
  - js/: award_modal.js, bootstrap.js, header.js
2022-05-29 00:52:40 -04:00
Nekobit c081c2bec2 Bigly UI improvements (#290)
* fuck u bootstrap

* cleanup

* Improve CSS

* Vote and reply animations
2022-05-29 00:28:36 -04:00
Outrun Colors, LLC 1a55a7670e Send notifications to winners and losers 2022-05-28 23:23:20 -05:00
Outrun Colors, LLC 469c39dca6 Configure admin section and purchasing a ticket full flow 2022-05-28 22:33:44 -05:00
Outrun Colors, LLC cf7ee615e6 Add skeleton for route interactions 2022-05-28 19:02:35 -05:00
Outrun Colors, LLC 4eb9095ae5 Initial connection of front-end to back-end. 2022-05-28 18:26:30 -05:00
Outrun Colors, LLC bd6d3f4513 Move styling and logic to appropriate files 2022-05-28 17:33:40 -05:00
Outrun Colors, LLC 422ba56b31 Add assets for lottery 2022-05-28 17:24:21 -05:00
Snakes a2e1be3678 Add flavor text back to sidebar counter. 2022-05-28 17:39:49 -04:00
Aevann1 6584919d41 sdf 2022-05-28 22:25:28 +02:00
Aevann1 851eff0f18 sdf 2022-05-28 19:50:48 +02:00
Aevann1 0352f6a626 sfd 2022-05-28 19:35:21 +02:00
Aevann1 709c756660 fds 2022-05-28 16:55:22 +02:00
gooseman 539f9185c8 Update assetcache.html 2022-05-27 22:51:29 -07:00
Snakes 05fc950004 Add support for distinguishing ghosted. 2022-05-28 00:47:33 -04:00
Aevann1 cd2380fb33 fds 2022-05-28 04:20:31 +02:00
Aevann1 b023669b3e sfd 2022-05-28 03:53:14 +02:00
Aevann1 1d0da9df3c sfd 2022-05-28 02:46:44 +02:00
Aevann1 4e5f7935dd dfs 2022-05-28 02:30:07 +02:00
Aevann1 3f04c69cb8 fds 2022-05-28 01:50:33 +02:00
Aevann1 4c112b1edb dsf 2022-05-27 23:31:02 +02:00
Aevann1 a355742049 sfd 2022-05-27 23:28:10 +02:00
Aevann1 3f6cedc606 sfd 2022-05-27 22:31:46 +02:00
Aevann1 8f9ff42050 sfd 2022-05-27 22:26:38 +02:00
Aevann1 20bce86d33 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-27 22:03:25 +02:00
Aevann1 ead4c791a8 sdf 2022-05-27 22:03:23 +02:00
HappyDOGE 9c8c08ecb5 update bootstrap (#287) 2022-05-27 21:40:01 +02:00
Aevann1 fb7eba5aa9 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-27 21:39:33 +02:00
Aevann1 0e1be2f17c fsd 2022-05-27 21:39:31 +02:00
HappyDOGE 12b4ab4bec offline_enabled (#286)
* Added offline service worker (serves a static webpage when no internet connection is present)

* add offline_enabled parameter to manifest
2022-05-27 21:30:29 +02:00
HappyDOGE d6b4c3b166 Added offline service worker (serves a static webpage when no internet connection is present) (#285)
based
2022-05-27 21:23:01 +02:00
Aevann1 6b6e2e8253 sfd 2022-05-27 20:28:54 +02:00
Aevann1 db98b4e140 sfd 2022-05-27 19:19:12 +02:00
Aevann1 9c9ffdfd7a vcx 2022-05-27 19:05:07 +02:00
Aevann1 e659394744 sfd 2022-05-27 18:06:57 +02:00
Aevann1 bb85df4d67 fsd 2022-05-27 17:59:50 +02:00
Aevann1 384afb125a fsd 2022-05-27 17:28:30 +02:00
Aevann1 25cb19b676 revert 2022-05-27 17:23:06 +02:00
Snakes af77ec515d Templates: create assetcache template.
For too long, we've Replace-All'd to increment site asset version
numbers. This is a task that has an obvious solution using the
templating engine. As such, we now have templates/util/assetcache.html
which contains a dict of version numbers and a macro to generate the
versioned name of an asset.

Going forward, it is recommended that all future replace-all uses
are used as opportunities to switch to the macro. Do remember to
import the macro in all top-level templates, if not already present.
Recommended form: {%- from 'util/assetcache.html' import asset -%}
Then add a key to CACHE_VER in util/assetcache.html.
Then replace the asset path in templates eg: {{asset('css/main.css')}}

For all future versions of those assets, one can simply increment
the value in util/assetcache.html instead. This will greatly reduce
git spam touching unrelated files and generally be clearer and easier.
2022-05-26 22:47:32 -04:00
Snakes 2bde3650d4 Awards: enable lootbox on WPD, refactor AWARDS2 logic. 2022-05-26 22:12:53 -04:00
Aevann1 f823396239 sdf 2022-05-27 02:08:28 +02:00
Aevann1 2a9df987b3 fsd 2022-05-27 02:03:04 +02:00
Aevann1 27c3d89b5f sfd 2022-05-27 01:12:43 +02:00
Aevann1 66b3efab36 award refactor 2022-05-27 01:08:23 +02:00
Aevann1 8eee22565d fds 2022-05-27 00:39:11 +02:00
Aevann1 22aacf86ec vf 2022-05-27 00:23:16 +02:00
Aevann1 d9dbd36b7a fds 2022-05-26 23:16:49 +02:00
Aevann1 02e9d2f2b5 fsd 2022-05-26 23:08:31 +02:00
Aevann1 13fcc1881a dfsfds 2022-05-26 23:07:06 +02:00
Aevann1 758a30e166 fsd 2022-05-26 22:53:24 +02:00
Aevann1 d4f7f5497b fds 2022-05-26 22:49:36 +02:00
Aevann1 630996faee gfd 2022-05-26 22:31:08 +02:00
Aevann1 8ba5f07bb6 sdf 2022-05-26 22:17:09 +02:00
Aevann1 0ac85b3192 fsd 2022-05-26 22:14:47 +02:00
Aevann1 f72015382a crgd is a king 2022-05-26 22:04:39 +02:00
Aevann1 f7dea74b37 fds 2022-05-26 21:19:33 +02:00
Aevann1 1e8c00f6fe fsd 2022-05-26 21:15:24 +02:00
Aevann1 64c3b489e3 fds 2022-05-26 20:37:10 +02:00
Aevann1 2595706b49 fsd 2022-05-26 20:36:37 +02:00
Aevann1 957cf5ba8f dfs 2022-05-26 20:09:44 +02:00
Aevann1 c5ace85f9b fsd 2022-05-26 17:57:24 +02:00
Aevann1 de40b074ac yes 2022-05-26 03:30:25 +02:00
Aevann1 e4893c617e fd 2022-05-26 02:54:05 +02:00
Aevann1 163267c88c Revert "Add Y'all Seein' Eye award."
This reverts commit a0f441a67d.
2022-05-26 02:51:42 +02:00
Aevann1 65388d3e57 sfd 2022-05-26 01:50:13 +02:00
Aevann1 acc4e3503f Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-26 01:46:40 +02:00
Aevann1 32bc1b3c2a afsfds 2022-05-26 01:46:38 +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
Aevann1 a749a7eea9 fds 2022-05-26 01:43:42 +02:00
Aevann1 7c858c6439 fds 2022-05-26 01:42:34 +02:00
Aevann1 b254fd77cb fsd 2022-05-26 01:25:51 +02:00
Aevann1 4859fc7363 fds 2022-05-26 00:26:03 +02:00
Aevann1 987e479aa4 sfd 2022-05-26 00:09:25 +02:00
Aevann1 c8c6ec6eea dsf 2022-05-26 00:08:16 +02:00
Aevann1 1c6ca7c9e0 fds 2022-05-26 00:02:54 +02:00
Aevann1 60058c5130 fsd 2022-05-26 00:02:18 +02:00
Aevann1 6859653e1a sfd 2022-05-25 23:57:38 +02:00
Aevann1 2c67a34047 fsd 2022-05-25 23:55:07 +02:00
Aevann1 27a94797cf fsd 2022-05-25 23:43:30 +02:00
Aevann1 7ff300d0c6 fds 2022-05-25 23:42:50 +02:00
Aevann1 8d1c9d710d fsd 2022-05-25 23:25:23 +02:00
Aevann1 878119d7a2 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-25 23:13:07 +02:00
Aevann1 0f9a207440 fds 2022-05-25 23:13:04 +02:00
Snakes 6784ccdd27 loggedin: Order by JL, TS desc. 2022-05-25 16:37:02 -04:00
Aevann1 50b995d3a0 fds 2022-05-25 22:16:26 +02:00
Aevann1 3fbc423336 dfs 2022-05-25 21:48:07 +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 c8efa3ade1 sfd 2022-05-25 21:31:39 +02:00
Aevann1 ab7c5dd6bf fsd 2022-05-25 21:16:46 +02:00
Aevann1 bbf6e94584 gfd 2022-05-25 21:10:20 +02:00
Aevann1 d60065d7c4 sfd 2022-05-25 21:04:58 +02:00
Aevann1 85e4a33a7e fsd 2022-05-25 21:03:48 +02:00
Aevann1 49c53cb2ff fds 2022-05-25 20:59:24 +02:00
Aevann1 c213451722 fdsfdsxc 2022-05-25 20:44:43 +02:00
Aevann1 3706d3d22c sdf 2022-05-25 20:36:09 +02:00
Aevann1 386db76c10 crgd is a king 2022-05-25 20:29:22 +02:00
Aevann1 3c691595e5 fds 2022-05-25 19:11:09 +02:00
Aevann1 6febbc4858 scratch that 2022-05-25 19:09:26 +02:00
Aevann1 5b1477acfc certified good commit 2022-05-25 19:01:29 +02:00
Aevann1 b08d374b4b fds 2022-05-25 17:47:15 +02:00
Aevann1 de176280c8 e 2022-05-25 17:42:30 +02:00
Aevann1 162bf9dad7 no more g.timestamp y'all couldn't behave 2022-05-25 17:42:04 +02:00
Snakes da27b16c39 Disable fartmode on non-rDrama sites. 2022-05-25 07:24:34 -04:00
Snakes 67796acc11 Fix chat by setting g.timestamp.
The users online count recently added to wrappers.py:get_logged_in_user
uses g.timestamp for its calculations. This is primarily set in
__main__.py:before_request. However, chat has requests which do not
trigger @app.before_request. To resolve this, we now set g.timestamp
in the auth_required wrapper before calling get_logged_in_user().

I think this is safe in general; there's no particular harm to setting
the timestamp _more_ frequently.
2022-05-25 06:49:02 -04:00
Snakes 42d810a5e7 Leaderboard: fix user join for ea48c46b0f.
After ea48c46b0f adds the leaderboard table for most blocked user,
it appeared that the user profile links did not appear correctly.
As such, it was necessary to join on the appropriate information.
This has been (mostly) resolved, excluding the removal of profile
picture because profile_url has logic in Python.

If someone knows SQLAlchemy better than I do, please redo this and
add the profile pictures back into the template. However, I got tired
of fighting with the ORM when I already knew the damn query.
2022-05-25 06:09:13 -04:00
Snakes ea48c46b0f Leaderboard: add 'Most Blocked' hiscores. 2022-05-25 05:24:31 -04: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
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 74f8859aa2 Leaderboard: add fixed back-to-top button. 2022-05-25 03:26:33 -04:00
Snakes 8a400a209b Userpage: add id attributes to profile markup. 2022-05-25 03:18:42 -04:00
Snakes f4a5230f21 Leaderboard: add linked table of contents. 2022-05-25 01:24:59 -04:00
Snakes 53a80af241 Restore old agendaposter pfps system, add more.
Restores agendaposter pfps from 1576fcd57d and adds 52-57.
Also restores code in classes/user.py which implements them.
2022-05-25 00:41:23 -04:00
Snakes d8fa336d78 User counter: replace globe with marseylowpoly.
By direct request of Carp. Also shrunk text slightly to match.
In light of the animated icon, it's plenty visually obvious.
Also, the smaller text reduces instances of unsightly text wrapping.
2022-05-24 23:54:53 -04:00
Snakes bb40bc1c53 User counter: move to sidebar, add flavor.
After much debate, the user counter will remain in the top banner for
all non-rDrama sites using the codebase, while on rDrama the journoid
banner will remain there and the counter has been moved back to the
sidebar. This partially reverts some recent commits.

In addition to the sidebar move, the rDrama user counter now has
random flavor text, much as reddit sidebars do, though ours is
cooler because it can randomly select from a list.
2022-05-24 23:37:25 -04:00
Aevann1 061c4936ce fds 2022-05-25 04:58:26 +02:00
Aevann1 0b1c86bbe7 fd 2022-05-25 04:29:39 +02:00
Aevann1 7310c9a1a4 sdf 2022-05-25 03:25:06 +02:00
Aevann1 538a2638ae sfd 2022-05-25 03:23:54 +02:00
Aevann1 b1d57227ff sfd 2022-05-25 03:18:36 +02:00
Aevann1 22ea228dc6 sdf 2022-05-25 03:15:38 +02:00
Aevann1 55bff02309 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-25 03:14:21 +02:00
Aevann1 4e4f667387 journoid 2022-05-25 03:14:18 +02:00
Snakes 7ead30014c Upgrade bleach to 5.0.0. 2022-05-24 20:28:36 -04:00
Aevann1 826f137a5e fsd 2022-05-25 02:22:09 +02:00
Aevann1 1b66095747 dfs 2022-05-25 01:47:28 +02:00
Aevann1 454d5173eb sfd 2022-05-25 01:42:55 +02:00
Aevann1 d9145c76d4 sdf 2022-05-25 01:40:50 +02:00
Aevann1 4f659c093a Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-25 01:26:53 +02:00
Aevann1 b2de1dca52 upload mp3 2022-05-25 01:26:50 +02:00
Snakes 8c3b6cece1 Add 8-ball answers, like fortune & factcheck. 2022-05-24 19:08:41 -04:00
Aevann1 4f02a72d29 fd 2022-05-25 00:43:49 +02:00
Aevann1 1734137dcd sfddsa 2022-05-25 00:29:15 +02:00
gooseman 7ad1030725 Update sidebar_WPD.html 2022-05-24 17:28:16 -04:00
gooseman 9db419fcdf Update sidebar_PCM.html 2022-05-24 17:27:59 -04:00
gooseman eab986be0b Update sidebar_Cringetopia.html 2022-05-24 17:27:47 -04:00
gooseman 7295f414d4 Update sidebar_rDrama.html 2022-05-24 17:27:12 -04:00
Aevann1 e119a8cb48 fds 2022-05-24 22:48:23 +02:00
Aevann1 6631777f76 fds 2022-05-24 22:45:34 +02:00
Aevann1 9af50ae9b3 jannies can now block ppl 2022-05-24 22:43:49 +02:00
Aevann1 e1f298deb8 sfd 2022-05-24 22:27:27 +02:00
Aevann1 ff68e0eb7d sdf 2022-05-24 22:20:00 +02:00
Aevann1 2b9dcb0c6a users here now 2022-05-24 22:19:18 +02:00
Aevann1 ca18dc8bdd webm2 2022-05-24 22:09:45 +02:00
Aevann1 67b4f13d98 webm 2022-05-24 22:07:04 +02:00
Snakes d0d029a78a sanitize: Add more neo-gTLDs to TLDs tuple-list.
Per https://rdrama.net/post/70341/-/1976650 added more gTLDs that
are actually desired by site users.

Also, hard wrapped the `TLDS` and `allowed_tags` tuple-lists at a
100char hard ruler for my sanity.
2022-05-24 15:16:55 -04:00
Snakes fdd5704348 Cache bust awards.css for confetti change. 2022-05-24 15:09:42 -04:00
Aevann1 879910d4ec fds 2022-05-24 18:57:40 +02:00
Aevann1 63914d974b Revert "Respect newtab setting for header menu."
This reverts commit 4847000f67.
2022-05-24 18:55:24 +02:00
Aevann1 efd122ae86 sfd 2022-05-24 18:53:39 +02:00
Aevann1 02e98b46b0 is_audio 2022-05-24 18:28:12 +02:00
Aevann1 bbd851210e fds 2022-05-24 17:32:49 +02:00
Aevann1 dcf1c794cc fds 2022-05-24 04:48:50 +02:00
Aevann1 7670e3765e fds 2022-05-24 00:22:16 +02:00
Aevann1 484bd02a8e dfs 2022-05-23 22:30:52 +02:00
Aevann1 48d75afd31 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-23 22:10:09 +02:00
Aevann1 d1e64e5450 dfs 2022-05-23 22:09:40 +02:00
Snakes a56ebc39dd Add 'moe' to sanitize TLDS for linkifier. 2022-05-23 16:06:01 -04:00
Aevann1 15418ec1e6 sfd 2022-05-23 21:20:58 +02:00
Aevann1 9599a7e96d fds 2022-05-23 21:13:33 +02:00
Aevann1 0bd15d3914 burgers? 2022-05-23 21:00:14 +02:00
Aevann1 89c27efd79 booba 2022-05-23 20:03:59 +02:00
Aevann1 14f4c69785 fds 2022-05-23 19:57:08 +02:00
Aevann1 77d370f2a6 fsd 2022-05-23 19:38:36 +02:00
Snakes 727f58f159 Fix confetti appearing in awardModal.
The confetti button in the awardModal had a conflicting ID to the
newly-reimplemented confetti award. This resulted in an amusing bug
where the awardModal was filled with confetti. Conflict has been
resolved by renaming the confetti overlay.

This is what I deserve for writing code at 3AM.
2022-05-23 11:51:10 -04:00
Aevann1 c5413e9e53 sdf 2022-05-23 17:28:23 +02:00
Aevann1 80fc79cbe3 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-23 17:24:25 +02:00
Aevann1 d211af8cea fds 2022-05-23 17:24:23 +02:00
Snakes 517e5ec3b3 Re-implement confetti award.
To replace the implementation of the confetti award, we now use an
animated WebP tiled as a background image on a fixed overlay. This
should alleviate the previous performance concerns (no runtime
calculation of confetti mechanics & rendering) and maintainable
concerns.
2022-05-23 02:57:43 -04:00
Snakes 4847000f67 Respect newtab setting for header menu.
Fixes https://rdrama.net/post/18459/-/1969386
The appropriate internal links--viz. profile, settings, changelogs,
bug reporting, discord, archives, and contact--in the header menu
respect the User.newtab setting to open internal links in new tabs.
2022-05-23 02:06:54 -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
Snakes 62c85cd314 Fix admiggers assets CF purge requests. 2022-05-23 01:04:59 -04:00
Aevann1 3cec77b4c5 fds 2022-05-23 01:02:06 +02:00
Aevann1 649f8d5323 vdffsd 2022-05-23 00:45:04 +02:00
Aevann1 0805b41394 fds 2022-05-23 00:37:59 +02:00
Aevann1 e5a980d8bd ffds 2022-05-23 00:25:54 +02:00
Aevann1 f0dec0d06d Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-23 00:21:13 +02:00
Aevann1 0a74a98ec5 big ass commit 2022-05-23 00:15:29 +02:00
Snakes 74a66876ef Ricardo: replace gifs with webp anims. 2022-05-22 17:50:04 -04:00
Aevann1 9796d359c4 sdf 2022-05-22 23:26:29 +02:00
Aevann1 f67a91433c fds 2022-05-22 23:25:08 +02:00
Aevann1 ef2c09d9b6 sdf 2022-05-22 23:24:32 +02:00
Aevann1 027fac7509 sfd 2022-05-22 23:24:06 +02:00
Aevann1 ffad4f1c80 fds 2022-05-22 23:23:10 +02:00
Aevann1 3741b6caa2 fds 2022-05-22 22:14:51 +02:00
Aevann1 112a2679cc fsd 2022-05-22 22:05:44 +02:00
official-techsupport 36e0ce6e0a Handle invalid video formats better (#283) 2022-05-22 22:01:10 +02:00
Aevann1 3ae131f5d6 fds 2022-05-22 20:04:22 +02:00
Aevann1 d712b8cf94 fds 2022-05-22 20:04:11 +02:00
Aevann1 ae1ed0ded4 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-22 20:04:00 +02:00
Aevann1 c41f6977e7 sdf 2022-05-22 20:03:54 +02:00
DrTransmisia 4b6a811e21 Lenewlink (#282)
* allowing the user to click on profile ANCHOR with special keys

* le epic version bump for le cloudfare chaching, has arrived
2022-05-22 19:31:27 +02:00
Aevann1 9bc310a6a4 sfd 2022-05-22 19:23:52 +02:00
Aevann1 a4ca9fc1aa fds 2022-05-22 18:19:57 +02:00
Aevann1 10723940d1 sfd 2022-05-22 18:19:49 +02:00
Aevann1 ee9b5f2bcd g 2022-05-22 18:15:40 +02:00
Aevann1 236ce22c52 fsd 2022-05-22 18:14:32 +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
Aevann1 53dd9056b8 fsd 2022-05-22 12:23:02 +02:00
Aevann1 37a6ce39f5 fixing https://rdrama.net/post/69817/tfw-you-will-never-troll-harder/1961118?context=8#context 2022-05-22 12:20:11 +02:00
Aevann1 f0d3f35a29 fsd 2022-05-22 11:05:23 +02:00
Aevann1 8807ed0d13 fds 2022-05-22 10:58:42 +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 b9316c0073 fsd 2022-05-21 15:19:02 +02:00
Aevann1 cad9952f2b Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-21 14:36:24 +02:00
Aevann1 20cc20d806 fsd 2022-05-21 14:36:22 +02:00
Snakes 3d9c302fae Blackjack: add five card charlie rule. 2022-05-20 23:08:20 -04: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
Snakes 9a23c195ed Fix overpermissive email regex. 2022-05-20 18:49:00 -04:00
Aevann1 2737a6ca47 sfd 2022-05-20 23:41:08 +02:00
Snakes 76fd1342f3 Fix @mention replacement.
Comments of the style e.g. "@TLSM / @TLSM2" would mistakenly be
`sanitize`d to have identical links only on "@TLSM", the latter
instance having a dangling 2 on the end. It seems this is purely an
issue with text formatting; alerts.py @ NOTIF_USERS had no such
issues. The root cause appears to be partly an optimization and
partly the use of str.replace without a count limit.
2022-05-20 17:04:36 -04:00
Aevann1 2cfd7c74a0 fds 2022-05-20 21:00:13 +02:00
Aevann1 aed84df4ad fsd 2022-05-20 20:45:12 +02:00
Aevann1 4f9df8c5bf sdf 2022-05-20 20:32:36 +02:00
Aevann1 301f134309 fds 2022-05-20 18:02:27 +02:00
Aevann1 a83a72ca95 fsd 2022-05-20 16:51:14 +02:00
Aevann1 f4ac063354 sfd 2022-05-20 16:48:13 +02:00
Aevann1 4a6545ef5d dfsfds 2022-05-20 16:39:46 +02:00
Aevann1 40dce26a65 Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 16:17:11 +02:00
Aevann1 eead5570e5 fsd 2022-05-20 16:17:09 +02:00
Snakes 16e3d3b3e9 Disable tilts on distinguished posts. 2022-05-19 22:27:51 -04:00
Snakes 97bfdc5d3e Improve readability on header birthgay bg. 2022-05-19 19:15:49 -04:00
Aevann1 8a54215464 Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 00:56:55 +02:00
Aevann1 5548160912 fsd 2022-05-20 00:56:53 +02:00