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

Update version to 1.2.40-0 on staging #13610

Merged
merged 42 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ac019a3
Update checklist to include localization
iwiznia Dec 8, 2022
1394f99
Update checkilst again
iwiznia Dec 8, 2022
6df3ff7
Add links, include phones
iwiznia Dec 8, 2022
984a31a
Update .github/PULL_REQUEST_TEMPLATE.md
iwiznia Dec 8, 2022
43e4300
use time-analytics-webpack-plugin
ShuiRuTian Dec 9, 2022
8aed1c7
Play around with keyboard detection on iOS
tgolen Dec 12, 2022
590d793
Add bottom margin when keyboard is shown
tgolen Dec 12, 2022
d3929a1
Add bottom margin when keyboard is shown
tgolen Dec 12, 2022
c55c17b
use keyboardVerticalOffset prop instead of conditionally setting marg…
jasperhuangg Dec 13, 2022
4ff9d51
Change contributor guidelines too
iwiznia Dec 13, 2022
ba39fb6
Merge branch 'main' into iwiznia-patch-2
iwiznia Dec 13, 2022
6a395c2
Add checlist item for file descriptions
iwiznia Dec 13, 2022
b9fde93
Fix shell lint
iwiznia Dec 13, 2022
d63b4e5
Cleanup all debug stuff and add keyboard vertical offset
tgolen Dec 13, 2022
dfdebde
Merge branch 'tgolen-animated-keyboard' of github.com:Expensify/App i…
tgolen Dec 13, 2022
221f6f3
Trivial chamge to see if travis runs
iwiznia Dec 13, 2022
063aad1
Update expensify-common hash
Dec 13, 2022
76c053c
Update timezone correctly in the personal details
aldo-expensify Dec 14, 2022
3907e40
improvements
chiragsalian Dec 14, 2022
fe3f1a4
escape only backslashes
chiragsalian Dec 14, 2022
b64334c
revert return bit
chiragsalian Dec 14, 2022
2c1fcee
Merge branch 'main' of github.com:Expensify/App into tgolen-animated-…
jasperhuangg Dec 14, 2022
1bac1ea
Merge pull request #13529 from Expensify/tgolen-animated-keyboard
jasperhuangg Dec 14, 2022
a7e6a3e
Merge branch 'main' into iwiznia-patch-2
iwiznia Dec 14, 2022
fa633c1
fix issues on testBuild
staszekscp Dec 14, 2022
f2801cb
remove unnecessary fetch-depth
staszekscp Dec 14, 2022
8fe13b7
fix linting
staszekscp Dec 14, 2022
e23e4a9
Merge pull request #13434 from Expensify/iwiznia-patch-2
tgolen Dec 14, 2022
a8cacd5
Merge remote-tracking branch 'upstream/main' into use-time-analytics-…
ShuiRuTian Dec 14, 2022
d26028a
Merge pull request #13399 from ShuiRuTian/use-time-analytics-webpack-…
techievivek Dec 14, 2022
163addf
Merge pull request #13574 from Expensify/aldo_fix-add-comment-timezon…
aldo-expensify Dec 14, 2022
01230e8
Merge branch 'main' into chirag-deploy-fixes
chiragsalian Dec 14, 2022
158942f
Merge pull request #13581 from staszekscp/ci/fix-workflow-dispatch
AndrewGable Dec 14, 2022
b4bd437
Merge pull request #13578 from Expensify/chirag-deploy-fixes
chiragsalian Dec 14, 2022
7002774
fix desktop url
staszekscp Dec 14, 2022
3eed805
Upload new bank icon
grgia Dec 14, 2022
1a03ee3
Merge pull request #13596 from staszekscp/ci/fix-desktop-url
AndrewGable Dec 14, 2022
76e09bf
Merge pull request #13597 from Expensify/georgia-bankIcon
shawnborton Dec 14, 2022
6ef37f0
Merge pull request #13573 from Expensify/amechler-expensify-common-hash
Dec 14, 2022
4d55dd2
Update version to 1.2.40-0
OSBotify Dec 15, 2022
044db76
Merge pull request #13609 from Expensify/version-PATCH-720DF2F5-F900-…
OSBotify Dec 15, 2022
7fd6082
Merge branch 'main' into update-staging-from-main
OSBotify Dec 15, 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
5 changes: 4 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ This is a checklist for PR authors. Please make sure to complete all tasks and c
- [ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. `toggleReport` and not `onIconClick`)
- [ ] I verified that comments were added to code that is not self explanatory
- [ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
- [ ] I verified any copy / text shown in the product was added in all `src/languages/*` files
- [ ] I verified any copy / text shown in the product is localized by adding it to `src/languages/*` files and using the [translation method](https://github.com/Expensify/App/blob/4bd99402cebdf4d7394e0d1f260879ea238197eb/src/components/withLocalize.js#L60)
- [ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the [localization methods](https://github.com/Expensify/App/blob/4bd99402cebdf4d7394e0d1f260879ea238197eb/src/components/withLocalize.js#L60-L68)
- [ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the `Waiting for Copy` label for a copy review on the original GH to get the correct copy.
- [ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
- [ ] I verified the JSDocs style guidelines (in [`STYLE.md`](https://github.com/Expensify/App/blob/main/contributingGuides/STYLE.md#jsdocs)) were followed
Expand All @@ -101,6 +102,8 @@ This is a checklist for PR authors. Please make sure to complete all tasks and c
- [ ] Any internal methods bound to `this` are necessary to be bound (i.e. avoid `this.submit = this.submit.bind(this);` if `this.submit` is never passed to a component event handler like `onClick`)
- [ ] All JSX used for rendering exists in the render method
- [ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
- [ ] If any new file was added I verified that:
- [ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
- [ ] If a new CSS style is added I verified that:
- [ ] A similar style doesn't already exist
- [ ] The style can't be created with an existing [StyleUtils](https://github.com/Expensify/App/blob/main/src/styles/StyleUtils.js) function (i.e. `StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG`)
Expand Down
9 changes: 3 additions & 6 deletions .github/libs/GitUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,11 @@ function getMergeLogsAsJSON(fromRef, toRef) {
// Remove any double-quotes from commit subjects
let sanitizedOutput = stdout.replace(/(?<="subject": ").*(?="})/g, subject => subject.replace(/"/g, "'"));

// Also remove any newlines
sanitizedOutput = sanitizedOutput.replace(/(\r\n|\n|\r)/gm, '');
// Also remove any newlines and escape backslashes
sanitizedOutput = sanitizedOutput.replace(/(\r\n|\n|\r)/gm, '').replace('\\', '\\\\');

// Then format as JSON and convert to a proper JS object
const json = `[${sanitizedOutput}]`.replace('},]', '}]')

// Escape backslashes in commit messages that end with a backslash
.replace('\\"}', '\\\\"}');
const json = `[${sanitizedOutput}]`.replace('},]', '}]');

return JSON.parse(json);
});
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/buildActions.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Used to precompile all Github Action node.js scripts using ncc.
# This bundles them with their dependencies into a single executable node.js script.

# In order for this script to be safely run from anywhere, we cannot use the raw relative path '../actions'
# In order for this script to be safely run from anywhere, we cannot use the raw relative path '../actions'.
declare ACTIONS_DIR
ACTIONS_DIR="$(dirname "$(dirname "$0")")/actions/javascript"

Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/testBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
set -e
gh pr checkout ${{ github.event.inputs.PULL_REQUEST_NUMBER }}
echo "REF=$(git rev-parse --abbrev-ref HEAD)" >> "$GITHUB_OUTPUT"
echo "REF=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -57,7 +57,7 @@ jobs:
# This action checks-out the repository, so the workflow can access it.
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.head_ref || needs.getBranchRef.outputs.REF }}
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}

- uses: Expensify/App/.github/actions/composite/setupNode@main

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
# This action checks-out the repository, so the workflow can access it.
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.head_ref || needs.getBranchRef.outputs.REF }}
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}

- uses: Expensify/App/.github/actions/composite/setupNode@main

Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
# This action checks-out the repository, so the workflow can access it.
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.head_ref || needs.getBranchRef.outputs.REF }}
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}
fetch-depth: 0

- uses: Expensify/App/.github/actions/composite/setupNode@main
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.head_ref || needs.getBranchRef.outputs.REF }}
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}

