Commit Graph

194 Commits

Author SHA1 Message Date
Grant 872343d13b Merge branch '82-pixels-are-not-always-up-to-date' into 'main'
Queue & run canvas redis cache in worker

Closes #82

See merge request sc07/canvas!9
2024-07-13 00:53:24 +00:00
Grant d2990845ad Queue & run canvas redis cache in worker 2024-07-13 00:53:24 +00:00
Grant 85dd5d76b8 Merge branch 'improve_stack_gain' into 'main'
Improve handling of the user pixel stack

See merge request sc07/canvas!8
2024-07-13 00:03:06 +00:00
Marius DAVID 5a44446138 Improve handling of the user pixel stack 2024-07-13 00:03:06 +00:00
Grant c2fba721f4 add bugsnag key as a build arg to dockerfile 2024-07-12 13:23:55 -06:00
Grant dd8f8068e7 add bugsnag reporting 2024-07-12 12:36:42 -06:00
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 07189888e4 hot patch: magic number cooldown 2024-07-12 02:43:09 -06:00
Grant 7e5215c07d Make login button more prominent 2024-07-12 02:42:43 -06:00
Grant 3337d82a63 Merge branch 'feat-pixel-placement-log' into 'main'
Pixel placement log / pixels.log

Closes #57

See merge request sc07/canvas!4
2024-07-12 03:28:28 +00:00
Grant 54574e35f9 Pixel placement log / pixels.log 2024-07-12 03:28:28 +00:00
Grant 73e0b7606c Merge branch 'feat-recaptcha' into 'main'
Google Recaptcha (version 1)

Closes #38

See merge request sc07/canvas!7
2024-07-12 03:17:21 +00:00
Grant 021f72162d duct-tape google recaptcha 2024-07-11 21:14:12 -06:00
Grant f24ea3365a Merge branch 'feat-mod-square-undo' into 'main'
Moderation Square Undo

Closes #16

See merge request sc07/canvas!6
2024-07-12 01:59:51 +00: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 a659bfcf4e Merge branch 'feat-canvas-freeze' into 'main'
Canvas Freezing

See merge request sc07/canvas!5
2024-07-11 18:09:06 +00: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 b27b4250c5 Merge branch 'more-audit-logs' into 'main'
More audit logs

See merge request sc07/canvas!3
2024-07-10 00:44:47 +00:00
Grant d336adc93a More audit logs 2024-07-10 00:44:47 +00:00
Grant 6956cfffd5 Merge branch 'feat-audit-log' into 'main'
Audit Log

Closes #56

See merge request sc07/canvas!1
2024-07-09 03:50:07 +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 c553dc13ca Merge branch 'feat-template-styles' into 'main'
Feat: Template Styles

Closes #71

See merge request sc07/canvas!2
2024-07-08 22:09:39 +00:00
Grant 06b06ba067 Feat: Template Styles 2024-07-08 22:09:39 +00:00
Grant 46214c56cf Pixel pick on template (fixes #70) 2024-07-07 17:51:51 -06:00
Grant 924815e629 rapid patch: add event info banner (related #69) 2024-07-05 23:06:26 -06:00
Grant 4e8ac29cb0 Fix welcome modal alignment (fixes #63) 2024-07-05 22:24:58 -06:00
Grant 7a915ca4bc fix cursor position not showing up in the meta box 2024-07-05 21:52:14 -06:00
Grant 29feba063c [wip] implement user & instance banning (related #17) 2024-07-05 21:46:40 -06:00
Grant 0ad4cd4f7e add reconnect debug lines 2024-07-02 17:57:07 -06:00
Grant ed97f6648d be more aggressive with loading canvas renderer 2024-07-02 17:28:26 -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 0e97316096 add pixel picker (fixes #55)
right click & middle click now get triggered by keybinds (uses auxclick event)
2024-07-02 13:20:14 -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