Sam Atkins
a68194090e
tweak(git): Check for 'ENOENT' instead of ErrorCodes.ENOENT
...
This is functionally the same, but removes one place where we
unnecessarily relied on Puter code.
2024-06-28 14:19:23 -04:00
Sam Atkins
c0562d78a2
docs(git): Document git client
2024-06-28 14:19:23 -04:00
Sam Atkins
622b6a9b92
feat(git): Implement git diff
2024-06-28 14:19:23 -04:00
Sam Atkins
49c2f16351
feat(git): Add start-revision and file arguments to git log
2024-06-28 14:19:23 -04:00
Sam Atkins
eb2b6a08b0
feat(git): Implement git pull
2024-06-28 14:19:23 -04:00
Sam Atkins
1822ace296
refactor(git): Use dir/gitdir variable names like isogit does
...
I prefer the other names, but being able to type `{ dir, gitdir }` is
shorter and a lot less error-prone than `{ dir: repository_dir, gitdir:
git_dir }`.
2024-06-28 14:19:23 -04:00
Sam Atkins
35e4453930
feat(git): Implement git checkout
...
For now this only lets you check out branches, not files.
2024-06-28 14:19:23 -04:00
Sam Atkins
98a4b9ede3
feat(git): Implement git fetch
...
Sporadically we hang while trying to fetch. I haven't been able to
identify why but it seems like a race condition in isomorphic-git
somewhere.
2024-06-28 14:19:23 -04:00
Sam Atkins
c86e4dfdce
Remove unused imports from git subcommands
2024-06-28 14:19:23 -04:00
Sam Atkins
ad4f13255d
feat(git): Implement git branch
...
Create, delete, copy, rename, and list branches.
2024-06-28 14:19:23 -04:00
Sam Atkins
43ce0d5b45
feat(git): Implement git remote
2024-06-28 14:19:23 -04:00
Sam Atkins
95c8235a4a
feat(git): Implement git clone
2024-06-28 14:19:23 -04:00
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
2faaeaedb3
chore: add write request to kdmod
2024-06-27 18:27:20 -04:00
KernelDeimos
e9ee3191e9
doc: document group endpoints
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
Nariman Jelveh
fbc02a5f62
Fix the issue with re-opening submenus using keyboard
2024-06-26 09:41:57 -07:00
Nariman Jelveh
8a763eab6f
fix multiple issues with ctx menu event delegation and keyboard navigation
2024-06-26 00:57:12 -07: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
Sam Atkins
d81f6e5ede
chore: Mark globals as being part of the window object
...
Silences eslint
2024-06-24 19:15:02 -04:00
Sam Atkins
00765d0fce
chore: Add mods/
directory to eslint
2024-06-24 19:15:02 -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
Nariman Jelveh
266e41f95c
Remove extra height for iframe when menu bar is in desktop
mode
2024-06-24 10:24:30 -07:00
KernelDeimos
2839e74420
doc: /sharelink/request
2024-06-24 01:11:40 -04:00
KernelDeimos
742f625309
feat: add /sharelink/request endpoint
2024-06-24 01:11:40 -04:00
KernelDeimos
b0e067e4ae
doc: misc doc additions
2024-06-23 17:35:19 -04:00
KernelDeimos
16b1649ff6
feat: add debug mod
2024-06-23 17:35:05 -04:00
Nariman Jelveh
a094ae5683
Update en.js
2024-06-23 10:01:16 -07:00
Nariman Jelveh
a521ff3d7c
Merge pull request #490 from HeyPuter/customizable-menubar
...
Customizable menubar
2024-06-22 22:10:01 -07:00
Nariman Jelveh
a58aa3f2e6
Close #480
2024-06-22 22:09:19 -07:00
Nariman Jelveh
0bd0eaf890
add the ability to pick between desktop and winow menubars
2024-06-22 19:51:29 -07:00
KernelDeimos
a72ec9799a
fix: readdir on file
2024-06-22 19:10:25 -04:00
Nariman Jelveh
704a4ead17
Show register form when user receiving a file is not the correctone
2024-06-21 12:16:42 -07:00
Nariman Jelveh
e31625d0da
Update IPC.js
2024-06-21 00:06:01 -07:00
Nariman Jelveh
d0e3da9b3e
Merge branch 'main' of https://github.com/HeyPuter/puter into main
2024-06-20 23:47:43 -07:00