Commit Graph

19 Commits

Author SHA1 Message Date
Self Denial
ac9308dbed Introduce canvasPixelTest() intended to validate canvas functionality
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate:

* Add canvasPixelTest() to test a single pixel and test the RGB values
* Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected
* Call canvasPixelTest() directly within settings to avoid setting an invalid image
* Use toast.error() with 10 second autoClose
2024-04-05 16:04:00 -06:00
Danny Liu
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -07:00
Danny Liu
6bb299ae25 run npm run format 2024-04-01 16:26:05 -07:00
Danny Liu
a0a064f4c8 update initals avatar if user changes name 2024-04-01 16:23:54 -07:00
Danny Liu
40e1e212d4 feat: default profile image with user initials 2024-04-01 16:11:28 -07:00
Timothy J. Baek
e664c38377 refac: settings styling 2024-03-16 02:24:32 -07:00
Ased Mammad
b8902072fd
Merge branch 'dev' into feat/add-i18n 2024-03-10 22:02:16 +03:30
Timothy J. Baek
8a08ba0791 refac: settings save 2024-03-09 22:02:27 -08:00
Ased Mammad
c7ca7d03ee Add more translations 2024-03-09 04:03:53 +03:30
Timothy J. Baek
04ddbf4306 fix: button click issue 2024-03-07 11:07:27 -08:00
Ased Mammad
25e0f0de42 Merge remote-tracking branch 'upstream/dev' into feat/add-i18n 2024-03-06 01:25:29 +03:30
Jannik Streidl
3fe5f00114 more translations 2024-03-04 09:53:56 +01:00
Carlos Daniel Vilaseca
a5c1ac9680 rf: dom queries in Account component 2024-03-03 17:32:04 -05:00
Ased Mammad
3c471ee2ca feat: Migrate hardcoded strings to i18n calls 2024-03-03 00:56:24 +03:30
Jannik Streidl
705f5aecd7 svelte-sonner migration 2024-03-01 10:18:07 +01:00
Timothy J. Baek
275523e32e feat: jwt utils 2024-02-19 20:44:00 -08:00
Timothy J. Baek
77e27ce248 fix: styling 2024-01-26 21:39:53 -08:00
Timothy J. Baek
0c322063b5 feat: use local profile image by default 2024-01-26 21:38:33 -08:00
Timothy J. Baek
3ce8f3e8fb feat: profile update frontend integration 2024-01-26 21:22:25 -08:00