Merge zjs81/dev into ez_share_urlimage_PR

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
ZIERandCopilot committed 2026-10-13 10:16:13 +02:00
commit 4000c49213
152 files changed
+28635 -8600

No files matched your search

+24 -5
View File
@@ -162,6 +162,12 @@ class AppSettings {
final String uploadIpfsEndpoint;
final String uploadIpfsApiKey;
/// Opt-in upload of header-only packet records to the network map.
final bool networkMapUploadEnabled;
/// Whether the one-time network map opt-in dialog has been shown.
final bool networkMapPromptShown;
/// Whether a received image is decoded as soon as it is reassembled.
///
/// Off by default and deliberately so: a decode peaks around 2.16 GiB
@@ -273,11 +279,13 @@ class AppSettings {
this.tcpServerAddress = '',
this.tcpServerPort = 0,
this.jumpToOldestUnread = false,
this.imageMessagesEnabled = false,
this.networkMapUploadEnabled = false,
this.networkMapPromptShown = false,
this.publicIpfsGateway = defaultPublicIpfsGateway,
this.uploadIpfsGateway = '',
this.uploadIpfsEndpoint = '',
this.uploadIpfsApiKey = '',
this.imageMessagesEnabled = false,
this.imageProcessAutomatically = false,
this.imageCodecEnabled = false,
this.imageCodecSelectedModelId,
@@ -359,11 +367,13 @@ class AppSettings {
'tcp_server_address': tcpServerAddress,
'tcp_server_port': tcpServerPort,
'jump_to_oldest_unread': jumpToOldestUnread,
'image_messages_enabled': imageMessagesEnabled,
'network_map_upload_enabled': networkMapUploadEnabled,
'network_map_prompt_shown': networkMapPromptShown,
'public_ipfs_gateway': publicIpfsGateway,
'upload_ipfs_gateway': uploadIpfsGateway,
'upload_ipfs_endpoint': uploadIpfsEndpoint,
'upload_ipfs_api_key': uploadIpfsApiKey,
'image_messages_enabled': imageMessagesEnabled,
'image_process_automatically': imageProcessAutomatically,
'image_codec_enabled': imageCodecEnabled,
'image_codec_selected_model_id': imageCodecSelectedModelId,
@@ -470,13 +480,16 @@ class AppSettings {
tcpServerAddress: json['tcp_server_address'] as String? ?? '',
tcpServerPort: json['tcp_server_port'] as int? ?? 0,
jumpToOldestUnread: json['jump_to_oldest_unread'] as bool? ?? false,
imageMessagesEnabled: json['image_messages_enabled'] as bool? ?? false,
networkMapUploadEnabled:
json['network_map_upload_enabled'] as bool? ?? false,
networkMapPromptShown: json['network_map_prompt_shown'] as bool? ?? false,
publicIpfsGateway: migratePublicIpfsGateway(
json['public_ipfs_gateway'] as String?,
),
uploadIpfsGateway: json['upload_ipfs_gateway'] as String? ?? '',
uploadIpfsEndpoint: json['upload_ipfs_endpoint'] as String? ?? '',
uploadIpfsApiKey: json['upload_ipfs_api_key'] as String? ?? '',
imageMessagesEnabled: json['image_messages_enabled'] as bool? ?? false,
imageProcessAutomatically:
json['image_process_automatically'] as bool? ?? false,
imageCodecEnabled: json['image_codec_enabled'] as bool? ?? false,
@@ -596,11 +609,13 @@ class AppSettings {
String? tcpServerAddress,
int? tcpServerPort,
bool? jumpToOldestUnread,
bool? imageMessagesEnabled,
bool? networkMapUploadEnabled,
bool? networkMapPromptShown,
String? publicIpfsGateway,
String? uploadIpfsGateway,
String? uploadIpfsEndpoint,
String? uploadIpfsApiKey,
bool? imageMessagesEnabled,
bool? imageProcessAutomatically,
bool? imageCodecEnabled,
Object? imageCodecSelectedModelId = _unset,
@@ -685,11 +700,15 @@ class AppSettings {
tcpServerAddress: tcpServerAddress ?? this.tcpServerAddress,
tcpServerPort: tcpServerPort ?? this.tcpServerPort,
jumpToOldestUnread: jumpToOldestUnread ?? this.jumpToOldestUnread,
imageMessagesEnabled: imageMessagesEnabled ?? this.imageMessagesEnabled,
networkMapUploadEnabled:
networkMapUploadEnabled ?? this.networkMapUploadEnabled,
networkMapPromptShown:
networkMapPromptShown ?? this.networkMapPromptShown,
publicIpfsGateway: publicIpfsGateway ?? this.publicIpfsGateway,
uploadIpfsGateway: uploadIpfsGateway ?? this.uploadIpfsGateway,
uploadIpfsEndpoint: uploadIpfsEndpoint ?? this.uploadIpfsEndpoint,
uploadIpfsApiKey: uploadIpfsApiKey ?? this.uploadIpfsApiKey,
imageMessagesEnabled: imageMessagesEnabled ?? this.imageMessagesEnabled,
imageProcessAutomatically:
imageProcessAutomatically ?? this.imageProcessAutomatically,
imageCodecEnabled: imageCodecEnabled ?? this.imageCodecEnabled,