49 Commits

Author SHA1 Message Date
2a178d10b1 chore: removed FileEventsListener in favor of webhooks_listener feature.
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-04-14 15:27:18 +03:00
ccc6e22b7a (fix): use the event for AppAPI to get list of AI providers
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-04-10 10:47:58 +03:00
d5054738e8 (fix): performance improvement - load ExApps menu items only when an event is triggered
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-04-04 16:27:17 +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
e09308b864 (chore): removed deprecated Speech, Tanslate and TextProcessing AI providers
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-03-25 08:40:59 +02:00
c5f3d6a764 docs(reuse): Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-18 08:40:54 +01:00
b8200b70b5 chore: sync changes for Apps management migration to settings (#417)
This PR synchronizes backend logic for ExAppFetcher and required changes
for Apps management.

![Screen Shot 2024-10-14 at 17 01
48](https://github.com/user-attachments/assets/60667041-92b1-4d9e-a78a-9476a1271d1f)

## TODO

- [ ] Merge with the server PR for settings app changes:
https://github.com/nextcloud/server/pull/48665
- [x] Remove old UI parts that are not needed anymore

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Co-authored-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 21:26:46 +02:00
db15f5bb6e renamed "cloud-py-api" to "nextcloud" for "app-skeleton-python" and "test-deploy" (#420)
Also appid for "skeleton" is now "app-skeleton-python"

edited: juliushaertl -> juliusknorr

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-10-18 13:49:47 +00:00
f43ad47ec5 do not disable ExApp on lower version (#341)
1. Will be required for future AI ExApps with scaling
2. Will be required for future ExApps with federated support
3. Requited by **WorkflowEngine project** at it's current stage
4. This will make developing of ExApps easier, as usual in
"manual"registration" we use different app version(constant "1.0.0")

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-08-01 23:13:06 +03:00
a37ab4adda register TaskProcessingProviders only for NC30+ (#337)
Maybe this will remove spam in the logs, and in any case it is a small
optimization

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-26 21:34:03 +03:00
636d7b873f feat(TaskProcessing): Allow defining custom task types (#324)
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-07-14 09:07:55 +02: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
d9a03f617c optimization: remove profile since unused (#321)
Ongoing optimization by removing redundant or unused parts

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-07-10 14:30:48 +03:00
15db25c7db feat: Add task processing API (#294)
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-07-05 19:50:28 +02: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
46a51fc637 EventsListener API (#259)
Node Events
***********

``node_event`` - events about File `Nodes`

Supported event sub-types:

* NodeCreatedEvent
* NodeTouchedEvent
* NodeWrittenEvent
* NodeDeletedEvent
* NodeRenamedEvent
* NodeCopiedEvent

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-04-02 11:09:09 +03:00
36aaac2f95 fix(declarative_settings): changed events names (#247)
DeclarativeSettings events renamed, reflecting this changes in AppAPI

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 18:10:11 +00:00
071b763624 feat(l10n): L10N support for ExApps (#227)
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>
2024-02-20 20:41:05 +03:00
5e492fb4d9 Declarative Settings API (#149)
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>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2024-02-11 14:48:02 +03:00
319a543875 MachineTranslation (#210)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-14 17:21:20 +00:00
a44f8c4624 Refactor Speech2Text Provider flow (#209)
The same as in #208 but for SpeechToText Provider
2024-01-12 16:41:42 +03:00
db2a3cf8c8 Text-Processing APIs implementation (#191)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-01 21:20:17 +00:00
08ecfebd8b Speech-To-Text API implementation with custom ProviderID using anonymous classes (#184)
Speech-To-Text API implementation using dynamic registration with
anonymous classes and custom provider ID
(https://github.com/nextcloud/server/blob/master/lib/public/SpeechToText/ISpeechToTextProviderWithId.php)

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-31 16:07:11 +03:00
7738659d08 removed old style attributes definitions (#183)
subj, we do not support NC26
2023-12-27 17:20:59 +03:00
86ae7439c1 UI: FileActions rework (#141)
* changed type of `order` to int in model

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-12-05 17:45:38 +03:00
50277224d3 ExApp UI Implementation (Part1) (#135)
This PR adds ability for ExApp to have entry in TopMenu and provide it's
own page when clicking on it.

* OCS API for specifying InitialStates, Scripts, Styles, TopMenu
* Small corrections and refactoring of code that relates on UI
* Small bug fixes to other parts of AppAPI, mostly for FileActions Menu.

PR is ready, after merging this, one additional PR will be created that
relates to this one.
That PR will cover missing parts:
* Docs, changelog update
* FileActions Menu rework(icon specifying)
* Fixes of stuff that will be found if any, related to UI
* CI Actions and Makefile adjusting, to keep `js/proxy_js` folder
* Fix of Proxying stuff

Merging this PR will allow nc_py_api's PR to be finished on this theme
and finish first example for testing.

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Co-authored-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-12-03 16:30:03 +03:00
83333b5e0a cleanup: Qualifier -> Imports (#125)
Fixes IDE warnings:

* Qualifier can be replaced with an import
* Argument matches the parameter's default value

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-11-25 10:59:07 +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
9c68821df3 authorization-app-api, auth simplification (#69)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-09-13 12:07: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
eabfb2dca1 ExApp version check (#29)
- [x] Resolve conflicts
- [ ] Merge into auth throttling PR first

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-08-09 18:51:48 +03:00
fbf489936e fix (dispatcher): use IEventDispatcher (#34) 2023-08-07 22:35:01 +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
acdfce5ea7 Deploy logic adjustments. Refactoring. Manual install (#13)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-15 14:28:12 +03:00
a3de2dd163 Dev: fixes. Added public capabilites 2023-06-23 21:09:37 +03:00
e3486fd361 Dev: use PHP8 attribute instead annoation. Added debug logging. Other fixes 2023-06-21 20:11:29 +03:00
f127d7a807 Dev changes 2023-06-15 21:06:02 +03:00
0a338238ae Dev changes: Auth docs draft. Minor fixes. Added data initalization (scopes) 2023-06-13 18:45:02 +03:00
a5bc2f874a Dev changes: dav plugin fixes 2023-06-09 14:12:51 +03:00
20b1f7cd4f Dev changes: dav fixes 2023-06-08 22:46:34 +03:00
322ae20a81 Dev changes: dav plugin fixes 2023-06-08 22:06:22 +03:00
62d1538716 Dev changes: dav plugin, cli commands, minor fixes 2023-06-08 21:35:05 +03:00
568e8d0302 Dev changes: AEAuth middleware 2023-06-07 20:36:28 +03:00
48691ff1c0 Dev changes: remove dav plugin, added ex app users listing, added service user 2023-06-07 18:14:05 +03:00
cedeceb82a Dev changes 2023-06-07 15:51:49 +03:00
3390d017cf Dev changes 2023-05-30 00:02:32 +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