refactor: extract status to separate repository

This commit is contained in:
Richard Ramos 2021-09-08 14:10:49 -04:00 committed by Iuri Matias
parent b4a209e17c
commit 32049aa928
213 changed files with 288 additions and 9646 deletions

3
.gitmodules vendored
View File

@ -106,3 +106,6 @@
[submodule "vendor/semver.nim"]
path = vendor/semver.nim
url = https://github.com/euantorano/semver.nim
[submodule "vendor/nim-status-lib"]
path = vendor/nim-status-lib
url = https://github.com/status-im/nim-status-lib.git

View File

@ -1,5 +1,5 @@
import NimQml, chronicles
import ../../status/status
import status/status
import view
logScope:

View File

@ -1,6 +1,6 @@
import NimQml, json, chronicles
import ../../status/[status, browser]
import ../../status/types/[bookmark]
import status/[status, browser]
import status/types/[bookmark]
import views/bookmark_list
QtObject:

View File

@ -1,6 +1,6 @@
import NimQml, Tables, chronicles
import sequtils as sequtils
import ../../../status/types/[bookmark]
import status/types/[bookmark]
type
BookmarkRoles {.pure.} = enum

View File

@ -1,12 +1,12 @@
import NimQml, chronicles, tables
import ../../status/chat as chat_model
import ../../status/messages as messages_model
import ../../status/[chat, contacts, status, wallet, stickers, settings]
import ../../status/types/[message, transaction, os_notification, setting]
import status/chat as chat_model
import status/messages as messages_model
import status/[chat, contacts, status, wallet, stickers, settings]
import status/types/[message, transaction, os_notification, setting]
import ../../app_service/[main]
import ../../app_service/signals/[base]
import status/signals/[base]
import view, views/channels_list, views/message_list, views/reactions, views/stickers as stickers_view
import ../../eventemitter
import eventemitter
logScope:
topics = "chat-controller"

View File

@ -2,7 +2,7 @@ import # std libs
strutils
import # status-desktop libs
../../status/chat/chat as status_chat,
status/chat/chat as status_chat,
./views/communities,
./views/messages
import ../../app_service/tasks/[qt, threadpool]

View File

@ -1,7 +1,7 @@
import
../../app_service/tasks/marathon/mailserver/worker,
../../app_service/signals/messages as signals_messages,
../../app_service/signals/[community, discovery_summary, envelope, expired]
status/signals/messages as signals_messages,
status/signals/[community, discovery_summary, envelope, expired]
proc handleSignals(self: ChatController) =
self.status.events.on(SignalType.Message.event) do(e:Args):

View File

