Browse Source

Merge pull request #539 from nextcloud/refactor/repo-move

Refactor/repo move
pull/541/head
Kate 1 year ago committed by GitHub
parent
commit
1396cfc57f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/conventional_commits.yaml
  2. 2
      .github/workflows/dart.yml
  3. 2
      .github/workflows/publish.yaml
  4. 2
      README.md
  5. 4
      melos.yaml
  6. 2
      packages/app/README.md
  7. 10
      packages/app/pubspec.yaml
  8. 2
      packages/neon/neon/lib/src/utils/save_file.dart
  9. 4
      packages/neon/neon/pubspec.yaml
  10. 2
      packages/neon/neon_files/lib/widgets/browser_view.dart
  11. 4
      packages/neon/neon_files/pubspec.yaml
  12. 2
      packages/neon/neon_news/pubspec.yaml
  13. 2
      packages/neon/neon_notes/pubspec.yaml
  14. 2
      packages/neon/neon_notifications/pubspec.yaml
  15. 6
      packages/nextcloud/README.md
  16. 4
      packages/nextcloud/pubspec.yaml

2
.github/workflows/conventional_commits.yaml

@ -5,7 +5,7 @@ on:
jobs: jobs:
conventional-commits: conventional-commits:
name: Conventional commits name: Conventional commits
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3

2
.github/workflows/dart.yml

@ -14,7 +14,7 @@ permissions: read-all
jobs: jobs:
dart-ci: dart-ci:
name: Dart CI name: Dart CI
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v3 uses: actions/cache@v3

2
.github/workflows/publish.yaml

@ -103,7 +103,7 @@ jobs:
sudo apt-get purge fdroidserver sudo apt-get purge fdroidserver
pip3 install https://gitlab.com/fdroid/fdroidserver/-/archive/master/fdroidserver.tar.gz pip3 install https://gitlab.com/fdroid/fdroidserver/-/archive/master/fdroidserver.tar.gz
export DEBUG_KEYSTORE=${{ secrets.DEBUG_KEYSTORE }} export DEBUG_KEYSTORE=${{ secrets.DEBUG_KEYSTORE }}
fdroid nightly -v --archive-older 10 GITHUB_REPOSITORY=provokateurin/nextcloud-neon fdroid nightly -v --archive-older 10
linux_x86_64: linux_x86_64:
name: Linux x86_64 name: Linux x86_64

2
README.md

@ -1,4 +1,4 @@
# nextcloud-neon # neon
<img src="assets/logo.svg" alt="Neon logo" width="200"/> <img src="assets/logo.svg" alt="Neon logo" width="200"/>

4
melos.yaml

@ -1,5 +1,5 @@
name: nextcloud-neon name: neon
repository: https://github.com/provokateurin/nextcloud-neon repository: https://github.com/nextcloud/neon
sdkPath: .fvm/flutter_sdk sdkPath: .fvm/flutter_sdk

2
packages/app/README.md

@ -4,7 +4,7 @@ A beautiful convergent cross-platform client for Nextcloud written in Flutter.
## Install ## Install
You can build it yourself from source or download it from the automatic build pipelines. You can build it yourself from source or download it from the automatic build pipelines.
The app will be published on F-Droid, the Google Playstore and Flathub later on. See https://github.com/provokateurin/nextcloud-neon/issues/106 for the to-do list. The app will be published on F-Droid, the Google Playstore and Flathub later on. See https://github.com/nextcloud/neon/issues/106 for the to-do list.
## Screenshots ## Screenshots

10
packages/app/pubspec.yaml

@ -13,23 +13,23 @@ dependencies:
flutter_svg: ^2.0.6 flutter_svg: ^2.0.6
neon: neon:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon path: packages/neon/neon
neon_files: neon_files:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon_files path: packages/neon/neon_files
neon_news: neon_news:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon_news path: packages/neon/neon_news
neon_notes: neon_notes:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon_notes path: packages/neon/neon_notes
neon_notifications: neon_notifications:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon_notifications path: packages/neon/neon_notifications
shared_preferences: ^2.1.1 shared_preferences: ^2.1.1

2
packages/neon/neon/lib/src/utils/save_file.dart