- uses: actions/download-artifact@v3

Expand Down Expand Up @@ -228,11 +228,13 @@ jobs:

- name: Publish links to apps for download
run: |
set -e
gh pr checkout "$PULL_REQUEST_NUMBER"
gh pr comment --body \
":test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:
| android :robot: | iOS :apple: | desktop :computer: |
| ------------- | ------------- | ------------- |
| ${{fromJson(steps.set_var.outputs.android_paths).html_path}} | ${{fromJson(steps.set_var.outputs.ios_paths).html_path}} | https://ad-hoc-expensify-cash.us-east-1.amazonaws.com/desktop/$PULL_REQUEST_NUMBER/NewExpensify.dmg |
| ![Android](https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${{fromJson(steps.set_var.outputs.android_paths).html_path}}) | ![iOS](https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${{fromJson(steps.set_var.outputs.ios_paths).html_path}}) | ![desktop](https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://ad-hoc-expensify-cash.us-east-1.amazonaws.com/desktop/$PULL_REQUEST_NUMBER/NewExpensify.dmg) |"
| ${{fromJson(steps.set_var.outputs.android_paths).html_path}} | ${{fromJson(steps.set_var.outputs.ios_paths).html_path}} | https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/$PULL_REQUEST_NUMBER/NewExpensify.dmg |
| ![Android](https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${{fromJson(steps.set_var.outputs.android_paths).html_path}}) | ![iOS](https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${{fromJson(steps.set_var.outputs.ios_paths).html_path}}) | ![desktop](https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/$PULL_REQUEST_NUMBER/NewExpensify.dmg) |"
env:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001023900
versionName "1.2.39-0"
versionCode 1001024000
versionName "1.2.40-0"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()

if (isNewArchitectureEnabled()) {
Expand Down
15 changes: 8 additions & 7 deletions assets/images/bankicons/generic-bank-account.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions config/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const portfinder = require('portfinder');
const {DefinePlugin} = require('webpack');
const {merge} = require('webpack-merge');
const SpeedMeasurePlugin = require('speed-measure-webpack-plugin');
const {TimeAnalyticsPlugin} = require('time-analytics-webpack-plugin');
const getCommonConfig = require('./webpack.common');

const BASE_PORT = 8080;
Expand All @@ -26,7 +26,6 @@ module.exports = (env = {}) => portfinder.getPortPromise({port: BASE_PORT})
};

const baseConfig = getCommonConfig(env);
const speedMeasure = new SpeedMeasurePlugin();

const config = merge(baseConfig, {
mode: 'development',
Expand Down Expand Up @@ -59,5 +58,5 @@ module.exports = (env = {}) => portfinder.getPortPromise({port: BASE_PORT})
},
});