@ -1,20 +1,20 @@
import NimQml, Tables, json, sequtils, chronicles, strutils, os, strformat
import ../../status/[status]
import ../../status/constants
import ../../status/utils as status_utils
import ../../status/chat as status_chat
import ../../status/messages as status_messages
import ../../status/mailservers
import ../../status/contacts as status_contacts
import ../../status/ens as status_ens
import ../../status/chat/[chat]
import ../../status/profile/profile
import ../../status/types/[activity_center_notification, os_notification, rpc_response]
import status/[status]
import status/constants
import status/utils as status_utils
import status/chat as status_chat
import status/messages as status_messages
import status/mailservers
import status/contacts as status_contacts
import status/ens as status_ens
import status/chat/[chat]
import status/profile/profile
import status/types/[activity_center_notification, os_notification, rpc_response]
import ../../app_service/[main]
import ../../app_service/tasks/[qt, threadpool]
import ../../app_service/tasks/marathon/mailserver/worker
import ../../app_service/signals/[base]
import ../../status/notifications/[os_notifications]
import status/signals/[base]
import status/notifications/[os_notifications]
import ../utils/image_utils
import web3/[conversions, ethtypes]
import views/message_search/[view_controller]
@ -22,7 +22,7 @@ import views/[channels_list, message_list, chat_item, reactions, stickers, group
# TODO: remove me
import ../../status/libstatus/chat as libstatus_chat
import status/libstatus/chat as libstatus_chat
logScope:
topics = "chats-view"

View File

@ -1,7 +1,7 @@
import NimQml, Tables, chronicles, json, sequtils, strformat
import ../../../status/status
import ../../../status/accounts
import ../../../status/types/[activity_center_notification]
import status/status
import status/accounts
import status/types/[activity_center_notification]
import strutils
import message_item

View File

@ -1,5 +1,5 @@
import NimQml, std/wrapnils
import ../../../status/chat/chat
import status/chat/chat
QtObject:
type CategoryItemView* = ref object of QObject

View File

@ -1,8 +1,8 @@
import NimQml, Tables
import algorithm
import ../../../status/chat/[chat]
import ../../../status/status
import ../../../status/accounts
import status/chat/[chat]
import status/status
import status/accounts
import strutils
type

View File

@ -1,9 +1,9 @@
import NimQml, Tables, json, sequtils, chronicles, strutils
import ../../../status/[status, contacts]
import ../../../status/ens as status_ens
import ../../../status/chat as status_chat
import ../../../status/chat/[chat]
import status/[status, contacts]
import status/ens as status_ens
import status/chat as status_chat
import status/chat/[chat]
import ../../../app_service/[main]
import communities, chat_item, channels_list, communities, community_list

View File

@ -1,9 +1,9 @@
import NimQml, Tables
import algorithm
import ../../../status/chat/[chat]
import ../../../status/status
import ../../../status/accounts
import ../../../status/types/[message]
import status/chat/[chat]
import status/status
import status/accounts
import status/types/[message]
import strutils
type

View File

@ -1,7 +1,7 @@
import NimQml, Tables, std/wrapnils
import ../../../status/[chat/chat, status, ens, accounts, settings]
import ../../../status/utils as status_utils
import ../../../status/types/[setting]
import status/[chat/chat, status, ens, accounts, settings]
import status/utils as status_utils
import status/types/[setting]
import chat_members

View File

@ -1,5 +1,5 @@
import NimQml, Tables,
../../../status/[chat/chat, status, ens]
status/[chat/chat, status, ens]
type
ChatMemberRoles {.pure.} = enum

View File

@ -1,12 +1,12 @@
import NimQml, json, sequtils, chronicles, strutils, strformat, tables
import ../../../status/status
import ../../../status/chat/chat
import status/status
import status/chat/chat
import ./community_list
import ./community_item
import ./community_membership_request_list
import ../../utils/image_utils
import ../../../status/types/[activity_center_notification, status_update, rpc_response]
import ../../../app_service/signals/[base]
import status/types/[activity_center_notification, status_update, rpc_response]
import status/signals/[base]
logScope:
topics = "communities-view"

View File

@ -1,7 +1,7 @@
import NimQml, std/wrapnils, json, tables
import ../../../status/[chat/chat, status]
import status/[chat/chat, status]
import channels_list
import ../../../eventemitter
import eventemitter
import community_members_list
import category_list, category_item
import community_membership_request_list

View File

@ -5,8 +5,8 @@ import # vendor libs
chronicles, json_serialization
import # status-desktop libs
../../../status/chat/chat, ../../../status/status, ../../../status/accounts
import ../../../status/types/[status_update]
status/chat/chat, status/status, status/accounts
import status/types/[status_update]
type
CommunityRoles {.pure.} = enum

View File

@ -1,6 +1,6 @@
import NimQml, Tables
import ../../../status/[chat/chat, ens, status, settings]
import ../../../status/types/[setting, status_update]
import status/[chat/chat, ens, status, settings]
import status/types/[setting, status_update]
type
CommunityMembersRoles {.pure.} = enum

View File

@ -1,7 +1,7 @@
import NimQml, Tables, chronicles
import ../../../status/chat/chat
import ../../../status/status
import ../../../status/accounts
import status/chat/chat
import status/status
import status/accounts
import strutils
type

View File

@ -1,7 +1,7 @@
import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm
import ../../../status/[status, contacts]
import ../../../status/ens as status_ens
import status/[status, contacts]
import status/ens as status_ens
import ../../../app_service/[main]
import ../../../app_service/tasks/[qt, threadpool]
import ../../../app_service/tasks/marathon/mailserver/worker

View File

@ -2,7 +2,7 @@ import # vendor libs
NimQml
import gif_list
import ../../../status/gif
import status/gif
QtObject:

View File

@ -1,6 +1,6 @@
import NimQml, Tables, sequtils
import ../../../status/gif
import status/gif
type
GifRoles {.pure.} = enum

View File

@ -1,5 +1,5 @@
import NimQml, chronicles, sequtils, json
import ../../../status/status
import status/status
import chat_item
logScope:

View File

@ -1,10 +1,10 @@
import NimQml, Tables, json, re
import ../../../status/status
import ../../../status/accounts
import ../../../status/chat
import ../../../status/profile/profile
import ../../../status/ens
import ../../../status/types/[message]
import status/status
import status/accounts
import status/chat
import status/profile/profile
import status/ens
import status/types/[message]
import strformat, strutils, sequtils
let NEW_LINE = re"\n|\r"

View File

@ -1,7 +1,7 @@
import NimQml, std/wrapnils, chronicles
import ../../../status/status
import ../../../status/chat/stickers
import ../../../status/types/[message]
import status/status
import status/chat/stickers
import status/types/[message]
import message_format
QtObject:

View File

@ -1,11 +1,11 @@
import NimQml, Tables, sets, json, sugar, chronicles, sequtils
import ../../../status/status
import ../../../status/accounts
import ../../../status/chat as status_chat
import ../../../status/chat/[stickers,chat]
import ../../../status/profile/profile
import ../../../status/ens
import ../../../status/types/[message]
import status/status
import status/accounts
import status/chat as status_chat
import status/chat/[stickers,chat]
import status/profile/profile
import status/ens
import status/types/[message]
import strutils
import message_format
import user_list

View File

@ -1,8 +1,8 @@
import NimQml, strutils
import message_list
import ../../../status/[status]
import ../../../status/chat/[message]
import status/[status]
import status/chat/[message]
QtObject:
type

View File

@ -1,7 +1,7 @@
import json, strformat
import ../../../../status/chat/[chat]
import ../../../../status/[status]
import status/chat/[chat]
import status/[status]
import location_menu_sub_model, location_menu_sub_item

View File

@ -1,7 +1,7 @@
import NimQml, Tables, strutils
import ../../../../status/chat/[chat]
import ../../../../status/[status]
import status/chat/[chat]
import status/[status]
import location_menu_item, location_menu_sub_item, constants

View File

@ -1,7 +1,7 @@
import NimQml, Tables, strutils, strformat
import ../../../../status/chat/[chat]
import ../../../../status/[status]
import status/chat/[chat]
import status/[status]
import location_menu_sub_item

View File

@ -3,10 +3,10 @@ import NimQml, Tables, json, strutils, chronicles, json_serialization
import result_model, result_item, location_menu_model, location_menu_item, location_menu_sub_item
import constants as sr_constants
import ../../../../status/[status]
import ../../../../status/chat/[chat]
import ../../../../status/types/[message, setting]
import ../../../../status/libstatus/[settings]
import status/[status]
import status/chat/[chat]
import status/types/[message, setting]
import status/libstatus/[settings]
import ../../../../app_service/[main]
import ../communities
import ../channel

View File

@ -1,12 +1,12 @@
import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm
import ../../../status/[status, contacts, mailservers]
import ../../../status/ens as status_ens
import ../../../status/messages as status_messages
import ../../../status/utils as status_utils
import ../../../status/chat/[chat]
import ../../../status/profile/profile
import ../../../status/types/[message]
import status/[status, contacts, mailservers]
import status/ens as status_ens
import status/messages as status_messages
import status/utils as status_utils
import status/chat/[chat]
import status/profile/profile
import status/types/[message]
import ../../../app_service/[main]
import ../../../app_service/tasks/[qt, threadpool]
import ../../../app_service/tasks/marathon/mailserver/worker

View File

@ -1,8 +1,8 @@
import NimQml, tables, json, chronicles
import ../../../status/[status, chat/chat, settings]
import status/[status, chat/chat, settings]
import message_list, chat_item
import ../../../status/utils as status_utils
import ../../../status/types/[message, setting]
import status/utils as status_utils
import status/types/[message, setting]
logScope:
topics = "reactions-view"

View File

@ -1,6 +1,6 @@
import NimQml, Tables, sequtils
import ../../../status/chat/stickers
import ../../../status/types/[sticker]
import status/chat/stickers
import status/types/[sticker]
type
StickerRoles {.pure.} = enum

View File

@ -1,7 +1,7 @@
import NimQml, Tables, sequtils, sugar
import ../../../status/chat/stickers, ./sticker_list
import ../../../status/utils
import ../../../status/types/[sticker]
import status/chat/stickers, ./sticker_list
import status/utils
import status/types/[sticker]
type
StickerPackRoles {.pure.} = enum

View File

@ -5,9 +5,9 @@ import # vendor libs
chronicles, NimQml
import # status-desktop libs
../../../status/[status, stickers, wallet, utils],
status/[status, stickers, wallet, utils],
sticker_pack_list, sticker_list, chat_item
import ../../../status/types/[sticker, pending_transaction_type]
import status/types/[sticker, pending_transaction_type]
import ../../../app_service/[main]
import ../../../app_service/tasks/[qt, threadpool]
import ../../../app_service/tasks/marathon/mailserver/worker

View File

@ -1,5 +1,5 @@
import NimQml, chronicles
import ../../../status/status
import status/status
logScope:
topics = "transactions-view"

View File

@ -1,10 +1,10 @@
import NimQml, Tables, json, chronicles, sequtils
import ../../../status/status
import ../../../status/accounts
import ../../../status/chat as status_chat
import ../../../status/chat/[chat]
import ../../../status/ens
import ../../../status/types/[message]
import status/status
import status/accounts
import status/chat as status_chat
import status/chat/[chat]
import status/ens
import status/types/[message]
import strutils

View File

@ -1,9 +1,9 @@
import NimQml, chronicles, options, std/wrapnils
import ../../status/status
import ../../status/types/[account, rpc_response]
import ../../app_service/signals/[base]
import status/status
import status/types/[account, rpc_response]
import status/signals/[base]
import view
import ../../eventemitter
import eventemitter
type LoginController* = ref object
status*: Status

View File

@ -1,9 +1,9 @@
import NimQml, Tables, json, nimcrypto, strformat, json_serialization, chronicles
import ../../status/accounts as AccountModel
import ../../status/types/[account, rpc_response]
import ../../app_service/signals/[base]
import status/accounts as AccountModel
import status/types/[account, rpc_response]
import status/signals/[base]
import ../onboarding/views/account_info
import ../../status/status
import status/status
type
AccountRoles {.pure.} = enum

View File

@ -1,8 +1,8 @@
import NimQml, chronicles
import ../../status/[status, node, network]
import status/[status, node, network]
import ../../app_service/[main]
import ../../app_service/signals/[base, wallet, discovery_summary, stats]
import ../../eventemitter
import status/signals/[base, wallet, discovery_summary, stats]
import eventemitter
import view
logScope:

View File

@ -1,8 +1,8 @@
import NimQml, chronicles, strutils, json
import ../../status/[status, node, settings, accounts]
import ../../status/types/[setting]
import status/[status, node, settings, accounts]
import status/types/[setting]
import ../../app_service/[main]
import ../../app_service/signals/[stats]
import status/signals/[stats]
import ../../app_service/tasks/[qt, threadpool]
logScope:

View File

@ -1,9 +1,9 @@
import NimQml, chronicles, std/wrapnils
import ../../status/accounts as AccountModel
import ../../status/status
import ../../status/types/[account]
import ../../app_service/signals/[base]
import ../../eventemitter
import status/accounts as AccountModel
import status/status
import status/types/[account]
import status/signals/[base]
import eventemitter
import view
type OnboardingController* = ref object

View File

@ -1,8 +1,8 @@
import NimQml, Tables, json, nimcrypto, strformat, json_serialization, strutils
import ../../status/accounts as AccountModel
import ../../status/[status, wallet]
import ../../status/types/[account, rpc_response]
import ../../app_service/signals/[base]
import status/accounts as AccountModel
import status/[status, wallet]
import status/types/[account, rpc_response]
import status/signals/[base]
import views/account_info
type

View File

@ -1,5 +1,5 @@
import NimQml
import ../../../status/types/[account]
import status/types/[account]
import std/wrapnils
QtObject:

View File

@ -1,17 +1,17 @@
import NimQml, json, strutils, sugar, sequtils, tables
import json_serialization
import ../../status/profile/[profile, mailserver]
import ../../status/[status, settings]
import ../../status/contacts as status_contacts
import ../../status/chat as status_chat
import ../../status/devices as status_devices
import ../../status/chat/chat
import ../../status/wallet
import ../../status/types/[account, transaction, setting]
import status/profile/[profile, mailserver]
import status/[status, settings]
import status/contacts as status_contacts
import status/chat as status_chat
import status/devices as status_devices
import status/chat/chat
import status/wallet
import status/types/[account, transaction, setting]
import ../../app_service/[main]
import ../../app_service/signals/[base, messages]
import status/signals/[base, messages]
import ../../app_service/tasks/marathon/mailserver/events
import ../../eventemitter
import eventemitter
import view
import views/[ens_manager, devices, network, mailservers, contacts, muted_chats]
import ../chat/views/channels_list

View File

@ -2,16 +2,16 @@ import NimQml, sequtils, strutils, sugar, os, json, chronicles
import views/[mailservers_list, ens_manager, contacts, devices, mailservers, mnemonic, network, fleets, profile_info, device_list, dapp_list, profile_picture, profile_settings, muted_chats]
import chronicles
import ../chat/views/channels_list
import ../../status/libstatus/accounts as status_accounts
import ../../status/profile/profile
import ../../status/profile as status_profile
import ../../status/contacts as status_contacts
import ../../status/status
import ../../status/ens as status_ens
import ../../status/chat/chat
import ../../status/types/[setting, os_notification]
import ../../status/constants as accountConstants
import ../../status/notifications/[os_notifications]
import status/libstatus/accounts as status_accounts
import status/profile/profile
import status/profile as status_profile
import status/contacts as status_contacts
import status/status
import status/ens as status_ens
import status/chat/chat
import status/types/[setting, os_notification]
import status/constants as accountConstants
import status/notifications/[os_notifications]
import ../../app_service/[main]
import qrcode/qrcode
import ../utils/image_utils

View File

@ -1,7 +1,7 @@
import NimQml, chronicles
import Tables
import ../../../status/profile/profile
from ../../../status/ens import nil
import status/profile/profile
from status/ens import nil
type
ContactRoles {.pure.} = enum

View File

@ -1,10 +1,10 @@
import NimQml, chronicles, sequtils, sugar, strutils, json
import ../../../status/utils as status_utils
import ../../../status/status
import ../../../status/chat/chat
import status/utils as status_utils
import status/status
import status/chat/chat
import contact_list
import ../../../status/profile/profile
import ../../../status/ens as status_ens
import status/profile/profile
import status/ens as status_ens
import ../../../app_service/[main]
import ../../../app_service/tasks/[qt, threadpool]

View File

@ -1,9 +1,9 @@
import NimQml
import Tables
import json, sequtils
import ../../../status/settings
import ../../../status/types/[setting]
import ../../../status/status
import status/settings
import status/types/[setting]
import status/status
type
CustomNetworkRoles {.pure.} = enum

View File

@ -1,6 +1,6 @@
import NimQml
import Tables
import ../../../status/status
import status/status
import permission_list
type

View File

@ -1,6 +1,6 @@
import NimQml
import Tables
import ../../../status/types/[installation]
import status/types/[installation]
type
DeviceRoles {.pure.} = enum

View File

@ -1,7 +1,7 @@
import NimQml, chronicles
import ../../../status/status
import ../../../status/devices as status_devices
import ../../../status/types/[installation]
import status/status
import status/devices as status_devices
import status/types/[installation]
import device_list
logScope:

View File

@ -3,11 +3,11 @@ import Tables
import json
import sequtils
import strutils
import ../../../status/ens as status_ens
import ../../../status/utils as status_utils
import ../../../status/[status, settings, wallet]
import ../../../status/wallet
import ../../../status/types/[setting, transaction, rpc_response]
import status/ens as status_ens
import status/utils as status_utils
import status/[status, settings, wallet]
import status/wallet
import status/types/[setting, transaction, rpc_response]
import ../../../app_service/[main]
import ../../../app_service/tasks/[qt, threadpool]
import sets

View File

@ -1,6 +1,6 @@
import NimQml, json
import chronicles, strutils
import ../../../status/[status, settings, accounts]
import status/[status, settings, accounts]
QtObject:
type Fleets * = ref object of QObject

View File

@ -1,6 +1,6 @@
import NimQml, chronicles
import ../../../status/[status, settings]
import ../../../status/profile/mailserver
import status/[status, settings]
import status/profile/mailserver
import mailservers_list
import ../../../app_service/[main]
import ../../../app_service/tasks/[qt, threadpool]

View File

@ -1,6 +1,6 @@
import NimQml
import Tables
import ../../../status/profile/mailserver
import status/profile/mailserver
type
MailServerRoles {.pure.} = enum

View File

@ -1,6 +1,6 @@
import NimQml, chronicles, strutils
import ../../../status/[status, settings]
import ../../../status/types/[setting]
import status/[status, settings]
import status/types/[setting]
import options
logScope:

View File

@ -1,10 +1,10 @@
import NimQml, sequtils, strutils, json, chronicles
import chronicles
import ../../chat/views/channels_list
import ../../../status/profile as status_profile
import ../../../status/contacts as status_contacts
import ../../../status/status
import ../../../status/chat/chat
import status/profile as status_profile
import status/contacts as status_contacts
import status/status
import status/chat/chat
logScope:
topics = "muted-chats-view"

View File

@ -1,6 +1,6 @@
import NimQml, chronicles
import ../../../status/status
import ../../../status/network
import status/status
import status/network
import custom_networks
logScope:

View File

@ -1,6 +1,6 @@
import NimQml
import Tables
import ../../../status/status
import status/status
import sets
import sequtils

View File

@ -1,6 +1,6 @@
import NimQml
import chronicles
import ../../../status/profile/profile
import status/profile/profile
import std/wrapnils
QtObject:

View File

@ -2,8 +2,8 @@ import NimQml
import chronicles
import profile_info
import ../../utils/image_utils
import ../../../status/profile as status_profile
import ../../../status/status
import status/profile as status_profile
import status/status
logScope:

View File

@ -1,8 +1,8 @@
import NimQml, os
import chronicles
import profile_info
import ../../../status/status
import ../../../status/constants as accountConstants
import status/status
import status/constants as accountConstants
logScope:
topics = "profile-settings-view"

View File

@ -1,5 +1,5 @@
import NimQml, chronicles
import ../../status/status
import status/status
import view
logScope:

View File

@ -1,6 +1,6 @@
import NimQml
import ../../status/[status, ens, chat/stickers, wallet, settings, provider]
import ../../status/types/[setting]
import status/[status, ens, chat/stickers, wallet, settings, provider]
import status/types/[setting]
import json, json_serialization, sets, strutils
import chronicles
import nbaser

View File

@ -1,8 +1,8 @@
import NimQml, chronicles
import ../../status/[status, node, network]
import status/[status, node, network]
import ../../app_service/[main]
import view
import ../../eventemitter
import eventemitter
logScope:
topics = "utils"

View File

@ -1,11 +1,11 @@
import NimQml, os, strformat, strutils, parseUtils, chronicles
import stint
import ../../status/[status, wallet, settings, updates]
import ../../status/stickers
import ../../status/tokens as status_tokens
import ../../status/utils as status_utils
import ../../status/ens as status_ens
import ../../status/types/[network]
import status/[status, wallet, settings, updates]
import status/stickers
import status/tokens as status_tokens
import status/utils as status_utils
import status/ens as status_ens
import status/types/[network]
import ../../app_service/[main]
import ../../app_service/tasks/[qt, threadpool]
import ../utils/image_utils

View File

@ -3,13 +3,13 @@ import NimQml, strformat, strutils, chronicles, sugar, sequtils
import view
import views/[asset_list, account_list, account_item]
import ../../../status/[status, wallet, settings]
import ../../../status/wallet/account as WalletTypes
import ../../../status/types/[transaction, setting]
import status/[status, wallet, settings]
import status/wallet/account as WalletTypes
import status/types/[transaction, setting]
import ../../../app_service/[main]
import ../../../app_service/signals/[base]
import ../../../app_service/signals/wallet as wallet_signal
import ../../../eventemitter
import status/signals/[base]
import status/signals/wallet as wallet_signal
import eventemitter
logScope:
topics = "wallet-core"

View File

@ -2,7 +2,7 @@ import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, t
import NimQml, chronicles, stint
import
../../../status/[status, wallet],
status/[status, wallet],
views/[accounts, collectibles, transactions, tokens, gas, ens, dapp_browser, history, balance, utils, asset_list, account_list]
import ../../../app_service/[main]

View File

@ -1,5 +1,5 @@
import NimQml, std/wrapnils, strformat, options
from ../../../../status/wallet import WalletAccount
from status/wallet import WalletAccount
import ./asset_list
QtObject:

View File

@ -1,7 +1,7 @@
import NimQml, Tables, random, strformat, strutils, json_serialization
import sequtils as sequtils
import account_item, asset_list
from ../../../../status/wallet import WalletAccount, Asset, CollectibleList
from status/wallet import WalletAccount, Asset, CollectibleList
const accountColors* = ["#9B832F", "#D37EF4", "#1D806F", "#FA6565", "#7CDA00", "#887af9", "#8B3131"]
type

View File

@ -1,10 +1,10 @@
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import
../../../../status/[status, settings],
../../../../status/wallet as status_wallet,
../../../../status/types/[rpc_response],
../../../../app_service/signals/[base]
status/[status, settings],
status/wallet as status_wallet,
status/types/[rpc_response],
status/signals/[base]
import account_list, account_item

View File

@ -1,5 +1,5 @@
import NimQml, tables
from ../../../../status/wallet import Asset
from status/wallet import Asset
type
AssetRoles {.pure.} = enum

View File

@ -2,8 +2,8 @@ import atomics, strutils, sequtils, json, tables, chronicles, web3/[ethtypes, co
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import
../../../../status/[status, wallet, tokens],
../../../../status/tokens as status_tokens
status/[status, wallet, tokens],
status/tokens as status_tokens
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]

View File

@ -2,8 +2,8 @@ import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, t
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import
../../../../status/[status, settings, wallet, tokens, utils],
../../../../status/wallet/collectibles as status_collectibles
status/[status, settings, wallet, tokens, utils],
status/wallet/collectibles as status_collectibles
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]

