Commit Graph

66 Commits

Author SHA1 Message Date
Grant ac3cefe952 force an update to user data before giving more stack 2024-07-12 03:47:25 -06:00
Grant f1e07bfb90 Give user pixel back after they undo (fixes #77) 2024-07-12 03:21:53 -06:00
Grant 217953af35 Merge branch 'main' of ssh://git.sc07.company:2424/sc07/canvas 2024-07-12 03:09:11 -06:00
Grant fe5abb18e2 prevent users from being able to collect more than the max stack if they are AFK for too long 2024-07-12 03:03:54 -06:00
Grant b9487ba803 Add fix for client-side routing the client UI uses 2024-07-12 03:03:30 -06:00
Grant 02329f01a4 hardcoded settings & trigger canvas cache upon undoing pixels 2024-07-12 03:03:06 -06:00
Grant 10a510c42c jank: wrap oidc userinfo call (related #80) 2024-07-12 02:54:02 -06:00
Grant 54574e35f9 Pixel placement log / pixels.log 2024-07-12 03:28:28 +00:00
Grant 021f72162d duct-tape google recaptcha 2024-07-11 21:14:12 -06:00
Grant a74064623d Moderation Square Undo 2024-07-12 01:59:51 +00:00
Grant 678dab35ad fix prometheus performance issue 2024-07-11 19:10:40 -06:00
Grant 3dd4d7e0d0 implement canvas freezing 2024-07-11 12:05:47 -06:00
Grant 93dc27b17a allow alternate scripts to run in docker, fix performance issue with workers 2024-07-10 10:16:54 -06:00
Grant a7a9b35da6 Move canvasToRedis to a worker thread
Fixes #68
2024-07-09 21:01:28 -06:00
Grant 7c2dfbbbf8 add missing migrations for CANVAS_SIZE & CANVAS_FILL 2024-07-09 18:46:41 -06:00
Grant d336adc93a More audit logs 2024-07-10 00:44:47 +00:00
Grant caf19b247d Audit Log 2024-07-09 03:50:06 +00:00
Grant 5f57679bb3 add option to print sql instead of committing the changes itself 2024-07-08 20:43:09 -06:00
Grant bcbe093806 allow arguments to be passed to tools 2024-07-08 20:42:16 -06:00
Grant 414124cbcb remove Pixel -> PaletteColor constraint, it's not needed and prevents palette changes 2024-07-08 18:07:27 -06:00
Grant 5f00ca94d7 update seed_palette to use pxls palette 13 2024-07-08 17:25:51 -06:00
Grant 13cb98036c add dark grey to seed_palette
this also fixes the symbols not lining up on the template styles (there's another gray)
2024-07-08 17:05:24 -06:00
Grant 924815e629 rapid patch: add event info banner (related #69) 2024-07-05 23:06:26 -06:00
Grant 29feba063c [wip] implement user & instance banning (related #17) 2024-07-05 21:46:40 -06:00
Grant 0282576fa8 add readme to src/tools 2024-07-02 15:28:20 -06:00
Grant 076ff1c942 server now notifies the client when the canvas isn't cached
- added foundation for server-sent alerts (related #53)
2024-07-02 14:25:55 -06:00
Grant 7964954a0d add missing mobile click emitter 2024-06-30 13:13:33 -06:00
Grant b09ddd13b4 massive performance rewrite
- main canvas & blank canvas drawing moved to separate worker thread (if possible)
- server jobs moved to separate process (fixing CPU leak on heatmap generation)
- pixels now store if they are on top reducing db queries
- remove various methods to store pixel data in redis, reducing delay for various actions

additional fixed: (came up during performance fixes)
- added square fill (fixes #15)
- redraw loop (fixes #59)
- added keybind to deselect current color (fixes #54)
- pixel undos no longer delete the pixel from the db
- server logging now indicates what module triggered the log
2024-06-26 18:38:46 -06:00
Grant 78d97b52e3 add mod menu & ignore place limit (fixes #14) 2024-06-19 15:38:53 -06:00
Grant f237d292be rearrange metrics 2024-06-18 16:23:44 -06:00
Grant be0f53c0e2 add prometheus metrics (fixes #47) 2024-06-18 16:19:23 -06:00
Grant 80eebe38f0 add ratelimiting (fixes #40) & fix redis race-condition 2024-06-18 15:28:58 -06:00
Grant b4c7c10927 add autojoin general chat (related #6) 2024-06-12 15:15:40 -06:00
Grant 9e2e0556c4 add basic profile modal 2024-06-11 13:53:24 -06:00
Grant 5a30f3bda9 implement heatmap (fixes #31), fix a typo in palette, add opacity slider to virginmap 2024-06-05 17:00:13 -06:00
Grant ced4bdc2d1 prevent same color & same user pixels to be placed on top of each other (fixes #19) 2024-06-04 16:02:46 -06:00
Grant 771ddd4d39 move VITE_MATRIX_HOST & VITE_ELEMENT_HOST to ClientConfig (fixes #41) 2024-06-04 14:49:58 -06:00
Grant 6f7aad5da8 pixel whois, keybinds & fix coords not showing on hover (CanvasMeta) (related #11) 2024-06-03 21:05:22 -06:00
Grant 235bc0b6ca add instance & profile metadata 2024-05-31 14:01:39 -06:00
Grant 6294a28c56 persistent canvas size (fixes #12) 2024-05-30 16:34:03 -06:00
Grant 1d00b53aba show proper login error details (fixes #35) 2024-05-29 15:57:39 -06:00
Grant 6308992e02 fix admin UI serve 2024-05-28 21:02:00 -06:00
Grant ad1a785451 canvas resizing (related #12)
- updated client to allow for canvas size to change
- added API routes for admin UI to change size
- added isAdmin flag to user accounts
2024-05-28 20:34:59 -06:00
Grant 8559aea7c3 handle callback openid errors (fixes #34) 2024-05-28 12:50:14 -06:00
Grant c907d52027 add connection status, version comparing, not hardlocking until config being sent (fixes #27) (related #23) 2024-05-26 14:23:54 -06:00
Grant 8801efc9a3 migrate to OIDC for auth 2024-05-23 14:59:54 -06:00
Grant 5ba2eb0888 tsx is better at running ts in dev 2024-05-23 14:57:33 -06:00
Grant 45ad449f4e implement pixel undos (fixes #5) 2024-04-27 22:44:04 -06:00
Grant e09b78cf82 vary express & express-session options depending on environment (fixes #21) 2024-04-02 23:54:53 -06:00
Grant ea4b462a5f fix canvas randomly flipping (fixes #24) 2024-03-29 21:32:18 -06:00