Skip to content

Commit 21e652f

Browse files
authored
Merge branch 'master' into dependabot/npm_and_yarn/deep-object-diff-1.1.9
2 parents 5162120 + 00a8819 commit 21e652f

File tree

20 files changed

+225
-117
lines changed

20 files changed

+225
-117
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
jobs:
2424
analyze:
2525
name: Analyze
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-20.04
2727
permissions:
2828
actions: read
2929
contents: read

.github/workflows/dist.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ on:
99

1010
jobs:
1111
dist:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
submodules: recursive
17-
17+
# Set python version to 2.x due to node-gyp and sass
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: '2.7.18'
1821
# Set node version
1922
- uses: actions/setup-node@v2
2023
with:

.github/workflows/main.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ on:
99

1010
jobs:
1111
test:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
submodules: recursive
17-
17+
# Set python version to 2.x due to node-gyp and sass
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: '2.7.18'
1821
# Set node version
1922
- uses: actions/setup-node@v2
2023
with:
@@ -43,12 +46,15 @@ jobs:
4346

4447
build:
4548
needs: test
46-
runs-on: ubuntu-latest
49+
runs-on: ubuntu-20.04
4750
steps:
48-
- uses: actions/checkout@v2
51+
- uses: actions/checkout@v3
4952
with:
5053
submodules: recursive
51-
54+
# Set python version to 2.x due to node-gyp and sass
55+
- uses: actions/setup-python@v4
56+
with:
57+
python-version: '2.7.18'
5258
# Set node version
5359
- uses: actions/setup-node@v2
5460
with:

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Security updates will only be issued for the most recent version(s) of the softw
88

99
## Reporting a Vulnerability
1010

