Girish Ramakrishnan
bd44bb4534
groups: add app access tests
2025-02-12 14:21:46 +01:00
Girish Ramakrishnan
0df1e3a47f
appstore: networkError is an aggreate error
2024-10-30 18:30:53 +01:00
Girish Ramakrishnan
78a08c5a0b
Use a real string as second argument since message can be undefined
2024-10-30 17:59:55 +01:00
Girish Ramakrishnan
61341b8380
boxerror: always pass second error string
2024-10-30 17:32:12 +01:00
Girish Ramakrishnan
6c3ca9c364
shell: rework code to use shell.spawn
...
spawn gives out streams and we have more control over the stdout/stderr
buffers. otherwise, we have to provide a max buffer capture size to exec
2024-10-15 12:13:46 +02:00
Girish Ramakrishnan
a9e1d7641d
shell: make require take a tag
2024-10-14 21:08:32 +02:00
Girish Ramakrishnan
1148724613
boxerror: handle AggregateError
2024-09-19 11:44:47 +02:00
Girish Ramakrishnan
2d04ec2308
appstore: check response is an image
2024-06-15 17:31:49 +02:00
Girish Ramakrishnan
ba0ab68f50
appstore: validate the id and the version
2024-06-15 17:11:11 +02:00
Girish Ramakrishnan
825fe21bd9
lint
2024-06-15 17:03:54 +02:00
Girish Ramakrishnan
3787f90283
appstore: bump timeout to 60s instead of 30s
...
this timeout is hit on some servers (which have some networking
issue). unfortunately, this triggers a bug in superagent -
https://github.com/ladjs/superagent/issues/1801
2024-04-23 11:41:51 +02:00
Girish Ramakrishnan
1cf315634c
appstore: check the type of unstable field
2024-04-16 19:19:27 +02:00
Girish Ramakrishnan
23de5b5a61
appstore: move existing apps sync to common code
2024-02-26 11:37:23 +01:00
Girish Ramakrishnan
a6f078330f
shell: no need to promise scoping
2024-02-21 19:40:27 +01:00
Girish Ramakrishnan
9b94cf18d0
convert more execSync to async
2024-02-21 11:00:12 +01:00
Johannes Zellner
5971d3bf77
Better error handling for setupToken
2023-12-02 18:20:13 +01:00
Johannes Zellner
cca3138f05
Remove appstore web token api
2023-12-02 18:20:13 +01:00
Johannes Zellner
242c091add
Add ability to register a Cloudron with a setupToken only
2023-12-02 18:20:13 +01:00
Girish Ramakrishnan
eee49a8291
move dashboard setting into dashboard.js
2023-08-11 21:04:10 +05:30
Girish Ramakrishnan
fb9d8c23e1
move appstore urls into appstore.js
2023-08-04 15:41:41 +05:30
Girish Ramakrishnan
6aad89ae6e
demo is just a constant, not a setting
2023-08-04 14:13:30 +05:30
Girish Ramakrishnan
47d57a3971
fold sysinfo into network
...
the backends are network backends
2023-08-03 13:38:42 +05:30
Girish Ramakrishnan
eb4213d61d
settings: cloudronId is only ever set
...
we use subscription API to get the cloudronId, never from database
2023-08-02 23:02:40 +05:30
Girish Ramakrishnan
85a73af303
settings: remove appstore listing config
...
this is not used anymore
2023-08-02 23:02:40 +05:30
Girish Ramakrishnan
be4c3575fb
settings: move web/api token to appstore
2023-08-02 23:02:40 +05:30
Girish Ramakrishnan
77e6b69a63
settings: remove unstable apps key
...
it's not used anymore
2023-08-02 23:02:40 +05:30
Girish Ramakrishnan
7835533838
typo
2023-07-01 13:34:58 +05:30
Girish Ramakrishnan
853677ab2e
appstore: fix crash because of error.message access
2023-06-26 18:06:37 +05:30
Girish Ramakrishnan
8f1c1df48f
support: fix issue where app error tickets cannot be opened
2023-04-02 18:19:03 +02:00
Johannes Zellner
016e0e8809
Give correct error if appstore login requires 2fa
2023-01-27 12:15:03 +01:00
Johannes Zellner
0035247618
add app repository support
2022-11-09 15:46:00 +01:00
Girish Ramakrishnan
45c9ddeacf
appstore: allow re-registration on server side delete
2022-05-26 22:27:58 -07:00
Girish Ramakrishnan
2596afa7b3
appstore: set utmSource during user registration
2022-05-19 00:00:48 -07:00
Girish Ramakrishnan
57ac94bab6
Fix appstore test
2022-04-04 13:55:23 -07:00
Girish Ramakrishnan
37a4e8d5c5
cloudron-setup: add --setup-token
2022-03-31 23:38:54 -07:00
Girish Ramakrishnan
81728f4202
appstore: make the args of updateCloudron clear
2022-03-31 23:27:00 -07:00
Girish Ramakrishnan
bc49f64a0c
appstore: it never returns 422
...
I think I meant 402 which is subscription expired/billing error
2022-03-31 22:51:40 -07:00
Girish Ramakrishnan
cae528158c
appstore: check login response
2022-03-31 22:43:34 -07:00
Girish Ramakrishnan
566a03cd59
remove unnecessary temp variables
2022-03-31 22:41:48 -07:00
Girish Ramakrishnan
ad2221350f
Add appstore web token
...
* For existing installs, migrate using the soon to be obsoleted user_token route
* For new installs, the token post login is stashed during registration time
2022-03-31 22:35:45 -07:00
Girish Ramakrishnan
656dca7c66
rename cloudron_token to appstore_api_token
2022-03-31 22:18:08 -07:00
Girish Ramakrishnan
3295d2b727
settings: remove licenseKey
...
this is unused
2022-03-31 12:47:45 -07:00
Johannes Zellner
c4689a8385
Add registerWithSetupToken() to be used
2022-03-31 17:29:44 +02:00
Girish Ramakrishnan
3b0bdd9807
support: send the server IPv4 when remote support enabled
2022-03-14 21:30:54 -07:00
Girish Ramakrishnan
a3e097d541
add missing awaits for eventlog.add
2022-02-24 20:04:46 -08:00
Girish Ramakrishnan
d35f948157
rename directory config to profile config
2022-01-13 14:39:49 -08:00
Girish Ramakrishnan
b18626c75c
getLocalLogfilePaths -> getLogPaths
2022-01-04 09:14:13 -08:00
Girish Ramakrishnan
9897b5d18a
appstore: fix crash if account already registered
2021-11-08 10:45:57 -08:00
Girish Ramakrishnan
fc1eabfae4
appstore: fix usage of getCloudronToken
2021-08-25 15:22:24 -07:00
Girish Ramakrishnan
77f5cb183b
merge appdb.js into apps.js
2021-08-23 15:35:38 -07:00