Commit Graph

521 Commits (master)

Author SHA1 Message Date
Aevann eebc6db138 use tabs not spaces 2023-08-01 10:38:30 +03:00
Aevann 69ec9dab2f fix top 10 patrons badge 2023-08-01 10:16:47 +03:00
Aevann 655f238156 Revert "move username in badge_admin.html to the bottom with the other fields"
This reverts commit 9bb1482278.
2023-08-01 04:36:17 +03:00
Aevann 65f9b986dd add button to claim paypig rewards for all users 2023-08-01 04:28:29 +03:00
Aevann 9bb1482278 move username in badge_admin.html to the bottom with the other fields 2023-08-01 01:27:53 +03:00
Aevann 12874150cc tell jannies which sites are supported for orgy 2023-07-26 02:25:51 +03:00
Aevann a72c18bed7 fix mention html (im retarded) 2023-07-22 21:12:04 +03:00
Aevann 988a14f187 use SITE_FULL_IMAGES whenever u possibly can 2023-07-22 19:24:16 +03:00
HeyMoon abd91f81ac Orgies: Support Rumble and Twitch and Mobile Viewing (#169)
Hell yeah

 - Rumble.com, basically youtube for rightoids (so you can do more edgy streams)
 - Twitch
 - Mobile orgy support, it's pretty bad thoever
 - Button to switch back to normalchat for phonefags

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #169
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-10 00:38:02 +00:00
HeyMoon 7c040367fa Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165)
This PR adds orgies back into rdrama. Long ago, snakes made the original orgy code, and it was super fun. But he had to rush it out, and ended up making it a bit unsustainable, and had a couple questionable coding decisions, which meant that it had to be removed. Hey, the man literally did it in a few hours before the DB trial continued, lmao.

Anyways, I took my own approach to it. I do not use iframes, i just just repurpose code from /chat window. Because I had that freedom, I also moved things around to make the user experience a bit better. I also added a title to give users some context about what's happening. Check it out

![image](/attachments/6719146c-4922-4d75-967d-8d424a09b198)

Most importantly, this is all configurable from the site. Admins with the permission "ORGIES" will see this in their control panel

![image](/attachments/423d6046-a11d-4e84-bd2c-a2a641afd552)

Nigga, idk where to put it, so I made my own category.

If there is no orgy in progress, admins will see this:

![image](/attachments/7c64b9fa-cdf4-4986-a0c4-f2324878062e)

Click the button, and, viola, the orgy begins.

If there is an orgy in progress, the page will look like this:

![image](/attachments/b65be4b3-5db1-43cb-8857-7d3a8ea24ca7)

Click the button, and the orgy stops.

If an orgy is in progress, navigating to /chat will take the user to the orgy seemlessly. But what if they don't want to participate, liek some kind of spoilsport? Just navigate to /old_chat.

That's just about it, it's really that simple. I have lots of ideas for the future, but I'll let that wait til later :).

