Skip to content

Commit d824180

Browse files
committed
feat(nextcloud)!: Update server to 28.0.2
Signed-off-by: provokateurin <[email protected]>
1 parent 40136b6 commit d824180

19 files changed

+1485
-1804
lines changed

external/nextcloud-notifications

external/nextcloud-server

Submodule nextcloud-server updated 1287 files

external/nextcloud-spreed

Submodule nextcloud-spreed updated 218 files

packages/neon_framework/lib/src/widgets/user_avatar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class _UserAvatarState extends State<NeonUserAvatar> {
129129
);
130130
} else if (result.hasData) {
131131
final type = result.data!.status;
132-
if (type != 'offline') {
132+
if (type != user_status.$Type.offline) {
133133
child = NeonServerIcon(icon: 'user-status-$type');
134134
}
135135
}

packages/nextcloud/lib/src/api/files_external.openapi.dart

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -172,55 +172,55 @@ abstract class OCSMeta implements $OCSMetaInterface, Built<OCSMeta, OCSMetaBuild
172172
static Serializer<OCSMeta> get serializer => _$oCSMetaSerializer;
173173
}
174174

175-
class Mount_Type extends EnumClass {
176-
const Mount_Type._(super.name);
175+
class Mount_$Type extends EnumClass {
176+
const Mount_$Type._(super.name);
177177

178178
/// `dir`
179-
static const Mount_Type dir = _$mountTypeDir;
179+
static const Mount_$Type dir = _$mount$TypeDir;
180180

181181
/// Returns a set with all values this enum contains.
182182
// coverage:ignore-start
183-
static BuiltSet<Mount_Type> get values => _$mountTypeValues;
183+
static BuiltSet<Mount_$Type> get values => _$mount$TypeValues;
184184
// coverage:ignore-end
185185

186186
/// Returns the enum value associated to the [name].
187-
static Mount_Type valueOf(String name) => _$valueOfMount_Type(name);
187+
static Mount_$Type valueOf(String name) => _$valueOfMount_$Type(name);
188188

189189
/// Returns the serialized value of this enum value.
190190
String get value => _$jsonSerializers.serializeWith(serializer, this)! as String;
191191

192-
/// Serializer for Mount_Type.
192+
/// Serializer for Mount_$Type.
193193
@BuiltValueSerializer(custom: true)
194-
static Serializer<Mount_Type> get serializer => const _$Mount_TypeSerializer();
194+
static Serializer<Mount_$Type> get serializer => const _$Mount_$TypeSerializer();
195195
}
196196

197-
class _$Mount_TypeSerializer implements PrimitiveSerializer<Mount_Type> {
198-
const _$Mount_TypeSerializer();
197+
class _$Mount_$TypeSerializer implements PrimitiveSerializer<Mount_$Type> {
198+
const _$Mount_$TypeSerializer();
199199

200-
static const Map<Mount_Type, Object> _toWire = <Mount_Type, Object>{
201-
Mount_Type.dir: 'dir',
200+
static const Map<Mount_$Type, Object> _toWire = <Mount_$Type, Object>{
201+
Mount_$Type.dir: 'dir',
202202
};
203203

204-
static const Map<Object, Mount_Type> _fromWire = <Object, Mount_Type>{
205-
'dir': Mount_Type.dir,
204+
static const Map<Object, Mount_$Type> _fromWire = <Object, Mount_$Type>{
205+
'dir': Mount_$Type.dir,
206206
};
207207

208208
@override
209-
Iterable<Type> get types => const [Mount_Type];
209+
Iterable<Type> get types => const [Mount_$Type];
210210

211211
@override
212-
String get wireName => 'Mount_Type';
212+
String get wireName => r'Mount_$Type';
213213

214214
@override
215215
Object serialize(
216216
Serializers serializers,
217-
Mount_Type object, {
217+
Mount_$Type object, {
218218
FullType specifiedType = FullType.unspecified,
219219
}) =>
220220
_toWire[object]!;
221221

222222
@override
223-
Mount_Type deserialize(
223+
Mount_$Type deserialize(
224224
Serializers serializers,
225225
Object serialized, {
226226
FullType specifiedType = FullType.unspecified,
@@ -289,60 +289,60 @@ class _$Mount_ScopeSerializer implements PrimitiveSerializer<Mount_Scope> {
289289
_fromWire[serialized]!;
290290
}
291291

292-
class StorageConfig_Type extends EnumClass {
293-
const StorageConfig_Type._(super.name);
292+
class StorageConfig_$Type extends EnumClass {
293+
const StorageConfig_$Type._(super.name);
294294

295295
/// `personal`
296-
static const StorageConfig_Type personal = _$storageConfigTypePersonal;
296+
static const StorageConfig_$Type personal = _$storageConfig$TypePersonal;
297297

298298
/// `system`
299-
static const StorageConfig_Type system = _$storageConfigTypeSystem;
299+
static const StorageConfig_$Type system = _$storageConfig$TypeSystem;
300300

301301
/// Returns a set with all values this enum contains.
302302
// coverage:ignore-start
303-
static BuiltSet<StorageConfig_Type> get values => _$storageConfigTypeValues;
303+
static BuiltSet<StorageConfig_$Type> get values => _$storageConfig$TypeValues;
304304
// coverage:ignore-end
305305

306306
/// Returns the enum value associated to the [name].
307-
static StorageConfig_Type valueOf(String name) => _$valueOfStorageConfig_Type(name);
307+
static StorageConfig_$Type valueOf(String name) => _$valueOfStorageConfig_$Type(name);
308308

309309
/// Returns the serialized value of this enum value.
310310
String get value => _$jsonSerializers.serializeWith(serializer, this)! as String;
311311

312-
/// Serializer for StorageConfig_Type.
312+
/// Serializer for StorageConfig_$Type.
313313
@BuiltValueSerializer(custom: true)
314-
static Serializer<StorageConfig_Type> get serializer => const _$StorageConfig_TypeSerializer();
314+
static Serializer<StorageConfig_$Type> get serializer => const _$StorageConfig_$TypeSerializer();
315315
}
316316

317-
class _$StorageConfig_TypeSerializer implements PrimitiveSerializer<StorageConfig_Type> {
318-
const _$StorageConfig_TypeSerializer();
317+
class _$StorageConfig_$TypeSerializer implements PrimitiveSerializer<StorageConfig_$Type> {
318+
const _$StorageConfig_$TypeSerializer();
319319

320-
static const Map<StorageConfig_Type, Object> _toWire = <StorageConfig_Type, Object>{
321-
StorageConfig_Type.personal: 'personal',
322-
StorageConfig_Type.system: 'system',
320+
static const Map<StorageConfig_$Type, Object> _toWire = <StorageConfig_$Type, Object>{
321+
StorageConfig_$Type.personal: 'personal',
322+
StorageConfig_$Type.system: 'system',
323323
};
324324

325-
static const Map<Object, StorageConfig_Type> _fromWire = <Object, StorageConfig_Type>{
326-
'personal': StorageConfig_Type.personal,
327-
'system': StorageConfig_Type.system,
325+
static const Map<Object, StorageConfig_$Type> _fromWire = <Object, StorageConfig_$Type>{
326+
'personal': StorageConfig_$Type.personal,
327+
'system': StorageConfig_$Type.system,
328328
};
329329

330330
@override
331-
Iterable<Type> get types => const [StorageConfig_Type];
331+
Iterable<Type> get types => const [StorageConfig_$Type];
332332

333333
@override
334-
String get wireName => 'StorageConfig_Type';
334+
String get wireName => r'StorageConfig_$Type';
335335

336336
@override
337337
Object serialize(
338338
Serializers serializers,
339-
StorageConfig_Type object, {
339+
StorageConfig_$Type object, {
340340
FullType specifiedType = FullType.unspecified,
341341
}) =>
342342
_toWire[object]!;
343343

344344
@override
345-
StorageConfig_Type deserialize(
345+
StorageConfig_$Type deserialize(
346346
Serializers serializers,
347347
Object serialized, {
348348
FullType specifiedType = FullType.unspecified,
@@ -363,7 +363,7 @@ abstract interface class $StorageConfigInterface {
363363
int? get priority;
364364
int? get status;
365365
String? get statusMessage;
366-
StorageConfig_Type get type;
366+
StorageConfig_$Type get type;
367367
bool get userProvided;
368368
}
369369

@@ -397,7 +397,7 @@ abstract class StorageConfig implements $StorageConfigInterface, Built<StorageCo
397397
abstract interface class $MountInterface {
398398
String get name;
399399
String get path;
400-
Mount_Type get type;
400+
Mount_$Type get type;
401401
String get backend;
402402
Mount_Scope get scope;
403403
int get permissions;
@@ -531,7 +531,7 @@ final Serializers _$serializers = (Serializers().toBuilder()
531531
..add(OCSMeta.serializer)
532532
..addBuilderFactory(const FullType(Mount), MountBuilder.new)
533533
..add(Mount.serializer)
534-
..add(Mount_Type.serializer)
534+
..add(Mount_$Type.serializer)
535535
..add(Mount_Scope.serializer)
536536
..addBuilderFactory(const FullType(StorageConfig), StorageConfigBuilder.new)
537537
..add(StorageConfig.serializer)
@@ -540,7 +540,7 @@ final Serializers _$serializers = (Serializers().toBuilder()
540540
const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]),
541541
MapBuilder<String, JsonObject>.new,
542542
)
543-
..add(StorageConfig_Type.serializer)
543+
..add(StorageConfig_$Type.serializer)
544544
..addBuilderFactory(const FullType(BuiltList, [FullType(Mount)]), ListBuilder<Mount>.new))
545545
.build();
546546

packages/nextcloud/lib/src/api/files_external.openapi.g.dart

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nextcloud/lib/src/api/files_sharing.openapi.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ class $ShareapiClient {
12621262
/// * [publicUpload] If public uploading is allowed. Defaults to `false`.
12631263
/// * [password] Password for the share. Defaults to `''`.
12641264
/// * [sendPasswordByTalk] Send the password for the share over Talk.
1265-
/// * [expireDate] Expiry date of the share. Defaults to `''`.
1265+
/// * [expireDate] Expiry date of the share using user timezone at 00:00. It means date in UTC timezone will be used. Defaults to `''`.
12661266
/// * [note] Note for the share. Defaults to `''`.
12671267
/// * [label] Label for the share (only used in link and email). Defaults to `''`.
12681268
/// * [attributes] Additional attributes for the share.
@@ -1323,7 +1323,7 @@ class $ShareapiClient {
13231323
/// * [publicUpload] If public uploading is allowed. Defaults to `false`.
13241324
/// * [password] Password for the share. Defaults to `''`.
13251325
/// * [sendPasswordByTalk] Send the password for the share over Talk.
1326-
/// * [expireDate] Expiry date of the share. Defaults to `''`.
1326+
/// * [expireDate] Expiry date of the share using user timezone at 00:00. It means date in UTC timezone will be used. Defaults to `''`.
13271327
/// * [note] Note for the share. Defaults to `''`.
13281328
/// * [label] Label for the share (only used in link and email). Defaults to `''`.
13291329
/// * [attributes] Additional attributes for the share.

packages/nextcloud/lib/src/api/files_sharing.openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@
17561756
{
17571757
"name": "expireDate",
17581758
"in": "query",
1759-
"description": "Expiry date of the share",
1759+
"description": "Expiry date of the share using user timezone at 00:00. It means date in UTC timezone will be used.",
17601760
"schema": {
17611761
"type": "string",
17621762
"default": ""

0 commit comments

Comments
 (0)