@ -6,7 +6,7 @@ import 'package:flutter_file_dialog/flutter_file_dialog.dart';
Future<String?> saveFileWithPickDialog(final String fileName, final Uint8List data) async { Future<String?> saveFileWithPickDialog(final String fileName, final Uint8List data) async {
if (Platform.isAndroid || Platform.isIOS) { if (Platform.isAndroid || Platform.isIOS) {
// TODO: https://github.com/provokateurin/nextcloud-neon/issues/8 // TODO: https://github.com/nextcloud/neon/issues/8
return FlutterFileDialog.saveFile( return FlutterFileDialog.saveFile(
params: SaveFileDialogParams( params: SaveFileDialogParams(
data: data, data: data,

4
packages/neon/neon/pubspec.yaml

@ -31,7 +31,7 @@ dependencies:
meta: ^1.9.1 meta: ^1.9.1
nextcloud: nextcloud:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/nextcloud path: packages/nextcloud
package_info_plus: ^4.0.0 package_info_plus: ^4.0.0
path: ^1.8.3 path: ^1.8.3
@ -44,7 +44,7 @@ dependencies:
shared_preferences: ^2.1.1 shared_preferences: ^2.1.1
sort_box: sort_box:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/sort_box path: packages/sort_box
sqflite: ^2.2.8+2 sqflite: ^2.2.8+2
sqflite_common_ffi: ^2.2.5 sqflite_common_ffi: ^2.2.5

2
packages/neon/neon_files/lib/widgets/browser_view.dart

@ -319,7 +319,7 @@ class _FilesBrowserViewState extends State<FilesBrowserView> {
value: FilesFileAction.copy, value: FilesFileAction.copy,
child: Text(AppLocalizations.of(context).actionCopy), child: Text(AppLocalizations.of(context).actionCopy),
), ),
// TODO: https://github.com/provokateurin/nextcloud-neon/issues/4 // TODO: https://github.com/nextcloud/neon/issues/4
if (!details.isDirectory) ...[ if (!details.isDirectory) ...[
PopupMenuItem( PopupMenuItem(
value: FilesFileAction.sync, value: FilesFileAction.sync,

4
packages/neon/neon_files/pubspec.yaml

@ -10,7 +10,7 @@ dependencies:
collection: ^1.17.0 collection: ^1.17.0
file_icons: file_icons:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/file_icons path: packages/file_icons
file_picker: ^5.3.0 file_picker: ^5.3.0
filesize: ^2.0.1 filesize: ^2.0.1
@ -22,7 +22,7 @@ dependencies:
material_design_icons_flutter: ^7.0.7296 material_design_icons_flutter: ^7.0.7296
neon: neon:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon path: packages/neon/neon
open_file: ^3.3.1 open_file: ^3.3.1
path: ^1.8.3 path: ^1.8.3

2
packages/neon/neon_news/pubspec.yaml

@ -15,7 +15,7 @@ dependencies:
material_design_icons_flutter: ^7.0.7296 material_design_icons_flutter: ^7.0.7296
neon: neon:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon path: packages/neon/neon
provider: ^6.0.5 provider: ^6.0.5
rxdart: ^0.27.7 rxdart: ^0.27.7

2
packages/neon/neon_notes/pubspec.yaml

@ -16,7 +16,7 @@ dependencies:
material_design_icons_flutter: ^7.0.7296 material_design_icons_flutter: ^7.0.7296
neon: neon:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon path: packages/neon/neon
provider: ^6.0.5 provider: ^6.0.5
queue: ^3.1.0+2 queue: ^3.1.0+2

2
packages/neon/neon_notifications/pubspec.yaml

@ -13,7 +13,7 @@ dependencies:
material_design_icons_flutter: ^7.0.7296 material_design_icons_flutter: ^7.0.7296
neon: neon:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/neon/neon path: packages/neon/neon
provider: ^6.0.5 provider: ^6.0.5
rxdart: ^0.27.7 rxdart: ^0.27.7

6
packages/nextcloud/README.md

@ -2,7 +2,7 @@
A Nextcloud client written in Dart. A Nextcloud client written in Dart.
This client will become the replacement for https://github.com/provokateurin/dart-nextcloud at some point ([See](https://github.com/provokateurin/nextcloud-neon/issues/1)). This client will become the replacement for https://github.com/provokateurin/dart-nextcloud at some point ([See](https://github.com/nextcloud/neon/issues/1)).
## Installing ## Installing
@ -12,14 +12,14 @@ In the future this code will be available at https://pub.dev/packages/nextcloud,
dependencies: dependencies:
nextcloud: nextcloud:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/nextcloud path: packages/nextcloud
ref: $COMMIT ref: $COMMIT
dependency_overrides: dependency_overrides:
dynamite_runtime: dynamite_runtime:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/dynamite/dynamite_runtime path: packages/dynamite/dynamite_runtime
ref: $COMMIT ref: $COMMIT
``` ```

4
packages/nextcloud/pubspec.yaml

@ -12,7 +12,7 @@ dependencies:
crypton: ^2.0.5 crypton: ^2.0.5
dynamite_runtime: dynamite_runtime:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/dynamite/dynamite_runtime path: packages/dynamite/dynamite_runtime
intl: ^0.18.0 intl: ^0.18.0
json_annotation: ^4.8.1 json_annotation: ^4.8.1
@ -27,7 +27,7 @@ dev_dependencies:
coverage: ^1.6.3 coverage: ^1.6.3
dynamite: dynamite:
git: git:
url: https://github.com/provokateurin/nextcloud-neon url: https://github.com/nextcloud/neon
path: packages/dynamite/dynamite path: packages/dynamite/dynamite
json_serializable: ^6.6.2 json_serializable: ^6.6.2
nit_picking: nit_picking:

Loading…
Cancel
Save