A few notes about implementation:
 - I moved some functionality out of /templates/chat.html and into /templates/util/macros.html. This is just so I could reference the code directly from my new template, /templates/orgy.html.
 - The orgy is stored as a single row in the new table "orgies". Okay, I know this is a little silly, but you know what they say: "if it's stupid and it works, it's not stupid". (tbf the oceangate ceo also said that)

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #165
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-02 23:55:37 +00:00
Aevann 778f4f045e rename variable 2023-06-29 23:10:31 +03:00
Aevann 32fa466e6a rename submissions to posts 2023-06-08 02:26:32 +03:00
Aevann fd5cdf23d3 rename "Multi Vote Analysis" to "Alt Vote Analysis" 2023-06-06 22:15:25 +03:00
Aevann 0c2e0f0b67 restore transparency for namelock badge 2023-05-16 03:25:31 +03:00
Aevann 35ba2f7abb trim badges 2023-05-12 19:15:14 +03:00
Aevann dc55f4a5d0 complement 519fbef9a7 2023-05-12 18:42:21 +03:00
Aevann c7a7d6a2b9 complement 519fbef9a7 2023-05-12 18:35:31 +03:00
Aevann 519fbef9a7 rename dm_images to dm_media 2023-05-12 18:27:46 +03:00
Aevann 6116fdceb4 add tooltip to /admin/patrons 2023-05-11 17:30:57 +03:00
Aevann 88a8d6e03e fix sorting by tier 2023-05-11 17:27:48 +03:00
Aevann d123872dd5 fix last commit 2023-05-11 17:15:14 +03:00
Aevann a57d31a93f try something 2023-05-11 17:14:27 +03:00
Aevann e3f58e3e78 add lifetime donated column 2023-05-11 16:57:53 +03:00
Aevann 7ebfd9808d cachebust badges 2023-05-10 22:16:18 +03:00
Aevann d82f1161cf use new pagination system in removed posts and comments 2023-05-05 08:38:08 +03:00
Aevann 6ecfc32317 test smth in staging 2023-05-05 08:14:03 +03:00
Aevann ade4323edb paginate /admin/image_posts 2023-05-05 06:52:53 +03:00
Aevann 26dae77c86 easier panel 2023-05-05 04:32:57 +03:00
Aevann a0469edfc7 use new pagination system 2023-05-05 03:50:36 +03:00
Aevann 0dc8b5ccb1 don't use pomf for DM images anymore and allow for video and audio in DMs 2023-05-05 00:52:37 +03:00
Aevann f5a97ae709 add new patron tier for benefactor-cels 2023-05-03 18:29:31 +03:00
Aevann 514fb320cf show truescore in admin.patrons and order by it 2023-05-03 17:47:06 +03:00
Aevann 90127ffa27 rename path 2023-05-03 17:45:14 +03:00
Aevann f1c66a31e3 add P̵͇̕S̶̔̇Ȳ̴͙C̶͋͗H̵͒̉O̴̎̍ tier to WPD 2023-05-02 22:27:39 +03:00
Aevann 716e7f877e Revert "stop patron and house images from causing page jumps"
This reverts commit aabeca66f0.
2023-05-02 20:13:02 +03:00
Aevann 7e9e143642 cachebust house and patron images 2023-05-02 20:09:22 +03:00
Aevann aabeca66f0 stop patron and house images from causing page jumps 2023-05-02 19:48:49 +03:00
Aevann 869ccb6c68 expand all images 2023-04-27 15:02:46 +02:00
Aevann 93422e2be9 cache-bust all 2023-04-25 18:24:12 +02:00
Aevann 02427b6da0 same as last commit 2023-04-09 00:38:26 +02:00
Aevann 33464589aa add "offline mode" 2023-03-25 23:35:13 +02:00
Aevann 312abdee28 fix capitalizaation 2023-03-25 23:13:47 +02:00
Aevann 674c1594c9 remove typo'd class 2023-03-21 19:12:38 +02:00
Aevann ca99c46e12 make update_assets.html more self-explanatory 2023-03-21 19:02:30 +02:00
Aevann bdc5d8bd12 allow jannies to change the kind of emojis 2023-03-21 18:50:26 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 91678f09de marsey -> emoji 2023-03-18 16:04:56 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 70d8510122 move 2 js files to /admin folder 2023-03-17 16:22:29 +02:00
Aevann 3de34c9a65 Merge branch 'keep-session-open' of https://fsdfsd.net/rDrama/rDrama 2023-03-15 08:02:47 +02:00
Aevann 9f86dfad9e fix /admin 2023-03-15 06:51:36 +02:00
Aevann 7b65b062b1 fix /admin 2023-03-15 06:50:56 +02:00
Aevann da75577732 cachebust badges 2023-03-15 06:05:59 +02:00
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +02:00
Aevann 84cebda61f rename perm to be more clear 2023-03-11 06:53:54 +02:00
Aevann 964a3d3883 move IMAGE_FORMATS to root.html 2023-03-07 06:44:11 +02:00
Aevann b2c7ca31da move disabling buttons to bottom.js 2023-03-07 02:21:08 +02:00
Aevann b83aa1d82c better media code 2023-03-06 20:02:12 +02:00
Aevann 7417a115af combine 2 janny perms 2023-03-05 12:03:21 +02:00
Aevann 3a67c1647d fix bug with pasting in /submit + dedup 2023-03-04 21:54:06 +02:00
Aevann 0073c2224f move update_assets.html 2023-03-04 20:55:07 +02:00
Aevann fa2066117c remove unnecessary for attribute 2023-03-03 09:23:05 +02:00
Aevann ff4e04a926 add disable-sort-click to all empty <th>s 2023-02-24 23:55:01 +02:00
Aevann 03a82a0d4f delete code irrelevant now 2023-02-23 15:04:33 +02:00
Aevann b0fdd78d8b log timestamp in dm_images 2023-02-22 19:21:16 +02:00
Aevann bd97dc7d5f fix last commit 2023-02-22 16:43:39 +02:00
Aevann 42ed35770c paginate /admin/dm_images 2023-02-22 16:36:52 +02:00
Aevann b1d86491f8 fix page title 2023-02-21 22:18:41 +02:00
Aevann 288fcde832 add /admin/delete_media 2023-02-19 21:31:26 +02:00
Aevann 8d660cb49a add perms conditionals in /admin 2023-02-19 21:17:09 +02:00
Aevann d7d7a681f9 add 2 additional links in /admin 2023-02-18 23:07:37 +02:00
Aevann ef2bda6920 remove relinking 2023-02-18 16:55:18 +02:00
Aevann 44a80f0492 make under_attack a setting and use it in /submit for WPD 2023-02-09 05:50:30 +02:00
Aevann f19f34bc49 change site_settings to SITE_SETTINGS for consistency 2023-02-09 05:49:50 +02:00
mummified-corroding-granny 113a1b4959 small lil tisms: table column sort disabling, remove ugly https:// string from rules (#112)
* about the rdrama_rules, when I changed from http:// to https:// the other day, in some browsers it now displays the protocol tag which is ugly and inconsistent. Not sure why on some browsers it did not display "http://" before
* about the sorting: I will disable sorting on more table columns later on. This is all I can do right now

