Browse Source

Update nextcloud news to 21.0.0

pull/206/head
jld3103 2 years ago
parent
commit
4e4d6d70b6
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      external/nextcloud-news
  2. 4
      packages/neon/lib/src/apps/news/widgets/feed_icon.dart
  3. 4
      packages/nextcloud/lib/src/nextcloud.openapi.dart
  4. 2
      packages/nextcloud/lib/src/nextcloud.openapi.g.dart
  5. 1
      packages/nextcloud/lib/src/nextcloud.openapi.json
  6. 3
      specs/news.json
  7. 2
      specs/templates/news.json
  8. 2
      tool/Dockerfile.dev

2
external/nextcloud-news vendored

@ -1 +1 @@
Subproject commit c60d9b1f15d566e48a148adcb3fd1e4493a1c1c0
Subproject commit adc143e2a561289665d16089770b2a8cecbb1099

4
packages/neon/lib/src/apps/news/widgets/feed_icon.dart

@ -18,9 +18,9 @@ class NewsFeedIcon extends StatelessWidget {
width: size,
height: size,
borderRadius: borderRadius,
child: feed.faviconLink != ''
child: feed.faviconLink != null
? CachedURLImage(
url: feed.faviconLink,
url: feed.faviconLink!,
height: size,
width: size,
iconColor: Theme.of(context).colorScheme.primary,

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

@ -3604,7 +3604,7 @@ class NextcloudNewsFeed {
required this.id,
required this.url,
required this.title,
required this.faviconLink,
this.faviconLink,
required this.added,
this.folderId,
this.unreadCount,
@ -3631,7 +3631,7 @@ class NextcloudNewsFeed {
final String title;
final String faviconLink;
final String? faviconLink;
final int added;

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

@ -1336,7 +1336,7 @@ NextcloudNewsFeed _$NextcloudNewsFeedFromJson(Map<String, dynamic> json) {
id: json['id'] as int,
url: json['url'] as String,
title: json['title'] as String,
faviconLink: json['faviconLink'] as String,
faviconLink: json['faviconLink'] as String?,
added: json['added'] as int,
folderId: json['folderId'] as int?,
unreadCount: json['unreadCount'] as int?,

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

@ -987,7 +987,6 @@
"id",
"url",
"title",
"faviconLink",
"added",
"ordering",
"pinned",

3
specs/news.json

@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "News",
"version": "20.0.0",
"version": "21.0.0",
"description": "An RSS/Atom feed reader",
"license": {
"name": "agpl",
@ -103,7 +103,6 @@
"id",
"url",
"title",
"faviconLink",
"added",
"ordering",
"pinned",

2
specs/templates/news.json

@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "News",
"version": "20.0.0",
"version": "21.0.0",
"description": "An RSS/Atom feed reader",
"license": {
"name": "agpl",

2
tool/Dockerfile.dev

@ -11,7 +11,7 @@ RUN ./occ app:disable password_policy
RUN OC_PASS="user1" ./occ user:add --password-from-env --display-name "User One" user1
RUN OC_PASS="user2" ./occ user:add --password-from-env --display-name "User Two" user2
RUN ./occ app:install news # 20.0.0
RUN ./occ app:install news # 21.0.0
RUN ./occ app:install notes # 4.6.0
RUN ./occ app:enable password_policy

Loading…
Cancel
Save