Commit Graph

719 Commits (395bda14000106fbdf19036873b2f52977ede3d9)

Author SHA1 Message Date
Aevann 70d8510122 move 2 js files to /admin folder 2023-03-17 16:22:29 +02:00
Aevann f744887433 remove redundant js file 2023-03-17 16:20:20 +02:00
Aevann 5e35b9e2c7 remove leftover console.log 2023-03-17 15:37:20 +02:00
Aevann 146eb45122 make inserting files much more user-friendly 2023-03-17 15:20:11 +02:00
Aevann a83dc8bba9 make CF cache emojis without an extra page rule 2023-03-17 11:44:05 +02:00
Aevann 59ce111b79 fix multifile issue 2023-03-15 06:34:47 +02:00
Aevann cee74418ad move popover shit to register_new_elements 2023-03-14 10:39:56 +02:00
Aevann 08ae593de1 fix this https://stupidpol.site/post/154579/betting-badge-opportunity-are-you-a/3782163#context 2023-03-13 20:33:19 +02:00
Aevann 8eebf115a1 fix popover 2023-03-13 16:15:19 +02:00
Aevann 7d3ded73ae same as last commit 2023-03-12 21:44:00 +02:00
Aevann a708aeeb72 same last commit 2023-03-12 21:43:29 +02:00
Aevann e536210bfc fix bug on making posts 2023-03-12 21:42:13 +02:00
Aevann d2ccce4dba allow making bets in comments 2023-03-12 19:36:35 +02:00
Aevann e5b21825aa add js code to enforce the max attribute for number inputs 2023-03-12 16:45:52 +02:00
Aevann 965a484595 autoexpand generated textareas too 2023-03-12 16:09:43 +02:00
Aevann 835c5f810d use .img class 2023-03-12 15:13:28 +02:00
Aevann 49146f79a1 minor change to bottom.js 2023-03-12 14:49:20 +02:00
Aevann cb37d3273f use console.error instead of console.log in cases of error 2023-03-12 11:54:14 +02:00
Aevann ab8ec6bfc5 dedup saving shit in /submit 2023-03-12 11:54:00 +02:00
Aevann 5c8791fdd8 minor dedup 2023-03-12 10:35:44 +02:00
Aevann 2953a918bd limiting the #modal shit to mobile only 2023-03-12 10:34:33 +02:00
Aevann fedc723a7c retvrn to document-wide event listener to fix the barrage of bugs that won't stop 2023-03-12 01:40:08 +02:00
Aevann 305fa9e052 minor improvement to file js code 2023-03-12 01:36:38 +02:00
Aevann e73b584bb5 try to fix jumpiness of zooming out 2023-03-12 01:01:03 +02:00
Aevann 6ed2a36620 fix cursor file logic 2023-03-11 13:16:17 +02:00
Aevann 739efee3fe Revert "super ugly hack to make pasting files with selection smoother"
This reverts commit 12a5ffab0d.
2023-03-11 13:06:57 +02:00
Aevann 73c5479125 unminify critters.js + make spiderbro appear faster 2023-03-11 12:56:39 +02:00
Aevann b5d42463d7 show user id in popover 2023-03-11 12:24:17 +02:00
Aevann 2f043d8b0d fix undeleting highlighted comment 2023-03-11 07:13:45 +02:00
Aevann 170e1ed9d3 fix registered class to work as intended 2023-03-11 07:12:02 +02:00
Aevann f36336ea94 limit #modal to expanded images 2023-03-11 06:59:47 +02:00
Aevann 50fe438065 better register_new_elements 2023-03-11 01:47:50 +02:00
Aevann ba22df33df fix showmore 2023-03-11 01:30:42 +02:00
Aevann a64e986a6e restore the old behavior for modals 2023-03-10 23:54:58 +02:00
Aevann be292043a0 fix this ? https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759628#context 2023-03-10 23:41:43 +02:00
Aevann 37dcee3b5b fix this ? https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759601#context 2023-03-10 23:38:52 +02:00
Aevann 978c50a0ce fix this ? https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759575#context 2023-03-10 23:33:41 +02:00
Aevann f456077659 try to fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759332#context 2023-03-10 23:19:08 +02:00
Aevann db6f0bf3a6 fix showmore in profile bios 2023-03-10 23:10:46 +02:00
Aevann 573d6a6fc6 Revert "use () => instead of function() for consistency"
This reverts commit b9aad1503c.
2023-03-10 05:21:02 +02:00
Aevann 07ff206524 Revert "dont have a max limit for mini picker"
This reverts commit 7f3b607162.
2023-03-10 04:14:42 +02:00
Aevann a42ecd67bf on mobile - zoom out when closing expanded image (testing on devrama) 2023-03-10 03:51:45 +02:00
Aevann 7f3b607162 dont have a max limit for mini picker 2023-03-10 03:35:29 +02:00
Aevann b9aad1503c use () => instead of function() for consistency 2023-03-10 03:33:05 +02:00
Aevann 52372b156d actually fix cancel button 2023-03-10 03:31:54 +02:00
Aevann 824f0e3916 mini picker: add a space after emoji 2023-03-10 03:16:21 +02:00
Aevann 555941cfc7 make disabling buttons consistent 2023-03-10 01:49:42 +02:00
Aevann 3f6c81407b fix cancel button not working sometimes 2023-03-10 00:44:31 +02:00
Aevann fde1b676b7 i have no idea wtf im doing 2023-03-09 22:34:36 +02:00
Aevann 3415120eb2 am i retarded x2 2023-03-09 22:32:12 +02:00
Aevann 693e882eec am i retarded? 2023-03-09 22:31:13 +02:00
Aevann 75ee789b98 fix i think 2023-03-09 22:30:01 +02:00
Aevann ceef37472e make the logic for disabling buttons consistent 2023-03-09 21:41:08 +02:00
Aevann 27b6d23e13 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3740898#context 2023-03-09 07:59:44 +02:00
Aevann 5708d4d64e dont wipe saved shit in /submit unless post is successful 2023-03-09 07:52:20 +02:00
Aevann e5fb424bd3 minor fix to handle_files() 2023-03-09 07:28:22 +02:00
Aevann f202188d66 same as last commit 2023-03-07 07:38:55 +02:00
Aevann bdde66f020 parse sortKey as int too 2023-03-07 07:37:14 +02:00
Aevann ec4b32caee make disable_btn work for 1 seconds instead of 2 2023-03-07 07:31:20 +02:00
Aevann a1838f3e77 allow betting with mbux 2023-03-07 07:27:21 +02:00
Aevann 7b0d829cbf reduce timeout for disable_btn 2023-03-07 06:43:54 +02:00
Aevann 01a9a77f17 remove leftover console.log 2023-03-07 03:52:17 +02:00
Aevann 445b80bd4f render all images in markdown preview 2023-03-07 03:52:02 +02:00
Aevann 68e481b15d fix disabling buttons 2023-03-07 02:58:02 +02:00
Aevann 590728b1c4 fix wrong syntax :marseybrainlet: 2023-03-07 02:40:39 +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 5e84b0d5ec increase max filename from 20 chars to 50 2023-03-06 19:51:54 +02:00
Aevann e3b6a1949b same as last commit 2023-03-05 01:09:36 +02:00
Aevann 9e9297f420 fix file upload in chat 2023-03-05 01:07:05 +02:00
Aevann 6260aae75a fix last commit 2023-03-05 00:29:51 +02:00
Aevann 3a67c1647d fix bug with pasting in /submit + dedup 2023-03-04 21:54:06 +02:00
Aevann b84d24ffa1 expand all textareas on load 2023-03-04 20:09:15 +02:00
Aevann 12a5ffab0d super ugly hack to make pasting files with selection smoother 2023-03-02 00:11:17 +02:00
Aevann a6ca86006c dont alert rslurs 2023-03-01 23:42:09 +02:00
Aevann 2241970b4c autoexpand when filling /submit text 2023-03-01 23:24:15 +02:00
Aevann eb7631d70e insert filename at cursor 2023-03-01 23:20:54 +02:00
Aevann 756c750bce change markdown preview to reflect poll changes 2023-03-01 23:02:24 +02:00
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: rDrama/rDrama#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: rDrama/rDrama#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: rDrama/rDrama#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