Commit Graph

26 Commits

Author SHA1 Message Date
c207a7a7b1 chore(ci): update to Psalm 6
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-06-05 15:50:14 +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
575b3d4f74 removed not used last_check_time field (#375)
Also drops no longer used field `api_scopes` from the DB

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-09-05 14:29:38 +03:00
1eab9f6814 feat: remove ApiScopes (#373)
Ongoing optimization, unnecessary stuff removal to reduce the number of
requests during AppAPIAuth.

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-09-04 20:37:02 +03:00
65003cd5d1 ExApp routes (public/user/admin) support (#327)
This PR introduces new (mandatory if you use the ExApp proxy) registration of the routes that are allowed to call on ExApp via AppAPI ExApp proxy.

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-08-02 16:47:06 +03:00
eea14dc504 optimization: system flag and ex_app_users removal (#323)
The system flag and extra table for that `ex_app_users` is removed to
optimize database usage and simplify the system logic.

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-07-11 17:08:52 +00:00
f7eefb801b performance: store API scopes as a list in the main table (#254)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-03-27 19:24:34 +03:00
1abe49909b made the "system" flag much cleaner (#237)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-02-21 16:52:19 +03:00
003794670a Daemon Templates, Docker Socket Proxy, AppAPI 2.0 (#212) 2024-01-25 12:33:48 +00:00
4168cbbd60 ExApp status: do not encode & decode with hands (#211)
ExApp.php:
```php
$this->addType('status', 'string');
```
->
```php
$this->addType('status', 'json');
```

In DB we already have this field marked as json.

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-15 12:41:08 +03:00
125bf549ae Fixes after renaming (#71)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-09-13 15:17:06 +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
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
98cbcab0f1 Docker deploy tests (#1)
Docker deploy tests
2023-07-08 00:16:25 +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
a3a94017d8 Dev: OCI fixes 2023-06-28 16:00:18 +03:00
0c764fd275 Dev: minor refactoring. Added typings to DB models 2023-06-28 15:41:15 +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
f7ede2097e Dev changes 2023-06-12 18:42:24 +03:00
74730132b0 Dev: minor fixes. Updated readme 2023-06-07 13:33:48 +03:00
64d5ad265e Dev changes: appconfig, preferences, auth talbes preps 2023-06-06 16:47:00 +03:00
a9d6ea8748 Moved routes to OCS. app_config_ex API, fileActionsMenu API and other stuff changes 2023-05-29 00:30:25 +03:00
6d082271a3 Initial commit
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-05-26 17:20:30 +03:00