Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to new middleware, bug fixes and maintenance #1435

Merged
merged 45 commits into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
0c850ca
Simplify maintenance by dropping storybook
davidyuk Jan 31, 2022
1445149
Remove unused vuex-persistedstate package
davidyuk Jan 31, 2022
2d3b202
Sync browserlist with sdk repo, remove unnecessary engines field
davidyuk Jan 31, 2022
baf6b59
Update @zxing/library package
davidyuk Jan 31, 2022
9f072a6
Mock sdk to fix warnings in unit tests of AppBrowser
davidyuk Jan 31, 2022
9be4470
Update dependencies
davidyuk Jan 31, 2022
80f4df0
Update @vue/cli to 4
davidyuk Jan 31, 2022
9da40e3
Fix linter errors automatically
davidyuk Jan 31, 2022
0c5f7ed
Fix linter errors manually
davidyuk Jan 31, 2022
e5765d8
Don't use deprecated router.addRoutes method
davidyuk Jan 31, 2022
525b308
Switch from node-sass to sass
davidyuk Jan 31, 2022
42a2616
Update cordova packages
davidyuk Jan 31, 2022
37f5489
Drop generation of labeled icons to simplify adaptive icons in Android
davidyuk Feb 1, 2022
4fb1961
Enable adaptive icons in Android 8 and above
davidyuk Feb 1, 2022
1373ad9
Apply a page height workaround from Superhero for iOS
davidyuk Feb 1, 2022
5e6e84b
Remove currently unneeded switch to Light theme to fix ios build
davidyuk Feb 1, 2022
8c90cb7
Allow airgap-vault as intent instead of edit-config to fix ios build
davidyuk Feb 1, 2022
b1252a4
Remove unused translation entry
davidyuk Feb 1, 2022
2c45867
Switch vue-i18n-extract to released version with required fix
davidyuk Feb 1, 2022
67c77bb
appsMetadata: Don't use restricted cors-anywhere.herokuapp.com
davidyuk Feb 1, 2022
c223ecc
Fix auto login on mobile
davidyuk Feb 1, 2022
74711e7
Update rlp, rxjs, socket.io packages
davidyuk Feb 2, 2022
7364ed4
Update sdk to develop version
davidyuk Feb 2, 2022
5f81cdd
Update package-lock to lockfileVersion 2
davidyuk Feb 2, 2022
430be6b
Switch to maintained version of eslint-plugin-vue-i18n package
davidyuk Feb 2, 2022
8df5f5f
Fix nullish operators by syncing browserslist with new cli4 project
davidyuk Feb 2, 2022
01418b1
Show status of a new middleware
davidyuk Feb 2, 2022
73d5574
Remove extra initSdk folder
davidyuk Feb 2, 2022
3a28a8a
Store the complete new middleware URL
davidyuk Feb 2, 2022
eb91cd9
Get AuctionList using new middleware
davidyuk Feb 2, 2022
77179dd
NameNew: use new middleware to check is auction running
davidyuk Feb 3, 2022
d8697cc
AuctionBid: use new middleware
davidyuk Feb 3, 2022
b8e9f0e
AuctionDetails: use new middleware
davidyuk Feb 3, 2022
8dc79bb
names plugin: use new middleware
davidyuk Feb 3, 2022
a3da6ed
getTransactionList: use new middleware
davidyuk Feb 3, 2022
c770708
initSdk: remove old middleware
davidyuk Feb 3, 2022
7713cac
Add links to issues
davidyuk Feb 4, 2022
46cef00
Make middleware sync issues more important than connected to testnet
davidyuk Feb 7, 2022
abff632
fix(middleware): add basePath only on known hosts
davidyuk Feb 7, 2022
8cf417c
Add missed cordova-plugin-androidx-adapter to fix qrscanner
davidyuk Feb 7, 2022
ebb9d27
NameNew: Fix reference to i18n $t
davidyuk Feb 7, 2022
d1263c7
Fix getting of nameClaim transaction fee
davidyuk Feb 7, 2022
f86cd50
NameList: Fix showing of pending name
davidyuk Feb 7, 2022
594685f
Fix reference to current name owner
davidyuk Feb 7, 2022
a958ba8
Fix remote account creation on desktop
davidyuk Feb 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module.exports = {
node: true,
},
extends: [
'plugin:vue-i18n/recommended',
'plugin:vue/recommended',
'plugin:@intlify/vue-i18n/recommended',
'@vue/airbnb',
],
rules: {
Expand Down Expand Up @@ -34,8 +34,14 @@ module.exports = {
'vue/space-infix-ops': 'error',
'vue/space-unary-ops': 'error',
'vue/v-on-function-call': 'error',
'vue-i18n/no-dynamic-keys': 'error',
'vue-i18n/no-unused-keys': 'error',
'@intlify/vue-i18n/no-dynamic-keys': 'error',
'@intlify/vue-i18n/no-unused-keys': 'error',
'vuejs-accessibility/click-events-have-key-events': 'off',
'vuejs-accessibility/label-has-for': 'off',
'vuejs-accessibility/form-control-has-label': 'off',
'vue/multi-word-component-names': 'off',
'vuejs-accessibility/no-autofocus': 'off',
'vuejs-accessibility/alt-text': 'off',
},
parserOptions: {
parser: 'babel-eslint',
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
.DS_Store
node_modules
/dist
/public/favicons/android-chrome-192x192.png
/public/favicons/android-chrome-512x512.png
/public/favicons/apple-touch-icon.png
/resources/icon.png

# Cordova files
/www
/platforms
/plugins
/resources/*/
/resources/*/*
!/resources/android/icon-foreground.png

# local env files
.env.local
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ npm run test:e2e

# run all tests
npm test

# build a storybook
npm run storybook:build

# serve a storybook at http://localhost:6006
npm run storybook:serve
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
presets: [
'@vue/app',
'@vue/cli-plugin-babel/preset',
],
plugins: [
['@babel/plugin-transform-async-to-generator', {
Expand Down
30 changes: 12 additions & 18 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-intent href="airgap-vault:*" />
<access origin="*" />
<platform name="android">
<allow-intent href="market:*" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="HeaderColor" value="#f7296e" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
<preference name="StatusBarOverlaysWebView" value="false" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
</edit-config>
Expand All @@ -26,14 +29,6 @@
<allow-navigation href="*" />
<preference name="UseSwiftLanguageVersion" value="5" />
<preference name="DisallowOverscroll" value="true" />
<edit-config file="*-Info.plist" mode="merge" target="LSApplicationQueriesSchemes">
<array>
<string>airgap-vault</string>
</array>
</edit-config>
<edit-config file="*-Info.plist" mode="merge" target="UIUserInterfaceStyle">
<string>Light</string>
</edit-config>
<config-file target="*-Debug.plist" parent="com.apple.developer.associated-domains">
<array>
<string>applinks:base.aepps.com</string>
Expand All @@ -56,21 +51,20 @@
<param name="onload" value="true" />
</feature>
<preference name="StatusBarBackgroundColor" value="#ff0d6a" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
<plugin name="cordova-plugin-splashscreen" spec="^6.0.0" />
<plugin name="cordova-plugin-network-information" spec="^3.0.0" />
<plugin name="cordova-plugin-qrscanner" spec="^3.0.1" />
<plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" />
<plugin name="cordova-plugin-wkwebview-engine" spec="github:mwchambers/cordova-plugin-wkwebview-engine#da67d6bb6ce8597c38fc69e66b84566e34efea8d" />
<plugin name="cordova-plugin-inappbrowser" spec="^5.0.0" />
<plugin name="com.lampa.startapp" spec="^6.1.6" />
<plugin name="cordova-plugin-x-socialsharing" spec="^5.4.5" />
<plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
<plugin name="cordova-plugin-x-socialsharing" spec="^6.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^3.0.0" />
<plugin name="cordova-plugin-headercolor" spec="^1.0.0" />
<plugin name="cordova-clipboard" spec="^1.3.0" />
<plugin name="ionic-plugin-deeplinks" spec="github:aeternity/ionic-plugin-deeplinks">
<plugin name="ionic-plugin-deeplinks" spec="^1.0.24">
<variable name="URL_SCHEME" value="aepp-base" />
<variable name="DEEPLINK_HOST" value="base.aepps.com" />
</plugin>
<engine name="android" spec="^8.0.0" />
<engine name="ios" spec="^5.0.0" />
<plugin name="cordova-plugin-androidx-adapter" spec="^1.1.3" />
<engine name="android" spec="^10.1.1" />
<engine name="ios" spec="^6.2.0" />
</widget>
5 changes: 0 additions & 5 deletions config/storybook/addons.js

This file was deleted.

16 changes: 0 additions & 16 deletions config/storybook/config.js

This file was deleted.

2 changes: 0 additions & 2 deletions config/storybook/preview-head.html

This file was deleted.

16 changes: 0 additions & 16 deletions config/storybook/stories-init.js

This file was deleted.

3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ module.exports = {
setupFiles: ['jest-canvas-mock'],
moduleFileExtensions: [
'js',
'mjs',
'jsx',
'json',
'vue',
],
transform: {
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|png|jpg|svg|ttf|woff|woff2)$': 'jest-transform-stub',
'^.+\\.jsx?$': 'babel-jest',
'^.+\\.m?jsx?$': 'babel-jest',
},
transformIgnorePatterns: [
`node_modules/(?!(${packagesToTranspile.join('|')})/)`,
Expand Down
Loading