View File

@ -1,5 +1,5 @@
import NimQml, tables
from ../../../../status/wallet import CollectibleList
from status/wallet import CollectibleList
type
CollectiblesRoles {.pure.} = enum

View File

@ -1,8 +1,8 @@
import sequtils, json, chronicles, web3/[ethtypes, conversions], stint
import NimQml, json, sequtils, chronicles, strutils, json
import ../../../../status/[status, settings, wallet]
import ../../../../status/types/[setting]
import status/[status, settings, wallet]
import status/types/[setting]
import account_list, account_item, accounts

View File

@ -2,8 +2,8 @@ import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, t
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import
../../../../status/[status, settings, wallet, tokens],
../../../../status/ens as status_ens
status/[status, settings, wallet, tokens],
status/ens as status_ens
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]

View File

@ -2,8 +2,8 @@ import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, c
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import
../../../../status/[status, wallet, utils],
../../../../status/types/[gas_prediction]
status/[status, wallet, utils],
status/types/[gas_prediction]
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]

View File

@ -3,9 +3,9 @@ from sugar import `=>`, `->`
import NimQml, json, sequtils, chronicles, strutils, json
import
../../../../status/[status, wallet, utils],
../../../../status/wallet as status_wallet,
../../../../status/types/[transaction]
status/[status, wallet, utils],
status/wallet as status_wallet,
status/types/[transaction]
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]
import account_list, account_item, transaction_list, accounts, transactions

