Skip to content

Commit

Permalink
UI implementation(appstore, daemons) (#77)
Browse files Browse the repository at this point in the history
- [ ] polish
- [ ] update docs with screenshots

---------

Signed-off-by: Andrey Borysenko <[email protected]>
Signed-off-by: Alexander Piskun <[email protected]>
Co-authored-by: Alexander Piskun <[email protected]>
Co-authored-by: Alexander Piskun <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2023
1 parent ff1040d commit 8017dba
Show file tree
Hide file tree
Showing 59 changed files with 5,846 additions and 1,619 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,36 +116,36 @@ jobs:
with:
sarif_file: results.sarif

# js-eslint:
# runs-on: ubuntu-22.04
# name: eslint
#
# steps:
# - uses: actions/checkout@v3
# - name: Install dependencies
# run: npm ci
#
# - name: ESLint
# run: npm run lint

# stylelint:
# runs-on: ubuntu-22.04
#
# name: stylelint
#
# steps:
# - uses: actions/checkout@v3
# - name: Install dependencies
# run: npm ci
#
# - name: Lint
# run: npm run stylelint
js-eslint:
runs-on: ubuntu-22.04
name: eslint

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm ci

- name: ESLint
run: npm run lint

stylelint:
runs-on: ubuntu-22.04

name: stylelint

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm ci

- name: Lint
run: npm run stylelint

lint-success:
permissions:
contents: none
runs-on: ubuntu-22.04
needs: [xml-lint, php-lint, php-cs, php-psalm-analysis, php-security-analysis]
needs: [xml-lint, php-lint, php-cs, php-psalm-analysis, php-security-analysis, js-eslint, stylelint]
name: Lint-OK
steps:
- run: echo "Lint passed successfully"
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
Expand All @@ -8,4 +9,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.0 - 2023-xx-xx]

First App Ecosystem V2 prototype release
First AppAPI external apps ecosystem release
23 changes: 20 additions & 3 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,26 @@
['name' => 'config#setAdminConfig', 'url' => '/admin-config', 'verb' => 'PUT'],

// ExApps actions
['name' => 'exApp#registerExApp', 'url' => '/api/v1/ex-app', 'verb' => 'POST'],
['name' => 'exApp#unregisterExApp', 'url' => '/api/v1/ex-app', 'verb' => 'DELETE'],
['name' => 'exApp#updateExApp', 'url' => '/api/v1/ex-app/{appId}/update', 'verb' => 'POST'],
['name' => 'ExAppsPage#viewApps', 'url' => '/apps', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#listCategories', 'url' => '/apps/categories', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#listApps', 'url' => '/apps/list', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#enableApp', 'url' => '/apps/enable/{appId}', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#enableApp', 'url' => '/apps/enable/{appId}', 'verb' => 'POST' , 'root' => ''],
['name' => 'ExAppsPage#enableApps', 'url' => '/apps/enable', 'verb' => 'POST' , 'root' => ''],
['name' => 'ExAppsPage#disableApp', 'url' => '/apps/disable/{appId}', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#disableApps', 'url' => '/apps/disable', 'verb' => 'POST' , 'root' => ''],
['name' => 'ExAppsPage#updateApp', 'url' => '/apps/update/{appId}', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#uninstallApp', 'url' => '/apps/uninstall/{appId}', 'verb' => 'GET' , 'root' => ''],
['name' => 'ExAppsPage#viewApps', 'url' => '/apps/{category}', 'verb' => 'GET', 'defaults' => ['category' => ''] , 'root' => ''],
['name' => 'ExAppsPage#viewApps', 'url' => '/apps/{category}/{id}', 'verb' => 'GET', 'defaults' => ['category' => '', 'id' => ''] , 'root' => ''],
['name' => 'ExAppsPage#force', 'url' => '/apps/force', 'verb' => 'POST' , 'root' => ''],

// DaemonConfig actions
['name' => 'daemonConfig#getAllDaemonConfigs', 'url' => '/daemons', 'verb' => 'GET'],
['name' => 'daemonConfig#registerDaemonConfig', 'url' => '/daemons', 'verb' => 'POST'],
['name' => 'daemonConfig#unregisterDaemonConfig', 'url' => '/daemons/{name}', 'verb' => 'DELETE'],
['name' => 'daemonConfig#verifyDaemonConnection', 'url' => '/daemons/{name}/check', 'verb' => 'POST'],
['name' => 'daemonConfig#updateDaemonConfig', 'url' => '/daemons', 'verb' => 'PUT'],
],
'ocs' => [
// Logging
Expand Down
Loading

0 comments on commit 8017dba

Please sign in to comment.