KernelDeimos
efd4730f75
fix: prefix peer addresses with protocol
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-12-24 16:49:22 -05:00
KernelDeimos
d386096467
feat: hash-based distributed cache inval
2024-12-24 16:19:58 -05:00
KernelDeimos
eb7494ce55
dev: measure cache rate and fix an edge-case
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-12-24 14:04:22 -05:00
KernelDeimos
7c29d7c16d
dev: smaller readdir app icons
2024-12-24 13:11:39 -05:00
KernelDeimos
498d6ed3d8
clean: remove unnecessary additional method
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-12-23 15:49:15 -05:00
KernelDeimos
728ecbfb03
fix: clone message object
2024-12-23 15:27:25 -05:00
KernelDeimos
35cc83a560
dev: filter topic ARNs (and tweaks)
2024-12-23 14:58:39 -05:00
KernelDeimos
5ed2f39ec7
dev: add Amazon SNS integration
...
There were a few things which made this rather difficult:
- AWS SDK doesn't appear to have a utility to validate message
signatures.
- The only available node.js module that does this is known to be
unreliable.
- SNS sends 'text/plain' MIME type even though the data is in JSON
format, so a middleware had to be added to account for this.
- We don't accept POST requests with no Origin header. Since SNS doesn't
send the Origin header, an exception had to be made for this.
- The endpoint needs to be public and SNS doesn't seem to have a
proxying utility for developers such as what Stripe has.
- Because of the above point, debugging time was affected by deployment
time to the staging server.
2024-12-23 14:53:18 -05:00
KernelDeimos
2dc6c4737b
fix: timing for PrefixLogger call to /whoami
...
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
This commit fixes the timing of the /whoami call used for the
PrefixLogger (a logger for puter.js that displays app names) to ensure
the API origin and token are available. This is done by waiting for a
service called 'api-access' to be initialized first.
This was discovered while testing changes for /whoami responses that
display icons, because the current behavior breaks the call for
non-puter.com instances.
2024-12-23 11:50:30 -05:00
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
...
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
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
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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
...
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
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