It works!
This commit is contained in:
parent
c74501eb34
commit
a844815424
63 changed files with 241 additions and 241 deletions
|
@ -1,7 +1,7 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/cloud_variable.dart';
|
import 'package:OpenContacts/models/cloud_variable.dart';
|
||||||
|
|
||||||
class CloudVariableApi {
|
class CloudVariableApi {
|
||||||
static Future<CloudVariable> readCloudVariable(ApiClient client,
|
static Future<CloudVariable> readCloudVariable(ApiClient client,
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/users/friend.dart';
|
import 'package:OpenContacts/models/users/friend.dart';
|
||||||
import 'package:recon/models/users/friend_status.dart';
|
import 'package:OpenContacts/models/users/friend_status.dart';
|
||||||
import 'package:recon/models/users/user.dart';
|
import 'package:OpenContacts/models/users/user.dart';
|
||||||
import 'package:recon/models/users/user_profile.dart';
|
import 'package:OpenContacts/models/users/user_profile.dart';
|
||||||
import 'package:recon/models/users/user_status.dart';
|
import 'package:OpenContacts/models/users/user_status.dart';
|
||||||
|
|
||||||
class ContactApi {
|
class ContactApi {
|
||||||
static Future<List<Friend>> getFriendsList(ApiClient client, {DateTime? lastStatusUpdate}) async {
|
static Future<List<Friend>> getFriendsList(ApiClient client, {DateTime? lastStatusUpdate}) async {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
|
|
||||||
class MessageApi {
|
class MessageApi {
|
||||||
static Future<List<Message>> getUserMessages(ApiClient client, {String userId = "", DateTime? fromTime,
|
static Future<List<Message>> getUserMessages(ApiClient client, {String userId = "", DateTime? fromTime,
|
||||||
|
|
|
@ -3,16 +3,16 @@ import 'dart:io';
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:recon/models/records/asset_digest.dart';
|
import 'package:OpenContacts/models/records/asset_digest.dart';
|
||||||
import 'package:recon/models/records/json_template.dart';
|
import 'package:OpenContacts/models/records/json_template.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/records/asset_upload_data.dart';
|
import 'package:OpenContacts/models/records/asset_upload_data.dart';
|
||||||
import 'package:recon/models/records/resonite_db_asset.dart';
|
import 'package:OpenContacts/models/records/resonite_db_asset.dart';
|
||||||
import 'package:recon/models/records/preprocess_status.dart';
|
import 'package:OpenContacts/models/records/preprocess_status.dart';
|
||||||
import 'package:recon/models/records/record.dart';
|
import 'package:OpenContacts/models/records/record.dart';
|
||||||
import 'package:http_parser/http_parser.dart';
|
import 'package:http_parser/http_parser.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
|
|
||||||
class SessionApi {
|
class SessionApi {
|
||||||
static Future<Session> getSession(ApiClient client, {required String sessionId}) async {
|
static Future<Session> getSession(ApiClient client, {required String sessionId}) async {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/personal_profile.dart';
|
import 'package:OpenContacts/models/personal_profile.dart';
|
||||||
import 'package:recon/models/users/user.dart';
|
import 'package:OpenContacts/models/users/user.dart';
|
||||||
import 'package:recon/models/users/user_status.dart';
|
import 'package:OpenContacts/models/users/user_status.dart';
|
||||||
|
|
||||||
class UserApi {
|
class UserApi {
|
||||||
static Future<Iterable<User>> searchUsers(ApiClient client, {required String needle}) async {
|
static Future<Iterable<User>> searchUsers(ApiClient client, {required String needle}) async {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/config.dart';
|
import 'package:OpenContacts/config.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:path/path.dart' as p;
|
import 'package:path/path.dart' as p;
|
||||||
import 'package:html/parser.dart' as htmlparser;
|
import 'package:html/parser.dart' as htmlparser;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/clients/notification_client.dart';
|
import 'package:OpenContacts/clients/notification_client.dart';
|
||||||
import 'package:recon/clients/settings_client.dart';
|
import 'package:OpenContacts/clients/settings_client.dart';
|
||||||
import 'package:recon/models/authentication_data.dart';
|
import 'package:OpenContacts/models/authentication_data.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class ClientHolder extends InheritedWidget {
|
class ClientHolder extends InheritedWidget {
|
||||||
|
|
|
@ -3,7 +3,7 @@ import 'dart:convert';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
import 'package:recon/models/authentication_data.dart';
|
import 'package:OpenContacts/models/authentication_data.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ import 'package:ffmpeg_kit_flutter_audio/ffmpeg_kit.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
import 'package:path_provider/path_provider.dart';
|
import 'package:path_provider/path_provider.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
|
|
||||||
class AudioCacheClient {
|
class AudioCacheClient {
|
||||||
final Future<Directory> _directoryFuture = getTemporaryDirectory();
|
final Future<Directory> _directoryFuture = getTemporaryDirectory();
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:recon/apis/record_api.dart';
|
import 'package:OpenContacts/apis/record_api.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/inventory/resonite_directory.dart';
|
import 'package:OpenContacts/models/inventory/resonite_directory.dart';
|
||||||
import 'package:recon/models/records/record.dart';
|
import 'package:OpenContacts/models/records/record.dart';
|
||||||
|
|
||||||
enum SortMode {
|
enum SortMode {
|
||||||
name,
|
name,
|
||||||
|
|
|
@ -5,21 +5,21 @@ import 'package:flutter/widgets.dart';
|
||||||
import 'package:hive_flutter/hive_flutter.dart';
|
import 'package:hive_flutter/hive_flutter.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:package_info_plus/package_info_plus.dart';
|
import 'package:package_info_plus/package_info_plus.dart';
|
||||||
import 'package:recon/apis/contact_api.dart';
|
import 'package:OpenContacts/apis/contact_api.dart';
|
||||||
import 'package:recon/apis/message_api.dart';
|
import 'package:OpenContacts/apis/message_api.dart';
|
||||||
import 'package:recon/apis/session_api.dart';
|
import 'package:OpenContacts/apis/session_api.dart';
|
||||||
import 'package:recon/apis/user_api.dart';
|
import 'package:OpenContacts/apis/user_api.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/clients/notification_client.dart';
|
import 'package:OpenContacts/clients/notification_client.dart';
|
||||||
import 'package:recon/clients/settings_client.dart';
|
import 'package:OpenContacts/clients/settings_client.dart';
|
||||||
import 'package:recon/crypto_helper.dart';
|
import 'package:OpenContacts/crypto_helper.dart';
|
||||||
import 'package:recon/hub_manager.dart';
|
import 'package:OpenContacts/hub_manager.dart';
|
||||||
import 'package:recon/models/hub_events.dart';
|
import 'package:OpenContacts/models/hub_events.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:recon/models/users/friend.dart';
|
import 'package:OpenContacts/models/users/friend.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:recon/models/users/user_status.dart';
|
import 'package:OpenContacts/models/users/user_status.dart';
|
||||||
|
|
||||||
class MessagingClient extends ChangeNotifier {
|
class MessagingClient extends ChangeNotifier {
|
||||||
static const Duration _autoRefreshDuration = Duration(seconds: 10);
|
static const Duration _autoRefreshDuration = Duration(seconds: 10);
|
||||||
|
|
|
@ -2,9 +2,9 @@ import 'dart:convert';
|
||||||
|
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart' as fln;
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart' as fln;
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
|
|
||||||
class NotificationChannel {
|
class NotificationChannel {
|
||||||
final String id;
|
final String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:recon/apis/session_api.dart';
|
import 'package:OpenContacts/apis/session_api.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/clients/settings_client.dart';
|
import 'package:OpenContacts/clients/settings_client.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
class SessionClient extends ChangeNotifier {
|
class SessionClient extends ChangeNotifier {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/models/settings.dart';
|
import 'package:OpenContacts/models/settings.dart';
|
||||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ import 'dart:io';
|
||||||
|
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:recon/config.dart';
|
import 'package:OpenContacts/config.dart';
|
||||||
import 'package:recon/models/hub_events.dart';
|
import 'package:OpenContacts/models/hub_events.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
|
|
|
@ -13,17 +13,17 @@ import 'package:intl/intl.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:package_info_plus/package_info_plus.dart';
|
import 'package:package_info_plus/package_info_plus.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/apis/github_api.dart';
|
import 'package:OpenContacts/apis/github_api.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/clients/inventory_client.dart';
|
import 'package:OpenContacts/clients/inventory_client.dart';
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/clients/session_client.dart';
|
import 'package:OpenContacts/clients/session_client.dart';
|
||||||
import 'package:recon/clients/settings_client.dart';
|
import 'package:OpenContacts/clients/settings_client.dart';
|
||||||
import 'package:recon/models/sem_ver.dart';
|
import 'package:OpenContacts/models/sem_ver.dart';
|
||||||
import 'package:recon/widgets/homepage.dart';
|
import 'package:OpenContacts/widgets/homepage.dart';
|
||||||
import 'package:recon/widgets/login_screen.dart';
|
import 'package:OpenContacts/widgets/login_screen.dart';
|
||||||
import 'package:recon/widgets/update_notifier.dart';
|
import 'package:OpenContacts/widgets/update_notifier.dart';
|
||||||
|
|
||||||
import 'models/authentication_data.dart';
|
import 'models/authentication_data.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
|
|
||||||
class CloudVariable {
|
class CloudVariable {
|
||||||
final String ownerId;
|
final String ownerId;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:recon/models/records/record.dart';
|
import 'package:OpenContacts/models/records/record.dart';
|
||||||
|
|
||||||
class ResoniteDirectory {
|
class ResoniteDirectory {
|
||||||
static const rootName = "Inventory";
|
static const rootName = "Inventory";
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:developer';
|
import 'dart:developer';
|
||||||
|
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/apis/message_api.dart';
|
import 'package:OpenContacts/apis/message_api.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/string_formatter.dart';
|
import 'package:OpenContacts/string_formatter.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
enum MessageType {
|
enum MessageType {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/users/entitlement.dart';
|
import 'package:OpenContacts/models/users/entitlement.dart';
|
||||||
import 'package:recon/models/users/user_profile.dart';
|
import 'package:OpenContacts/models/users/user_profile.dart';
|
||||||
|
|
||||||
class PersonalProfile {
|
class PersonalProfile {
|
||||||
final String id;
|
final String id;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
import 'package:recon/models/records/resonite_db_asset.dart';
|
import 'package:OpenContacts/models/records/resonite_db_asset.dart';
|
||||||
|
|
||||||
class AssetDiff extends ResoniteDBAsset{
|
class AssetDiff extends ResoniteDBAsset{
|
||||||
final Diff state;
|
final Diff state;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
||||||
import 'package:recon/models/records/resonite_db_asset.dart';
|
import 'package:OpenContacts/models/records/resonite_db_asset.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
class AssetDigest {
|
class AssetDigest {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/models/records/asset_diff.dart';
|
import 'package:OpenContacts/models/records/asset_diff.dart';
|
||||||
|
|
||||||
enum RecordPreprocessState
|
enum RecordPreprocessState
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/models/records/asset_digest.dart';
|
import 'package:OpenContacts/models/records/asset_digest.dart';
|
||||||
import 'package:recon/models/records/resonite_db_asset.dart';
|
import 'package:OpenContacts/models/records/resonite_db_asset.dart';
|
||||||
import 'package:recon/string_formatter.dart';
|
import 'package:OpenContacts/string_formatter.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/string_formatter.dart';
|
import 'package:OpenContacts/string_formatter.dart';
|
||||||
|
|
||||||
class Session {
|
class Session {
|
||||||
final String id;
|
final String id;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
|
|
||||||
class SessionMetadata {
|
class SessionMetadata {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/models/sem_ver.dart';
|
import 'package:OpenContacts/models/sem_ver.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
|
|
||||||
class Entitlement {
|
class Entitlement {
|
||||||
Entitlement();
|
Entitlement();
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/users/friend_status.dart';
|
import 'package:OpenContacts/models/users/friend_status.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:recon/models/users/user_profile.dart';
|
import 'package:OpenContacts/models/users/user_profile.dart';
|
||||||
import 'package:recon/models/users/user_status.dart';
|
import 'package:OpenContacts/models/users/user_status.dart';
|
||||||
|
|
||||||
class Friend implements Comparable {
|
class Friend implements Comparable {
|
||||||
static const _emptyId = "-1";
|
static const _emptyId = "-1";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/models/users/user_profile.dart';
|
import 'package:OpenContacts/models/users/user_profile.dart';
|
||||||
|
|
||||||
class User {
|
class User {
|
||||||
final String id;
|
final String id;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:recon/config.dart';
|
import 'package:OpenContacts/config.dart';
|
||||||
import 'package:recon/crypto_helper.dart';
|
import 'package:OpenContacts/crypto_helper.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:recon/models/session_metadata.dart';
|
import 'package:OpenContacts/models/session_metadata.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
enum UserSessionType
|
enum UserSessionType
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/string_formatter.dart';
|
import 'package:OpenContacts/string_formatter.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class FormattedText extends StatelessWidget {
|
class FormattedText extends StatelessWidget {
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/models/users/friend.dart';
|
import 'package:OpenContacts/models/users/friend.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/friends/friend_online_status_indicator.dart';
|
import 'package:OpenContacts/widgets/friends/friend_online_status_indicator.dart';
|
||||||
import 'package:recon/widgets/generic_avatar.dart';
|
import 'package:OpenContacts/widgets/generic_avatar.dart';
|
||||||
import 'package:recon/widgets/messages/messages_list.dart';
|
import 'package:OpenContacts/widgets/messages/messages_list.dart';
|
||||||
|
|
||||||
class FriendListTile extends StatelessWidget {
|
class FriendListTile extends StatelessWidget {
|
||||||
const FriendListTile({required this.friend, required this.unreads, this.onTap, super.key});
|
const FriendListTile({required this.friend, required this.unreads, this.onTap, super.key});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:recon/models/users/friend.dart';
|
import 'package:OpenContacts/models/users/friend.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:recon/models/users/user_status.dart';
|
import 'package:OpenContacts/models/users/user_status.dart';
|
||||||
|
|
||||||
class FriendOnlineStatusIndicator extends StatelessWidget {
|
class FriendOnlineStatusIndicator extends StatelessWidget {
|
||||||
const FriendOnlineStatusIndicator({required this.friend, super.key});
|
const FriendOnlineStatusIndicator({required this.friend, super.key});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/widgets/default_error_widget.dart';
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
import 'package:recon/widgets/friends/expanding_input_fab.dart';
|
import 'package:OpenContacts/widgets/friends/expanding_input_fab.dart';
|
||||||
import 'package:recon/widgets/friends/friend_list_tile.dart';
|
import 'package:OpenContacts/widgets/friends/friend_list_tile.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/models/users/online_status.dart';
|
import 'package:OpenContacts/models/users/online_status.dart';
|
||||||
import 'package:recon/widgets/friends/user_search.dart';
|
import 'package:OpenContacts/widgets/friends/user_search.dart';
|
||||||
import 'package:recon/widgets/my_profile_dialog.dart';
|
import 'package:OpenContacts/widgets/my_profile_dialog.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import 'package:recon/apis/contact_api.dart';
|
import 'package:OpenContacts/apis/contact_api.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/models/users/user.dart';
|
import 'package:OpenContacts/models/users/user.dart';
|
||||||
import 'package:recon/widgets/generic_avatar.dart';
|
import 'package:OpenContacts/widgets/generic_avatar.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:recon/apis/user_api.dart';
|
import 'package:OpenContacts/apis/user_api.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/models/users/user.dart';
|
import 'package:OpenContacts/models/users/user.dart';
|
||||||
import 'package:recon/widgets/default_error_widget.dart';
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
import 'package:recon/widgets/friends/user_list_tile.dart';
|
import 'package:OpenContacts/widgets/friends/user_list_tile.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:recon/widgets/friends/friends_list.dart';
|
import 'package:OpenContacts/widgets/friends/friends_list.dart';
|
||||||
import 'package:recon/widgets/friends/friends_list_app_bar.dart';
|
import 'package:OpenContacts/widgets/friends/friends_list_app_bar.dart';
|
||||||
import 'package:recon/widgets/inventory/inventory_browser.dart';
|
import 'package:OpenContacts/widgets/inventory/inventory_browser.dart';
|
||||||
import 'package:recon/widgets/inventory/inventory_browser_app_bar.dart';
|
import 'package:OpenContacts/widgets/inventory/inventory_browser_app_bar.dart';
|
||||||
import 'package:recon/widgets/sessions/session_list.dart';
|
import 'package:OpenContacts/widgets/sessions/session_list.dart';
|
||||||
import 'package:recon/widgets/sessions/session_list_app_bar.dart';
|
import 'package:OpenContacts/widgets/sessions/session_list_app_bar.dart';
|
||||||
import 'package:recon/widgets/settings_app_bar.dart';
|
import 'package:OpenContacts/widgets/settings_app_bar.dart';
|
||||||
import 'package:recon/widgets/settings_page.dart';
|
import 'package:OpenContacts/widgets/settings_page.dart';
|
||||||
|
|
||||||
class Home extends StatefulWidget {
|
class Home extends StatefulWidget {
|
||||||
const Home({super.key});
|
const Home({super.key});
|
||||||
|
|
|
@ -5,13 +5,13 @@ import 'package:collection/collection.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:photo_view/photo_view.dart';
|
import 'package:photo_view/photo_view.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/clients/inventory_client.dart';
|
import 'package:OpenContacts/clients/inventory_client.dart';
|
||||||
import 'package:recon/models/inventory/resonite_directory.dart';
|
import 'package:OpenContacts/models/inventory/resonite_directory.dart';
|
||||||
import 'package:recon/models/records/record.dart';
|
import 'package:OpenContacts/models/records/record.dart';
|
||||||
import 'package:recon/widgets/default_error_widget.dart';
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
import 'package:recon/widgets/inventory/object_inventory_tile.dart';
|
import 'package:OpenContacts/widgets/inventory/object_inventory_tile.dart';
|
||||||
import 'package:recon/widgets/inventory/path_inventory_tile.dart';
|
import 'package:OpenContacts/widgets/inventory/path_inventory_tile.dart';
|
||||||
|
|
||||||
class InventoryBrowser extends StatefulWidget {
|
class InventoryBrowser extends StatefulWidget {
|
||||||
const InventoryBrowser({super.key});
|
const InventoryBrowser({super.key});
|
||||||
|
|
|
@ -9,8 +9,8 @@ import 'package:intl/intl.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
import 'package:path_provider/path_provider.dart';
|
import 'package:path_provider/path_provider.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/clients/inventory_client.dart';
|
import 'package:OpenContacts/clients/inventory_client.dart';
|
||||||
import 'package:share_plus/share_plus.dart';
|
import 'package:share_plus/share_plus.dart';
|
||||||
|
|
||||||
class InventoryBrowserAppBar extends StatefulWidget {
|
class InventoryBrowserAppBar extends StatefulWidget {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import 'package:cached_network_image/cached_network_image.dart';
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/records/record.dart';
|
import 'package:OpenContacts/models/records/record.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import 'package:recon/models/records/record.dart';
|
import 'package:OpenContacts/models/records/record.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class PathInventoryTile extends StatelessWidget {
|
class PathInventoryTile extends StatelessWidget {
|
||||||
|
|
|
@ -3,9 +3,9 @@ import 'dart:io';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/models/authentication_data.dart';
|
import 'package:OpenContacts/models/authentication_data.dart';
|
||||||
|
|
||||||
class LoginScreen extends StatefulWidget {
|
class LoginScreen extends StatefulWidget {
|
||||||
const LoginScreen({this.onLoginSuccessful, this.cachedUsername, super.key});
|
const LoginScreen({this.onLoginSuccessful, this.cachedUsername, super.key});
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:cached_network_image/cached_network_image.dart';
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/photo_asset.dart';
|
import 'package:OpenContacts/models/photo_asset.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/string_formatter.dart';
|
import 'package:OpenContacts/string_formatter.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/messages/message_state_indicator.dart';
|
import 'package:OpenContacts/widgets/messages/message_state_indicator.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:photo_view/photo_view.dart';
|
import 'package:photo_view/photo_view.dart';
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@ import 'dart:convert';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:just_audio/just_audio.dart';
|
import 'package:just_audio/just_audio.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/clients/audio_cache_client.dart';
|
import 'package:OpenContacts/clients/audio_cache_client.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/widgets/messages/message_state_indicator.dart';
|
import 'package:OpenContacts/widgets/messages/message_state_indicator.dart';
|
||||||
|
|
||||||
class MessageAudioPlayer extends StatefulWidget {
|
class MessageAudioPlayer extends StatefulWidget {
|
||||||
const MessageAudioPlayer({required this.message, this.foregroundColor, super.key});
|
const MessageAudioPlayer({required this.message, this.foregroundColor, super.key});
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/widgets/messages/message_asset.dart';
|
import 'package:OpenContacts/widgets/messages/message_asset.dart';
|
||||||
import 'package:recon/widgets/messages/message_audio_player.dart';
|
import 'package:OpenContacts/widgets/messages/message_audio_player.dart';
|
||||||
import 'package:recon/widgets/messages/message_session_invite.dart';
|
import 'package:OpenContacts/widgets/messages/message_session_invite.dart';
|
||||||
import 'package:recon/widgets/messages/message_text.dart';
|
import 'package:OpenContacts/widgets/messages/message_text.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class MessageBubble extends StatelessWidget {
|
class MessageBubble extends StatelessWidget {
|
||||||
|
|
|
@ -7,14 +7,14 @@ import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:image_picker/image_picker.dart';
|
import 'package:image_picker/image_picker.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/apis/record_api.dart';
|
import 'package:OpenContacts/apis/record_api.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/clients/api_client.dart';
|
import 'package:OpenContacts/clients/api_client.dart';
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/models/users/friend.dart';
|
import 'package:OpenContacts/models/users/friend.dart';
|
||||||
import 'package:recon/widgets/messages/message_attachment_list.dart';
|
import 'package:OpenContacts/widgets/messages/message_attachment_list.dart';
|
||||||
import 'package:record/record.dart';
|
import 'package:record/record.dart';
|
||||||
|
|
||||||
class MessageInputBar extends StatefulWidget {
|
class MessageInputBar extends StatefulWidget {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/generic_avatar.dart';
|
import 'package:OpenContacts/widgets/generic_avatar.dart';
|
||||||
import 'package:recon/widgets/messages/message_state_indicator.dart';
|
import 'package:OpenContacts/widgets/messages/message_state_indicator.dart';
|
||||||
import 'package:recon/widgets/sessions/session_view.dart';
|
import 'package:OpenContacts/widgets/sessions/session_view.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class MessageSessionInvite extends StatelessWidget {
|
class MessageSessionInvite extends StatelessWidget {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@ import 'dart:io';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:recon/models/message.dart';
|
import 'package:OpenContacts/models/message.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/messages/message_state_indicator.dart';
|
import 'package:OpenContacts/widgets/messages/message_state_indicator.dart';
|
||||||
|
|
||||||
class MessageText extends StatelessWidget {
|
class MessageText extends StatelessWidget {
|
||||||
const MessageText({required this.message, this.foregroundColor, super.key});
|
const MessageText({required this.message, this.foregroundColor, super.key});
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/clients/audio_cache_client.dart';
|
import 'package:OpenContacts/clients/audio_cache_client.dart';
|
||||||
import 'package:recon/clients/messaging_client.dart';
|
import 'package:OpenContacts/clients/messaging_client.dart';
|
||||||
import 'package:recon/models/users/friend.dart';
|
import 'package:OpenContacts/models/users/friend.dart';
|
||||||
import 'package:recon/widgets/default_error_widget.dart';
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
import 'package:recon/widgets/friends/friend_online_status_indicator.dart';
|
import 'package:OpenContacts/widgets/friends/friend_online_status_indicator.dart';
|
||||||
import 'package:recon/widgets/messages/message_input_bar.dart';
|
import 'package:OpenContacts/widgets/messages/message_input_bar.dart';
|
||||||
import 'package:recon/widgets/messages/messages_session_header.dart';
|
import 'package:OpenContacts/widgets/messages/messages_session_header.dart';
|
||||||
|
|
||||||
import 'message_bubble.dart';
|
import 'message_bubble.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/generic_avatar.dart';
|
import 'package:OpenContacts/widgets/generic_avatar.dart';
|
||||||
import 'package:recon/widgets/sessions/session_view.dart';
|
import 'package:OpenContacts/widgets/sessions/session_view.dart';
|
||||||
|
|
||||||
class SessionTile extends StatelessWidget {
|
class SessionTile extends StatelessWidget {
|
||||||
const SessionTile({required this.session, super.key});
|
const SessionTile({required this.session, super.key});
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:recon/apis/user_api.dart';
|
import 'package:OpenContacts/apis/user_api.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/models/personal_profile.dart';
|
import 'package:OpenContacts/models/personal_profile.dart';
|
||||||
import 'package:recon/widgets/default_error_widget.dart';
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
import 'package:recon/widgets/generic_avatar.dart';
|
import 'package:OpenContacts/widgets/generic_avatar.dart';
|
||||||
|
|
||||||
class MyProfileDialog extends StatefulWidget {
|
class MyProfileDialog extends StatefulWidget {
|
||||||
const MyProfileDialog({super.key});
|
const MyProfileDialog({super.key});
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
|
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/clients/session_client.dart';
|
import 'package:OpenContacts/clients/session_client.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import 'package:cached_network_image/cached_network_image.dart';
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/clients/session_client.dart';
|
import 'package:OpenContacts/clients/session_client.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:recon/widgets/default_error_widget.dart';
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/sessions/session_view.dart';
|
import 'package:OpenContacts/widgets/sessions/session_view.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:recon/clients/session_client.dart';
|
import 'package:OpenContacts/clients/session_client.dart';
|
||||||
import 'package:recon/widgets/sessions/session_filter_dialog.dart';
|
import 'package:OpenContacts/widgets/sessions/session_filter_dialog.dart';
|
||||||
|
|
||||||
class SessionListAppBar extends StatefulWidget {
|
class SessionListAppBar extends StatefulWidget {
|
||||||
const SessionListAppBar({super.key});
|
const SessionListAppBar({super.key});
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import 'package:cached_network_image/cached_network_image.dart';
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:recon/apis/session_api.dart';
|
import 'package:OpenContacts/apis/session_api.dart';
|
||||||
import 'package:recon/auxiliary.dart';
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/models/session.dart';
|
import 'package:OpenContacts/models/session.dart';
|
||||||
import 'package:recon/widgets/formatted_text.dart';
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
import 'package:recon/widgets/panorama.dart';
|
import 'package:OpenContacts/widgets/panorama.dart';
|
||||||
import 'package:recon/widgets/settings_page.dart';
|
import 'package:OpenContacts/widgets/settings_page.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class SessionView extends StatefulWidget {
|
class SessionView extends StatefulWidget {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_phoenix/flutter_phoenix.dart';
|
import 'package:flutter_phoenix/flutter_phoenix.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import 'package:recon/client_holder.dart';
|
import 'package:OpenContacts/client_holder.dart';
|
||||||
import 'package:recon/models/sem_ver.dart';
|
import 'package:OpenContacts/models/sem_ver.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 0.1.0-indev+1
|
version: 0.0.1-indev+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.0.1"
|
sdk: ">=3.0.1"
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import 'package:recon/clients/settings_client.dart';
|
import 'package:OpenContacts/clients/settings_client.dart';
|
||||||
import 'package:recon/main.dart';
|
import 'package:OpenContacts/main.dart';
|
||||||
import 'package:recon/models/authentication_data.dart';
|
import 'package:OpenContacts/models/authentication_data.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
||||||
|
|
Loading…
Reference in a new issue