Reviewed-on: #112
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-06 02:07:39 +00:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann 5df10ec0e0 remove unnecessary margin 2023-01-28 12:50:54 +02:00
Aevann cd573133a9 fix images in modmail 2023-01-28 10:47:52 +02:00
Aevann 51d0480452 hide dm image button from jannies who cant view them 2023-01-28 10:41:11 +02:00
Aevann d813e91427 add padding 2023-01-27 15:00:06 +02:00
Aevann c45cd0fde8 make a UI for /admin/dm_images 2023-01-27 14:24:39 +02:00
Aevann 680135755e Revert "get rid of get_alt_graph"
This reverts commit e2e3da4bda.
2023-01-25 04:51:48 +02:00
Aevann e2e3da4bda get rid of get_alt_graph 2023-01-25 03:07:30 +02:00
Aevann e68a1540c5 fix js error 2023-01-24 12:40:25 +02:00
Aevann eb88240098 make sure toasts are always on top 2023-01-24 12:40:10 +02:00
Aevann 5502715122 replace type="hidden" with hidden 2023-01-24 07:10:16 +02:00
Aevann 8396126606 add dm images 2023-01-23 11:58:38 +02:00
Aevann 7f1ddf5c0c fix delinking alts 2023-01-22 10:20:38 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann 9717646755 remove all role attributes 2023-01-20 09:14:59 +02:00
Aevann fd27199c68 add admin chat to admin hole 2023-01-20 06:37:20 +02:00
Aevann dd3dfa5197 make users list viewable by everypony 2023-01-01 16:52:16 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 8a1343e739 Revert "remove all accessibility attributes"
This reverts commit e3a8fe85e3.
2023-01-01 13:12:35 +02:00
Aevann e3a8fe85e3 remove all accessibility attributes 2023-01-01 13:05:39 +02:00
Aevann b34b654175 restore all bootstrap margin and padding selectors 2023-01-01 10:38:09 +02:00
Aevann 802ce75b2d minor css fixes 2023-01-01 07:55:16 +02:00
Aevann 0c6866ed84 fix undisabling elements 2023-01-01 04:17:46 +02:00
Aevann 78351abc4c clean up legacy stuff 2023-01-01 03:17:07 +02:00
Aevann 834de4bcf0 add padding 2023-01-01 02:39:25 +02:00
Aevann 01f0f8c59a remove weird html shit 2022-12-30 19:20:10 +02:00
Aevann 0bbe5d5ddd show live commit to everyone 2022-12-30 15:32:58 +02:00
Aevann 7ee7933773 same as last commit 2022-12-30 14:52:59 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann db8d0bb1e5 add padding to "admin tools" in admin tools 2022-12-29 10:35:30 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann caa28817aa cachebust badges 2022-12-27 00:10:49 +02:00
Aevann 070a22d02e remove accessiblity shit 2022-12-25 04:10:56 +02:00
Aevann 6ab9f2324c fix undefined variable being used 2022-12-24 18:48:37 +02:00
Aevann e6274e06f3 delete ability of jannies to clear internal cache 2022-12-22 22:52:36 +02:00
Aevann 284b3ba9ec delete property that jc forgot to actually define... 2022-12-22 22:46:05 +02:00
Aevann 92cbe64ac0 cache get_alt_graph for 1 hour 2022-12-22 22:44:37 +02:00
Aevann 0e6b144ed7 alt graph 2022-12-22 22:03:40 +02:00
Aevann1 1dab4f7804 fix last commit 2022-12-21 18:17:14 +02:00
Aevann1 c32043c2b0 fix unbanning domains 2022-12-21 18:14:16 +02:00
Aevann1 3ae5292ce4 remove pcm from code 2022-12-21 14:42:41 +02:00
justcool393 855f0483ca user listings: ban reasons are safe 2022-12-15 20:29:28 +00:00
Aevann1 1773632a75 remove punished listings filtering 2022-12-14 15:17:39 +02:00
Aevann1 df804c3179 minor change to punished listings 2022-12-14 15:12:02 +02:00
Aevann1 b923776e71 simplify punished listings 2022-12-14 00:29:56 +02:00
Aevann1 36fca9caab minor bugfix 2022-12-13 20:50:38 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: #59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1 59e0beebb2 minor change 2022-12-11 21:19:10 +02:00
Aevann1 1886dd986e move sort_table.js to core.js 2022-12-10 12:40:34 +02:00
Aevann1 3cc6387e32 more improvements to punishment listings 2022-12-10 10:54:56 +02:00
Aevann1 a3c51202d1 improvement to sorting table + get rid of scope="col" 2022-12-10 10:47:15 +02:00
Snakes 39a0832223
Sort banned, chudded, etc listings by activity.
The listings of users affected by jannied states are long. To make
them more useful, sort by recent user activity (when v is allowed to
view last_active) to know which accounts are still in use.
2022-12-09 23:47:31 -05:00
Aevann1 ca4e0f5e66 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3210978?context=8#context 2022-12-09 12:54:29 +02:00
Aevann1 39ad0bd5f8 fix margins 2022-12-05 07:33:32 +02:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann1 868fb1024f update carp's badge 2022-12-05 06:37:03 +02:00
Aevann1 cb4d941fd0
add profile wall 2022-12-04 20:05:45 -05:00
justcool393 e36bd8611a remove unclosed {{brackets}} 2022-11-30 13:15:06 -06:00
justcool393 69a44baea7 settings: convert all to snek_case 2022-11-30 12:26:07 -06:00
Aevann1 c9f44b5777 rename data-click to data-click2 2022-11-28 06:35:33 +02:00
Aevann1 d0047dcc5a include users who have more than 30 days to be unbanned/unchhuded in /banned and /chuds for accountability 2022-11-28 03:32:01 +02:00
justcool393 5a1224ddc7 fix shadowbanned and nonexistent users in marseys table 2022-11-27 11:13:23 -06:00
Aevann1 6dd4f2492d fix api app link 2022-11-26 06:41:56 +02:00
Aevann1 243f3da00c fix "Posts" tab in /app 2022-11-26 06:36:14 +02:00
Aevann1 3ddeba7e8d disable user.newtab for PWA users 2022-11-23 00:05:31 +02:00
justcool393 272e2ee936
sneed (rename procoins to marseybux) (#472)
* sneed (rename procoins to marseybux)

* literally unusable

Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 18:08:29 -05:00
Aevann1 2f31fdfdd7 Revert "remove User.newtab and see if anyone complains"
This reverts commit 787c89961f.
2022-11-21 18:55:13 +02:00
Aevann1 787c89961f remove User.newtab and see if anyone complains 2022-11-21 16:36:17 +02:00
justcool393 153fb4e2a2
[DO NOT MERGE] titlesssssssssss (#468)
* titles

* testing

* self

* Revert "self"

This reverts commit d6c12d5a5ba125feb44673f55e1fdac75f151cb5.

* Revert "testing"

This reverts commit 86d800f9fd552196b31f0e0b3891d4fc072a9bc0.

* testing on devrama

* rewrite the html head

* reference error or smth idk

* tempalte debug

* template debug redux

* default2

* rename default2 -> root, page title

* fix settings2

* include the set_variables block

* root scope variables 2

* test 3

* remove unnecessary set

* add pagetitles to all settings2 pages

* add pagetitle to casino

* remove bloat

* remove duplicate site name thingy

* page titles 2

* page titles 3

* remove duplicate imports and add page titles everywhere iirc

* ok but actually this time

* remove unnecessary newlines

* fix title lol

* >

* fsdfsfsfsfsfs

* fsfs

* template configurations

* fix 500

* reduce login template bloat

* move files and add status codes where needful

* move authfroms to login

* remove 2fa bloat

* verification code

* sign up fixes

* readability

* fssfsfsfs

* move forgot password to login/

* readability

* don't emit comments

* add page titles where needful

* gsgsgs

* modals: move to respective pages

* testing on devrama

* get home garbage out of title

* remove insane amount of icon duplication

* sign up text

* add votes pagetitle

* fix blank lines

* Revert "fix blank lines"

This reverts commit b2c54339970725d00b6fc82bb458c1757909952c.

* Fix blank lines on sign_up.html.

* title: votes.html more meaningful identifier.

* titles: Lottery, Directory, Notifications

* head final in submission.html

* fix missing comma

* >

* test

* title: /comments

* fsfsfsfsf

* titles: user_cards

* head: only load video and audio meta attributes if they actually exist

* titlessssss: /admin/lottery/participants

* titlessssssss: extra quote in search.html

* titlessssss: userpage voters.

* titties: /h/<sub>/{followers,blockers,exilees[sic]}

* test banner

* Revert "test banner"

This reverts commit c3d875d03f3e60d72a60dab7d28bf108554a5826.

* make submit.html inherit from default.html

Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 02:52:22 -06:00
Aevann1 6fbe5405e7 remove useless btn 2022-11-21 01:53:53 +02:00
Aevann1 6b7b2ff59a show only permachudded users in /chuds 2022-11-20 19:37:45 +02:00
justcool393 eafae40aca titles: fix all titles where needful 2022-11-19 16:20:52 -06:00
Aevann1 5288d7a7dc remove android app and replace with instructions on how to install PWA 2022-11-20 00:04:08 +02:00