Commit Graph

2962 Commits

Author SHA1 Message Date
KernelDeimos cb2653b84d dev: no icons form /whoami calls without icon_size
Calls to `/whoami` generally don't require app icons. Fetching icons of
the smallest size still incurs round-trip latency from the database and
S3, as well as additional delay for any retries due to failed icon
generation.

Although this is technically a regression in `/whoami`, the impact is
localized to Puter's desktop only because apps are not allowed to
receive taskbar icons.
2024-12-23 11:26:44 -05:00
KernelDeimos d1bec45df6 dev: fallback icon read 2024-12-23 10:45:04 -05:00
jelveh 665f5559e1 make email confirmation window responsive 2024-12-23 06:59:09 -08:00
KernelDeimos e56a62c539 fix: try catching icon read errors before stream
Current issue with get-launch-apps wasn't fixed by catching errors while
reading the stream so this next attempt catches errors from the call to
start reading.

If the error occurs asynchronously this may not work either.
2024-12-23 09:50:01 -05:00
jelveh e736e428d6 disable email confirmation digit input while confirming 2024-12-23 06:43:46 -08:00
KernelDeimos ada051b9b8 fix: try catching on stream_to_buffer 2024-12-23 09:40:22 -05:00
jelveh d922c848ce request 64x64 icon sizes when opening apps 2024-12-23 06:17:16 -08:00
Nariman Jelveh eb26eacdc2 Merge pull request #1078 from HeyPuter/revert-1076-patch-1
Revert "Create devcontainer.json"
2024-12-22 12:07:28 -08:00
Nariman Jelveh ce0b4b9394 Revert "Create devcontainer.json" 2024-12-22 12:07:17 -08:00
Nariman Jelveh 613c75f1ed Merge pull request #1076 from akamas/patch-1
Create devcontainer.json
2024-12-22 12:07:09 -08:00
jelveh 6c1226bc8c emit an event when an app is opened 2024-12-21 22:44:20 -08:00
jelveh 55073189bb cleanup 2024-12-21 21:30:32 -08:00
jelveh 0beb442fa6 remove unused imports in helpers.js 2024-12-21 21:10:08 -08:00
jelveh e5f8127e21 Update app.js 2024-12-21 18:40:17 -08:00
KernelDeimos 5d049e8f06 fix: check if row.timestamp is Date 2024-12-21 14:57:37 -05:00
SAnker f4d36a271d Create devcontainer.json 2024-12-21 08:52:16 +01:00
Nariman Jelveh 770b957b42 Merge pull request #1024 from HatemLamia/add-french-translation
feat: Complete the  French (Français) translation of Puter #975
2024-12-20 17:59:24 -08:00
jelveh 76fbe9b4ce request 64x64 icons for Taskbar via /whoami 2024-12-20 14:06:37 -08:00
KernelDeimos e732859ff8 dev: icon_size for taskbar items 2024-12-20 16:39:05 -05:00
jelveh 530db18bae request 64x64 icons for taskbar and launch menu 2024-12-20 13:29:01 -08:00
KernelDeimos ee3f0c6e08 dev: do base64 svg check outside of get-launch-apps 2024-12-20 16:09:49 -05:00
Nariman Jelveh 77db3da1cf Merge pull request #1075 from joswin18/add-malalayalam-translations
Complete Malayalam translation based on English file #754
2024-12-20 12:48:22 -08:00
KernelDeimos df10a7c332 dev: add icon_size query for get-launch-apps 2024-12-20 15:08:10 -05:00
joswin18 3921241c46 Add Malayalam translations for missing keys in ml.js 2024-12-21 01:23:06 +05:30
KernelDeimos f14e1fefcf fix: AppES PD alert
This happened because the return signature of get_app_icon was changed
so that the MIME type can be returned when the uploaded or default icon
is being used as a fallback. AppES was not updated to account for this
change.
2024-12-20 13:56:32 -05:00
KernelDeimos a504c6ba2a perf: optimize recommended apps 2024-12-20 13:16:00 -05:00
KernelDeimos 3da571c39a test: unit-test get-launch-apps 2024-12-20 12:07:34 -05:00
KernelDeimos c6c3844763 chore: update kv.js 2024-12-20 12:07:24 -05:00
KernelDeimos 2a5073687d perf: reorder get-launch-apps behavior
As the recommended app list is hard-coded, these apps should be fetched
first as they don't depend on a database request.
2024-12-20 12:07:24 -05:00
jelveh e6194f028d support icon_size in the apps module of Puter.js and Dev Center 2024-12-20 06:58:02 -08:00
KernelDeimos 648d6e036d fix: fix for previous fix 2024-12-20 09:25:30 -05:00
KernelDeimos 4f3a1618b1 fix: fix fallback icon behavior in get_icon_stream 2024-12-20 09:12:50 -05:00
jelveh b1833ce1d7 close #1073 2024-12-19 19:35:22 -08:00
Hatem Lamia 4a77c93ce6 Merge branch 'main' into add-french-translation 2024-12-19 23:10:22 +01:00
KernelDeimos 9c86614df5 fix: revert test change 2024-12-19 13:22:50 -05:00
KernelDeimos 0d53020739 dev: fix a timestamp bug in old name expiry 2024-12-19 13:22:00 -05:00
KernelDeimos 6d2966f314 dev: AppES predicate transform for old name retry lookup 2024-12-19 13:22:00 -05:00
KernelDeimos c775a2e860 dev: option to follow old app names in get_app 2024-12-19 13:22:00 -05:00
KernelDeimos 0ccb3b2eed dev: track old app names 2024-12-19 13:22:00 -05:00
Nariman Jelveh 40abd568e3 Merge pull request #1067 from bill-c-law/explorer-table-too-wide
Fix explorer table extra white space on right
2024-12-18 16:06:36 -08:00
jelveh 7a98616c86 Restore package-lock.json from master 2024-12-18 15:39:11 -08:00
jelveh 8c9f92cb61 cleanup 2024-12-18 15:31:14 -08:00
KernelDeimos c69006e185 fix: acl check for subdomain on access 2024-12-18 14:51:30 -05:00
KernelDeimos 81ad3243b1 dev: entity storage parameters + app icon size 2024-12-18 14:12:42 -05:00
KernelDeimos f032faa06d dev: add fallback for missing icons 2024-12-18 13:04:52 -05:00
KernelDeimos 7ec6621111 dev: make code more compatible with migration branch 2024-12-18 12:20:47 -05:00
KernelDeimos 90967ab109 dev: add ico support 2024-12-18 12:05:11 -05:00
KernelDeimos 8a3d74d30c dev: add bmp support for app icons 2024-12-18 11:23:04 -05:00
KernelDeimos d67a6f0e0c doc: document and cleanup app icons 2024-12-17 15:17:31 -05:00
KernelDeimos fc87897a3d dev: parallelize app icon generation 2024-12-17 14:56:07 -05:00