Skip to content

Commit ac62cad

Browse files
committed
Merge pull request #17 from VKCOM/sync/2024-11-18
Sync 2024-11-18
2 parents 7b81d49 + 389a141 commit ac62cad

File tree

1,143 files changed

+80059
-30858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,143 files changed

+80059
-30858
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ res/build/
1010
rethinkdb_data/
1111
temp/
1212
tmp/
13+
doc/
1314
.eslintcache
1415
scripts/
16+
.mypy_cache

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ root = true
44

55
[*]
66
indent_style = space
7-
indent_size = 2
7+
indent_size = 4
88
end_of_line = lf
99
charset = utf-8
1010
trim_trailing_whitespace = true

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
/res/build/**
22
/res/app/components/stf/screen/fast-image-render/pixi.js
3-
WebDriverAgent

.eslintrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"extends": "eslint:recommended",
33
"env": {
4-
"node": true
4+
"node": true,
5+
"es6": true
56
},
67
"parserOptions": {
7-
"ecmaVersion": 2020,
8+
"ecmaVersion": 2022,
89
"sourceType": "module"
910
},
1011
"rules": {
@@ -99,7 +100,7 @@
99100
"func-style": 0, // optionally set `[2, "expression"]`
100101
"id-length": 0, // optionally set `[2, {"min": 3, "max": 10, "properties": "never", "exceptions": ["x"]}]`
101102
"id-match": 0, // optionally set `[2, "^[a-z]+([A-Z][a-z]+)*$", {"properties": false}]`
102-
"indent": [0, 2, {"SwitchCase": 0, "VariableDeclarator": 2}], // TODO: optionally set `[2, 2, {"SwitchCase": 1, "VariableDeclarator": {"var": 2, "let": 2, "const": 3}}]` this gives too many errors
103+
"indent": [2, 4, {"SwitchCase": 0, "VariableDeclarator": 2}], // TODO: optionally set `[2, 2, {"SwitchCase": 1, "VariableDeclarator": {"var": 2, "let": 2, "const": 3}}]` this gives too many errors
103104
"jsx-quotes": [2, "prefer-single"],
104105
"key-spacing": [2, {"beforeColon": false, "afterColon": true, "mode": "strict"}], // optionally set `[2, {"beforeColon": false, "afterColon": true, "mode": "strict", "align": "colon"}]`
105106
"lines-around-comment": 2, // optionally set `[2, {"beforeBlockComment": true, "beforeLineComment": true, "allowBlockStart": true}]`
@@ -156,7 +157,7 @@
156157
"no-sync": 1 // `2` is default
157158

158159
// eslint v2
159-
//"keyword-spacing": 2
160+
// "keyword-spacing": 2
160161
},
161162
"globals": {
162163
"$window": true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
/rethinkdb_data/
1313
/temp/
1414
/tmp/
15+
.mypy_cache

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ RUN set -x && \
5454
mkdir /app/bundletool && \
5555
mv /tmp/bundletool/* /app/bundletool && \
5656
cd /app && \
57-
find /tmp -mindepth 1 ! -regex '^/tmp/hsperfdata_root\(/.*\)?' -delete
57+
find /tmp -mindepth 1 ! -regex '^/tmp/hsperfdata_root\(/.*\)?' -delete && \
58+
ln -s /app/bin/stf.mjs /app/bin/stf &&\
59+
cd ui && \
60+
npm ci && \
61+
npx tsc -b && \
62+
npx vite build --mode staging
5863

5964
# Switch to the app user.
6065
USER stf

WebDriverAgent/.azure-pipelines.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
22
variables:
3-
MIN_VM_IMAGE: macOS-12
4-
MIN_XCODE_VERSION: 13.1
5-
MIN_PLATFORM_VERSION: 15.0
6-
MIN_TV_PLATFORM_VERSION: 15.0
7-
MIN_TV_DEVICE_NAME: Apple TV 4K (2nd generation)
8-
MIN_IPHONE_DEVICE_NAME: iPhone 11
9-
MIN_IPAD_DEVICE_NAME: iPad Pro (11-inch) (3rd generation)
10-
MAX_VM_IMAGE: macOS-12
11-
MAX_XCODE_VERSION: 14.2
12-
MAX_PLATFORM_VERSION: 16.2
13-
MAX_PLATFORM_VERSION_TV: 16.1
14-
MAX_IPHONE_DEVICE_NAME: iPhone 13
15-
MAX_TV_DEVICE_NAME: Apple TV 4K (2nd generation)
16-
MAX_IPAD_DEVICE_NAME: iPad Pro (11-inch) (3rd generation)
3+
MIN_VM_IMAGE: macOS-14
4+
MIN_XCODE_VERSION: 14.3.1
5+
MIN_PLATFORM_VERSION: 16.4
6+
MIN_TV_PLATFORM_VERSION: 16.4
7+
MIN_TV_DEVICE_NAME: Apple TV 4K (3rd generation)
8+
MIN_IPHONE_DEVICE_NAME: iPhone 14 Plus
9+
MIN_IPAD_DEVICE_NAME: iPad Pro (11-inch) (4th generation)
10+
MAX_VM_IMAGE: macOS-14
11+
MAX_XCODE_VERSION: 15.4
12+
MAX_PLATFORM_VERSION: 17.5
13+
MAX_PLATFORM_VERSION_TV: 17.5
14+
MAX_IPHONE_DEVICE_NAME: iPhone 15 Plus
15+
MAX_TV_DEVICE_NAME: Apple TV 4K (3rd generation)
16+
MAX_IPAD_DEVICE_NAME: iPad Air 11-inch (M2)
1717
DEFAULT_NODE_VERSION: "18.x"
1818

1919
trigger:

WebDriverAgent/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
## [8.11.1](https://github.com/appium/WebDriverAgent/compare/v8.11.0...v8.11.1) (2024-11-11)
2+
3+
### Miscellaneous Chores
4+
5+
* bump appium-ios-device ([#955](https://github.com/appium/WebDriverAgent/issues/955)) ([021f349](https://github.com/appium/WebDriverAgent/commit/021f34901866f4a7870914c00781b83bd0cbddc4))
6+
7+
## [8.11.0](https://github.com/appium/WebDriverAgent/compare/v8.10.1...v8.11.0) (2024-11-11)
8+
9+
### Features
10+
11+
* Add support for excluded_attributes in JSON source hierarchy ([#953](https://github.com/appium/WebDriverAgent/issues/953)) ([6112223](https://github.com/appium/WebDriverAgent/commit/6112223b21026fae5545fe1b1433a09c67ff524b))
12+
13+
## [8.10.1](https://github.com/appium/WebDriverAgent/compare/v8.10.0...v8.10.1) (2024-11-10)
14+
15+
### Miscellaneous Chores
16+
17+
* remove unnecessary lines ([#954](https://github.com/appium/WebDriverAgent/issues/954)) ([940df80](https://github.com/appium/WebDriverAgent/commit/940df80937381b481a2762fbf86b6249804591bd))
18+
19+
## [8.10.0](https://github.com/appium/WebDriverAgent/compare/v8.9.4...v8.10.0) (2024-11-07)
20+
21+
### Features
22+
23+
* add useClearTextShortcut setting ([#952](https://github.com/appium/WebDriverAgent/issues/952)) ([61bc051](https://github.com/appium/WebDriverAgent/commit/61bc051180d691d26233c66a5a76ed20b7fa09d2))
24+
25+
## [8.9.4](https://github.com/appium/WebDriverAgent/compare/v8.9.3...v8.9.4) (2024-10-17)
26+
27+
### Bug Fixes
28+
29+
* Consider transient overlay windows when respectSystemAlerts is enabled ([#946](https://github.com/appium/WebDriverAgent/issues/946)) ([f0bdce7](https://github.com/appium/WebDriverAgent/commit/f0bdce7eb8fdb13d2309d28e936950c77f006b20))
30+
31+
## [8.9.3](https://github.com/appium/WebDriverAgent/compare/v8.9.2...v8.9.3) (2024-10-07)
32+
33+
### Miscellaneous Chores
34+
35+
* remove unused FBBaseActionsParser and cleanup imports in FBConfiguration ([#943](https://github.com/appium/WebDriverAgent/issues/943)) ([a2173d0](https://github.com/appium/WebDriverAgent/commit/a2173d05df8ef831310e805a8e6a8a8d17725201))
36+
137
## [8.9.2](https://github.com/appium/WebDriverAgent/compare/v8.9.1...v8.9.2) (2024-09-13)
238

339
### Miscellaneous Chores

WebDriverAgent/Configurations/IOSSettings.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ RUN_CLANG_STATIC_ANALYZER = YES
2828

2929
GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
3030

31-
WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability
31+
WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability -Wno-declaration-after-statement -Wno-objc-messaging-id -Wno-direct-ivar-access -Wno-cast-qual -Wno-deprecated-declarations

WebDriverAgent/Configurations/TVOSSettings.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ RUN_CLANG_STATIC_ANALYZER = YES
2828

2929
GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
3030

31-
WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability
31+
WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability -Wno-declaration-after-statement -Wno-objc-messaging-id -Wno-direct-ivar-access -Wno-cast-qual -Wno-deprecated-declarations

0 commit comments

Comments
 (0)