Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nextcloud): Add spreed #980

Merged
merged 5 commits into from
Oct 30, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .cspell/nextcloud.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ commenters
csapi
datetime
deletedshares
dialin
dialout
displayname
etag
fediverse
getapppassword
groupid
hostedsignalingserver
hovercard
iscustomavatar
itemsperpage
Expand All @@ -24,6 +27,7 @@ lastmod
licence
logfile
logoheader
matterbridge
mimetypes
mountpoint
navigations
Expand All @@ -34,19 +38,22 @@ organisation
prio
productname
publicpreview
publicshare
publicshareauth
replyable
requesttrial
reshares
resharing
rgdnvw
r'sharebymail
r'updatenotification
r'uppush
setsip
shareapi
sharebymail
sharee
shareesapi
shareinfo
statuscode
stime
stunservers
stylesheet
subadmin
subadmins
Expand All @@ -57,6 +64,7 @@ textprocessing
totalitems
transferownership
trashbin
turnservers
undelete
unifiedpush
unsharing
Expand Down
4 changes: 4 additions & 0 deletions .cspell/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ icudtl
inkscape
intellij
jetbrains
jsonpatch
jvmargs
klass
lcov
Expand All @@ -43,12 +44,15 @@ libsqlite
mipmap
ndebug
nproc
openrelay
openrelayprojectsecret
plantuml
precache
puml
rpath
signoff
startuml
staticauth
stdlib
strconcat
strdupv
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "external/flathub-shared-modules"]
path = external/flathub-shared-modules
url = https://github.com/flathub/shared-modules.git
[submodule "external/nextcloud-spreed"]
path = external/nextcloud-spreed
url = https://github.com/nextcloud/spreed
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ Currently included are:
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 packages installed:
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)
- [appindicator3](https://pub.dev/packages/tray_manager#quick-start)

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)

## 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
1 change: 1 addition & 0 deletions external/nextcloud-spreed
Submodule nextcloud-spreed added at ec8eb4
3 changes: 3 additions & 0 deletions packages/nextcloud/lib/ids.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ final class AppIDs {
/// ID for the sharebymail app.
static const sharebymail = 'sharebymail';

/// ID for the spreed app.
static const spreed = 'spreed';

/// ID for the theming app.
static const theming = 'theming';

Expand Down
14 changes: 14 additions & 0 deletions packages/nextcloud/lib/spreed.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// coverage:ignore-file
import 'package:nextcloud/src/api/spreed.openapi.dart';
import 'package:nextcloud/src/client.dart';

export 'src/api/spreed.openapi.dart';
export 'src/helpers/spreed.dart';

// ignore: public_member_api_docs
extension SpreedExtension on NextcloudClient {
static final _spreed = Expando<Client>();

/// Client for the spreed APIs
Client get spreed => _spreed[this] ??= Client.fromClient(this);
}
Loading