Commit Graph
5676 Commits
Author SHA1 Message Date
KernelDeimos dc5a7ca431 Display storage use of host/puter separately 2024-04-06 23:26:18 -04:00
Eric Dubé 95d33eab94 Merge pull request #238 from AtkinsSJ/app-ipc
Implement support for launching child apps, and IPC between a parent and its children
2024-04-06 07:51:17 -04:00
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
KernelDeimos 674cebd9e1 Add Linux support to HostDiskUsageService 2024-04-06 05:33:46 -04:00
Eric Dubé 0dd66463df Merge pull request #241 from vineeth-vk11/#233
Implementing HostDiskUsageService removing diskusage dependency
2024-04-06 05:29:21 -04:00
KernelDeimos beeeb7bcbf Tiny fix 2024-04-06 05:08:38 -04:00
vineethvk11 bf4bc214b2 Implementing HostDiskUsageService removing diskusage dependency 2024-04-06 13:03:09 +05:30
KernelDeimos b99534ebdf Add WIP color sliders 2024-04-06 02:35:06 -04:00
Eric Dubé c6fb75c65f Merge pull request #231 from HeyPuter/eric/user-to-user-permissions
User-to-User Permission Granting
2024-04-05 23:11:32 -04:00
KernelDeimos 38e8b19b50 Cleanup 2024-04-05 23:05:20 -04:00
KernelDeimos 90ce840234 Add revoke-user-user endpoint 2024-04-05 23:01:50 -04:00
KernelDeimos fc6eda392b Allow granting user-to-user permissions 2024-04-05 22:11:36 -04:00
KernelDeimos 343edbff51 Use weak CORS policy for experimental_no_subdomain 2024-04-05 16:51:57 -04:00
KernelDeimos fe88880486 Add experimental_no_subdomain flag 2024-04-05 16:21:19 -04:00
KernelDeimos 1c2e4968e2 Remove console log 2024-04-05 14:38:50 -04:00
KernelDeimos f9b375a39b Fix case when main domain is a subdomain 2024-04-05 14:38:33 -04:00
KernelDeimos eb18e74e88 Add error when someone forgets npm install 2024-04-05 14:09:34 -04:00
Eric Dubé 487553a00c Merge pull request #237 from eltociear/patch-2
Update download.js
2024-04-05 13:32:05 -04: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
Ikko Eltociear Ashimine 26e9822344 Update download.js
minor fix
2024-04-06 00:22:22 +09:00
KernelDeimos 207fa139d4 Add user-to-user permissions table 2024-04-05 03:23:31 -04: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
Mohamed Elashri 17ae6668b4 Add linux/arm/v7 again
We need to test if this is what causes the problem of the GitHub action getting stuck or `linux/arm/v6`
2024-04-05 01:10:47 +00:00
Mohamed Elashri 06a31fd67b Fix typo in arm64 namespace 2024-04-05 00:59:05 +00:00
Mohamed Elashri 1a13ef6921 remove linux/arm/v7,linux/arm/v6 emporarily 2024-04-05 00:55:44 +00: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é 1b72b80241 Merge branch 'main' into main 2024-04-04 18:43:39 -04:00
Eric Dubé be53a9472a Update docker-image.yaml 2024-04-04 18:39:53 -04:00
Mohamed Elashri accdec3af4 handle linking to python binary gracefully 2024-04-04 21:51:39 +00:00
Mohamed Elashri 95b6dbd140 Add python3 to use node-gyp to allow native cross platform build
python3 would be required by node-gyp to natively build node add-on. This is required if we build for multi-platform
2024-04-04 21:47:29 +00:00
KernelDeimos 08838c989e Fix fragmented if..else seq (fix app tokens) 2024-04-04 17:44:54 -04:00
Mohamed Elashri 74bff84226 Remove unpopular archs
For now, we need to stick to the most used archs for resources and build time reasons.
2024-04-04 21:35:22 +00:00
Mohamed Elashri b1a3124fcc Add requirements for multi-platform docker build to the CI 2024-04-04 22:58:00 +02: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