jelveh
f1d0f9cd1f
Update style.css
2025-01-02 11:04:00 -08:00
KernelDeimos
3e4c8ab56b
dev: add wisp auth endpoints
2025-01-02 12:45:52 -05:00
KernelDeimos
13003c486f
fix: bad uuid reference to resourceService
2025-01-02 10:53:37 -05:00
jelveh
4691af3a6f
Update AppInformationService.js
2024-12-31 21:27:42 -08:00
jelveh
a0da1e06e3
Use puter.ui
's spinner for all spinners in Dev Center
2024-12-31 20:46:05 -08:00
KernelDeimos
ad8a3978c0
fix: allow localhost for development
2024-12-31 17:16:09 -05:00
KernelDeimos
29471a752f
dev: ll_readdir -> provider.readdir
2024-12-31 15:43:04 -05:00
KernelDeimos
0ef1849013
dev: make puterfs a mountpoint
2024-12-31 15:43:04 -05:00
jelveh
5d8ccf8c9e
Use the correct date formatting in get_stats
depending on DB engine
2024-12-31 11:21:08 -08:00
jelveh
13e5f7f69f
Replace non-existent timestamp
column with ts
in get_stats
2024-12-31 10:53:46 -08:00
KernelDeimos
9d578b8d1f
dev: begin de-coupling FSNodeContext/PuterFS
2024-12-31 13:15:01 -05:00
KernelDeimos
f7196991fc
refactor: rm legacy FSAccessContext and systemfs
2024-12-31 10:33:39 -05:00
jelveh
539b31cc5b
Don't allow dropping of Launcher icons after trash in taskbar.
2024-12-30 22:02:42 -08:00
jelveh
4da9f525da
delete components that aren't used
2024-12-30 20:39:51 -08:00
KernelDeimos
2728761d3c
dev: remove unnecessary filesystem methods
...
These used to serve a purpose but now they only cause a dependency loop
between LL*/HL* operations and FilesystemService itself, making it
difficult to strategize filesystem behavior.
2024-12-30 15:52:10 -05:00
KernelDeimos
dacbbf033d
fix: rewrite confusing log message
2024-12-30 15:34:12 -05:00
KernelDeimos
233260233c
fix: AppInformationService initialization
2024-12-30 15:23:37 -05:00
KernelDeimos
47a4313d92
fix: dev center app icon SVG issue
2024-12-30 13:39:12 -05:00
KernelDeimos
23eab63776
fix: app icon double-encode bug
...
When getting a stream for an SVG icon from AppIconService with a
previously-fetched stored icon provided, a double-encoding bug was
preventing a valid image from being obtained.
2024-12-30 13:38:41 -05:00
KernelDeimos
a6b9d33d27
fix: first read of recommended apps
2024-12-30 12:55:44 -05:00
KernelDeimos
055ba7d9df
dev: move recommended apps to service with cache invalidation
...
Adds an event for app invalidation.
Moves iconify_apps to AppIconService and adds RecommenededAppsService,
which holds some logic that used to be in get-launch-apps. The event for
app invalidation is then used by RecommenededAppsService to determine
when to clear the recommended apps cache.
2024-12-30 12:38:51 -05:00
KernelDeimos
c1961dd54e
dev: move app services to apps module
...
Moves AppIconService, OldAppNameService, and ProtectedAppService to the
new apps module to keep things organized, and updates imports. There
were no interesting init errors. Services creating a database at init
were tested for failures but this wasn't an issue. It turns out
initializing with a database accessor before the db service inits is
okay, but using that database accessor at init is not.
2024-12-30 11:03:27 -05:00
KernelDeimos
2de442be92
dev: add apps module, migrate AppInformationService
...
There are now several services related to apps, and
RecommendedAppsService is about to be added, making this a good time to
create a separate module for these services and migrate the legacy
service AppInformationService.
During migration it was realized that most of the initialization needed
to occur at boot.consolidation rather than boot.init because the
database needs to be initialized first.
2024-12-30 10:19:02 -05:00
jelveh
3ffb3cbc74
Remove credentialless
from Dev Center advanced section
2024-12-29 22:13:11 -08:00
jelveh
a105192882
Update dev-center.js
2024-12-29 21:53:43 -08:00
jelveh
3b60e9913e
Update dev-center.js
2024-12-29 19:25:13 -08:00
jelveh
cc0abf9f3b
Update style.css
2024-12-29 18:47:32 -08:00
jelveh
0d0f429bd8
Add icons to dev center sub tabs
2024-12-29 18:44:06 -08:00
jelveh
c9fe08cea5
Update style.css
2024-12-29 18:00:12 -08:00
jelveh
5da8872315
Update dev-center.js
2024-12-29 17:20:59 -08:00
jelveh
be24f2acec
Update dev-center.js
2024-12-29 16:53:09 -08:00
jelveh
bc0e7e12b5
Add better grouping and chart labeling for dev center analytics
2024-12-29 16:42:31 -08:00
jelveh
4f88ee37de
Analytics for apps 😎
2024-12-29 14:55:59 -08:00
jelveh
2bdaac6177
Update fuzz.js
2024-12-28 16:49:26 -08:00
jelveh
14cb77d544
Update fuzz.js
2024-12-28 15:42:40 -08:00
jelveh
c58788805d
Update dev-center.js
2024-12-28 14:48:01 -08:00
jelveh
3eff05d97d
add a little STYLE to analytics
2024-12-27 22:05:15 -08:00
jelveh
116c3d358a
add simple analytics tab for Dev Center
2024-12-27 21:52:17 -08:00
jelveh
ac8068a139
No need for params
when passing params to Apps driver
2024-12-27 18:24:09 -08:00
jelveh
d7aa08b345
Revert "if clichouse exists hit it in _refresh_app_stats
"
...
This reverts commit 9867d26432
.
2024-12-27 17:53:43 -08:00
jelveh
9867d26432
if clichouse exists hit it in _refresh_app_stats
2024-12-27 17:47:19 -08:00
jelveh
7252d2ef4f
Check cache first when returning stats for the all
period in the AppInformationService
2024-12-27 17:21:17 -08:00
jelveh
027f52d0fd
Update AppInformationService.js
2024-12-27 16:55:31 -08:00
jelveh
9f5a138047
add analytics to the Apps driver
2024-12-27 14:39:51 -08:00
KernelDeimos
c3fb0bca41
doc: document how to create a driver
2024-12-27 17:23:30 -05:00
KernelDeimos
396498f88a
dev: try a different approach for trigger_download
2024-12-27 15:27:03 -05:00
KernelDeimos
5e844205b3
dev: update/cleanup PerformanceMonitor
2024-12-27 13:15:55 -05:00
KernelDeimos
33d094322f
dev: change cache score for fs
2024-12-27 10:58:53 -05:00
jelveh
8daf1a5469
Update keyboard.js
2024-12-26 20:57:40 -08:00
jelveh
c58c0facda
Update get-launch-apps.js
2024-12-26 20:30:20 -08:00
jelveh
93aa83bdf7
change apps in taskbar and launcher
2024-12-26 20:21:46 -08:00
jelveh
5f5eeb2a06
Use alerts to show error message when signing up temp user
2024-12-26 17:28:46 -08:00
jelveh
e74aa13187
Send puter.signup
event before signup process starts
2024-12-26 17:14:11 -08:00
jelveh
76654e65de
Fix the issue with contextmenu going completely nuts when opened near the right edge of the screen
2024-12-26 13:43:34 -08:00
jelveh
68fb7e8291
Update AppInformationService.js
2024-12-25 18:26:20 -08:00
jelveh
e263c2be95
Update AppInformationService.js
2024-12-25 18:21:36 -08:00
jelveh
89eb6a80e1
AppInformationService
can now use clickhouse to pull metrics
2024-12-25 17:57:22 -08:00
jelveh
3d32f4123b
Send more infor in the puter.app_open
event
2024-12-24 22:52:07 -08:00
KernelDeimos
efd4730f75
fix: prefix peer addresses with protocol
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
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
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
...
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
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
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
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
KernelDeimos
925ebd5310
fix: attempt fix for prod issue with app icons
2024-12-17 13:51:33 -05:00
bill-c-law
c5198a03fe
Fix explorer table extra white space on right
...
Fix explorer table was always too wide with extra white space on right side causing an unnecessary horizontal scrollbar. Changed width for both the header row and item rows from 100vw to 100%, and added min-width.
2024-12-17 13:25:42 -05:00
KernelDeimos
046ef3cb4f
dev: add endpoint to read app icons
2024-12-17 12:57:24 -05:00
KernelDeimos
20d27d59bf
dev: create pre-sized icons for apps
2024-12-17 12:57:03 -05:00
jelveh
905be23854
Larger launch icons
2024-12-17 09:17:38 -08:00
jelveh
453b7d9ac9
Enforce taskbar height
2024-12-17 09:13:43 -08:00
KernelDeimos
f87769b445
fix: remove redundant notification query
2024-12-17 10:23:20 -05:00
KernelDeimos
2336a62b4f
fix: share only emails email_confirmed recipients
2024-12-17 10:00:43 -05:00
jelveh
63efee390a
Fix login using QR code
2024-12-17 06:48:40 -08:00
jelveh
47908f01a9
Add that sweet sweet subtle shadow for taskbar
2024-12-16 16:17:35 -08:00
jelveh
3c9a6b9d19
swipe to scroll Explore on mobile
2024-12-16 16:01:43 -08:00
jelveh
c9ab994042
Make progress window mobile friendly
2024-12-16 15:30:42 -08:00
jelveh
8019fd6b73
Update style.css
2024-12-16 15:21:17 -08:00
jelveh
ec2cb250b8
Update initgui.js
2024-12-16 15:16:04 -08:00
jelveh
35059098c3
Update style.css
2024-12-16 15:08:37 -08:00
jelveh
08d23ffca9
Update style.css
2024-12-16 14:58:03 -08:00
jelveh
a06f9c1ec1
Update style.css
2024-12-16 14:52:43 -08:00
jelveh
24ca4e6ad8
Update style.css
2024-12-16 14:44:55 -08:00
jelveh
b1c057e3a6
Update style.css
2024-12-16 14:35:15 -08:00
jelveh
276c9aab96
allow smooth swipe-to-scroll on mobile
2024-12-16 14:29:43 -08:00
jelveh
4e964d82ad
ok, apple is horrible.
2024-12-16 14:22:10 -08:00
jelveh
1c5d59da79
Update style.css
2024-12-16 14:19:05 -08:00
jelveh
07de2aba30
Update style.css
2024-12-16 14:13:53 -08:00
jelveh
ba7247e75d
More aggressive measures to disable pinch/pan zoom on touch devices
2024-12-16 14:05:17 -08:00
KernelDeimos
fd6f8bf225
perf: single request for gui boot kv keys
2024-12-16 16:54:08 -05:00
KernelDeimos
7ba1b7656b
fix: database issue with KBKV update
2024-12-16 16:54:08 -05:00
jelveh
7f036223f6
Update initgui.js
2024-12-16 13:35:18 -08:00
jelveh
380a4b45ef
Add user-scalable=no
to the desktop
2024-12-16 13:30:16 -08:00
jelveh
89aa02ccec
allow web-share in iframes
2024-12-16 12:58:51 -08:00
KernelDeimos
5a68691290
perf: multiple kv keys
2024-12-16 15:38:30 -05:00
jelveh
29d4eefbae
Update style.css
2024-12-16 07:25:11 -08:00
jelveh
6014b1ea36
append custom_script_tags_str
to the HTML of homepage
2024-12-16 07:09:37 -08:00
jelveh
3d761f008b
Emit add_script_tags_to_homepage_html
event before building the HTML of homepage
2024-12-16 07:01:44 -08:00
jelveh
556258847a
Fix sizing for windows snapping given the new taskbar
2024-12-15 21:49:31 -08:00
jelveh
d7c6229aea
update search position in both desktop and launcher
2024-12-15 21:39:05 -08:00
jelveh
b893a47595
Update style.css
2024-12-15 19:28:46 -08:00
jelveh
ab5bc17991
set correct size for home screen on mobile
2024-12-15 19:23:30 -08:00
jelveh
949f97eb2e
add mobile responsiveness for otp, login, and password recovery
2024-12-15 17:52:57 -08:00