Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
767be39673 | ||
|
|
714d966d48 | ||
|
|
11d66e5bc2 | ||
|
|
9d5f6d0b06 | ||
|
|
48c83ef759 | ||
|
|
c84fc71bf1 |
+1
-1
@@ -2,7 +2,7 @@ DEBUG_WEBVIEW=0
|
|||||||
ETHEREUM_DEV_CLUSTER=0
|
ETHEREUM_DEV_CLUSTER=0
|
||||||
EXTENSIONS=0
|
EXTENSIONS=0
|
||||||
GROUP_CHATS_ENABLED=1
|
GROUP_CHATS_ENABLED=1
|
||||||
LOG_LEVEL=
|
LOG_LEVEL=error
|
||||||
MAILSERVER_CONFIRMATIONS_ENABLED=1
|
MAILSERVER_CONFIRMATIONS_ENABLED=1
|
||||||
MAINNET_WARNING_ENABLED=1
|
MAINNET_WARNING_ENABLED=1
|
||||||
PFS_ENCRYPTION_ENABLED=1
|
PFS_ENCRYPTION_ENABLED=1
|
||||||
|
|||||||
@@ -109,10 +109,19 @@ pipeline {
|
|||||||
stage('Upload') {
|
stage('Upload') {
|
||||||
steps { script {
|
steps { script {
|
||||||
sshagent(credentials: ['nix-cache-ssh']) {
|
sshagent(credentials: ['nix-cache-ssh']) {
|
||||||
nix.shell("""
|
nix.shell(
|
||||||
|
"""
|
||||||
find /nix/store/ -mindepth 1 -maxdepth 1 -type d \
|
find /nix/store/ -mindepth 1 -maxdepth 1 -type d \
|
||||||
-not -name '*.links' -and -not -name '*-status-mobile-*' \
|
-not -name "*.links" -and -not -name "*-status-mobile-*" \
|
||||||
| xargs nix copy --to ${NIX_SSH_REMOTE}
|
-and -not -name "tmp-*" \
|
||||||
|
-print0 | xargs -0 nix-store -qR | sort -u > "${WORKSPACE_TMP}"/store-paths.txt
|
||||||
|
""",
|
||||||
|
pure: false
|
||||||
|
)
|
||||||
|
nix.shell(
|
||||||
|
"""
|
||||||
|
nix-store --export < "${WORKSPACE_TMP}"/store-paths.txt | \\
|
||||||
|
ssh ${env.NIX_SSHOPTS} ${params.NIX_CACHE_USER}@${params.NIX_CACHE_HOST} ${env.NIX_STORE_CMD} --import
|
||||||
""",
|
""",
|
||||||
pure: false
|
pure: false
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with pkgs; [ nodejs openjdk ];
|
buildInputs = with pkgs; [ nodejs openjdk_headless ];
|
||||||
nativeBuildInputs = with pkgs; [ bash gradle unzip ]
|
nativeBuildInputs = with pkgs; [ bash gradle unzip ]
|
||||||
++ lib.optionals stdenv.isDarwin [ file gnumake ];
|
++ lib.optionals stdenv.isDarwin [ file gnumake ];
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ rec {
|
|||||||
|
|
||||||
shell = mkShell {
|
shell = mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
openjdk
|
openjdk_headless
|
||||||
gradle
|
gradle
|
||||||
lsof # used in start-react-native.sh
|
lsof # used in start-react-native.sh
|
||||||
flock # used in nix/scripts/node_modules.sh
|
flock # used in nix/scripts/node_modules.sh
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
buildInputs = with pkgs; [ clojure nodejs bash git openjdk];
|
buildInputs = with pkgs; [ clojure nodejs bash git openjdk_headless ];
|
||||||
phases = [
|
phases = [
|
||||||
"unpackPhase" "secretsPhase" "patchPhase"
|
"unpackPhase" "secretsPhase" "patchPhase"
|
||||||
"configurePhase" "buildPhase" "installPhase"
|
"configurePhase" "buildPhase" "installPhase"
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@ in {
|
|||||||
nodejs = super.nodejs_20;
|
nodejs = super.nodejs_20;
|
||||||
ruby = super.ruby_3_1;
|
ruby = super.ruby_3_1;
|
||||||
yarn = super.yarn.override { nodejs = super.nodejs_20; };
|
yarn = super.yarn.override { nodejs = super.nodejs_20; };
|
||||||
openjdk = super.openjdk17_headless;
|
openjdk_headless = super.openjdk17_headless;
|
||||||
xcodeWrapper = callPackage ./pkgs/xcodeenv/compose-xcodewrapper.nix { } {
|
xcodeWrapper = callPackage ./pkgs/xcodeenv/compose-xcodewrapper.nix { } {
|
||||||
versions = ["16.0" "16.1" "16.2"];
|
versions = ["16.0" "16.1" "16.2"];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{ mkShell, openjdk, androidPkgs }:
|
{ mkShell, openjdk_headless, androidPkgs }:
|
||||||
|
|
||||||
mkShell {
|
mkShell {
|
||||||
name = "android-sdk-shell";
|
name = "android-sdk-shell";
|
||||||
buildInputs = [ openjdk ];
|
buildInputs = [ openjdk_headless ];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export ANDROID_HOME="${androidPkgs.sdk}"
|
export ANDROID_HOME="${androidPkgs.sdk}"
|
||||||
|
|||||||
+2
-2
@@ -19,7 +19,7 @@ let
|
|||||||
# for calling clojure targets in CI or Makefile
|
# for calling clojure targets in CI or Makefile
|
||||||
clojure = mkShell {
|
clojure = mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
clojure flock maven openjdk
|
clojure flock maven openjdk_headless
|
||||||
# lint specific utilities
|
# lint specific utilities
|
||||||
babashka clj-kondo clojure-lsp ripgrep zprint
|
babashka clj-kondo clojure-lsp ripgrep zprint
|
||||||
];
|
];
|
||||||
@@ -61,7 +61,7 @@ let
|
|||||||
|
|
||||||
# for 'scripts/generate-keystore.sh'
|
# for 'scripts/generate-keystore.sh'
|
||||||
keytool = mkShell {
|
keytool = mkShell {
|
||||||
buildInputs = with pkgs; [ openjdk apksigner ];
|
buildInputs = with pkgs; [ openjdk_headless apksigner ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# for targets needing 'adb', 'apkanalyzer' and other SDK/NDK tools
|
# for targets needing 'adb', 'apkanalyzer' and other SDK/NDK tools
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ callPackage, lib, buildGoPackage, pkgs
|
{ callPackage, lib, buildGoPackage, pkgs
|
||||||
, androidPkgs, openjdk, gomobile, xcodeWrapper, removeReferencesTo
|
, androidPkgs, openjdk_headless, gomobile, xcodeWrapper, removeReferencesTo
|
||||||
, go-bindata, mockgen, protobuf3_20, protoc-gen-go
|
, go-bindata, mockgen, protobuf3_20, protoc-gen-go
|
||||||
, meta
|
, meta
|
||||||
, source
|
, source
|
||||||
@@ -32,7 +32,7 @@ in buildGoPackage rec {
|
|||||||
extraSrcPaths = [ gomobile ];
|
extraSrcPaths = [ gomobile ];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gomobile removeReferencesTo go-bindata mockgen protoc-gen-go protobuf3_20 fakeGit
|
gomobile removeReferencesTo go-bindata mockgen protoc-gen-go protobuf3_20 fakeGit
|
||||||
] ++ optional isAndroid openjdk
|
] ++ optional isAndroid openjdk_headless
|
||||||
++ optional isIOS xcodeWrapper;
|
++ optional isIOS xcodeWrapper;
|
||||||
|
|
||||||
ldflags = goBuildLdFlags;
|
ldflags = goBuildLdFlags;
|
||||||
|
|||||||
@@ -2,19 +2,41 @@
|
|||||||
(:require
|
(:require
|
||||||
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
|
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
|
||||||
[re-frame.core :as re-frame]
|
[re-frame.core :as re-frame]
|
||||||
|
[taoensso.timbre :as log]
|
||||||
[utils.i18n :as i18n]
|
[utils.i18n :as i18n]
|
||||||
[utils.re-frame :as rf]))
|
[utils.re-frame :as rf]))
|
||||||
|
|
||||||
(rf/defn save-log-level
|
(rf/defn save-log-level
|
||||||
{:events [:log-level.ui/change-log-level-confirmed]}
|
{:events [:log-level.ui/change-log-level-confirmed]}
|
||||||
[{:keys [db] :as cofx} log-level]
|
[{:keys [db]} log-level]
|
||||||
(let [old-log-level (get-in db [:profile/profile :log-level])]
|
(let [old-log-level (get-in db [:profile/profile :log-level])]
|
||||||
(when (not= old-log-level log-level)
|
(when (not= old-log-level log-level)
|
||||||
|
(let [need-set-log-enabled? (or (empty? old-log-level) (empty? log-level))
|
||||||
|
log-enabled? (boolean (seq log-level))
|
||||||
|
rpc-calls (cond-> []
|
||||||
|
log-enabled?
|
||||||
|
(conj {:method "wakuext_setLogLevel"
|
||||||
|
:params [{:logLevel log-level}]
|
||||||
|
:on-error #(log/error "Failed to set log level" %)})
|
||||||
|
|
||||||
|
need-set-log-enabled?
|
||||||
|
(conj {:method "wakuext_setLogEnabled"
|
||||||
|
:params [log-enabled?]
|
||||||
|
:on-error #(log/error "Failed to set log enabled" %)}))]
|
||||||
|
{:fx [[:json-rpc/call
|
||||||
|
(conj (vec (map #(assoc % :on-success nil) (butlast rpc-calls)))
|
||||||
|
(assoc (last rpc-calls)
|
||||||
|
:on-success
|
||||||
|
#(rf/dispatch [:log-level/update-multiaccount log-level])))]]}))))
|
||||||
|
|
||||||
|
(rf/defn update-multiaccount
|
||||||
|
{:events [:log-level/update-multiaccount]}
|
||||||
|
[cofx log-level]
|
||||||
(multiaccounts.update/multiaccount-update
|
(multiaccounts.update/multiaccount-update
|
||||||
cofx
|
cofx
|
||||||
:log-level
|
:log-level
|
||||||
log-level
|
log-level
|
||||||
{:on-success #(re-frame/dispatch [:profile/logout])}))))
|
{:on-success #(rf/dispatch [:profile/logout])}))
|
||||||
|
|
||||||
(rf/defn show-change-log-level-confirmation
|
(rf/defn show-change-log-level-confirmation
|
||||||
{:events [:log-level.ui/log-level-selected]}
|
{:events [:log-level.ui/log-level-selected]}
|
||||||
|
|||||||
@@ -33,6 +33,9 @@
|
|||||||
name]]]]))
|
name]]]]))
|
||||||
|
|
||||||
(def log-levels
|
(def log-levels
|
||||||
|
"The status-go log library (zap) doesn't support the trace level, so we remove
|
||||||
|
the trace option from the UI. When trace is enabled an error will happen while
|
||||||
|
trying to login (user will see the error 'wrong password')."
|
||||||
[{:name "DISABLED"
|
[{:name "DISABLED"
|
||||||
:value ""}
|
:value ""}
|
||||||
{:name "ERROR"
|
{:name "ERROR"
|
||||||
@@ -42,9 +45,7 @@
|
|||||||
{:name "INFO"
|
{:name "INFO"
|
||||||
:value "INFO"}
|
:value "INFO"}
|
||||||
{:name "DEBUG"
|
{:name "DEBUG"
|
||||||
:value "DEBUG"}
|
:value "DEBUG"}])
|
||||||
{:name "TRACE"
|
|
||||||
:value "TRACE"}])
|
|
||||||
|
|
||||||
(views/defview log-level-settings
|
(views/defview log-level-settings
|
||||||
[]
|
[]
|
||||||
|
|||||||
@@ -275,7 +275,8 @@
|
|||||||
{:events [:chat/unmute-chat-community]}
|
{:events [:chat/unmute-chat-community]}
|
||||||
[{:keys [db]} chat-id]
|
[{:keys [db]} chat-id]
|
||||||
(let [{:keys [community-id]} (get-in db [:chats chat-id])]
|
(let [{:keys [community-id]} (get-in db [:chats chat-id])]
|
||||||
{:db (assoc-in db [:communities community-id :muted] false)}))
|
(when community-id
|
||||||
|
{:db (assoc-in db [:communities community-id :muted] false)})))
|
||||||
|
|
||||||
(rf/defn mute-chat-failed
|
(rf/defn mute-chat-failed
|
||||||
{:events [:chat/mute-failed]}
|
{:events [:chat/mute-failed]}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v10.6.0",
|
"version": "v10.8.0",
|
||||||
"commit-sha1": "c5e4eb1a56ea7641efcc7cc677be7fd5d3f92225",
|
"commit-sha1": "ba8fd51958686aea45e34e684ac925a4e65927f8",
|
||||||
"src-sha256": "0n8x03c4dqxwcl27y8x6hmn6wbfpq3llkj15hhjxc4baaqwrhy8i"
|
"src-sha256": "0kqn5rkfsn7aqc2n2flqvkm6cc53ssk0mc1l84f4czg0paci0717"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class TestWalletCollectibles(MultipleSharedDeviceTestCase):
|
|||||||
self.wallet_view.collectibles_tab.click()
|
self.wallet_view.collectibles_tab.click()
|
||||||
self.wallet_view.set_network_in_wallet(self.network_name)
|
self.wallet_view.set_network_in_wallet(self.network_name)
|
||||||
collectibles = {
|
collectibles = {
|
||||||
"BVL": {"quantity": 2,
|
"BVL": {"quantity": 1,
|
||||||
"info": {"Account": "Account 1",
|
"info": {"Account": "Account 1",
|
||||||
"Network": "Base",
|
"Network": "Base",
|
||||||
"category": "Football Player",
|
"category": "Football Player",
|
||||||
@@ -102,8 +102,8 @@ class TestWalletCollectibles(MultipleSharedDeviceTestCase):
|
|||||||
self.wallet_view.collectibles_tab_on_select_token_view.click()
|
self.wallet_view.collectibles_tab_on_select_token_view.click()
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
self.wallet_view.get_collectible_element('BVL').click()
|
self.wallet_view.get_collectible_element('BVL').click()
|
||||||
self.wallet_view.amount_input_increase_button.click()
|
# self.wallet_view.amount_input_increase_button.click()
|
||||||
self.wallet_view.confirm_button.click()
|
# self.wallet_view.confirm_button.click()
|
||||||
for text in [self.account_name, self.sender_short_address]:
|
for text in [self.account_name, self.sender_short_address]:
|
||||||
if not self.wallet_view.from_data_container.get_child_element_by_text(text).is_element_displayed():
|
if not self.wallet_view.from_data_container.get_child_element_by_text(text).is_element_displayed():
|
||||||
self.errors.append(self.wallet_view,
|
self.errors.append(self.wallet_view,
|
||||||
@@ -118,7 +118,7 @@ class TestWalletCollectibles(MultipleSharedDeviceTestCase):
|
|||||||
data_to_check = {
|
data_to_check = {
|
||||||
'Est. time': ' min',
|
'Est. time': ' min',
|
||||||
'Max fees': r"[$]\d+.\d+",
|
'Max fees': r"[$]\d+.\d+",
|
||||||
'Recipient gets': '2 '
|
'Recipient gets': '1 '
|
||||||
}
|
}
|
||||||
for key, expected_value in data_to_check.items():
|
for key, expected_value in data_to_check.items():
|
||||||
try:
|
try:
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 330 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Reference in New Issue
Block a user