forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

9028 Commits (f653b25555b998a60528e2a36fb2fe42f10edc57)

Author SHA1 Message Date
outruncolors 5e1d98a3bf
WIP: Add Casino (Do Not Merge) (#341)
* Add new /casino route and template

* Consolidate lottery into casino and add initial template for slots

* Change /lottery route to /casino and replace icon with usd symbol and change sitewide const to reflect change

* Hook up new slots method to casino

* Enable Marseybux spending in casino slots

* Add UI for playing blackjack in casino

* First connection of blackjack UI to backend

* Add protective clause thanks to help from carpathianflorist.

* Create new Casino_Game relation and persist inside of blackjack

* Connect new slots behavior to Casino_Game table

* Create UI action management logic

* Add blackjack game status checker which adds persistence for blackjack

* Gonna handle this better, hold on

* Reorganize blackjack helper methods

* Reorganize casino.js to account for new changes

* Connect up to frontend

* Little changes ya know

* Display a message when winning in Blackjack

* Fix some issues with double down and insure

* Revert "remove owoify-py from requirements"

This reverts commit 4454648ea2.

* A little casino styling change

* Reorganize into a casino block

* Smallenize the card'

* Remove references to old game data on comments

* Add sql migration file

* Remove logic to drop old columns

* Fix two forgotten conflicts
2022-09-04 22:53:34 +02:00
Aevann1 bfaedc99fc restore bottom border 2022-09-04 22:31:50 +02:00
Aevann1 7a3a1a883c update nervous sweating hat 2022-09-04 20:59:50 +02:00
gooseman 862b9ebad9 popover hats? 2022-09-03 17:25:00 -07:00
gooseman e0262930ef pp20 hats 2022-09-03 16:53:45 -07:00
Aevann1 027bad8aeb dudup popover 2022-09-04 01:42:59 +02:00
Aevann1 e2744d9330 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-04 00:32:48 +02:00
Aevann1 038452f9a6 display total hat sales in /hats 2022-09-04 00:32:46 +02:00
gooseman f727ab4a2e Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-09-03 15:08:04 -07:00
gooseman 1afba98cec hopeless attempt at "fixing" hats page 2022-09-03 15:07:59 -07:00
Aevann1 d9a9d6bd0e /hats never reloads now, don't read code if u value ur sanity 2022-09-03 22:45:06 +02:00
Aevann1 393fbf075d decrease padding-top by 0.1px 2022-09-03 21:52:46 +02:00
Aevann1 865723470b show owners of hats 2022-09-03 21:36:50 +02:00
Aevann1 8f4236a294 fix samsung browser 2022-09-03 21:19:18 +02:00
Aevann1 5d704a2cb2 make /hats more intuitive 2022-09-03 21:11:02 +02:00
Aevann1 5feb479cd2 apply slur filter to hat descriptions 2022-09-03 20:55:03 +02:00
Aevann1 256b384e69 add 2 leaderboard tables for hats 2022-09-03 20:50:20 +02:00
Aevann1 3e75309821 rewrite sort_table.js, credit to htbz 2022-09-03 20:24:26 +02:00
Aevann1 5aaeb93b35 fix colors on most blocked table 2022-09-03 20:17:51 +02:00
Aevann1 a763646ea4 display /h/sub as tab name 2022-09-03 20:03:14 +02:00
Aevann1 a0579b40e0 restore metadata for audio 2022-09-03 05:39:35 +02:00
Aevann1 28dbe0d6ab fix WPD slowness 2022-09-03 05:34:06 +02:00
Aevann1 48affb53e6 more hat shit 2022-09-03 05:04:51 +02:00
Aevann1 0839077838 fix pup mask 2022-09-03 04:48:27 +02:00
Aevann1 8f5e4c3ec6 add .hat class for easier blocking 2022-09-03 03:52:54 +02:00
Aevann1 399518fed9 reduce the margin under the text 2022-09-03 03:18:48 +02:00
Aevann1 2d972eee41 same as last commit 2022-09-03 03:18:06 +02:00
Aevann1 39c5fa39c1 make the hats link look better 2022-09-03 03:17:41 +02:00
Aevann1 3b5aed864d add a link to /hats in /shop 2022-09-03 03:15:29 +02:00
Aevann1 db9a995032 more hats 2022-09-03 03:11:10 +02:00
Aevann1 de9f9ab11c display owned hats at the top 2022-09-03 02:27:19 +02:00
Aevann1 79b4e2c7dc
Hats (#349)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats

* replace weird iOS apostrophe ’

* print archiveorg response codes
2022-09-03 02:10:15 +02:00
Aevann1 88a2c69659
Hats (#348)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats
2022-09-03 01:58:55 +02:00
Aevann1 a52fe22dc9 fix css rule 2022-09-02 19:56:02 +02:00
Aevann1 567c772b11 add sidebar button for tabletcels 2022-09-02 19:54:01 +02:00
Aevann1 1de21241bd fix browsers' native dark mode 2022-09-02 19:27:51 +02:00
Aevann1 906c21acc4 add nocss parameter to holes 2022-09-02 19:03:42 +02:00
Aevann1 a1a84670a0 fix issue with deleted and removed posts 2022-09-02 19:03:00 +02:00
Aevann1 e06e76646a fix typo 2022-09-02 01:57:11 +02:00
Aevann1 73ee24e217 make the homepage button support posting to subs 2022-09-02 01:52:31 +02:00
Snakes e11a2d17ba Remove 'Create Post' from /admin/users. 2022-09-01 18:41:47 -04:00
Aevann1 78e1b1d369 fix bottom buffer for expanded image modal 2022-09-02 00:25:55 +02:00
Snakes c506ff0c40 Add admin mute for user reports and modmail. 2022-09-01 17:30:15 -04:00
Aevann1 523bfd93c5 show first frame of video 2022-09-01 22:43:11 +02:00
Aevann1 6b6a3163a5 fix award modal on mobile 2022-09-01 22:09:00 +02:00
Aevann1 f02834c29b cachebust main.css 2022-09-01 21:47:22 +02:00
Aevann1 259e31de7d change expanded image divs size to be proportional to screen height 2022-09-01 21:17:38 +02:00
Aevann1 3306f94fc5 change default dues from 10 to 0 2022-09-01 21:15:21 +02:00
Aevann1 768a2eda24 clarify CC function in WPD and PCM 2022-09-01 21:12:05 +02:00
Aevann1 c537348f74 remove pseudosubmit on desktop 2022-08-31 17:06:00 +02:00
Snakes 6acf4ff569
WPD: disable cosmetic awards on distinguished posts. 2022-08-30 23:18:59 -04:00
Aevann1 5f7df3fe66 fix minor weird shit in voting js logic 2022-08-30 23:45:52 +02:00
Aevann1 5363cbd721 remove weird spaces 2022-08-30 23:44:04 +02:00
Aevann1 351bc9c6bb add /h/social and /h/music to WPD 2022-08-30 22:53:44 +02:00
Aevann1 11afc5cff1 fix redirection on signup 2022-08-30 21:03:49 +02:00
Aevann1 9bc075193f increase margin after "users in chat" 2022-08-30 13:45:59 +02:00
Aevann1 dbd11ad061 tweak "view source" boxes 2022-08-30 07:37:11 +02:00
Aevann1 7fbcec3b82 turns out we didnt need a dedicated ajax variable 2022-08-30 07:26:13 +02:00
Aevann1 1a69b98b72 fix https://rdrama.net/post/98623/chris-chan-escaped/2605690?context=8#context 2022-08-30 07:21:40 +02:00
Aevann1 b036e24005 make sure comments a person makes that have level 10 aren't hidden 2022-08-30 07:17:33 +02:00
Aevann1 5ecc980a27 fix this https://rdrama.org/post/98623/chris-chan-escaped/2605690?context=8#context 2022-08-30 07:14:58 +02:00
Aevann1 a6dfb04647 add tabs in shop.html 2022-08-30 06:57:57 +02:00
Aevann1 497c82ca53 add award descriptions to award_modal in tooltips 2022-08-30 06:19:15 +02:00
Aevann1 c40fa120e8 remove ((( from chud award 2022-08-30 06:03:16 +02:00
Aevann1 a48fb3cd09 fix /marseys in offsites 2022-08-30 04:13:59 +02:00
Aevann1 5c2d1997db fix margins in post_actions_mobile.html 2022-08-30 04:08:38 +02:00
Aevann1 f1c9487001 make the expanded image buffers also a thing on desktop 2022-08-30 04:05:04 +02:00
Aevann1 1c12a6a82f decrease max-height for #chat-window by 1vh 2022-08-30 04:00:24 +02:00
Aevann1 112fa3a346 make the buffer in expanded-images div instead of pre 2022-08-30 03:56:31 +02:00
Aevann1 e67b879d78 fix legacy code 2022-08-30 03:55:27 +02:00
Snakes 2b4c2a2022
Disable glowie award effect on distinguished posts. 2022-08-29 11:48:29 -04:00
Snakes 5f09df467a Add uid data attributes to vote listing templates.
As a stopgap instead of providing proper API access to vote listings,
expose the user ID of a voter as a data attribute in the DOM so
automated consumers can easily scrape user IDs of voters, rather than
having to make additional requests to turn a username into a user ID.
2022-08-28 12:16:45 -04:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 67289ffc28 fix chat scrolling on mobile 2022-08-27 02:48:28 +02:00
Aevann1 57c62fad7b do this https://watchpeopledie.co/h/meta/post/6451/changelog-chat-is-now-ioscompatible/117359?context=8#context 2022-08-27 02:15:53 +02:00
Aevann1 421b20c610 fix syntax error in last commit 2022-08-27 00:35:07 +02:00
Aevann1 db53be0991 fix expanded images 2022-08-27 00:34:11 +02:00
Aevann1 22a6dfe402 fix modal max-width 2022-08-27 00:32:00 +02:00
Aevann1 45d5f52388 restore betting 2022-08-26 23:53:17 +02:00
Aevann1 ac98f54902 remove .can_gamble 2022-08-26 23:00:17 +02:00
Aevann1 0435081198 don't do more than 1 quote (chat) 2022-08-26 22:44:24 +02:00
Aevann1 edf9911123 don't force websockets 2022-08-26 22:25:17 +02:00
Aevann1 bc743fc169 try now 2022-08-26 21:47:40 +02:00
Aevann1 c7359d90b7 try now 2022-08-26 21:39:50 +02:00
Aevann1 c19eb23a67 despair 2022-08-26 21:35:58 +02:00
Aevann1 7e491208a3 chat shit 2022-08-26 21:31:46 +02:00
Aevann1 d2c6cf362e scroll chat on sending 2022-08-26 21:30:10 +02:00
Aevann1 71828e6528 fix Enter on iOS (chat) 2022-08-26 21:28:29 +02:00
Aevann1 58879a49a4 testing on prod 2022-08-26 21:24:24 +02:00
Aevann1 48b8788d89 zoom issue 2022-08-26 21:22:40 +02:00
Aevann1 483bacb5e3 fix zoom issue 2022-08-26 21:11:24 +02:00
Aevann1 d5f1e3f377 fixing zoom issue on safari 2022-08-26 21:03:42 +02:00
Aevann1 a10739af77 go back to polling for iOScels 2022-08-26 20:41:38 +02:00
Aevann1 750f045776 scroll chat when textarea is clicked 2022-08-26 20:32:25 +02:00
Aevann1 f1f71520bf dude testing on prod lmao 2022-08-26 20:31:53 +02:00
Aevann1 84777d1b29 dude testing on prod lmao 2022-08-26 20:31:28 +02:00
Aevann1 21fc6fe19c dude testing on prod lmao 2022-08-26 20:30:52 +02:00
Aevann1 9f55ff5458 chat depression 2022-08-26 20:30:15 +02:00
Aevann1 2211e81d80 chat 2022-08-26 20:29:05 +02:00
Aevann1 43ac6e96fb scroll chat when textarea is clicked 2022-08-26 19:57:31 +02:00
Aevann1 25a62abc13 use minified version of socket.io 2022-08-26 18:34:38 +02:00
Aevann1 ba24e1c328 remove expanded image 0.5rem vertical margin 2022-08-26 18:30:02 +02:00
Aevann1 e7b997fd01 testing on prod 2022-08-26 18:11:01 +02:00
Aevann1 8ee8a44256 add approved image hosts to /formatting 2022-08-26 17:20:20 +02:00
Aevann1 fd7114d335 extend css rule in chat 2022-08-26 17:00:58 +02:00
Aevann1 8ca2812dac fix blockquotes in chat 2022-08-26 17:00:19 +02:00
Aevann1 6ea5e5f679 fix blockquotes in chat 2022-08-26 16:58:48 +02:00
Aevann1 fdf8d0511f fix issues with chat 2022-08-26 16:53:56 +02:00
Aevann1 329b90c380 tweak image expanded modal 2022-08-26 02:38:22 +02:00
Aevann1 8fd3d3a565 dude margins lmao 2022-08-26 02:28:20 +02:00
Aevann1 4af1c61b63 same as last commit 2022-08-26 02:08:38 +02:00
Aevann1 4d2c5470ad more retarded blockquote shit 2022-08-26 02:07:32 +02:00
Aevann1 432f90b8d8 try to fix 2022-08-26 01:34:20 +02:00
Aevann1 54a5357136 why did i write this garbage code 2022-08-26 01:31:31 +02:00
Aevann1 027a4a854a fix prev commit 2022-08-26 01:30:05 +02:00
Aevann1 7162d015b0 cachebusting 2022-08-26 01:28:38 +02:00
Aevann1 46dafed5c6 fix prev commit 2022-08-26 01:27:11 +02:00
Aevann1 0aa631fa13 fix prev commit 2022-08-26 01:24:29 +02:00
Aevann1 d15b416397 add "just now" to chat messages delievered by sockets 2022-08-26 01:20:17 +02:00
Aevann1 b191f426d0 dumb cosmetic change for myself 2022-08-26 00:36:47 +02:00
Aevann1 b211ce596e dumb cosmetic change for myself 2022-08-26 00:32:58 +02:00
Aevann1 7860b85450 Revert "consolidate blockquote css rules"
This reverts commit 5b5f663342.
2022-08-25 23:30:29 +02:00
Aevann1 9032e23182 add patron icons for WPD 2022-08-25 22:34:05 +02:00
Aevann1 ef4f93576a sneed 2022-08-25 20:22:30 +02:00
Aevann1 133cdee0b3 adjust badge size 2022-08-25 19:50:18 +02:00
Aevann1 956eacc23b Revert "remove fixed height for badges"
This reverts commit c679fa74e8.
2022-08-25 19:45:27 +02:00
Aevann1 c679fa74e8 remove fixed height for badges 2022-08-25 19:44:13 +02:00
Aevann1 ef5458b85f add buffer to expanded images on mobile 2022-08-25 19:40:32 +02:00
Aevann1 c8ed20cd9c add patron badges for WPD 2022-08-25 19:29:31 +02:00
Aevann1 5b5f663342 consolidate blockquote css rules 2022-08-25 18:45:11 +02:00
Aevann1 513a5c7138 make blockquotes less ugly 2022-08-25 18:44:05 +02:00
Aevann1 8c906b9977 adjust margins 2022-08-25 17:35:13 +02:00
Aevann1 68fa28c4e3 remove ugly css rule 2022-08-25 16:08:19 +02:00
Aevann1 7308906612 sneed 2022-08-25 15:56:47 +02:00
Aevann1 965febc0a8 sneed 2022-08-25 15:53:24 +02:00
Aevann1 0fe6712b98 Revert "test on my samsung browser"
This reverts commit b6b3946f41.
2022-08-25 15:46:13 +02:00
Aevann1 b6b3946f41 test on my samsung browser 2022-08-25 15:39:47 +02:00
Aevann1 260bd7ac89 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-25 15:29:14 +02:00
Aevann1 5adeb117f5 double blockquote margins on mobile, will revert if someone complains 2022-08-25 15:29:11 +02:00
Snakes d25a172270
Disable pending frontend fix for Samsung mobile. 2022-08-25 00:52:20 -04:00
Aevann1 0df8aad2cd sneed 2022-08-25 01:20:37 +02:00
Aevann1 af39571820 sneed 2022-08-25 01:19:44 +02:00
Aevann1 dfd0c6fccc sneed 2022-08-25 01:19:25 +02:00
Aevann1 32a3a49a45 sneed 2022-08-25 01:18:37 +02:00
Aevann1 c5966d3c70 fix margin 2022-08-25 00:39:14 +02:00
Aevann1 51d1b4f42c revert last commit 2022-08-25 00:37:15 +02:00
Aevann1 db675c9c09 testing on prod 2022-08-25 00:33:42 +02:00
Aevann1 2139b89d44 cachebust 2022-08-25 00:23:57 +02:00
Aevann1 11d7f34ad0 allow hole jannies to change the hole marsey + cachebust all site assets 2022-08-25 00:22:44 +02:00
Aevann1 771b143372 restore feather icon 2022-08-24 23:58:39 +02:00
Aevann1 79eaf153c6 decrease margin between icon and text in post actions on mobile 2022-08-24 23:13:07 +02:00
Aevann1 5012ff28f2 Revert "increase margin for mobile comment actions (to match post actions)"
This reverts commit cf21da2585.
2022-08-24 23:12:22 +02:00
Aevann1 d34fab95b7 add "create post" button to mobile 2022-08-24 23:11:54 +02:00
Aevann1 1604e7f07d change WPD cached banner 2022-08-24 22:50:41 +02:00
Aevann1 754bef72f9 remove funonly.xyz 2022-08-24 21:06:26 +02:00
Aevann1 d1e88053ba Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-24 18:43:10 +02:00
Aevann1 604c2583af make clicking on the image inside posts expands it 2022-08-24 18:43:08 +02:00
booosy 8c81858566
Make search params dropdown class z-index id based (#338)
* Move dropdown class z-index change for search params dropdown to specific id

To avoid z-fighting

* main.css v++

Co-authored-by: Aevann1 <59999695+Aevann1@users.noreply.github.com>
2022-08-24 18:31:40 +02:00
Aevann1 cf21da2585 increase margin for mobile comment actions (to match post actions) 2022-08-24 18:30:02 +02:00
Aevann1 dd37573f98 fucking with blockquote margins again 2022-08-24 17:36:34 +02:00
Aevann1 9be2897eac remove the voting javascript logic I added for myself 2022-08-24 16:30:30 +02:00
Aevann1 f07445df31 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-24 16:11:13 +02:00
Aevann1 f824c23906 remove the gambling megathread 2022-08-24 16:11:09 +02:00
booosy f5e61f2d86 Js cachebreaking setup 2022-08-24 04:18:07 -04:00
booosy 50c39755fd Add trailing newlines 2022-08-24 04:18:07 -04:00
booosy 52d0ab537f add search help dropdown 2022-08-24 04:18:07 -04:00
booosy be38c1e980
Add title and exact boolean operators to search (#333) 2022-08-23 22:54:27 -04:00
Aevann1 163c241fa6 change blockquote margins again 2022-08-23 23:49:42 +02:00
Aevann1 9f1e65377d remove sum bullshit 2022-08-23 23:39:44 +02:00
Aevann1 f40368fce2 Revert "adjust blockquote padding"
This reverts commit dbce5a2d2d.
2022-08-23 22:03:19 +02:00
Aevann1 26ef45477d make clicking on pfps inside profile expand them 2022-08-23 20:55:24 +02:00
Aevann1 521dd8886c add "users in chat right now" to hamburger menu 2022-08-23 20:36:02 +02:00
Aevann1 25ca3e9ddc remove chat-specific css rule 2022-08-23 20:32:28 +02:00
Aevann1 dbce5a2d2d adjust blockquote padding 2022-08-23 20:24:06 +02:00
Aevann1 bc2078c755 fix margins of <p> after <blockquote> on mobile 2022-08-23 00:07:40 +02:00
Aevann1 e2c6321b94 increase max ping limit for comments from 3 to 5 2022-08-21 22:17:55 +02:00
Aevann1 82f6a34bde I hate my life 2022-08-21 17:46:19 +02:00
Aevann1 925b58e89b Revert "remove weird unnecessary css rule"
This reverts commit 76be409dbd.
2022-08-21 17:24:51 +02:00
Aevann1 fb2437574f change ping_limit to be 3 for comments, and 50 for posts 2022-08-21 17:05:32 +02:00
Aevann1 ce80f8e30e make blocks not work through ghost awards 2022-08-21 16:14:30 +02:00
Aevann1 41617f19c8 minor cosmetic change 2022-08-21 16:11:58 +02:00
Aevann1 47f661faeb minor css change 2022-08-21 16:05:05 +02:00
Aevann1 11f63c86ac increase header margin 2022-08-21 15:25:34 +02:00
Aevann1 f5a1a1b00d testing cosmetic changes on prod 2022-08-21 15:20:55 +02:00
Aevann1 76be409dbd remove weird unnecessary css rule 2022-08-20 21:56:29 +02:00
Aevann1 b7b7036b08 trying to fix an annoying bug 2022-08-20 14:28:14 +02:00
Aevann1 f60f4f54c0 small css change for blockquotes 2022-08-20 14:11:05 +02:00
Aevann1 3fa8db36d9 fix https://rdrama.net/post/95602/latinozoomer-latinx-white-supremacist-and-one/2547694?context=8#context 2022-08-20 13:57:09 +02:00
Aevann1 06c955ff94 Revert "try to fix https://rdrama.net/post/95602/latinozoomer-latinx-white-supremacist-and-one/2547694?context=8#context"
This reverts commit d550a0e85f.
2022-08-20 13:56:19 +02:00
Aevann1 d550a0e85f try to fix https://rdrama.net/post/95602/latinozoomer-latinx-white-supremacist-and-one/2547694?context=8#context 2022-08-20 13:40:32 +02:00
Aevann1 df3a5a0528 remove margins i added to expanded images 2022-08-20 13:35:59 +02:00
Aevann1 30d4fc6a62 remove max-width for expanded images 2022-08-20 02:08:31 +02:00
Aevann1 e1e7258e7a add def can_see(v) 2022-08-20 00:36:28 +02:00
Aevann1 a88b9d59c4 rename /h/chudtopia to /h/chudrama 2022-08-20 00:20:25 +02:00
Aevann1 5bcf824717 text change 2022-08-20 00:16:28 +02:00
Aevann1 4a8220d687 make chudtopians immune to chud effects 2022-08-20 00:12:53 +02:00
Aevann1 18f024d9c4 another cosmetic change 2022-08-19 23:55:43 +02:00
Aevann1 5117e30577 another cosmetic change 2022-08-19 23:55:04 +02:00
Aevann1 fb9fad0055 another cosmetic change 2022-08-19 23:54:35 +02:00
Aevann1 43602c4075 comsetic change to /h/holes 2022-08-19 23:53:45 +02:00