Commit Graph

641 Commits (d66e404e006ab6f90ccb098717ec6533a8006c56)

Author SHA1 Message Date
Aevann 95d1e69c68 fix wordle 2023-03-01 21:40:25 +02:00
Aevann a14159a8a9 dont save empty values in /submit 2023-03-01 01:53:32 +02:00
Aevann 1c2e865495 update currency values when buying awards from the award modal 2023-02-27 19:49:30 +02:00
Aevann 3d40cab998 fix bug affecting main picture in /submit 2023-02-27 19:28:20 +02:00
Aevann c6dcb2e93d add progress bar to comments 2023-02-27 19:25:38 +02:00
Aevann 8342e8b7c3 increase the limit from 8 files to 20 files 2023-02-27 18:05:28 +02:00
Aevann 1522158ed8 fix award_modal with js-created comments 2023-02-27 17:19:28 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 6e200d332e use [file] instead of <file> 2023-02-27 07:24:26 +02:00
Aevann 8fa3e7f7cf use fullname in "view source" 2023-02-27 03:37:53 +02:00
Aevann e7cb399d59 fix pasting files in the box in /submit 2023-02-26 15:38:17 +02:00
Aevann 8bd2d38539 fix leftover nigg 2023-02-26 14:47:51 +02:00
Aevann 663cdde1f4 increase the limit for concurrent file uploads from 4 to 8 2023-02-26 14:19:30 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann 686f88e9cf css solution to the height spam question 2023-02-26 13:08:52 +02:00
Aevann 4d6ffc3667 uncapitalize 2 words 2023-02-26 10:59:26 +02:00
Aevann 8503ab39e2 dedup in group_memberships.html 2023-02-26 02:05:37 +02:00
Aevann 63ff0d8511 better UI for ping groups 2023-02-25 23:44:02 +02:00
Aevann 7a8ec235e0 add tabs to award modal 2023-02-25 21:40:15 +02:00
Aevann 0832037d3e make it possible to kick niggas from ping groups 2023-02-24 21:41:25 +02:00
Aevann d26cc5a83f ping groups improvements 2023-02-24 21:29:07 +02:00
Aevann 6482a46955 restore compatibility 2023-02-24 09:31:12 +02:00
Aevann ae26306846 Revert "improve the showmore algo"
This reverts commit 9529cbbd61.
2023-02-24 09:29:46 +02:00
Aevann d2447905b0 same as last commit 2023-02-24 08:45:14 +02:00
Aevann f8b557c64c same as last commit 2023-02-24 08:45:01 +02:00
Aevann 0240094853 same as last commit 2023-02-24 08:44:23 +02:00
Aevann 96c732704d same as last commit 2023-02-24 08:43:58 +02:00
Aevann 6917f65a56 same as last commit 2023-02-24 08:42:31 +02:00
Aevann c346997d5d same as last commit 2023-02-24 08:40:18 +02:00
Aevann 1a91f42872 fix showmore button on old posts 2023-02-24 08:38:55 +02:00
Aevann e5f7c7a918 fix show more button in posts 2023-02-24 08:35:44 +02:00
Aevann 01040daf7c remove extra tabs 2023-02-24 07:32:59 +02:00
Aevann d0c59572c4 change all ?v= for css and js to 1 2023-02-24 05:53:01 +02:00
Aevann 9529cbbd61 improve the showmore algo 2023-02-24 03:24:50 +02:00
Aevann 1175340d06 make neko's inline emoji search for substrings like the normal search 2023-02-24 02:57:54 +02:00
Aevann 16ec48c116 delete useless piece of code 2023-02-22 22:54:16 +02:00
Aevann a395c18955 remove unnecessary tabs 2023-02-22 19:27:33 +02:00
Aevann 0825c3776e remove report with js 2023-02-21 20:30:55 +02:00
Aevann d649801cc7 use console.error instead of console.log in bottom.js 2023-02-21 20:29:32 +02:00
Aevann e652a9bfd0 delete unecessary linefeed 2023-02-21 20:24:30 +02:00
Aevann ecaa080a46 moe 2 files 2023-02-21 20:24:21 +02:00
Aevann b819fa51d0 make it possible for jannies to stack chuds and bans 2023-02-19 15:23:08 +02:00
Aevann 338033df2b use href attribute for refreshing instead of js 2023-02-19 14:22:19 +02:00
Aevann 104060e79a fix replying in chat while keeping expanded images fixed 2023-02-18 23:45:37 +02:00
Aevann e87d5b9db8 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3596659#context 2023-02-18 22:56:00 +02:00
Aevann 9a5c184144 add a const 2023-02-18 22:55:39 +02:00
Aevann 952fe68ea6 dont focus search bars on mobile since it triggers the keyboard which can be annoying 2023-02-18 20:58:07 +02:00
Aevann ffa4212c87 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3604423#context 2023-02-18 20:45:08 +02:00
Aevann 0c044acc01 use class "disabled' instead of attribute "disabled" for checkboxes (it looks better) 2023-02-18 20:26:33 +02:00
Aevann 4615e4138d fix expanded images in chat 2023-02-18 18:08:48 +02:00
Aevann c1c6c06547 fix minor console error 2023-02-18 18:02:19 +02:00
Aevann 38db199123 move the formatting copy buttons granny added 2023-02-18 17:58:08 +02:00
Aevann ef2bda6920 remove relinking 2023-02-18 16:55:18 +02:00
Aevann e8f17db1da dont replace hole value with blank 2023-02-18 01:44:53 +02:00
mummified-corroding-granny 0c670299c0 chat: update header chat count on websocket update message (#122)
Kindly,

Just a small lil PR to make sure the chat counts keep synchronized in /chat as users come and go

Thanks,
granny

Reviewed-on: #122
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-16 13:41:43 +00:00
mummified-corroding-granny 0c2128811f formatting page: add javascript to generate format copy buttons programmatically (#120)
Kindly,

As per $title:
* we add a button to the first column of each row of /formatting programatically
  * programatically because table is subject to change and tedious/complicated to write it for each row
* clicking on button copies text of second row to clipboard (reusing toasts code)
* did some javascript replacing because of preserving newlines and removing extraneous tabs

Thanks,
granny

Reviewed-on: #120
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-14 17:44:04 +00:00
mummified-corroding-granny 2cf1300498 chat: stop console error after clicking marsey emoji speed modal (#119)
Kindly,

As per $title. This is just a suggestion implementation

Whenever we click any marsey in the speed modal, it generates an error in developer tools console because markdown() is not defined. I suspect not being available is expected because that function is for re-rendering the markdown preview (????? when I look at chat code it is all spaghette to me)

Thanks,
granny

Reviewed-on: #119
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-13 18:57:52 +00:00
Aevann 47a4bdfa95 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3570350#context 2023-02-10 19:02:45 +02:00
Aevann c4953d924e more improvements to chat 2023-02-10 15:44:47 +02:00
Aevann 082a93bab5 save the value in "hole" 2023-02-09 10:25:26 +02:00
Aevann cb62c760a8 revert last commit 2023-02-08 18:50:02 +02:00
Aevann e975e46d31 minor fix 2023-02-08 18:49:34 +02:00
Aevann 134a9f4e44 minor fix 2023-02-08 18:46:08 +02:00
Aevann f9830ec6d0 minor syntax change 2023-02-08 09:32:21 +02:00
Aevann 104c6f1b89 keep "Post" button disabled 2023-02-08 09:21:52 +02:00
Aevann c4394316fb add upload progressbar in /submit 2023-02-08 09:15:37 +02:00
Aevann 90cd383e36 minor syntax change to file-upload eventlistener 2023-02-08 09:14:01 +02:00
Aevann 8fcf015d28 remove the stolen code 2023-02-08 09:13:07 +02:00
Aevann 7b98119a2e Revert "Revert "comment the stolen code""
This reverts commit 024994f47e.
2023-02-08 08:54:56 +02:00
Aevann 024994f47e Revert "comment the stolen code"
This reverts commit 6686c4b1e9.
2023-02-08 08:53:11 +02:00
Aevann 6686c4b1e9 comment the stolen code 2023-02-08 08:28:48 +02:00
Aevann 42ec3264d7 fix submit.js 2023-02-08 08:23:03 +02:00
Aevann 399d32eaf5 extend usage of features['NSFW_MARKING'] 2023-02-08 08:22:11 +02:00
Aevann 99fb404ada add upload progress bar 2023-02-08 06:19:23 +02:00
Aevann 56ed10f9fe remove testing shit 2023-02-07 03:23:17 +02:00
Aevann 711368baa5 same as last commit 2023-02-07 03:21:47 +02:00
Aevann 884f0a6f55 test smth on devrama 2023-02-07 03:17:22 +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
mummified-corroding-granny 786ba6aa56 moved toggleelement to register_new_elements() (#111)
We currently cannot see (toggle the dropdown/button) reports that are hidden behind the "show more" (comments) button. This PR fixes that.

Example of what is happening without this PR:
1. open megathread. The thread is long includes hundreds of comments implying need to click "show more" (comments) button
2. without clicking any "show more" (comments) button, click the flaggers button on one of the first comments
3. flaggers are presented as expected
4. click the "show more" (comments) button at the end
5. click the flaggers button on one of the comments that was hidden behind the "show more" (comments) button
6. the button does nothing and has no event listenner associated

With this PR:
1. all flaggers buttons work regardless if hidden behind "Show More" (comments) or not. Tested up to two "Show More" (comments) buttons

I did the PR this way because the view_more button calls register_new_elements() and not bottom.js as a whole

There are other things using data-toggleelement like the undelete button on comments and the Preview button on /submit. Both of those still work as expected

Reviewed-on: #111
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:18 +00:00
Aevann 3286a54de8 minor fix 2023-02-03 05:15:30 +02:00
Aevann e1a0e6a03e make images expandable in markdown preview 2023-02-03 05:04:23 +02:00
Aevann 6c24c3cfe9 remove types from emoji_modal.js 2023-02-02 22:07:28 +02:00
Aevann 8133b219a4 refactor popovers 2023-02-02 22:07:14 +02:00
Aevann 24ba5a6663 remove duplicate shit in core.js 2023-02-02 19:15:25 +02:00
Aevann 20067bb2b2 remove #modal shit 2023-02-02 01:31:52 +02:00
Aevann b8534e3586 Merge branches 'master' and 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-01 17:44:43 +02:00
Aevann 2cd909b645 fix roulette 2023-02-01 17:30:42 +02:00
mummified-corroding-granny 3a3e1d8d74 add javascript and css for non-click-sortable table headers th (#107)
I noticed there are some over-interactive tables in general on rdrama. Particularly, multiple columns in the shop tables (awards and hats), which allow you to sort by buttons, icons, … The one page for user profile views also comes to mind, because it uses relative time since last visit, is paged server-side and browsers do not know how to sort that type of data anyway.

Also I noticed there are some tables that have disabled sorting by using <td> instead of <th> for the headers as is the case of the following pages:
* @uid/followed
* @uid/following

All of these situations are accounted for but need to be changed later in a different PR, because I can't right now.

For example, the "Buy" column of the shop can be changed to the following to disable sorting:

`<th class="disable-sort-click">Buy</th>`

Reviewed-on: #107
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-01 14:10:10 +00:00
Aevann fad8d35992 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3501310#context 2023-01-29 17:08:03 +02:00
Aevann ee66071ce1 fix chat msg deletion 2023-01-29 11:27:47 +02:00
Aevann 70347cd609 use addEventListener instead of on 2023-01-29 11:19:04 +02:00
Aevann d272a467bc move bottom.js to core.js 2023-01-28 17:47:20 +02:00
Aevann 18ecf0a803 use only addeventlistener in bottom.js 2023-01-28 17:17:04 +02:00
Aevann ba909c1f10 fix console error 2023-01-28 16:53:05 +02:00
Aevann 010f424756 use addEventListener instead of onclick 2023-01-28 16:27:52 +02:00
Aevann ba5bfc2462 focus textarea when clicking on speed emoji option 2023-01-28 13:36:42 +02:00
Aevann abb702506f dont use var 2023-01-28 13:33:59 +02:00
Aevann 51f6c8bb0a aethetic consistency 2023-01-28 12:40:03 +02:00
Aevann a8a1af6bea dont use implicit addEventListener 2023-01-28 12:39:44 +02:00
Aevann a9f169d3be minimize document-wide eventlisteners 2023-01-28 12:38:14 +02:00
Aevann 2006040375 make lite-youtube pausing also work when the button is clicked 2023-01-28 12:38:06 +02:00
Aevann 8b859cc610 register_new_elements consistency 2023-01-28 12:37:26 +02:00
Aevann 5995c6094a make all entries register_new_elements consistent 2023-01-28 11:56:32 +02:00
Aevann 3d7a549139 add some spaces for readability 2023-01-28 11:55:55 +02:00
Aevann 8eb0eb1938 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3494238#context 2023-01-28 10:31:51 +02:00
Aevann 159773cf73 show namecolor in online listing 2023-01-27 20:15:38 +02:00
Aevann 1e30acc5a8 make all images have loading="lazy" 2023-01-27 19:55:25 +02:00
Aevann 4a795d924f show profile pictures in chat online list 2023-01-27 19:52:47 +02:00
Aevann 3c61799977 fix dynamically created popovers 2023-01-27 18:36:11 +02:00
Aevann 1d6209e5bc fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3419331#context 2023-01-27 15:06:37 +02:00
Aevann 06e3573a05 make chat pfps clickable 2023-01-25 05:30:08 +02:00
Aevann e68a1540c5 fix js error 2023-01-24 12:40:25 +02:00
Aevann 7eec8af383 add the upload image button for mesages in profiles to mobile 2023-01-24 12:19:20 +02:00
Aevann 7e47c0b9cc fix /log_out 2023-01-24 12:02:08 +02:00
Aevann c1b1ccedff chat improvements 2023-01-24 07:28:56 +02:00
Aevann 47dc6da582 allow pasting images in initial modmail and DMs 2023-01-23 14:00:04 +02:00
Aevann dd8e3255a0 allow pasting images in DM replies 2023-01-23 13:04:07 +02:00
Aevann 8396126606 add dm images 2023-01-23 11:58:38 +02:00
Aevann d9553d2636 chat anti-spam 2023-01-23 08:04:02 +02:00
Aevann fadc81246d increase filename in asset submission forms 2023-01-23 03:03:39 +02:00
Aevann b1131fc64b more scrolling 2023-01-23 01:17:59 +02:00
Aevann bb6d798647 fix quoting new messages 2023-01-22 08:00:50 +02:00
Aevann 2448c3104f debugging 2023-01-22 07:56:22 +02:00
Aevann 744f6ab437 debugging 2023-01-22 07:55:29 +02:00
Aevann c3d055ebf2 same as last commit 2023-01-22 07:34:01 +02:00
Aevann 47b7c0c23d more scrolling 2023-01-22 07:33:26 +02:00
Aevann f762695300 highlight ur quoted msgs 2023-01-22 07:30:57 +02:00
Aevann 31fc180cc8 scroll chat earlier 2023-01-22 07:17:25 +02:00
Aevann 542410eb27 fixes to chat 2023-01-22 05:16:37 +02:00
Aevann 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann 5cf50050c3 remove unnecessary line 2023-01-22 01:31:44 +02:00
Aevann 266aee186c fix chat 2023-01-22 01:19:46 +02:00
Aevann 9cc994babf more chat improvements 2023-01-21 13:58:10 +02:00
Aevann 2b6778808a fix file upload in chat 2023-01-21 13:48:32 +02:00
Aevann 24f6436b8f back to snake_case 2023-01-21 13:48:27 +02:00
Aevann 51b0952b56 another fix 2023-01-21 13:45:15 +02:00
Aevann 98135f55c6 more chat fixes 2023-01-21 13:44:22 +02:00
Aevann e4156607ea same as last commit 2023-01-21 13:41:11 +02:00
Aevann c6bc8752c8 more scroll_chat 2023-01-21 13:40:57 +02:00
Aevann d5a30c6f43 allow pasting images 2023-01-21 13:23:09 +02:00
Aevann 05e39c1aa9 improve chat timestamps 2023-01-21 13:19:46 +02:00
Aevann 919865cc51 addition to scroll_chat 2023-01-21 13:13:35 +02:00
Aevann b82d74ac12 fix quoting in chat 2023-01-21 13:05:58 +02:00
Aevann 12f6d75e77 minor fix for quotes in chat 2023-01-21 13:02:19 +02:00
Aevann 50043cd6fc dont use rendered text in quotes 2023-01-21 13:00:29 +02:00
Aevann 2404f8fbe7 fix message reposting 2023-01-21 12:58:37 +02:00
Aevann c047e0169a troubleshooting 2023-01-21 12:57:41 +02:00
Aevann 61e49bfe3c troubleshooting 2023-01-21 12:56:11 +02:00
Aevann f64f0ddaf0 fix last commit 2023-01-21 12:54:15 +02:00
Aevann f2fdefa8cd chat overhaul 2023-01-21 12:36:21 +02:00