View File

@ -5,8 +5,8 @@ import # vendor libs
NimQml
import # status-desktop libs
../../../../status/[utils, tokens, settings],
../../../../status/status
status/[utils, tokens, settings],
status/status
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]
import ../../../../app_service/tasks/marathon/mailserver/worker

View File

@ -1,7 +1,7 @@
import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import ../../../../status/[status, settings, wallet, tokens, utils]
import status/[status, settings, wallet, tokens, utils]
import ../../../../app_service/[main]
import account_list, account_item, transaction_list, accounts, asset_list, token_list

View File

@ -1,5 +1,5 @@
import NimQml, tables
from ../../../../status/wallet import Transaction
from status/wallet import Transaction
type
TransactionRoles {.pure.} = enum

View File

@ -2,8 +2,8 @@ import algorithm, atomics, sequtils, strformat, strutils, sugar, sequtils, json,
import NimQml, json, sequtils, chronicles, strutils, strformat, json, stint
import
../../../../status/[status, settings, wallet, tokens, utils],
../../../../status/wallet as status_wallet
status/[status, settings, wallet, tokens, utils],
status/wallet as status_wallet
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]

View File

@ -3,13 +3,13 @@ import NimQml, strformat, strutils, chronicles, sugar, sequtils
import view
import views/[account_list, account_item]
import ../../../status/[status, wallet2, settings]
import ../../../status/wallet2/account as WalletTypes
import ../../../status/types/[transaction, setting]
import status/[status, wallet2, settings]
import status/wallet2/account as WalletTypes
import status/types/[transaction, setting]
import ../../../app_service/[main]
import ../../../app_service/signals/[base]
import ../../../app_service/signals/wallet as wallet_signal
import ../../../eventemitter
import status/signals/[base]
import status/signals/wallet as wallet_signal
import eventemitter
logScope:
topics = "app-wallet2"