return speedMeasure.wrap(config);
return TimeAnalyticsPlugin.wrap(config);
});
5 changes: 4 additions & 1 deletion contributingGuides/REVIEWER_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
- [ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. `toggleReport` and not `onIconClick`).
- [ ] I verified that comments were added to code that is not self explanatory
- [ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
- [ ] I verified any copy / text shown in the product was added in all `src/languages/*` files
- [ ] I verified any copy / text shown in the product is localized by adding it to `src/languages/*` files and using the [translation method](https://github.com/Expensify/App/blob/4bd99402cebdf4d7394e0d1f260879ea238197eb/src/components/withLocalize.js#L60)
- [ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the [localization methods](https://github.com/Expensify/App/blob/4bd99402cebdf4d7394e0d1f260879ea238197eb/src/components/withLocalize.js#L60-L68)
- [ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the `Waiting for Copy` label for a copy review on the original GH to get the correct copy.
- [ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
- [ ] I verified the JSDocs style guidelines (in [`STYLE.md`](https://github.com/Expensify/App/blob/main/contributingGuides/STYLE.md#jsdocs)) were followed
Expand All @@ -40,6 +41,8 @@
- [ ] Any internal methods bound to `this` are necessary to be bound (i.e. avoid `this.submit = this.submit.bind(this);` if `this.submit` is never passed to a component event handler like `onClick`)
- [ ] All JSX used for rendering exists in the render method
- [ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
- [ ] If any new file was added I verified that:
- [ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
- [ ] If a new CSS style is added I verified that:
- [ ] A similar style doesn't already exist
- [ ] The style can't be created with an existing [StyleUtils](https://github.com/Expensify/App/blob/main/src/styles/StyleUtils.js) function (i.e. `StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG`)
Expand Down
4 changes: 2 additions & 2 deletions ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.2.39</string>
<string>1.2.40</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.2.39.0</string>
<string>1.2.40.0</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
4 changes: 2 additions & 2 deletions ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.2.39</string>
<string>1.2.40</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.2.39.0</string>
<string>1.2.40.0</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ PODS:
- React-Core
- react-native-image-manipulator (1.0.5):
- React
- react-native-image-picker (4.10.1):
- react-native-image-picker (4.10.2):
- React-Core
- react-native-netinfo (8.3.1):
- React-Core
Expand Down Expand Up @@ -980,7 +980,7 @@ SPEC CHECKSUMS:
react-native-document-picker: f68191637788994baed5f57d12994aa32cf8bf88
react-native-flipper: dc5290261fbeeb2faec1bdc57ae6dd8d562e1de4
react-native-image-manipulator: c48f64221cfcd46e9eec53619c4c0374f3328a56
react-native-image-picker: f2ab1215d17bcfe27b0eb6417cc236fd1f4775e7
react-native-image-picker: bf34f3f516d139ed3e24c5f5a381a91819e349ea
react-native-netinfo: 1a6035d3b9780221d407c277ebfb5722ace00658
react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa
react-native-plaid-link-sdk: 77052f329310ff5a36ddda276793f40d27c02bc4
Expand Down
Loading