forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/margelo/expensify-app-fork …
…into feat/#Expensify#23138-clear-after-status
- Loading branch information
Showing
117 changed files
with
3,807 additions
and
2,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "new.expensify", | ||
"version": "1.3.57-3", | ||
"version": "1.3.57-5", | ||
"author": "Expensify, Inc.", | ||
"homepage": "https://new.expensify.com", | ||
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", | ||
|
@@ -85,7 +85,7 @@ | |
"date-fns-tz": "^2.0.0", | ||
"dom-serializer": "^0.2.2", | ||
"domhandler": "^4.3.0", | ||
"expensify-common": "git+ssh://[email protected]/Expensify/expensify-common.git#4cc5f72b69bd77d2c8052a3c167d039e502a2796", | ||
"expensify-common": "git+ssh://[email protected]/Expensify/expensify-common.git#7735de14112a968fd6a4f5af710d2fbaefc8809d", | ||
"fbjs": "^3.0.2", | ||
"htmlparser2": "^7.2.0", | ||
"idb-keyval": "^6.2.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import lodashGet from 'lodash/get'; | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
import Config from 'react-native-config'; | ||
import * as KeyCommand from 'react-native-key-command'; | ||
import * as Url from './libs/Url'; | ||
import SCREENS from './SCREENS'; | ||
|
||
const CLOUDFRONT_DOMAIN = 'cloudfront.net'; | ||
const CLOUDFRONT_URL = `https://d2k5nsl2zxldvw.${CLOUDFRONT_DOMAIN}`; | ||
const ACTIVE_EXPENSIFY_URL = Url.addTrailingForwardSlash(lodashGet(Config, 'NEW_EXPENSIFY_URL', 'https://new.expensify.com')); | ||
const ACTIVE_EXPENSIFY_URL = Url.addTrailingForwardSlash(Config?.NEW_EXPENSIFY_URL ?? 'https://new.expensify.com'); | ||
const USE_EXPENSIFY_URL = 'https://use.expensify.com'; | ||
const PLATFORM_OS_MACOS = 'Mac OS'; | ||
const PLATFORM_IOS = 'iOS'; | ||
const ANDROID_PACKAGE_NAME = 'com.expensify.chat'; | ||
const CURRENT_YEAR = new Date().getFullYear(); | ||
const PULL_REQUEST_NUMBER = lodashGet(Config, 'PULL_REQUEST_NUMBER', ''); | ||
|
||
const keyModifierControl = lodashGet(KeyCommand, 'constants.keyModifierControl', 'keyModifierControl'); | ||
const keyModifierCommand = lodashGet(KeyCommand, 'constants.keyModifierCommand', 'keyModifierCommand'); | ||
const keyModifierShiftControl = lodashGet(KeyCommand, 'constants.keyModifierShiftControl', 'keyModifierShiftControl'); | ||
const keyModifierShiftCommand = lodashGet(KeyCommand, 'constants.keyModifierShiftCommand', 'keyModifierShiftCommand'); | ||
const keyInputEscape = lodashGet(KeyCommand, 'constants.keyInputEscape', 'keyInputEscape'); | ||
const keyInputEnter = lodashGet(KeyCommand, 'constants.keyInputEnter', 'keyInputEnter'); | ||
const keyInputUpArrow = lodashGet(KeyCommand, 'constants.keyInputUpArrow', 'keyInputUpArrow'); | ||
const keyInputDownArrow = lodashGet(KeyCommand, 'constants.keyInputDownArrow', 'keyInputDownArrow'); | ||
const keyInputLeftArrow = lodashGet(KeyCommand, 'constants.keyInputLeftArrow', 'keyInputLeftArrow'); | ||
const keyInputRightArrow = lodashGet(KeyCommand, 'constants.keyInputRightArrow', 'keyInputRightArrow'); | ||
const PULL_REQUEST_NUMBER = Config?.PULL_REQUEST_NUMBER ?? ''; | ||
|
||
const keyModifierControl = KeyCommand?.constants?.keyModifierControl ?? 'keyModifierControl'; | ||
const keyModifierCommand = KeyCommand?.constants?.keyModifierCommand ?? 'keyModifierCommand'; | ||
const keyModifierShiftControl = KeyCommand?.constants?.keyModifierShiftControl ?? 'keyModifierShiftControl'; | ||
const keyModifierShiftCommand = KeyCommand?.constants?.keyModifierShiftCommand ?? 'keyModifierShiftCommand'; | ||
const keyInputEscape = KeyCommand?.constants?.keyInputEscape ?? 'keyInputEscape'; | ||
const keyInputEnter = KeyCommand?.constants?.keyInputEnter ?? 'keyInputEnter'; | ||
const keyInputUpArrow = KeyCommand?.constants?.keyInputUpArrow ?? 'keyInputUpArrow'; | ||
const keyInputDownArrow = KeyCommand?.constants?.keyInputDownArrow ?? 'keyInputDownArrow'; | ||
const keyInputLeftArrow = KeyCommand?.constants?.keyInputLeftArrow ?? 'keyInputLeftArrow'; | ||
const keyInputRightArrow = KeyCommand?.constants?.keyInputRightArrow ?? 'keyInputRightArrow'; | ||
|
||
// describes if a shortcut key can cause navigation | ||
const KEYBOARD_SHORTCUT_NAVIGATION_TYPE = 'NAVIGATION_SHORTCUT'; | ||
|
@@ -818,8 +818,10 @@ const CONST = { | |
}, | ||
|
||
FILE_TYPE_REGEX: { | ||
IMAGE: /\.(jpg|jpeg|png|webp|avif|gif|tiff|wbmp|ico|jng|bmp|heic|svg|svg2)$/, | ||
VIDEO: /\.(3gp|h261|h263|h264|m4s|jpgv|jpm|jpgm|mp4|mp4v|mpg4|mpeg|mpg|ogv|ogg|mov|qt|webm|flv|mkv|wmv|wav|avi|movie|f4v|avchd|mp2|mpe|mpv|m4v|swf)$/, | ||
// Image MimeTypes allowed by iOS photos app. | ||
IMAGE: /\.(jpg|jpeg|png|webp|gif|tiff|bmp|heic|heif)$/, | ||
// Video MimeTypes allowed by iOS photos app. | ||
VIDEO: /\.(mov|mp4)$/, | ||
}, | ||
IOS_CAMERAROLL_ACCESS_ERROR: 'Access to photo library was denied', | ||
ADD_PAYMENT_MENU_POSITION_Y: 226, | ||
|
@@ -882,22 +884,22 @@ const CONST = { | |
}, | ||
|
||
ACCOUNT_ID: { | ||
ACCOUNTING: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_ACCOUNTING', 9645353)), | ||
ADMIN: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_ADMIN', -1)), | ||
BILLS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_BILLS', 1371)), | ||
CHRONOS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_CHRONOS', 10027416)), | ||
CONCIERGE: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_CONCIERGE', 8392101)), | ||
CONTRIBUTORS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_CONTRIBUTORS', 9675014)), | ||
FIRST_RESPONDER: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_FIRST_RESPONDER', 9375152)), | ||
HELP: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_HELP', -1)), | ||
INTEGRATION_TESTING_CREDS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_INTEGRATION_TESTING_CREDS', -1)), | ||
PAYROLL: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_PAYROLL', 9679724)), | ||
QA: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_QA', 3126513)), | ||
QA_TRAVIS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_QA_TRAVIS', 8595733)), | ||
RECEIPTS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_RECEIPTS', -1)), | ||
REWARDS: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_REWARDS', 11023767)), // [email protected] | ||
STUDENT_AMBASSADOR: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_STUDENT_AMBASSADOR', 10476956)), | ||
SVFG: Number(lodashGet(Config, 'EXPENSIFY_ACCOUNT_ID_SVFG', 2012843)), | ||
ACCOUNTING: Number(Config?.EXPENSIFY_ACCOUNT_ID_ACCOUNTING ?? 9645353), | ||
ADMIN: Number(Config?.EXPENSIFY_ACCOUNT_ID_ADMIN ?? -1), | ||
BILLS: Number(Config?.EXPENSIFY_ACCOUNT_ID_BILLS ?? 1371), | ||
CHRONOS: Number(Config?.EXPENSIFY_ACCOUNT_ID_CHRONOS ?? 10027416), | ||
CONCIERGE: Number(Config?.EXPENSIFY_ACCOUNT_ID_CONCIERGE ?? 8392101), | ||
CONTRIBUTORS: Number(Config?.EXPENSIFY_ACCOUNT_ID_CONTRIBUTORS ?? 9675014), | ||
FIRST_RESPONDER: Number(Config?.EXPENSIFY_ACCOUNT_ID_FIRST_RESPONDER ?? 9375152), | ||
HELP: Number(Config?.EXPENSIFY_ACCOUNT_ID_HELP ?? -1), | ||
INTEGRATION_TESTING_CREDS: Number(Config?.EXPENSIFY_ACCOUNT_ID_INTEGRATION_TESTING_CREDS ?? -1), | ||
PAYROLL: Number(Config?.EXPENSIFY_ACCOUNT_ID_PAYROLL ?? 9679724), | ||
QA: Number(Config?.EXPENSIFY_ACCOUNT_ID_QA ?? 3126513), | ||
QA_TRAVIS: Number(Config?.EXPENSIFY_ACCOUNT_ID_QA_TRAVIS ?? 8595733), | ||
RECEIPTS: Number(Config?.EXPENSIFY_ACCOUNT_ID_RECEIPTS ?? -1), | ||
REWARDS: Number(Config?.EXPENSIFY_ACCOUNT_ID_REWARDS ?? 11023767), // [email protected] | ||
STUDENT_AMBASSADOR: Number(Config?.EXPENSIFY_ACCOUNT_ID_STUDENT_AMBASSADOR ?? 10476956), | ||
SVFG: Number(Config?.EXPENSIFY_ACCOUNT_ID_SVFG ?? 2012843), | ||
}, | ||
|
||
ENVIRONMENT: { | ||
|
@@ -1199,6 +1201,7 @@ const CONST = { | |
TIME_STARTS_01: /^01:\d{2} [AP]M$/, | ||
TIME_FORMAT: /^\d{2}:\d{2} [AP]M$/, | ||
DATE_TIME_FORMAT: /^\d{2}-\d{2} \d{2}:\d{2} [AP]M$/, | ||
ATTACHMENT_ROUTE: /\/r\/(\d*)\/attachment/, | ||
ILLEGAL_FILENAME_CHARACTERS: /\/|<|>|\*|"|:|\?|\\|\|/g, | ||
}, | ||
|
||
|
@@ -2604,6 +2607,6 @@ const CONST = { | |
SAASTR: 'SaaStrDemoSetup', | ||
SBE: 'SbeDemoSetup', | ||
}, | ||
}; | ||
} as const; | ||
|
||
export default CONST; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.