View File

@ -1,7 +1,7 @@
import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables
import NimQml, chronicles, stint
import ../../../status/[status, wallet2]
import status/[status, wallet2]
import views/[accounts, account_list, collectibles]
import views/buy_sell_crypto/[service_controller]
import ../../../app_service/[main]

View File

@ -1,5 +1,5 @@
import NimQml, std/wrapnils, strformat, options
from ../../../../status/wallet2 import WalletAccount
from status/wallet2 import WalletAccount
QtObject:
type AccountItemView* = ref object of QObject

View File

@ -1,7 +1,7 @@
import NimQml, Tables, random, strformat, strutils, json_serialization
import sequtils as sequtils
import account_item
from ../../../../status/wallet2 import WalletAccount, Asset, CollectibleList
from status/wallet2 import WalletAccount, Asset, CollectibleList
const accountColors* = ["#9B832F", "#D37EF4", "#1D806F", "#FA6565", "#7CDA00", "#887af9", "#8B3131"]

View File

@ -1,10 +1,10 @@
import NimQml, json, sequtils, chronicles, strutils, strformat, json
import
../../../../status/[status, settings],
../../../../status/wallet2 as status_wallet,
../../../../status/types/[rpc_response],
../../../../app_service/signals/[base]
status/[status, settings],
status/wallet2 as status_wallet,
status/types/[rpc_response],
status/signals/[base]
import account_list, account_item

