Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: upgrade ubuntu version to 22.04 in github action (#7764)

Lucas8f6366728284
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 918a2018f7..a4582ffa74 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -338,7 +338,7 @@ jobs:
- {
arch: x86_64,
target: x86_64-unknown-linux-gnu,
- os: ubuntu-20.04,
+ os: ubuntu-22.04,
extra-build-args: "",
flutter_profile: production-linux-x86_64,
}
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/link_parsers/default_parser.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/link_parsers/default_parser.dart
index f05f4a9706..ab0b246743 100644
--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/link_parsers/default_parser.dart
+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/link_parsers/default_parser.dart
@@ -1,9 +1,8 @@
import 'package:appflowy/plugins/document/presentation/editor_plugins/link_preview/custom_link_parser.dart';
import 'package:appflowy_backend/log.dart';
-
-import 'package:http/http.dart' as http;
// ignore: depend_on_referenced_packages
import 'package:html/parser.dart' as html_parser;
+import 'package:http/http.dart' as http;
abstract class LinkInfoParser {
Future<LinkInfo?> parse(
@@ -70,7 +69,7 @@ class DefaultParser implements LinkInfoParser {
}
final favicon =
- 'https://www.google.com/s2/favicons?sz=64&domain=${link.host}';
+ 'https://www.faviconextractor.com/favicon/${link.host}?larger=true';
return LinkInfo(
url: '$link',
diff --git a/frontend/rust-lib/flowy-user/src/user_manager/manager_user_workspace.rs b/frontend/rust-lib/flowy-user/src/user_manager/manager_user_workspace.rs
index dae5a51ccc..adc1b72266 100644
--- a/frontend/rust-lib/flowy-user/src/user_manager/manager_user_workspace.rs
+++ b/frontend/rust-lib/flowy-user/src/user_manager/manager_user_workspace.rs
@@ -593,7 +593,7 @@ impl UserManager {
if let Ok(member_record) = select_workspace_member(db, &workspace_id.to_string(), uid) {
if is_older_than_n_minutes(member_record.updated_at, 10) {
self
- .get_workspace_member_info_from_remote(&workspace_id, uid)
+ .get_workspace_member_info_from_remote(workspace_id, uid)
.await?;
}