Commit Graph

489 Commits

Author SHA1 Message Date
Sam Atkins
fa81dca950 feat(backend): Add tab completion to server console command arguments
A command can optionally define a `completer(args)` function. It takes
an array of strings for the current arguments, and returns an array of
completion results for the last argument.

Includes a few completers:
- alarm:info/clear/inspect completes the first argument as an alarm id
  or short_id
- script:run completes the first argument as a script name
- params:get/set completes the first argument as a parameter name
2024-06-28 11:18:29 -04:00
Sam Atkins
e1e76c6be7 feat(backend): Add tab-completion to server console command names 2024-06-28 11:18:29 -04:00
KernelDeimos
ecb997885c fix: bug introduced when refactoring /share to Sequence 2024-06-27 18:27:20 -04:00
KernelDeimos
c374b0cbca feat: add group permission endpoints 2024-06-27 18:27:20 -04:00
KernelDeimos
4216346384 feat: add group management endpoints 2024-06-27 18:27:20 -04:00
KernelDeimos
00149402e0 feat: add user-group permission check 2024-06-27 18:27:20 -04:00
KernelDeimos
b817a78efa sql: group permissions table 2024-06-27 18:27:20 -04:00
KernelDeimos
0ddb13e8ee sql: group table 2024-06-27 18:27:20 -04:00
KernelDeimos
e132a203d1 refactor: move check-user-permission to Sequence 2024-06-27 18:27:20 -04:00
KernelDeimos
b78c83a4ab refactor: share endpoint 2024-06-25 16:59:50 -04:00
KernelDeimos
5551326c98 doc: add documentation for app shares 2024-06-24 20:13:40 -04:00
KernelDeimos
9033f6f8c7 fix: update email share object 2024-06-24 19:12:21 -04:00
KernelDeimos
9751fd92a5 feat: add appdata permission (if applicable) on app share 2024-06-24 19:12:21 -04:00
KernelDeimos
13e2f72c9f feat: add subdomain permission (if applicable) on app share 2024-06-24 19:12:21 -04:00
KernelDeimos
0cf90ee39a fix: fix issues with apps in /share endpoint 2024-06-24 19:12:21 -04:00
Sam Atkins
46eb4ed2b9 fix: Throw an error when readdir is called on a non-directory 2024-06-24 19:08:56 -04:00
KernelDeimos
a136ee5edd fix: oops 2024-06-24 14:05:08 -04:00
KernelDeimos
15465bfc50 fix: improve console experience on mac 2024-06-24 14:01:00 -04:00
KernelDeimos
c79f500364 tweak: improve dev console 2024-06-24 13:53:00 -04:00
KernelDeimos
742f625309 feat: add /sharelink/request endpoint 2024-06-24 01:11:40 -04:00
KernelDeimos
a72ec9799a fix: readdir on file 2024-06-22 19:10:25 -04:00
KernelDeimos
301ffaf61d feat: add endpoints for share tokens 2024-06-20 22:15:57 -04:00
KernelDeimos
db5990a989 feat: add share service and share-by-email to /share 2024-06-20 22:15:57 -04:00
KernelDeimos
fc4ae19d99 chore: cleanup share.js 2024-06-20 22:15:57 -04:00
KernelDeimos
dd5fde5130 feat: update share endpoint to support more things 2024-06-20 12:58:04 -04:00
Nariman Jelveh
1500f84d46 close #483 2024-06-19 22:30:42 -07:00
KernelDeimos
82f86ee4ab doc(backend): protected apps; function and permissions 2024-06-20 00:43:52 -04:00
KernelDeimos
16c4907be5 feat: add permission rewriter for app by name 2024-06-20 00:32:12 -04:00
KernelDeimos
3ae0081b41 tweak: update this too to avoid confusion 2024-06-20 00:01:22 -04:00
KernelDeimos
f2f3d6ff46 feat: add protected apps 2024-06-19 23:44:42 -04:00
KernelDeimos
55c609b3fe fix: update test kernel 2024-06-19 19:55:50 -04:00
KernelDeimos
ceba309dbd fix: add stream limit 2024-06-19 18:33:56 -04:00
KernelDeimos
2008db0852 fix: validate size metadata 2024-06-19 18:33:56 -04:00
KernelDeimos
d14a30e089 devex: add command to start/stop recording logs to a file 2024-06-19 15:49:58 -04:00
KernelDeimos
eb17d61fc1 security: address 7018641 2024-06-19 15:17:58 -04:00
KernelDeimos
fb1e2f21fb feat: start directory index frame 2024-06-19 02:03:02 -04:00
Nariman Jelveh
581964b655 Make GUI open the relavant directory when URL is provided 2024-06-18 22:11:14 -07:00
KernelDeimos
a813fbbb88 feat: add cookie for site token 2024-06-19 00:51:16 -04:00
KernelDeimos
86fca17fb1 feat: add protected subdomains 2024-06-19 00:51:16 -04:00
KernelDeimos
e7c0b8320a feat: add querystring-informed errors 2024-06-19 00:51:16 -04:00
KernelDeimos
616f28d1d4 tweak: change default static hosting domain 2024-06-19 00:51:16 -04:00
KernelDeimos
56e527d3ee db: add protected flag to app and subdomain 2024-06-19 00:51:16 -04:00
KernelDeimos
360ad2e252 refactor: move FilesystemService to BaseService 2024-06-19 00:51:16 -04:00
KernelDeimos
3e98f1a8a8 tweak: acl update 2024-06-19 00:10:40 -04:00
KernelDeimos
cd65217f5c fix: switch share notif username to sender 2024-06-18 23:43:10 -04:00
KernelDeimos
d96f924cad fix: type error in puter-site 2024-06-18 13:03:40 -04:00
KernelDeimos
7eabb43bd4 fix: i forgot to test reloading 2024-06-18 05:09:29 -04:00
KernelDeimos
de5886698e fix: fix permission cascade properly this time 2024-06-18 03:56:38 -04:00
KernelDeimos
10cbf08233 fix: peers array assumption 2024-06-18 02:44:20 -04:00
KernelDeimos
b126b67094 fix: fix that fix 2024-06-18 01:40:27 -04:00
KernelDeimos
e63ab3a67f fix: add permission implicator for file modes 2024-06-18 01:39:13 -04:00
KernelDeimos
34d4d606c3 tweak: add more information to errors 2024-06-17 22:45:05 -04:00
KernelDeimos
831c29f23b tweak: report permission for file shares 2024-06-17 22:13:06 -04:00
KernelDeimos
6cdbc92ae3 tweak: add dry-run and tweak response for /share 2024-06-17 18:34:45 -04:00
KernelDeimos
846fdc20d4 feat: multi-recipient multi-file share endpoint 2024-06-17 18:34:45 -04:00
KernelDeimos
f7a054956b fix: add app_uid param to kv interface 2024-06-17 17:33:37 -04:00
KernelDeimos
35cbec43e6 tweak: add full fsentry to share notification 2024-06-16 22:00:15 -04:00
KernelDeimos
31d4eb090e feat: implicit access from apps to shared appdata dirs 2024-06-16 21:09:04 -04:00
KernelDeimos
a2a10b94be fix: do not delegate to select on read like ever that is really dumb 2024-06-16 20:57:32 -04:00
KernelDeimos
9b39309e18 fix: database migration 2024-06-16 18:59:45 -04:00
Nariman Jelveh
6d1c1d3ed2 Add support for the metadata attribute for the App object in puter.js 2024-06-16 15:12:33 -07:00
KernelDeimos
f7216b9567 feat: add app metadata 2024-06-16 16:41:28 -04:00
KernelDeimos
632c536616 fix: correct shown flag behavior 2024-06-16 02:19:37 -04:00
KernelDeimos
8c49ba2553 feat: add share list to stat 2024-06-16 01:54:25 -04:00
KernelDeimos
b648817f27 fix: incorrect error from suggested_apps 2024-06-15 23:21:54 -04:00
KernelDeimos
2f6c428a40 feat: send notification when file gets shared 2024-06-15 22:39:47 -04:00
KernelDeimos
f9d2a87d25 chore: choose end-user-facing name for fs nodes 2024-06-15 22:39:47 -04:00
KernelDeimos
0f05a41ea8 tweak: add improvements to share/file-by-username 2024-06-15 22:39:47 -04:00
KernelDeimos
9ac8535832 Add support for optional auth 2024-06-15 22:39:47 -04:00
Nariman Jelveh
ea84c2f26d Fix issues with inconsistent path formats for owned files vs shared files 2024-06-15 22:39:47 -04:00
KernelDeimos
f2c6e01296 fix: remove legacy permission check in stat 2024-06-15 22:39:47 -04:00
KernelDeimos
d128ceed6f fix: handle subpaths under another user 2024-06-15 22:39:47 -04:00
KernelDeimos
19a5eb0076 feat: add readdir delegate for sharing user homedirs 2024-06-15 22:39:47 -04:00
KernelDeimos
8424d44609 feat: add readdir delegate for shares in a user directory 2024-06-15 22:39:47 -04:00
KernelDeimos
1166e69c76 fix: remove last component when share URL is file 2024-06-15 22:39:47 -04:00
KernelDeimos
079e25a9fe feat: add /show urls 2024-06-15 22:39:47 -04:00
KernelDeimos
5d214c7b52 feat: add /share/file-by-username endpoint 2024-06-15 22:39:47 -04:00
KernelDeimos
d5d987ead6 chore: fix typo because acknowledge is not spelled awknowledge in any variant of the english language 2024-06-15 19:25:09 -04:00
KernelDeimos
20542b0565 tweak: update notification format 2024-06-15 18:59:32 -04:00
KernelDeimos
ef8f4de962 tweak: use timestamps to track notif awks 2024-06-15 18:59:32 -04:00
KernelDeimos
f06cb30447 tweak: set limit to 200 for notification select 2024-06-15 18:59:32 -04:00
KernelDeimos
c5334b0e19 feat: introduce notification selection via driver 2024-06-15 18:59:32 -04:00
KernelDeimos
0101f425d4 feat: add mark-read endpoint 2024-06-15 18:59:32 -04:00
KernelDeimos
02fc4d86b7 feat: re-send unreads on login 2024-06-15 18:59:32 -04:00
KernelDeimos
a1e6887bf9 feat: add service for notifications 2024-06-15 18:59:32 -04:00
KernelDeimos
a623c94728 tweak: set app/subdomain query limit very high 2024-06-15 16:41:51 -04:00
KernelDeimos
ba58c3fbeb Add a debug logger for backend 2024-06-15 16:02:07 -04:00
KernelDeimos
502c9a36c7 chore: cleanup console log in BroadcastService 2024-06-15 13:53:53 -04:00
KernelDeimos
1207a158bd feat: add cross-server event broadcasting 2024-06-14 23:17:58 -04:00
KernelDeimos
2cc1c5ac6c chore: fix linter errors 2024-06-14 22:01:31 -04:00
Nariman Jelveh
72641c66a2 Support the modification of individual items withing a menu bar 2024-06-12 19:18:24 -07:00
KernelDeimos
cdff12e4e0 Remove repo links from Phoenix shell init 2024-06-12 01:50:13 -04:00
KernelDeimos
8e0f150fab Fix ESM-interop issue 2024-06-11 13:57:03 -04:00
KernelDeimos
684b0dc059 Support configurable mod locations 2024-06-10 03:02:17 -04:00
KernelDeimos
8d22276f13 fix(backend): remove a bad thing that really doesn't work 2024-06-09 14:21:07 -04:00
KernelDeimos
eb05fbd2dc feat: add external mod loading
A package called "useapi" is introduced to provide a dynamic import
system. This import system, rather than relying on the state of the
filesystem, is populated as modules are installed into Puter's kernel.

The "useapi" package is then used to add support for loading external
mod directories as Puter kernel modules, making it possible to mod puter
without any tooling.
2024-06-09 13:14:48 -04:00
Eric Dubé
fa7bec3854
refactor: flatten the monorepo 2024-06-08 01:07:42 -04:00
KernelDeimos
f88c4a5c9c doc(backend): document modules, services, and service-scripts 2024-06-06 20:10:23 -04:00
KernelDeimos
30550fcddd feat(backend): add script service
The script service allows other services to register re-runnable tasks
called "scripts". These can be invoked via "script:run" in the console.
2024-06-05 16:17:03 -04:00
Nariman Jelveh
1416807c9d
Merge pull request #454 from eltociear/patch-3
chore: update UI.js
2024-06-05 10:39:43 -07:00