Sam Atkins
725cbf2e20
Add support for launching child apps
...
Calling `puter.ui.launchApp()` now treats the new app as a child of the
one that launched it.
A child app is given a `puter.parent_instance_id` URL param, containing
its parent's instance ID.
Previously, `launchApp()` would resolve as soon as the app was launched.
This commit changes that, so that it is notified after the child app
sends its READY event to Puter. This means that as soon as `launchApp()`
has completed, the child app is ready to receive messages. The downside
is that launching an app that does not include Puter.js will now not
cause a notification, so `await puter.ui.launchApp()` will not resolve
in that case.
2024-04-06 12:27:36 +01:00
Sam Atkins
c78927d5db
Add messageToApp
message
...
This lets apps communicate with each other, via Puter.
We probably want to limit this in some way, but for now, all apps are
allowed to send messages to any other apps.
The message is:
- `targetAppInstanceID`: The instance ID to send the message to
- `targetAppOrigin`: targetOrigin passed to postMessage(), in case we
want to restrict which URL can receive the message
- `contents`: The message to send to the target
2024-04-05 16:38:12 +01:00
Eric Dubé
e2236d43fd
Merge pull request #234 from vineeth-vk11/#80
...
fixing issues in copy while overwriting
2024-04-05 03:21:22 -04:00
vineethvk11
6006767a9f
fixing issues in copy while overwriting
2024-04-05 09:11:39 +05:30
KernelDeimos
35abf9a6bc
Stop printing default password in logs
2024-04-04 22:17:00 -04:00
KernelDeimos
c3a4223bbf
Add service to check EOL date of node
2024-04-04 22:10:56 -04:00
KernelDeimos
4a2fa5a29f
Friendly node version errors
2024-04-04 21:39:32 -04:00
KernelDeimos
17a323298c
Make dismiss command print what was dismissed
2024-04-04 20:46:03 -04:00
KernelDeimos
27c99fd90a
Use OR IGNORE when sqlite
2024-04-04 20:02:35 -04:00
KernelDeimos
6c7175c109
NOOP legacy share fetch
2024-04-04 19:26:29 -04:00
KernelDeimos
cdd9dbf748
Add quick doc about https
2024-04-04 19:08:45 -04:00
Eric Dubé
be53a9472a
Update docker-image.yaml
2024-04-04 18:39:53 -04:00
KernelDeimos
08838c989e
Fix fragmented if..else seq (fix app tokens)
2024-04-04 17:44:54 -04:00
Eric Dubé
3e1c7eb434
Merge pull request #223 from vineeth-vk11/#211
...
removing storage limit for self hosters
2024-04-04 16:12:31 -04:00
KernelDeimos
2125367683
Avoid predicate.values not iterable error
2024-04-04 14:20:30 -04:00
KernelDeimos
809e33b053
Remove unused code
2024-04-04 14:18:34 -04:00
KernelDeimos
0efe163591
Update README.md
2024-04-04 13:56:33 -04:00
Eric Dubé
e8935f5582
Add many platforms arbitrarily
...
Related to #214 ; added additional architectures which may or may not work. I'd rather someone find out it doesn't work then for them to be blocked from even trying.
2024-04-04 13:47:24 -04:00
vineethvk11
0da9e1fab3
removing storage limit for self hosters
2024-04-04 22:31:37 +05:30
Eric Dubé
802370eb9d
Fix heading level
2024-04-04 02:14:36 -04:00
KernelDeimos
4e722b47b5
Document pub_port, which wasn't documented before
2024-04-03 22:11:52 -04:00
KernelDeimos
b055c5cdad
Fix change_username
2024-04-03 22:06:06 -04:00
KernelDeimos
b7a1f21e31
Fix puter sites errors
2024-04-03 22:05:33 -04:00
KernelDeimos
a04cac60e6
Fix db migration error in SQLES
2024-04-03 17:38:42 -04:00
KernelDeimos
274b69d017
Fix /file and /setItem
2024-04-03 17:21:25 -04:00
Nariman Jelveh
5fab338ba1
Merge pull request #219 from HeyPuter/eric/2024-04-02/display-directory-load-error
...
Display error in directory when readdir fails
2024-04-02 15:44:44 -07:00
KernelDeimos
6cd77384a5
Update default text for explorer-error-message
2024-04-02 16:50:22 -04:00
KernelDeimos
5290d78e20
Display error in directory when readdir fails
2024-04-02 16:46:34 -04:00
Eric Dubé
2ce02db1b5
Update issue templates
2024-04-02 05:03:39 -04:00
Eric Dubé
fff46a6b63
Update issue templates
2024-04-02 04:54:33 -04:00
KernelDeimos
369037e269
Fix incorrect asset urls
2024-04-02 04:19:22 -04:00
KernelDeimos
6f7264b60b
Fix logout for invalid sessions
2024-04-02 04:19:12 -04:00
KernelDeimos
9881fecacd
Fix error caused by fixing kv
2024-04-02 03:40:58 -04:00
KernelDeimos
cf9338c35f
Document different configuration locations
2024-04-02 02:14:59 -04:00
KernelDeimos
a9947ad97f
Update README.md
2024-04-02 02:09:36 -04:00
Eric Dubé
ac2e3e2873
Merge pull request #212 from shuguet/main
...
fix: Fix permission errors when running Docker. Update Docker Compose & Docker instructions
2024-04-02 02:02:46 -04:00
Sylvain Huguet
8f4eb5627b
Update instructions & docker-compose to reflect production paths
2024-04-02 07:45:14 +02:00
Sylvain Huguet
e4bd62b84c
Fix README instructions following path changes
2024-04-02 07:34:55 +02:00
Sylvain Huguet
0e033348f0
Fix permission errors when running Docker. Update Docker Compose & Docker instructions
2024-04-02 07:26:44 +02:00
KernelDeimos
0651aab1be
Fix DBKVStore value format
2024-04-02 00:47:14 -04:00
KernelDeimos
f8a7f1c1f9
Update README.md
2024-04-02 00:33:02 -04:00
KernelDeimos
c90931d004
Fix docker-compose.yml
2024-04-02 00:25:29 -04:00
KernelDeimos
a973f66092
Only load from source in dev environment
2024-04-01 22:26:09 -04:00
KernelDeimos
5d81ff4cbe
Fix dev console bar when columns has small value
2024-04-01 22:01:34 -04:00
KernelDeimos
7442b48157
Fix undefined instead of null in db query
2024-04-01 19:41:16 -04:00
KernelDeimos
59003a9ab9
Make dev-console use in WebServerService optional
2024-04-01 19:40:59 -04:00
KernelDeimos
40c2e3f442
Add April-1st-appropriate commit message guidelines
2024-04-01 19:33:11 -04:00
KernelDeimos
65b61fc90d
Remove unused variable
2024-04-01 17:24:48 -04:00
KernelDeimos
05c6cd6c3d
Separate default user into SelfhostedModule
2024-04-01 17:24:07 -04:00
Eric Dubé
15fcc5680f
Merge pull request #195 from shuguet/main
...
feat: Add support for running Puter self-hosted using the automatically built Docker image
2024-04-01 15:06:23 -04:00