Skip to content

Commit

Permalink
Merge branch 'main' into fix/webhook-unregister
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 authored Sep 19, 2024
2 parents 30122ac + fc79579 commit 5cc0b12
Show file tree
Hide file tree
Showing 20 changed files with 166 additions and 31 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/block-merge-eol.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Block merges for EOL

on: pull_request

permissions:
contents: read

concurrency:
group: block-merge-eol-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
block-merges-eol:
name: Block merges for EOL branches

# Only run on stableXX branches
if: startsWith( github.base_ref, 'stable')
runs-on: ubuntu-latest-low

steps:
- name: Set server major version environment
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
echo "current_month=$(date +%Y-%m)" >> $GITHUB_ENV
- name: Checking if ${{ env.server_major }} is EOL
run: |
curl -s https://raw.githubusercontent.com/nextcloud-releases/updater_server/production/config/major_versions.json \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99" | . >= "${{ env.current_month }}"' \
| grep -q true
40 changes: 40 additions & 0 deletions .github/workflows/block-merge-freeze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Block merges during freezes

on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]

permissions:
contents: read

concurrency:
group: block-merge-freeze-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
block-merges-during-freeze:
name: Block merges during freezes

if: github.event.pull_request.draft == false

runs-on: ubuntu-latest-low

steps:
- name: Register server reference to fallback to master branch
run: |
server_ref="$(if [ '${{ github.base_ref }}' = 'main' ]; then echo -n 'master'; else echo -n '${{ github.base_ref }}'; fi)"
echo "server_ref=$server_ref" >> $GITHUB_ENV
- name: Download version.php from ${{ env.server_ref }}
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ env.server_ref }}/version.php' --output version.php

- name: Run check
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'

2 changes: 1 addition & 1 deletion .github/workflows/command-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

steps:
- name: Restore cached git repository
uses: buildjet/cache@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
uses: buildjet/cache/save@v4
with:
path: .git
key: git-repo
Expand Down
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Nextcloud AppAPI

