27 Commits

Author SHA1 Message Date
753c12bca5 fix(daemon-name): check for forbidden character in daemon name
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2026-01-08 12:21:51 +02:00
bc7d61f92a feat: custom Docker registries support (only for docker-install type)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-04-16 16:23:02 +03:00
b7a50db0b3 feat: added ability to disable FRP for HaRP<-->ExApp communication. (#555)
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Co-authored-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-16 16:20:09 +03:00
3d332ea7e2 HaRP support (#505)
This PR add support for HaRP - the successor of DockerSocketProxy.

---------

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
Co-authored-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Co-authored-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-04-01 17:03:22 +03:00
c5f3d6a764 docs(reuse): Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-18 08:40:54 +01:00
51714417bc keep "haproxy_password" encrypted in the database
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2024-11-20 18:26:32 +03:00
6d2300aeb9 (fix): do not expose haproxy password to UI
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2024-11-18 19:23:47 +03:00
3bf5132211 feat: Test deploy feature (#279)
This PR introduces a "Test deploy" button for each Daemon configuration
to verify each step and identify the error.

Resolves: https://github.com/cloud-py-api/app_api/issues/174

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-04-29 13:36:32 +03:00
2a0c19c9dc changed loglvl from "error" to "debug" (#243)
It is not an error, but just usual situation.

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-02-21 22:39:34 +03:00
003794670a Daemon Templates, Docker Socket Proxy, AppAPI 2.0 (#212) 2024-01-25 12:33:48 +00:00
bab7bee306 getRegisteredDaemonConfigs: always return array (#197)
Changed loglevel to debug(we should stick in all Services to loglevel
`info` or `debug`).

It is used in 3 places, one place is already covered with log level, two
more are in UI and it will visible in UI if returned array is empty.
2024-01-05 13:39:34 +03:00
bc454cae77 fix: remove last slash in url (#170)
Resolves: #169

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-19 15:24:48 +03:00
c58a50f99f added check of host value during daemon registration (#159)
Ref:
https://github.com/cloud-py-api/app_api/issues/153#issuecomment-1859634989

Small lazy check if `host` value starts from a protocol.

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-12-18 13:27:40 +00:00
b0e06fe4a1 property declaration/assigment php8.0 style (#124)
* removed property declaration/assigment
* added "void" return type to subclasses of Command class.

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-11-24 15:11:37 +03:00
1a01267cd0 show error note if default daemon is not accessible (#102)
Resolves: #100 

Check only default daemon connection the same as in ExApps management
page and show error note in admin settings.

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-10-23 14:57:24 +03:00
8017dba784 UI implementation(appstore, daemons) (#77)
- [ ] polish
- [ ] update docs with screenshots

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2023-10-02 20:55:33 +03:00
8b3f129143 app_ecosystem_v2 to app_api renaming(1) (#68)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-09-11 12:42:34 +03:00
0a6b653bfa Project updates (#19)
Changes:

- [x] Removed license comments from the beginning of files
- [x] Added LICENSE-README and AUTHORS
- [x] Added Notifications API draft
- [x] Updated Readme
- [x] Updated docs (authentication, development)
- [x] Added app icon license
- [x] Added issue templates
2023-07-24 23:13:04 +03:00
3ff978e660 Caching adjustments. Refactoring, use service layers with caching (#14)
Changes:

- [x] removed last_response_time and related functions
- [x] renamed last_response_time->last_check_time usage (getExApps) in
nc_py_api @bigcat88
- [x] added docker container healthcheck before heartbeat exApp in
deployment process @andrey18106
- [x] added php lint, cs, psalm, security cheks ci @andrey18106 
- [x] reviewed caches usage
- [x] reviewed exception handling and logging
- [x] added ci for tests with redis
- [x] php-cs fixes

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-22 14:05:17 +03:00
e8ff4c60a6 Dev: docs draft (#11)
TODO:
- [ ] Move SSL config to DaemonConfig->deployConfig
2023-07-14 02:10:32 +03:00
0d64fb2e35 DB changes. Added unique name for daemon config to use it instead of ID (#10)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-13 21:10:21 +03:00
d751941bd5 added support for docker by port (#7) 2023-07-12 22:44:55 +03:00
53e1eaa616 Dev: refactoring. DB changes. Commands fixes. Deploy config updates
Added route to register additional API scopes
2023-07-02 17:47:19 +03:00
91549108c5 Dev: deploy drafts 2023-06-29 23:28:05 +03:00
ddb116b78d Dev: polish. List daemons command. Return empty string if config value is null 2023-06-29 16:27:34 +03:00
e6560e1b86 Dev: commands refactoring, deploy draft, db fixes 2023-06-28 00:49:57 +03:00
2e6c0687c0 Dev: minor fixes, commands. DB changes (daemon table for deploys) 2023-06-26 21:02:40 +03:00