Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@
"groupName": "unifiedpush",
"matchPackageNames": ["/^unifiedpush/"]
},
{
"groupName": "xml_serializable",
"matchPackageNames": [
"xml_annotation",
"xml_serializable"
]
},
{
"groupName": "test",
"matchPackageNames": [
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,8 @@ jobs:
packages_glob="$(printf ",%s" "${packages[@]}")"
packages_glob="${packages_glob:1}"
if [ -n "$packages_glob" ]; then
if [[ "$packages_glob" == *"nextcloud"* ]]; then
if [[ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]]; then
export PUSH_IMAGES="1"
fi
./tool/build-dev-container.sh
fi
MELOS_PACKAGES="$packages_glob" melos test
else
./tool/build-dev-container.sh
melos test
fi

Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- external/**
- tool/**
- packages/dynamite/**
- packages/nextcloud/**
- .fvmrc

dart:
Expand Down Expand Up @@ -55,36 +54,3 @@ jobs:
run: |
./tool/generate-dynamite-petstore-example.sh
git --no-pager diff --exit-code

- name: Generate nextcloud
run: |
./tool/generate-nextcloud.sh
git --no-pager diff --exit-code

openapi:
name: OpenAPI
runs-on: ubuntu-24.04
needs: changes
if: needs.changes.outputs.src != 'false'
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Submodules
run: git submodule update --init --depth 0

- name: Install php
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: "8.1"
tools: composer

# Use https://github.com/kislyuk/yq
- name: Install yq
run: pip install yq --break-system-packages

- name: Generate specs
run: |
./tool/generate-specs.sh
git --no-pager diff --exit-code
33 changes: 0 additions & 33 deletions .github/workflows/update_presets.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,6 @@
path = external/openapi-specification
url = https://github.com/OAI/OpenAPI-Specification.git
branch = 3.1.1
[submodule "external/nextcloud-drop_account"]
path = external/nextcloud-drop_account
url = https://framagit.org/framasoft/nextcloud/drop_account.git
branch = 2.7.1
[submodule "external/nextcloud-cookbook"]
path = external/nextcloud-cookbook
url = https://github.com/nextcloud/cookbook.git
branch = v0.11.6
[submodule "external/nextcloud-tables"]
path = external/nextcloud-tables
url = https://github.com/nextcloud/tables
branch = v0.9.9
[submodule "external/emoji-metadata"]
path = external/emoji-metadata
url = https://github.com/googlefonts/emoji-metadata
[submodule "external/nextcloud-password_policy"]
path = external/nextcloud-password_policy
url = https://github.com/nextcloud/password_policy.git
branch = v31.0.14
[submodule "external/nextcloud-terms_of_service"]
path = external/nextcloud-terms_of_service
url = https://github.com/nextcloud/terms_of_service.git
branch = v4.6.1
13 changes: 1 addition & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,9 @@ To set up all these tools run the `./tool/setup.sh` script.
Note that you need to have Dart installed and [`~/.pub-cache/bin/` needs to be in your PATH](https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path) before running the script.

You will need to have the following dependencies installed to get the app running:
- [yq](https://github.com/kislyuk/yq)
- [sqlite3](https://pub.dev/packages/sqflite_common_ffi#getting-started)

For working with lower levels like generating the OpenAPI specifications a few more dependencies are required:
- [jsonpatch](https://pypi.org/project/jsonpatch)
- [PHP](https://www.php.net)
- [composer](https://getcomposer.org)
Make sure to initialize the git submodules by running `git submodule update --init --recursive`.
This will add our external dependencies to `external/` so scripts can use them for generation.

For running a development Nextcloud instance:
- Install [docker](https://www.docker.com/get-started)
- Run the `./tool/dev.sh` script to start the server
- Development instance running on http://localhost. To access it in an Android Emulator use http://10.0.2.2
For running a development Nextcloud instance see https://github.com/provokateurin/nextcloud.dart/blob/main/DEVELOPMENT.md#run-a-test-instance.

## Picking an issue
You may wish to start with our list of [good first issues](https://github.com/nextcloud/neon/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The Neon project has three main goals:

The Neon project uses [Dart](https://dart.dev/) and [Flutter](https://flutter.dev/) to help mobile client developers building apps. Flutter allows us to build convergent cross-platform clients that feel native.
We are a 100% FOSS framework and do not rely on any proprietary libraries making it easy for developers to publish their apps in places like the [F-Droid](https://f-droid.org/) store.
We provide a generated [Nextcloud Dart client](packages/nextcloud) that is generated from the new OpenAPI specifications shipped with Nextcloud and is already being used by other Dart and Flutter projects. Gone are the days of looking at the PHP code and implementing an API client by hand which can be time-consuming and very error-prone.
We provide a generated [Nextcloud Dart client](https://github.com/provokateurin/nextcloud.dart) that is generated from the new OpenAPI specifications shipped with Nextcloud and is already being used by other Dart and Flutter projects. Gone are the days of looking at the PHP code and implementing an API client by hand which can be time-consuming and very error-prone.
For more details on generating the OpenAPI specifications you can watch the following lightning talk from the Nextcloud Conference 2023: https://www.youtube.com/watch?v=lI9PrOOMLzE

We provide abstractions, common utilities and prebuilt UI components (called Widgets in Flutter) that can be re-used. This allows Neon to make developing a new Nextcloud client as easy as adding a few custom UI elements and the necessary state management, while everything else is already taken care of for you.
Expand Down
3 changes: 0 additions & 3 deletions commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ rules:
- neon_rich_text
- neon_storage
- news_app
- nextcloud
- nextcloud_test
- nextcloud_test_presets
- notes_app
- notifications_app
- notifications_push_repository
Expand Down
3 changes: 0 additions & 3 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"packages/neon_framework/example/web/sqflite_sw.js",
"packages/neon_framework/example/web/sqlite3.wasm",
"packages/neon_lints/lib",
"packages/nextcloud/packages/nextcloud_test_presets/docker/static",
"packages/nextcloud/test/files",
"packages/nextcloud/test/fixtures"
],
"dictionaries": [
"bash",
Expand Down
1 change: 0 additions & 1 deletion external/nextcloud-cookbook
Submodule nextcloud-cookbook deleted from 01129d
1 change: 0 additions & 1 deletion external/nextcloud-drop_account
Submodule nextcloud-drop_account deleted from ebb33b
1 change: 0 additions & 1 deletion external/nextcloud-password_policy
Submodule nextcloud-password_policy deleted from 3a8c94
1 change: 0 additions & 1 deletion external/nextcloud-tables
Submodule nextcloud-tables deleted from d8f857
1 change: 0 additions & 1 deletion external/nextcloud-terms_of_service
Submodule nextcloud-terms_of_service deleted from 2ec340
4 changes: 0 additions & 4 deletions packages/nextcloud/.pubignore

This file was deleted.

Loading
Loading