View File

@ -1,5 +1,5 @@
import NimQml, Tables
from ../../../../status/wallet2 import OpenseaAsset
from status/wallet2 import OpenseaAsset
type
AssetRoles {.pure.} = enum

View File

@ -3,7 +3,7 @@ import NimQml, json, strutils, chronicles
import service_model, service_item
import ../../../../../app_service/[main]
import ../../../../../status/[status, wallet2]
import status/[status, wallet2]
logScope:
topics = "app-wallet2-crypto-service"

View File

@ -1,6 +1,6 @@
import json, strformat, chronicles
include ../../../../../status/utils/[json_utils]
include status/utils/[json_utils]
logScope:
topics = "app-wallet2-crypto-service"

View File

@ -1,6 +1,6 @@
import NimQml, Tables, json, chronicles
import ../../../../status/[status, wallet2]
import status/[status, wallet2]
import ../../../../app_service/[main]
import ../../../../app_service/tasks/[qt, threadpool]

View File

@ -1,5 +1,5 @@
import NimQml, Tables
from ../../../../status/wallet2 import OpenseaCollection
from status/wallet2 import OpenseaCollection
type
CollectionRoles {.pure.} = enum

View File

@ -1,4 +1,4 @@
include ../../../status/utils/json_utils
include status/utils/json_utils
type
AsyncSearchMessagesTaskArg = ref object of QObjectTaskArg

View File

@ -2,10 +2,10 @@ import NimQml
import json, chronicles
import ../../tasks/[qt, threadpool]
import ../../../status/status
import ../../../status/libstatus/chat as status_chat
import status/status
import status/libstatus/chat as status_chat
include ../../../status/chat/utils
include status/chat/utils
include async_tasks
logScope:

View File

@ -1,4 +1,4 @@
include ../../../status/utils/json_utils
include status/utils/json_utils
#################################################
# Async request for the list of services to buy/sell crypto

View File

@ -2,8 +2,8 @@ import NimQml
import json, chronicles
import ../../tasks/[qt, threadpool]
import ../../../status/[status, wallet2]
import ../../../status/libstatus/wallet as status_wallet
import status/[status, wallet2]
import status/libstatus/wallet as status_wallet
include async_tasks

Some files were not shown because too many files have changed in this diff Show More