Commit Graph

1211 Commits (d4210c2710cb544fb3d15c0edc2c800d948ca1c1)

Author SHA1 Message Date
Aevann1 a390f3d917 refactor my prev commit 2022-10-25 00:36:54 +02:00
Aevann1 b2317a4563 pause background music when a video or audio is played 2022-10-24 23:16:41 +02:00
Aevann1 b563b7af30 stop using "d-none d-md-block" 2022-10-23 19:57:38 +02:00
Aevann1 3c3950adb0 change video tags 2022-10-20 22:26:43 +02:00
Aevann1 b7ef01d4fc revert the voting thing i did for myself 2022-10-18 17:16:16 +02:00
Aevann1 d32341e7b9 add a bottom margin to post embeds 2022-10-18 13:18:06 +02:00
Aevann1 cbbc0ea2e5 limit size of images in preview 2022-10-17 10:51:22 +02:00
Aevann1 c49ae42205 fix for joan 2022-10-14 20:41:03 +02:00
Aevann1 2411053d55 add tiered pins 2022-10-14 20:28:20 +02:00
Aevann1 73bd39835b fix cursor on comment and post scores 2022-10-13 16:44:05 +02:00
Aevann1 86d5da7de6 fix this https://rdrama.net/post/112582/chudded-award-now-destroys-hours-of 2022-10-13 13:55:29 +02:00
Aevann1 e3a3cbd358 add "hot" comment sorting 2022-10-11 18:41:09 +02:00
Aevann1 83aa914865 more consistency in templates 2022-10-10 07:23:02 +02:00
justcool393 35162a4899 submission: change ADMIN_HOME_VISIBLE permissions to can view post mod tools perm
user: make so user can't moderate themselves at least in the UI
2022-10-06 18:44:33 -07:00
justcool393 767093d060 add perms for things we don't really know what they are 2022-10-06 00:32:05 -07:00
justcool393 9b8a3f21ab templateend hats, marseys, apps, notifications, etc 2022-10-05 23:56:37 -07:00
justcool393 2fc3044d5b shadowban perms and stuff 2022-10-05 19:24:37 -07:00
justcool393 591e6342bb editing permissions 2022-10-05 18:24:37 -07:00
justcool393 04f24cd8fd content moderation permission level
holy crap there's a lot
2022-10-05 17:57:08 -07:00
Aevann1 03e925fb3c use ban_reason column as a reason for shadowbanning too 2022-09-29 08:36:59 +02:00
Aevann1 6c1237eaa6 remove hand pointer from exile symbol 2022-09-29 07:53:36 +02:00
Snakes a3664e252c
assetcache: change asset_siteimg macro to filter. 2022-09-24 03:14:20 -04:00
Snakes 98936efe60
assetcache: apply to all CSS and JS assets. 2022-09-24 03:04:06 -04:00
Snakes 7b9ac8e13b
Fix Thin badge popover sizing; expand assetcache. 2022-09-23 18:38:53 -04:00
Aevann1 97dc727e22 cachebust 2022-09-20 23:22:58 +02:00
Aevann1 aa5752530a make max num of fireflies same max num of bugs 2022-09-20 19:27:41 +02:00
Aevann1 f54791cc4c remove categories 2022-09-19 20:04:30 +02:00
Aevann1 99000e7bd9 fix margins 2022-09-14 16:12:01 +02:00
Aevann1 bd7c0e71bf forgot to cachebust 2022-09-10 11:34:48 +02:00
Aevann1 77a0a83bed I give up 2022-09-10 05:16:00 +02:00
Aevann1 3501a917bb last test 2022-09-10 05:14:39 +02:00
Aevann1 d2186258c2 test on devrama 2022-09-10 05:12:19 +02:00
Aevann1 9b72491937 same ast last commit 2022-09-10 05:07:29 +02:00
Aevann1 07d0d328e8 testing on devrama 2022-09-10 05:07:19 +02:00
Aevann1 b712b93c6e useless commit but just in case 2022-09-10 03:54:03 +02:00
Aevann1 8e6fc96135 testing on devrama 2022-09-10 03:42:13 +02:00
Aevann1 00b71e0bc5 restore the original emoji icon 2022-09-10 01:52:52 +02:00
Aevann1 90551bc143 tryna fix new_comment_count 2022-09-08 21:08:42 +02:00
Aevann1 4791e7b14b revert icon change 2022-09-08 19:24:00 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Aevann1 bc2d1fb53f disable save_edit button on click 2022-09-07 03:13:28 +02:00
Aevann1 b2d134fa6c update glowing hat 2022-09-06 23:15:35 +02:00
Aevann1 10650aaa44 fix rainbow on post titles that link to shit 2022-09-06 06:26:36 +02:00
Aevann1 8d5a358ac5 fix 2022-09-06 06:23:15 +02:00
Aevann1 d0cfd8a8c1 change house femboy award 2022-09-06 06:16:41 +02:00
Aevann1 73dbb2dd7e change t2_ and t3_ to p_ and c_ 2022-09-06 00:52:22 +02:00
Aevann1 b3a56ca168 more hat shit 2022-09-05 06:33:08 +02:00
Aevann1 34c6842018 make the tooltip be "hat - description" 2022-09-05 05:55:41 +02:00
Aevann1 970cf6dccd update Sparkles and Emo Hair II 2022-09-05 03:58:05 +02:00
Aevann1 71b5367874 cachebust all css and js 2022-09-05 01:50:43 +02:00
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +02:00
Aevann1 7a3a1a883c update nervous sweating hat 2022-09-04 20:59:50 +02:00
Aevann1 5feb479cd2 apply slur filter to hat descriptions 2022-09-03 20:55:03 +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 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 88a2c69659
Hats (#348)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats
2022-09-03 01:58:55 +02:00
Aevann1 a1a84670a0 fix issue with deleted and removed posts 2022-09-02 19:03:00 +02:00
Aevann1 523bfd93c5 show first frame of video 2022-09-01 22:43:11 +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 dbd11ad061 tweak "view source" boxes 2022-08-30 07:37:11 +02:00
Snakes 2b4c2a2022
Disable glowie award effect on distinguished posts. 2022-08-29 11:48:29 -04:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 b191f426d0 dumb cosmetic change for myself 2022-08-26 00:36:47 +02:00
Aevann1 9032e23182 add patron icons for WPD 2022-08-25 22:34:05 +02:00
Aevann1 c5966d3c70 fix margin 2022-08-25 00:39:14 +02:00
Aevann1 604c2583af make clicking on the image inside posts expands it 2022-08-24 18:43:08 +02:00
Aevann1 a88b9d59c4 rename /h/chudtopia to /h/chudrama 2022-08-20 00:20:25 +02:00
Aevann1 4a8220d687 make chudtopians immune to chud effects 2022-08-20 00:12:53 +02:00
Aevann1 d4435a2a27 lazy loading for hats 2022-08-18 22:29:00 +02:00
Snakes 26b12fcbf1
Fix long domains overflowing submission_listing. 2022-08-17 01:33:10 -04:00
Aevann1 32e8f68ef5 show post links on desktop too 2022-08-16 18:05:16 +02:00
Aevann1 6e202bd995 allow iosfags to download audio 2022-08-15 15:20:37 +02:00
Aevann1 26bbc8b69a perserve the first 4 checkboxes in /submit too 2022-08-15 08:42:59 +02:00
Aevann1 9dac94cf8e make previous commit better 2022-08-15 08:22:10 +02:00
Aevann1 b010c4b228 fix previous commit 2022-08-15 08:21:08 +02:00
Aevann1 6f2fed7aa5 make downloading videos possible for iosfags 2022-08-15 08:17:19 +02:00
Aevann1 16f949e38d pure rage 2022-08-11 15:09:39 +02:00
Aevann1 f563d6b932 fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2402363?context=8#context 2022-08-11 13:39:38 +02:00
Snakes 249c593379 Hats: frontend interface, migrate cakeday.
Getting the basic hats frontend changes into master so my branch stops
diverging from the templates. Migrates the existing cakeday partyhat
functionality to the new system also.

Establishes a (hopefully) static interface for PFP hat display:
  - Hat image assets are 100px w x 130px h and anchored to the bottom-
    left corner of pfps.
  - User.hat_active provides either empty string or the internal
    string identifier for active user hat.
  - User.hat_tooltip provides mouseover text. Likely only to be used
    for cakeday hats on one's cakeday.

Additionally, per discussion with Carp, PFPs in comments and posts
increased from 25px diameter to 30px.
2022-08-11 03:30:43 -04:00
Snakes 1411018f8d Add post categories.
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
  - Admin panel for Category management.
  - Category selection on post submission.
  - 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Aevann1 db10272e1b delete contents of preview when submitting comments 2022-07-23 11:19:47 +02:00
Aevann1 f543abaaab fix 46786e117b 2022-07-23 11:08:02 +02:00
Aevann1 a4444c9402 make form a const 2022-07-23 10:57:53 +02:00
Aevann1 46786e117b allow ppl to make multiple comments to the same parents without reloading the page 2022-07-23 10:53:17 +02:00
Snakes 0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm. 2022-07-18 02:43:20 -04:00
Nekobit bde47271d7
Allow Inline Emoji modal in more areas (#318)
* Sneed

* Bust cache
2022-07-17 07:42:03 +02:00
Nekobit 4b47faa1ed
Inline Emojo Picker (#317)
* Inline emoji picker

* Inline text editor
2022-07-17 07:02:22 +02:00
Aevann1 aacaf50928 change pronoun design 2022-07-15 22:21:42 +02:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 093c83d7c9 tweaking bannedfor column 2022-07-12 22:00:19 +02:00
Aevann1 ee11a28636 fix flag filtering 2022-07-11 20:13:00 +02:00
Aevann1 20a659da73 hide reports made by shadowbanned niggas 2022-07-11 20:04:35 +02:00
Aevann1 6428dd08c5 add pronouns 2022-07-11 18:46:08 +02:00
Aevann1 3238a78eb1 fix confetti award 2022-07-09 10:42:09 +02:00
Aevann1 382df30e1f show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing) 2022-07-09 10:35:47 +02:00
Aevann1 14d2845f93 Revert "Disable fartmode on non-rDrama sites."
This reverts commit da27b16c39.
2022-07-08 20:10:42 +02:00
Aevann1 b617321529 move all env-getting to .const 2022-07-08 18:21:13 +02:00
Snakes 6ad935e12a Permission flags UI visibility; start PERMS dict.
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.

This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
Aevann1 4ccead8439 Revert "refactor "view more comments""
This reverts commit 68da93ec02.
2022-07-04 05:37:48 +02:00
Aevann1 d517baebdc Revert "make "view more" button neater"
This reverts commit cae656186a.
2022-07-04 05:35:10 +02:00
Aevann1 b55d17859e Revert "make the timeout 2 seconds for the button"
This reverts commit c222d36366.
2022-07-04 05:35:00 +02:00
Aevann1 c222d36366 make the timeout 2 seconds for the button 2022-07-03 12:15:55 +02:00
Aevann1 cae656186a make "view more" button neater 2022-07-03 12:15:15 +02:00
Aevann1 57e424af5b revert the "defer" thing 2022-07-03 12:10:04 +02:00
Aevann1 dc675fb23f fix showing new comments 2022-07-03 12:09:00 +02:00
Aevann1 68da93ec02 refactor "view more comments" 2022-07-03 11:11:18 +02:00
Aevann1 a49325ba14 defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost) 2022-07-03 09:42:33 +02:00
Aevann1 3245656787 show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
Aevann1 b26839a616 cachebust fireworks.js 2022-07-02 03:18:01 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Snakes 1b9237ceaf Add assetcache.asset_siteimg, has_logo.
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Aevann1 070945d98a cut down on the number of queries 2022-06-29 09:22:18 +02:00
Aevann1 5661cdb271 Revert "try to cut down on number of db queries"
This reverts commit c674c6a056.
2022-06-29 08:43:20 +02:00
Aevann1 c674c6a056 try to cut down on number of db queries 2022-06-29 08:14:25 +02:00
Aevann1 aac17a6daa show the username of the janny who banned 2022-06-28 02:59:08 +02:00
Aevann1 4fae28a2a2 fix child comment highlighting 2022-06-28 02:41:25 +02:00
Aevann1 6bd4efa61f Revert "make small text less small"
This reverts commit 42b0f37034.
2022-06-27 04:33:38 +02:00
Aevann1 42b0f37034 make small text less small 2022-06-27 04:18:14 +02:00
Aevann1 b1ef8e4c62 add poorcel mode 2022-06-27 04:14:53 +02:00
Aevann1 8e73d7aaad remove checking for device RAM 2022-06-26 23:48:39 +02:00
Snakes 268c23e2f8 WPD: make holes more flair-like in UI. 2022-06-26 03:42:15 -04:00
Aevann1 3b8188fd67 fixed version of d83d47e280 2022-06-26 03:22:05 +02:00
Aevann1 a1b137447e Revert "reduce query volume #1"
This reverts commit d83d47e280.
2022-06-26 03:12:31 +02:00
Aevann1 d83d47e280 reduce query volume #1 2022-06-26 02:50:47 +02:00
Aevann1 bc7185b5af order awards by the time they were awarded 2022-06-25 22:33:51 +02:00
Aevann1 905e32c60c remove the javascript block i used for testing 2022-06-25 19:29:34 +02:00
Aevann1 5d777a07b0 cache bust 2022-06-25 17:36:35 +02:00
Aevann1 1abcbecf19 fix RAM shit 2022-06-25 17:33:46 +02:00
Aevann1 66586dfce3 testing RAM thing 2022-06-25 17:20:34 +02:00
Aevann1 e4c50939e6 Revert "make threshold for RAM 3GB instead of 2.99GB"
This reverts commit 37b8fc5666.
2022-06-25 05:06:25 +02:00
Aevann1 37b8fc5666 make threshold for RAM 3GB instead of 2.99GB 2022-06-25 05:01:19 +02:00
Aevann1 ffd0d9ed31 show duration on ban icon tooltip 2022-06-25 02:11:00 +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 6b1560a9d2 add hunter biden's fart 2022-06-24 19:56:28 +02:00
Snakes e896a965ad Fix crab award media path. 2022-06-24 13:22:23 -04:00
Aevann1 4fc8520e24 remove post_toast2() and post_toast3() and incorporate them into post_toast() 2022-06-24 01:07:47 +02:00
Aevann1 80db653d3f fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2130416?context=8#context 2022-06-23 23:25:07 +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
Aevann1 d9cdbd0015 return to only allowing images/videos/audio 2022-06-19 18:56:45 +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 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