[![Tests - Deploy](https://github.com/cloud-py-api/app_api/actions/workflows/tests-deploy.yml/badge.svg)](https://github.com/cloud-py-api/app_api/actions/workflows/tests-deploy.yml)
[![Tests](https://github.com/cloud-py-api/app_api/actions/workflows/tests.yml/badge.svg)](https://github.com/cloud-py-api/app_api/actions/workflows/tests.yml)
[![Docs](https://github.com/cloud-py-api/app_api/actions/workflows/docs.yml/badge.svg)](https://cloud-py-api.github.io/app_api/)
[![Tests - Deploy](https://github.com/nextcloud/app_api/actions/workflows/tests-deploy.yml/badge.svg)](https://github.com/nextcloud/app_api/actions/workflows/tests-deploy.yml)
[![Tests](https://github.com/nextcloud/app_api/actions/workflows/tests.yml/badge.svg)](https://github.com/nextcloud/app_api/actions/workflows/tests.yml)
[![Docs](https://github.com/nextcloud/app_api/actions/workflows/docs.yml/badge.svg)](https://nextcloud.github.io/app_api/)

### Supercharge your Nextcloud with AppAPI and applications specifically designed for it.

Expand All @@ -23,22 +23,22 @@

## Documentation

- [List of External Applications](https://github.com/cloud-py-api/app_api/blob/main/APPS.md)
- [Documentation](https://cloud-py-api.github.io/app_api/)
- [Installation](https://cloud-py-api.github.io/app_api/Installation.html)
- [Creation of Deploy Daemon](https://cloud-py-api.github.io/app_api/ManagingExternalApplications.html)
- [Managing External Applications](https://cloud-py-api.github.io/app_api/CreationOfDeployDaemon.html)
- [Technical Details](https://cloud-py-api.github.io/app_api/tech_details/index.html)
- [Concepts](https://cloud-py-api.github.io/app_api/Concepts.html)
- [Api Scopes](https://cloud-py-api.github.io/app_api/tech_details/ApiScopes.html)
- [AppAPI Nextcloud APIs](https://cloud-py-api.github.io/app_api/tech_details/api/index.html)
- [Authentication](https://cloud-py-api.github.io/app_api/tech_details/Authentication.html)
- [Deployment](https://cloud-py-api.github.io/app_api/tech_details/Deployment.html)
- [Contribute](https://github.com/cloud-py-api/app_api/blob/main/.github/CONTRIBUTING.md)
- [Discussions](https://github.com/cloud-py-api/app_api/discussions)
- [Issues](https://github.com/cloud-py-api/app_api/issues)
- [Setting up dev environment](https://cloud-py-api.github.io/app_api/DevSetup.html)
- [Changelog](https://github.com/cloud-py-api/app_api/blob/main/CHANGELOG.md)
- [List of External Applications](https://github.com/nextcloud/app_api/blob/main/APPS.md)
- [Documentation](https://nextcloud.github.io/app_api/)
- [Installation](https://nextcloud.github.io/app_api/Installation.html)
- [Creation of Deploy Daemon](https://nextcloud.github.io/app_api/ManagingExternalApplications.html)
- [Managing External Applications](https://nextcloud.github.io/app_api/CreationOfDeployDaemon.html)
- [Technical Details](https://nextcloud.github.io/app_api/tech_details/index.html)
- [Concepts](https://nextcloud.github.io/app_api/Concepts.html)
- [Api Scopes](https://nextcloud.github.io/app_api/tech_details/ApiScopes.html)
- [AppAPI Nextcloud APIs](https://nextcloud.github.io/app_api/tech_details/api/index.html)
- [Authentication](https://nextcloud.github.io/app_api/tech_details/Authentication.html)
- [Deployment](https://nextcloud.github.io/app_api/tech_details/Deployment.html)
- [Contribute](https://github.com/nextcloud/app_api/blob/main/.github/CONTRIBUTING.md)
- [Discussions](https://github.com/nextcloud/app_api/discussions)
- [Issues](https://github.com/nextcloud/app_api/issues)
- [Setting up dev environment](https://nextcloud.github.io/app_api/DevSetup.html)
- [Changelog](https://github.com/nextcloud/app_api/blob/main/CHANGELOG.md)

### Support

Expand Down
2 changes: 1 addition & 1 deletion js/app_api-adminSettings.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/app_api-adminSettings.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/app_api-filesplugin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/app_api-filesplugin.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/app_api-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/app_api-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion l10n/gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ OC.L10N.register(
"Your apps" : "As súas aplicacións",
"Documentation" : "Documentación",
"Details" : "Detalles",
"Changelog" : "Rexistro de cambios",
"Changelog" : "Notas da versión",
"by {author}\n{license}" : "por {author}\n{license}",
"Active apps" : "Aplicacións activas",
"Disabled apps" : "Aplicacións desactivadas",
Expand Down
2 changes: 1 addition & 1 deletion l10n/gl.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"Your apps" : "As súas aplicacións",
"Documentation" : "Documentación",
"Details" : "Detalles",
"Changelog" : "Rexistro de cambios",
"Changelog" : "Notas da versión",
"by {author}\n{license}" : "por {author}\n{license}",
"Active apps" : "Aplicacións activas",
"Disabled apps" : "Aplicacións desactivadas",
Expand Down
2 changes: 2 additions & 0 deletions l10n/lv.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ OC.L10N.register(
"User documentation" : "Lietotāja dokumentācija",
"Admin documentation" : "Administratora dokumentācija",
"Developer documentation" : "Izstrādātāja dokumentācija",
"Update to {update}" : "Atjaunināt uz {update}",
"Icon" : "Ikona",
"Name" : "Vārds",
"Version" : "Versija",
"Level" : "Līmenis",
"Actions" : "Darbības",
"_Update_::_Update all_" : ["Atjaunināt visas","Atjaunināt","Atjaunināt visas"],
"Type" : "Veids",
"Display Name" : "Ekrāna vārds",
"Delete" : "Dzēst",
Expand Down
2 changes: 2 additions & 0 deletions l10n/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"User documentation" : "Lietotāja dokumentācija",
"Admin documentation" : "Administratora dokumentācija",
"Developer documentation" : "Izstrādātāja dokumentācija",
"Update to {update}" : "Atjaunināt uz {update}",
"Icon" : "Ikona",
"Name" : "Vārds",
"Version" : "Versija",
"Level" : "Līmenis",
"Actions" : "Darbības",
"_Update_::_Update all_" : ["Atjaunināt visas","Atjaunināt","Atjaunināt visas"],
"Type" : "Veids",
"Display Name" : "Ekrāna vārds",
"Delete" : "Dzēst",
Expand Down
24 changes: 24 additions & 0 deletions l10n/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,32 @@ OC.L10N.register(
{
"External Apps" : "Внешние приложения",
"Daemon config not found" : "Конфигурация службы не найдена",
"Error starting install of ExApp" : "Ошибка при запуске установки ExApp",
"ExApp failed to register, check the NC logs" : "ExApp не удалось зарегистрироваться, проверьте журналы NC",
"ExApp not found, failed to get status" : "ExApp не найден, не удалось получить статус",
"Could not perform installation of ExApp" : "Не удалось выполнить установку ExApp",
"Failed to enable ExApp" : "Не удалось включить ExApp",
"Failed to disable ExApp" : "Не удалось отключить ExApp",
"Could not update ExApp" : "Не удалось обновить ExApp",
"Error starting update of ExApp" : "Ошибка при запуске обновления ExApp",
"Could not perform update of ExApp" : "Не удалось выполнить обновление ExApp",
"ExApp not found, failed to get logs" : "ExApp не найден, не удалось получить логи",
"Failed to get container logs. Note: Downloading Docker container works only for containers with the json-file or journald logging driver. Error: %s" : "Не удалось получить журналы контейнера. Примечание: Загрузка контейнера Docker работает только для контейнеров с драйвером журналирования json-file или journald. Ошибка: %s",
"AppAPI authentication failed" : "Ошибка аутентификации AppAPI",
"AppAPI ExApp notifier" : "AppAPI ExApp уведомить",
"AppAPI" : "AppAPI",
"AI Integration Team" : "Команда по интеграции ИИ",
"ExApps Settings" : "Настройки ExApps",
"Nextcloud AppAPI" : "Nextcloud AppAPI",
"### Boost your Nextcloud with AppAPI and its specially designed applications.\n\n\nThe AppAPI is a project within the Nextcloud ecosystem designed to streamline and enhance the process of\napplication development, deployment, and management.\n\nIt introduces a new methodology that allows developers to create\napplications using a variety of programming languages, not limited to PHP, which was traditionally used in Nextcloud development.\n\n\n### List of applications that require AppAPI:\n\n- [talk_bot_ai_example](https://github.com/cloud-py-api/talk_bot_ai_example)\n- [upscaler_example](https://github.com/cloud-py-api/upscaler_example)\n- [image_to_text_example](https://github.com/cloud-py-api/file_to_text_example)\n- [ai_image_generator_bot](https://github.com/cloud-py-api/ai_image_generator_bot)\n- [SummarAI](https://github.com/nextcloud/sumupbot)\n\n_If you wish to develop an application, we will gladly help and assist you._\n\n### Support\n\nWe appreciate any support for this project:\n\n- ⭐ Star our work on GitHub\n- ❗ Create an Issue or feature request\n- 💁 Resolve an Issue and create a Pull Request\n- 🧑‍💻 Develop your own application using AppAPI\n\nWe are genuinely excited about the future of the AppAPI project and its potential to transform\nthe way applications are developed and experienced within Nextcloud.\n\nAs we embark on this journey, we warmly invite you - developers, thinkers, creators, and visionaries -\nto join us in shaping a more versatile, stable, and secure app landscape.\n\n*Your insights, suggestions, and contributions are invaluable to us.*" : "### Улучшите свой Nextcloud с помощью AppAPI и его специально разработанных приложений.\n\nAppAPI — это проект в экосистеме Nextcloud, призванный оптимизировать и улучшить процесс\nразработки, развертывания и управления приложениями.\n\nОн представляет новую методологию, которая позволяет разработчикам создавать\nприложения с использованием различных языков программирования, не ограничиваясь PHP, который традиционно использовался при разработке Nextcloud.\n\n### Список приложений, которым требуется AppAPI:\n\n- [talk_bot_ai_example](https://github.com/cloud-py-api/talk_bot_ai_example)\n- [upscaler_example](https://github.com/cloud-py-api/upscaler_example)\n- [image_to_text_example](https://github.com/cloud-py-api/file_to_text_example)\n- [ai_image_generator_bot](https://github.com/cloud-py-api/ai_image_generator_bot)\n- [SummarAI](https://github.com/nextcloud/sumupbot)\n\n_Если вы хотите разработать приложение, мы с радостью поможем вам._\n\n### Поддержка\n\nМы ценим любую поддержку этого проекта:\n\n- ⭐ Отметьте нашу работу на GitHub\n- ❗ Создайте задачу или запрос на функцию\n- 💁 Решите задачу и создайте запрос на извлечение\n- 🧑‍💻 Разработайте собственное приложение с помощью AppAPI\n\nМы искренне рады будущему проекта AppAPI и его потенциалу преобразовать способ разработки и использования приложений в Nextcloud.\n\nПоскольку мы отправляемся в это путешествие, мы горячо приглашаем вас — разработчиков, мыслителей, создателей и визионеров — присоединиться к нам в формировании более универсального, стабильного и безопасного ландшафта приложений.\n\n*Ваши идеи, предложения и вклад бесценны для нас.*",
"The AppAPI Project is an exciting initiative that aims to revolutionize the way applications are developed for Nextcloud." : "Проект AppAPI — это захватывающая инициатива, цель которой — произвести революцию в способах разработки приложений для Nextcloud.",
"Deploy Daemons" : "Службы публикации",
"Deploy Daemon (DaemonConfig) is an ExApps orchestration daemon." : "Демон развертывания (DaemonConfig) - это демон оркестровки ExApps.",
"ExApp initialization process timeout after which AppAPI will mark it as failed" : "Время ожидания процесса инициализации ExApp, по истечении которого AppAPI отметит его как неудачный",
"This settings changes are reflected only for newly created containers" : "Эти изменения настроек отражаются только для вновь созданных контейнеров",
"Update to {version}" : "Обновление до версии {version}",
"Remove" : "Удалить",
"Delete data on remove" : "Удалить данные при удалении",
"This app has no minimum Nextcloud version assigned. This will be an error in the future." : "Для этого приложения не указана минимальная поддерживаемая версия Nextcloud, в будущем это будет считаться ошибкой.",
"This app has no maximum Nextcloud version assigned. This will be an error in the future." : "Для этого приложения не указана максимальная поддерживаемая версия Nextcloud, в будущем это будет считаться ошибкой.",
"This app cannot be installed because the following dependencies are not fulfilled:" : "Приложение не может быть установлено, следующие зависимости не удовлетворены:",
Expand All @@ -18,6 +38,7 @@ OC.L10N.register(
"User documentation" : "Пользовательская документация",
"Admin documentation" : "Документация администратора",
"Developer documentation" : "Документация разработчика",
"This app is not registered in AppStore. No extra information available. Only enable/disable and remove actions are allowed." : "Это приложение не зарегистрировано в AppStore. Дополнительная информация отсутствует. Разрешены только действия включения/выключения и удаления.",
"{license}-licensed" : "Лицензия: {license}",
"This app is supported via your current Nextcloud subscription." : "Это приложение поддерживается через вашу текущую подписку Nextcloud.",
"Supported" : "Поддерживается",
Expand All @@ -32,6 +53,7 @@ OC.L10N.register(
"Level" : "Уровень",
"Actions" : "Действия",
"Results from other categories" : "Результаты из других категорий",
"No apps found" : "Приложения не найдены",
"_Update_::_Update all_" : ["Обновить","Обновить все","Обновить все","Обновить все"],
"Deploy Daemon" : "Служба публикации",
"Type" : "Тип",
Expand All @@ -43,6 +65,7 @@ OC.L10N.register(
"Set as default" : "Использовать по умолчанию",
"Test deploy" : "Проверить публикацию",
"Edit" : "Редактирование",
"Password confirmation failed" : "Подтверждение пароля не удалось",
"Deploy daemon config details" : "Подробности конфигурации службы публикации",
"Host" : "Имя или адрес сервера",
"Nextcloud URL" : "Адрес сервера Nextcloud",
Expand All @@ -62,6 +85,7 @@ OC.L10N.register(
"Check connection" : "Проверить подключение",
"Daemon with this name already exists" : "Служба с таким названием уже существует",
"Changes would be applied only for newly installed ExApps. For existing ExApps, Docker containers should be recreated." : "Изменения будут применены только к недавно установленным ExApps. Для существующих ExApps следует заново создать контейнеры Docker.",
"All available GPU devices on daemon host will be requested to be enabled in ExApp containers by Docker." : "Docker запросит включение всех доступных устройств GPU на хосте демона в контейнерах ExApp.",
"Your apps" : "Ваши приложения",
"Documentation" : "Документация",
"Details" : "Свойства",
Expand Down
Loading

0 comments on commit 5cc0b12

Please sign in to comment.