consolidated downloads dir, nextcloud origin, upload route and chat timestamps; added webdav path tests

This commit is contained in:
2026-09-27 21:19:50 +02:00
parent aca86c506a
commit c455bb1cae
40 changed files with 464 additions and 282 deletions
@@ -1,6 +1,6 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'marianum_dates_state.dart';
@@ -9,6 +9,7 @@ part of 'marianum_dates_state.dart';
// FreezedGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// dart format off
T _$identity<T>(T value) => value;
@@ -27,23 +28,29 @@ $MarianumDatesStateCopyWith<MarianumDatesState> get copyWith => _$MarianumDatesS
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
final _this = this as MarianumDatesState;
properties
..add(DiagnosticsProperty('type', 'MarianumDatesState'))
..add(DiagnosticsProperty('showPastEvents', showPastEvents))..add(DiagnosticsProperty('events', events));
..add(DiagnosticsProperty('showPastEvents', _this.showPastEvents))..add(DiagnosticsProperty('events', _this.events));
}
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumDatesState&&(identical(other.showPastEvents, showPastEvents) || other.showPastEvents == showPastEvents)&&const DeepCollectionEquality().equals(other.events, events));
final _this = this as MarianumDatesState;
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumDatesState&&(identical(other.showPastEvents, _this.showPastEvents) || other.showPastEvents == _this.showPastEvents)&&const DeepCollectionEquality().equals(other.events, _this.events));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,showPastEvents,const DeepCollectionEquality().hash(events));
int get hashCode {
final _this = this as MarianumDatesState;
return Object.hash(runtimeType,_this.showPastEvents,const DeepCollectionEquality().hash(_this.events));
}
@override
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
return 'MarianumDatesState(showPastEvents: $showPastEvents, events: $events)';
final _this = this as MarianumDatesState;
return 'MarianumDatesState(showPastEvents: ${_this.showPastEvents}, events: ${_this.events})';
}
@@ -72,7 +79,7 @@ class _$MarianumDatesStateCopyWithImpl<$Res>
/// Create a copy of MarianumDatesState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? showPastEvents = null,Object? events = null,}) {
return _then(_self.copyWith(
return _then(MarianumDatesState(
showPastEvents: null == showPastEvents ? _self.showPastEvents : showPastEvents // ignore: cast_nullable_to_non_nullable
as bool,events: null == events ? _self.events : events // ignore: cast_nullable_to_non_nullable
as List<MarianumDate>,
@@ -216,7 +223,7 @@ return $default(_that.showPastEvents,_that.events);case _:
@JsonSerializable()
class _MarianumDatesState with DiagnosticableTreeMixin implements MarianumDatesState {
const _MarianumDatesState({required this.showPastEvents, required final List<MarianumDate> events}): _events = events;
const _MarianumDatesState({required this.showPastEvents, required List<MarianumDate> events}): _events = events;
factory _MarianumDatesState.fromJson(Map<String, dynamic> json) => _$MarianumDatesStateFromJson(json);
@override final bool showPastEvents;
@@ -240,23 +247,25 @@ Map<String, dynamic> toJson() {
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
properties
properties
..add(DiagnosticsProperty('type', 'MarianumDatesState'))
..add(DiagnosticsProperty('showPastEvents', showPastEvents))..add(DiagnosticsProperty('events', events));
}
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumDatesState&&(identical(other.showPastEvents, showPastEvents) || other.showPastEvents == showPastEvents)&&const DeepCollectionEquality().equals(other._events, _events));
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumDatesState&&(identical(other.showPastEvents, showPastEvents) || other.showPastEvents == showPastEvents)&&const DeepCollectionEquality().equals(other.events, _events));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,showPastEvents,const DeepCollectionEquality().hash(_events));
int get hashCode {
return Object.hash(runtimeType,showPastEvents,const DeepCollectionEquality().hash(_events));
}
@override
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
return 'MarianumDatesState(showPastEvents: $showPastEvents, events: $events)';
return 'MarianumDatesState(showPastEvents: $showPastEvents, events: $events)';
}
@@ -311,23 +320,29 @@ $MarianumDateCopyWith<MarianumDate> get copyWith => _$MarianumDateCopyWithImpl<M
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
final _this = this as MarianumDate;
properties
..add(DiagnosticsProperty('type', 'MarianumDate'))
..add(DiagnosticsProperty('uid', uid))..add(DiagnosticsProperty('title', title))..add(DiagnosticsProperty('description', description))..add(DiagnosticsProperty('start', start))..add(DiagnosticsProperty('end', end))..add(DiagnosticsProperty('isAllDay', isAllDay));
..add(DiagnosticsProperty('uid', _this.uid))..add(DiagnosticsProperty('title', _this.title))..add(DiagnosticsProperty('description', _this.description))..add(DiagnosticsProperty('start', _this.start))..add(DiagnosticsProperty('end', _this.end))..add(DiagnosticsProperty('isAllDay', _this.isAllDay));
}
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumDate&&(identical(other.uid, uid) || other.uid == uid)&&(identical(other.title, title) || other.title == title)&&(identical(other.description, description) || other.description == description)&&(identical(other.start, start) || other.start == start)&&(identical(other.end, end) || other.end == end)&&(identical(other.isAllDay, isAllDay) || other.isAllDay == isAllDay));
final _this = this as MarianumDate;
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumDate&&(identical(other.uid, _this.uid) || other.uid == _this.uid)&&(identical(other.title, _this.title) || other.title == _this.title)&&(identical(other.description, _this.description) || other.description == _this.description)&&(identical(other.start, _this.start) || other.start == _this.start)&&(identical(other.end, _this.end) || other.end == _this.end)&&(identical(other.isAllDay, _this.isAllDay) || other.isAllDay == _this.isAllDay));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,uid,title,description,start,end,isAllDay);
int get hashCode {
final _this = this as MarianumDate;
return Object.hash(runtimeType,_this.uid,_this.title,_this.description,_this.start,_this.end,_this.isAllDay);
}
@override
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
return 'MarianumDate(uid: $uid, title: $title, description: $description, start: $start, end: $end, isAllDay: $isAllDay)';
final _this = this as MarianumDate;
return 'MarianumDate(uid: ${_this.uid}, title: ${_this.title}, description: ${_this.description}, start: ${_this.start}, end: ${_this.end}, isAllDay: ${_this.isAllDay})';
}
@@ -356,7 +371,7 @@ class _$MarianumDateCopyWithImpl<$Res>
/// Create a copy of MarianumDate
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? uid = null,Object? title = null,Object? description = freezed,Object? start = null,Object? end = null,Object? isAllDay = null,}) {
return _then(_self.copyWith(
return _then(MarianumDate(
uid: null == uid ? _self.uid : uid // ignore: cast_nullable_to_non_nullable
as String,title: null == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
as String,description: freezed == description ? _self.description : description // ignore: cast_nullable_to_non_nullable
@@ -526,23 +541,25 @@ Map<String, dynamic> toJson() {
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
properties
properties
..add(DiagnosticsProperty('type', 'MarianumDate'))
..add(DiagnosticsProperty('uid', uid))..add(DiagnosticsProperty('title', title))..add(DiagnosticsProperty('description', description))..add(DiagnosticsProperty('start', start))..add(DiagnosticsProperty('end', end))..add(DiagnosticsProperty('isAllDay', isAllDay));
}
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumDate&&(identical(other.uid, uid) || other.uid == uid)&&(identical(other.title, title) || other.title == title)&&(identical(other.description, description) || other.description == description)&&(identical(other.start, start) || other.start == start)&&(identical(other.end, end) || other.end == end)&&(identical(other.isAllDay, isAllDay) || other.isAllDay == isAllDay));
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumDate&&(identical(other.uid, uid) || other.uid == uid)&&(identical(other.title, title) || other.title == title)&&(identical(other.description, description) || other.description == description)&&(identical(other.start, start) || other.start == start)&&(identical(other.end, end) || other.end == end)&&(identical(other.isAllDay, isAllDay) || other.isAllDay == isAllDay));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,uid,title,description,start,end,isAllDay);
int get hashCode {
return Object.hash(runtimeType,uid,title,description,start,end,isAllDay);
}
@override
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
return 'MarianumDate(uid: $uid, title: $title, description: $description, start: $start, end: $end, isAllDay: $isAllDay)';
return 'MarianumDate(uid: $uid, title: $title, description: $description, start: $start, end: $end, isAllDay: $isAllDay)';
}