11-
To report a security issue to us, please contact info@networkcanvas.com. We will work with you to resolve the issue.
11+
To report a security issue to us, please help us to troubleshoot it by creating a topic on our [community page](https://community.networkcanvas.com). We will work with you to resolve the issue.

config.xml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<widget android-versionCode="6199" id="org.codaco.NetworkCanvasInterviewer6" ios-CFBundleIdentifier="org.codaco.networkCanvasInterviewerBusiness" ios-CFBundleVersion="6199" version="6.4.0"
3-
xmlns="http://www.w3.org/ns/widgets"
4-
xmlns:android="http://schemas.android.com/apk/res/android"
5-
xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget android-versionCode="6229" id="org.codaco.NetworkCanvasInterviewer6" ios-CFBundleIdentifier="org.codaco.networkCanvasInterviewerBusiness" ios-CFBundleVersion="6229" version="6.4.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
63
<name>Network Canvas Interviewer</name>
74
<description>
85
A tool for conducting Network Canvas Interviews.
@@ -35,6 +32,15 @@
3532
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/supports-screens">
3633
<supports-screens android:anyDensity="false" android:largeScreens="true" android:normalScreens="false" android:requiresSmallestWidthDp="600" android:resizeable="false" android:smallScreens="false" android:xlargeScreens="true"/>
3734
</edit-config>
35+
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity">
36+
<activity android:exported="true"/>
37+
</edit-config>
38+
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/provider">
39+
<provider android:exported="true"/>
40+
</edit-config>
41+
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/receiver">
42+
<receiver android:exported="true"/>
43+
</edit-config>
3844
</platform>
3945
<platform name="ios">
4046
<allow-navigation href="*"/>
@@ -76,11 +82,9 @@
7682
<preference name="iosPersistentFileLocation" value="Library"/>
7783
<preference name="AllowInlineMediaPlayback" value="true"/>
7884
<preference name="android-minSdkVersion" value="24"/>
79-
<preference name="android-targetSdkVersion" value="30"/>
85+
<preference name="android-targetSdkVersion" value="31"/>
8086
<plugin name="cordova-plugin-file-transfer" spec="^1.7.1"/>
81-
<plugin name="cordova-plugin-whitelist" spec="^1.3.3"/>
8287
<plugin name="cordova-plugin-device" spec="^2.0.2"/>
83-
<plugin name="cordova-plugin-x-socialsharing" spec="^5.6.4"/>
8488
<plugin name="cordova-plugin-zeroconf" spec="^1.4.1"/>
8589
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.2.0"/>
8690
<plugin name="cordova-plugin-inappbrowser" spec="~4.0.0"/>
@@ -90,5 +94,4 @@
9094
<plugin name="cordova-plugin-network-canvas-client" spec="https://github.com/complexdatacollective/cordova-plugin-network-canvas-client.git"/>
9195
<plugin name="cordova-sqlite-storage" spec="6.0.0"/>
9296
<engine name="ios" spec="~5.1.1"/>
93-
<engine name="android" spec="~8.1.0"/>
94-
</widget>
97+
</widget>

package-lock.json

Lines changed: 66 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,13 @@
7777
"connected-react-router": "^6.8.0",
7878
"cordova-android": "~8.1.0",
7979
"cordova-ios": "~5.1.1",
80+
"cordova-plugin-androidx-adapter": "~1.1.3",
8081
"cordova-plugin-app-version": "~0.1.14",
8182
"cordova-plugin-file": "~5.0.0",
8283
"cordova-plugin-ionic-keyboard": "2.2.0",
84+
"cordova-plugin-keyboard": "~1.2.0",
8385
"cordova-plugin-network-canvas-client": "github:complexdatacollective/cordova-plugin-network-canvas-client",
86+
"cordova-plugin-x-socialsharing-android12": "~6.0.5",
8487
"cross-env": "^5.2.0",
8588
"css-loader": "^3.4.2",
8689
"csvtojson": "^2.0.8",
@@ -95,7 +98,7 @@
9598
"enzyme": "^3.11.0",
9699
"enzyme-adapter-react-16": "^1.6.0",
97100
"enzyme-to-json": "^3.4.3",
98-
"es6-promise-plugin": "^4.2.2",
101+
"es6-promise-plugin": "~4.2.2",
99102
"eslint": "^7.0.0",
100103
"eslint-config-airbnb": "^18.2.1",
101104
"eslint-config-react-app": "^6.0.0",
@@ -306,18 +309,19 @@
306309
"cordova-plugin-ionic-keyboard": {},
307310
"cordova-plugin-fullscreen": {},
308311
"cordova-plugin-zeroconf": {},
309-
"cordova-plugin-x-socialsharing": {
310-
"ANDROID_SUPPORT_V4_VERSION": "24.1.1+",
311-
"PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.",
312-
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly."
313-
},
314312
"cordova-plugin-inappbrowser": {},
315313
"cordova-plugin-chooser": {},
316314
"cordova-plugin-network-information": {},
317315
"cordova-plugin-wkwebview-engine": {},
318316
"cordova-plugin-network-canvas-client": {},
319317
"cordova-sqlite-storage": {},
320-
"cordova-plugin-file": {}
318+
"cordova-plugin-file": {},
319+
"cordova-plugin-keyboard": {},
320+
"cordova-plugin-x-socialsharing-android12": {
321+
"PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.",
322+
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly."
323+
},
324+
"cordova-plugin-androidx-adapter": {}
321325
}
322326
}
323-
}
327+
}

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const PROTOCOL_EXTENSION = '.netcanvas';
22

33
// Target protocol schema version. Used to determine compatibility & migration
4-
const APP_SCHEMA_VERSION = 8;
4+
const APP_SCHEMA_VERSION = 7;
55

66
const DEVICE_API_VERSION = '2'; // X-Device-API-Version
77

src/containers/Interfaces/DyadCensus/DyadCensus.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ const fadeVariants = {
2626
};
2727

2828
const optionsVariants = {
29-
show: { opacity: 1, transition: { delay: 0.35, duration: 0.25 } },
30-
hide: { opacity: 0, transition: { delay: 0.35, duration: 0.25 } },
29+
show: { opacity: 1, transition: { delay: 0.15, duration: 0.25 } },
30+
hide: { opacity: 0, transition: { delay: 0.15, duration: 0.25 } },
3131
};
3232

3333
const choiceVariants = {
34-
show: { opacity: 1, translateY: '0%', transition: { delay: 0.25, type: 'spring' } },
34+
show: { opacity: 1, translateY: '0%', transition: { delay: 0.15, type: 'spring' } },
3535
hide: { opacity: 0, translateY: '120%' },
3636
};
3737

src/containers/Interfaces/DyadCensus/Pair.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const animationTarget = -50;
88

99
const pairTransition = {
1010
duration: 0.5,
11-
delay: 0.35,
11+
delay: 0.15,
1212
when: 'afterChildren',
1313
};
1414

0 commit comments

Comments
 (0)