Browse Source

Merge pull request #198 from provokateurin/update/25.0.4

Update nextcloud server and notifications to 25.0.4
pull/200/head
Kate 2 years ago committed by GitHub
parent
commit
0c691dcc06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      external/nextcloud-notifications
  2. 2
      external/nextcloud-server
  3. 4
      packages/nextcloud/lib/src/nextcloud.openapi.dart
  4. 2
      packages/nextcloud/lib/src/nextcloud.openapi.g.dart
  5. 3
      packages/nextcloud/lib/src/nextcloud.openapi.json
  6. 6
      packages/nextcloud/test/core.dart
  7. 2
      specs/core.json
  8. 1
      specs/provisioning_api.json
  9. 2
      specs/templates/appinfo_core.xml
  10. 2
      specs/templates/core.json
  11. 2
      tool/Dockerfile.dev

2
external/nextcloud-notifications vendored

@ -1 +1 @@
Subproject commit 52bb45654299f9d73313d6214d2a358ebae0c3e4 Subproject commit 6205c303497c8245415ade86be5122a7e33b01d6

2
external/nextcloud-server vendored

@ -1 +1 @@
Subproject commit 494a0c1073b460d4d2a5c03ff3567fc388b91e36 Subproject commit 0c86714144f50a66e845e9ef80d4cd7e6918a4f5

4
packages/nextcloud/lib/src/nextcloud.openapi.dart

@ -4334,7 +4334,7 @@ class NextcloudProvisioningApiUserDetails_BackendCapabilities {
class NextcloudProvisioningApiUserDetails { class NextcloudProvisioningApiUserDetails {
NextcloudProvisioningApiUserDetails({ NextcloudProvisioningApiUserDetails({
this.enabled, this.enabled,
required this.storageLocation, this.storageLocation,
required this.id, required this.id,
required this.lastLogin, required this.lastLogin,
required this.backend, required this.backend,
@ -4385,7 +4385,7 @@ class NextcloudProvisioningApiUserDetails {
final bool? enabled; final bool? enabled;
final String storageLocation; final String? storageLocation;
final String id; final String id;

2
packages/nextcloud/lib/src/nextcloud.openapi.g.dart

@ -1835,7 +1835,7 @@ NextcloudProvisioningApiUserDetails _$NextcloudProvisioningApiUserDetailsFromJso
); );
return NextcloudProvisioningApiUserDetails( return NextcloudProvisioningApiUserDetails(
enabled: json['enabled'] as bool?, enabled: json['enabled'] as bool?,
storageLocation: json['storageLocation'] as String, storageLocation: json['storageLocation'] as String?,
id: json['id'] as String, id: json['id'] as String,
lastLogin: json['lastLogin'] as int, lastLogin: json['lastLogin'] as int,
backend: json['backend'] as String, backend: json['backend'] as String,

3
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -2,7 +2,7 @@
"openapi": "3.1.0", "openapi": "3.1.0",
"info": { "info": {
"title": "Nextcloud", "title": "Nextcloud",
"version": "25.0.3", "version": "25.0.4",
"description": "All supported Nextcloud APIs in one", "description": "All supported Nextcloud APIs in one",
"license": { "license": {
"name": "agpl", "name": "agpl",
@ -1546,7 +1546,6 @@
"ProvisioningApiUserDetails": { "ProvisioningApiUserDetails": {
"type": "object", "type": "object",
"required": [ "required": [
"storageLocation",
"id", "id",
"lastLogin", "lastLogin",
"backend", "backend",

6
packages/nextcloud/test/core.dart

@ -26,8 +26,8 @@ Future run(final DockerImage image) async {
expect(status.installed, true); expect(status.installed, true);
expect(status.maintenance, false); expect(status.maintenance, false);
expect(status.needsDbUpgrade, false); expect(status.needsDbUpgrade, false);
expect(status.version, startsWith('25.0.3')); expect(status.version, startsWith('25.0.4'));
expect(status.versionstring, '25.0.3'); expect(status.versionstring, '25.0.4');
expect(status.edition, ''); expect(status.edition, '');
expect(status.productname, 'Nextcloud'); expect(status.productname, 'Nextcloud');
expect(status.extendedSupport, false); expect(status.extendedSupport, false);
@ -36,7 +36,7 @@ Future run(final DockerImage image) async {
test('Get capabilities', () async { test('Get capabilities', () async {
final capabilities = await client.core.getCapabilities(); final capabilities = await client.core.getCapabilities();
expect(capabilities.ocs.data.version.major.toString(), '25'); expect(capabilities.ocs.data.version.major.toString(), '25');
expect(capabilities.ocs.data.version.string, '25.0.3'); expect(capabilities.ocs.data.version.string, '25.0.4');
expect(capabilities.ocs.data.capabilities.theming!.name, 'Nextcloud'); expect(capabilities.ocs.data.capabilities.theming!.name, 'Nextcloud');
expect(capabilities.ocs.data.capabilities.theming!.url, 'https://nextcloud.com'); expect(capabilities.ocs.data.capabilities.theming!.url, 'https://nextcloud.com');
expect(capabilities.ocs.data.capabilities.theming!.slogan, 'a safe home for all your data'); expect(capabilities.ocs.data.capabilities.theming!.slogan, 'a safe home for all your data');

2
specs/core.json

@ -2,7 +2,7 @@
"openapi": "3.1.0", "openapi": "3.1.0",
"info": { "info": {
"title": "Core", "title": "Core",
"version": "25.0.3", "version": "25.0.4",
"description": "Core functionality of Nextcloud", "description": "Core functionality of Nextcloud",
"license": { "license": {
"name": "agpl", "name": "agpl",

1
specs/provisioning_api.json

@ -107,7 +107,6 @@
"UserDetails": { "UserDetails": {
"type": "object", "type": "object",
"required": [ "required": [
"storageLocation",
"id", "id",
"lastLogin", "lastLogin",
"backend", "backend",

2
specs/templates/appinfo_core.xml

@ -4,6 +4,6 @@
<name>Core</name> <name>Core</name>
<summary>Core functionality of Nextcloud</summary> <summary>Core functionality of Nextcloud</summary>
<description><![CDATA[Core functionality of Nextcloud]]></description> <description><![CDATA[Core functionality of Nextcloud]]></description>
<version>25.0.3</version> <version>25.0.4</version>
<licence>agpl</licence> <licence>agpl</licence>
</info> </info>

2
specs/templates/core.json

@ -2,7 +2,7 @@
"openapi": "3.1.0", "openapi": "3.1.0",
"info": { "info": {
"title": "Core", "title": "Core",
"version": "25.0.3", "version": "25.0.4",
"description": "Core functionality of Nextcloud", "description": "Core functionality of Nextcloud",
"license": { "license": {
"name": "agpl", "name": "agpl",

2
tool/Dockerfile.dev

@ -1,4 +1,4 @@
FROM nextcloud:25.0.3 FROM nextcloud:25.0.4
WORKDIR /usr/src/nextcloud WORKDIR /usr/src/nextcloud
RUN chown -R www-data:www-data . RUN chown -R www-data:www-data .
USER www-data USER www-data

Loading…
Cancel
Save