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

[HybridApp] Receive structured initialProperties (not as url) and improve url handling #56463

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
544 commits
Select commit Hold shift + click to select a range
ed37d21
fix test
nkdengineer Feb 6, 2025
95378a4
Merge branch 'main' into fix/55717
nkdengineer Feb 6, 2025
d99cf55
fix navigate logic of To section
nkdengineer Feb 6, 2025
a5f4ff3
Merge branch 'main' into mkzie2-issue/55245
mkzie2 Feb 6, 2025
1da5948
remove string default value
mkzie2 Feb 6, 2025
d293cdb
fix logic show des hint
nkdengineer Feb 6, 2025
e00c97f
fix test
nkdengineer Feb 6, 2025
2d76775
Merge branch 'main' into bugfix/app-shows-not-here-page
pasyukevich Feb 6, 2025
ce98d3e
fix default ID lint rule
mkzie2 Feb 6, 2025
f9cc9a5
fix error
mkzie2 Feb 6, 2025
07909dc
update getRoute function
mkzie2 Feb 6, 2025
d6004e3
get rid of unnecessary `singleNewDotEntry` in initial url
war-in Feb 6, 2025
364af2c
pass objects to HybridAppModule methods
war-in Feb 6, 2025
1763c48
Another fix
jnowakow Feb 6, 2025
f0242fe
improve comments
war-in Feb 6, 2025
f5986f3
Merge branch 'main' into war-in/send-init-props-as-object
war-in Feb 6, 2025
1ea90a1
post-merge fixes
war-in Feb 6, 2025
d86fd1c
Merge branch 'main' into @szymczak/fix-chrome-android-input-bug
SzymczakJ Feb 6, 2025
6c504ce
fix lint and apply suggestions
war-in Feb 6, 2025
7ecc902
Relax the pusher PONG so that any PONG counts
tgolen Feb 6, 2025
10ee7f4
Merge pull request #56093 from callstack-internal/bugfix/app-shows-no…
carlosmiceli Feb 6, 2025
6ea5d42
Merge pull request #56299 from bernhardoj/fix/55945-per-diem-amount-i…
luacmartins Feb 6, 2025
10c5d2b
Remove @main
roryabraham Feb 6, 2025
885330c
return ealry if policyID is undefined
mkzie2 Feb 6, 2025
148604a
Add leading ./
roryabraham Feb 6, 2025
c0a93c3
Merge pull request #56466 from Expensify/Rory-RemoveAtMain
luacmartins Feb 6, 2025
34d1ed4
Update version to 9.0.94-20
OSBotify Feb 6, 2025
53758a9
Update Mobile-Expensify submodule version to 9.0.94-20
OSBotify Feb 6, 2025
6fad659
Fix capitalization
stitesExpensify Feb 6, 2025
e5c2d02
Merge pull request #56465 from Expensify/tgolen-relax-pusherpong
MarioExpensify Feb 6, 2025
5fedf64
Update version to 9.0.94-21
OSBotify Feb 6, 2025
1b41ca5
Update Mobile-Expensify submodule version to 9.0.94-21
OSBotify Feb 6, 2025
aa50b87
implement moveTo step on interactive step sub header
FitseTLT Feb 6, 2025
294962f
show loading on submit button after confirmed
FitseTLT Feb 6, 2025
25d54a1
Merge pull request #55769 from callstack-internal/JKobrynski/perf/cre…
grgia Feb 6, 2025
ae7e002
Emphasize secrets must be passed into actions
roryabraham Feb 6, 2025
b474366
Merge pull request #56468 from Expensify/Rory-DummyPR
luacmartins Feb 6, 2025
84949b0
Update version to 9.0.94-22
OSBotify Feb 6, 2025
fbbbfb5
Update Mobile-Expensify submodule version to 9.0.94-22
OSBotify Feb 6, 2025
beafd48
Merge pull request #56454 from twilight2294/patch-23
rlinoz Feb 6, 2025
c7cbf7f
Add some debug logs when looking for hashes to CP
roryabraham Feb 6, 2025
4987f62
Merge pull request #55932 from prakashbask/fix/53718
jasperhuangg Feb 6, 2025
28a654f
Remove unnecessary sparse checkout from setupGitForOSBotifyApp
roryabraham Feb 6, 2025
e395e89
Rebuild gh actions
roryabraham Feb 6, 2025
75574bb
Merge pull request #56469 from Expensify/Rory-LogHashes
luacmartins Feb 6, 2025
e0972a9
Merge pull request #55863 from callstack-internal/JKobrynski/feat/par…
grgia Feb 6, 2025
9f8c7bd
Merge pull request #56294 from bernhardoj/fix/55541-incorrect-file-fo…
Gonals Feb 6, 2025
6442df9
Merge pull request #56066 from Expensify/alberto-billablePerdiem
johnmlee101 Feb 6, 2025
d155c22
Update version to 9.0.94-23
OSBotify Feb 6, 2025
26a4e1c
Update Mobile-Expensify submodule version to 9.0.94-23
OSBotify Feb 6, 2025
ef9e74f
minor update.
Krishna2323 Feb 6, 2025
e51d944
Merge pull request #56203 from layacat/fix-back-press-search-screen
grgia Feb 6, 2025
93ef0ba
Merge pull request #54860 from nkdengineer/fix/54387
grgia Feb 6, 2025
32f6421
Merge pull request #56082 from callstack-internal/perf/improve-filter…
blimpich Feb 6, 2025
bb39afe
Update version to 9.0.94-24
OSBotify Feb 6, 2025
d61f270
Update Mobile-Expensify submodule version to 9.0.94-24
OSBotify Feb 6, 2025
50548f6
Merge pull request #56124 from Expensify/stites-fixDateFormatting
aldo-expensify Feb 6, 2025
358f423
Revert "Merge pull request #54455 from Krishna2323/krishna2323/issue/…
luacmartins Feb 6, 2025
05867df
Merge pull request #56451 from Expensify/VictoriaExpensify-patch-1
MarioExpensify Feb 6, 2025
2436231
Merge pull request #56281 from Expensify/perdiem-images
MarioExpensify Feb 6, 2025
6963870
resolve conflict
luacmartins Feb 6, 2025
bb29b12
move method
luacmartins Feb 6, 2025
ef4ee4b
move diff
luacmartins Feb 6, 2025
f02e47f
Merge pull request #56453 from bernhardoj/fix/55820-prevent-edit-writ…
puneetlath Feb 6, 2025
e3c1339
move export
luacmartins Feb 6, 2025
c550073
Merge pull request #53753 from shubham1206agra/upgrade-travel
cristipaval Feb 6, 2025
d85d0f1
Merge pull request #56476 from Expensify/camrtins-revertPR
mountiny Feb 6, 2025
6e6d540
Update version to 9.0.94-25
OSBotify Feb 6, 2025
a293086
Update Mobile-Expensify submodule version to 9.0.94-25
OSBotify Feb 6, 2025
82b13c7
Merge branch 'main' into lucien/fix-prevent-self-approvals
lakchote Feb 6, 2025
813a886
improve comment
lakchote Feb 6, 2025
d318ce3
lint fix
lakchote Feb 6, 2025
7c033e1
Update version to 9.0.95-0
OSBotify Feb 6, 2025
faa8499
Update Mobile-Expensify submodule version to 9.0.95-0
OSBotify Feb 6, 2025
82cc582
Revert "Replace fireEvent with userEvent to test against disabled but…
QichenZhu Feb 6, 2025
37bfae4
Merge remote-tracking branch 'upstream/main' into fix/50682
QichenZhu Feb 6, 2025
9d0d2ed
Merge pull request #56331 from callstack-internal/fix/56195-expensify…
mountiny Feb 6, 2025
d34b600
Merge pull request #56404 from Expensify/laurenreidexpensify-patch-7
stitesExpensify Feb 6, 2025
6d6907f
Fix contact details page not opening
QichenZhu Feb 6, 2025
f7e0f19
feat: bump jvm heap memory size
WoLewicki Feb 6, 2025
ba9e3fc
Merge pull request #56293 from wildan-m/wildan/fix/52878-not-auto-scr…
AndrewGable Feb 6, 2025
8f1d240
Merge pull request #52297 from truph01/fix/50269
Julesssss Feb 6, 2025
ed18bfd
Revert "Merge pull request #55932 from prakashbask/fix/53718"
amyevans Feb 6, 2025
528a734
Create reusable validateActor action
roryabraham Feb 6, 2025
132762e
Merge pull request #56458 from mkzie2/mkzie2-issue/54436-fix
Julesssss Feb 6, 2025
93a8b09
fix LHN user name disappears from WS admin rooms
Kalydosos Feb 6, 2025
91d6e6e
Merge pull request #1 from Expensify/Rory-DRYValidateActor
AndrewGable Feb 6, 2025
362c627
Merge pull request #55740 from Expensify/lucien/fix-prevent-self-appr…
MarioExpensify Feb 6, 2025
f5be429
Merge pull request #56403 from Krishna2323/krishna2323/issue/50113
tgolen Feb 6, 2025
7f80b51
Use default environment variables for GITHUB_OWNER and APP_REPO
roryabraham Feb 6, 2025
143f58e
Merge pull request #55974 from Kalydosos/fix-55705-LHN-user-Name-disa…
srikarparsi Feb 6, 2025
bd75f2d
Rebuild gh actions
roryabraham Feb 6, 2025
ae9c6a2
Fix environment variable for repo name
roryabraham Feb 6, 2025
d687284
Merge pull request #56489 from software-mansion-labs/@wolewicki/more-…
Julesssss Feb 6, 2025
15dae55
Set environment variables for tests if needed
roryabraham Feb 7, 2025
d81d071
fix: update system message when move expense
linhvovan29546 Feb 7, 2025
c586086
Fix tests
roryabraham Feb 7, 2025
68b775c
Fix more tests
roryabraham Feb 7, 2025
656467b
Fix prettier
roryabraham Feb 7, 2025
12dba96
Move env setup to setup.ts
roryabraham Feb 7, 2025
f7790e9
Rebuild gh actions
roryabraham Feb 7, 2025
0c16652
Fix one more hardcoded Expensify/App
roryabraham Feb 7, 2025
ef0e94d
Fix markPullRequestsAsDeployedTest
roryabraham Feb 7, 2025
03b1935
Don't suppress lint
roryabraham Feb 7, 2025
db6ca7c
Rebuild gh actions
roryabraham Feb 7, 2025
f5a1ebe
Merge branch 'Expensify:main' into main
roryabraham Feb 7, 2025
2b19c27
Make sure we checkout the repo before trying to call a local action
roryabraham Feb 7, 2025
785afbb
Merge pull request #5 from Expensify/Rory-FixValidateActor
AndrewGable Feb 7, 2025
a769afd
Merge branch 'main' into fix/55548-scroll-to-top
bernhardoj Feb 7, 2025
b4ae1bb
Merge branch 'main' into fix/54172-add-in-filter-back
bernhardoj Feb 7, 2025
d57d78a
Merge branch 'main' into fix/55012-filter-out-read-only-report-from-s…
bernhardoj Feb 7, 2025
d0aa38e
Add ENVIRONMENT to .env.example to make sure it is set for OldDot
staszekscp Feb 7, 2025
09d06bd
add unit test
bernhardoj Feb 7, 2025
3d643df
fix tooltip appears below the composer when going back from another page
bernhardoj Feb 7, 2025
d11a361
Merge branch 'main' into fix/55717
nkdengineer Feb 7, 2025
52b5cdb
remove setHover
nkdengineer Feb 7, 2025
43cab68
prevent auto assign for send invoice
nkdengineer Feb 7, 2025
33a03bf
Merge pull request #56506 from software-mansion-labs/chore/fix-env-me…
mjasikowski Feb 7, 2025
5e3d6e1
Merge branch 'main' into fix/55795
nkdengineer Feb 7, 2025
30449d0
fix: logic get description hint
nkdengineer Feb 7, 2025
56002f4
fix test
bernhardoj Feb 7, 2025
7ca86a1
lint
bernhardoj Feb 7, 2025
6842b46
Merge pull request #54280 from callstack-internal/feat/step-4-logic
madmax330 Feb 7, 2025
9b0878d
add option to config to show manager mc test
kubabutkiewicz Feb 7, 2025
e7b38b9
Merge pull request #54454 from nkdengineer/fix/53773
mjasikowski Feb 7, 2025
3c6f219
typo
Tony-MK Feb 7, 2025
c912900
Merge pull request #56535 from Expensify/amy-revert-55932
amyevans Feb 7, 2025
cb2cca5
Unset defaultP2PRate only if submitting to a policy
paultsimura Feb 7, 2025
72ecf1c
eslint fix
FitseTLT Feb 7, 2025
a702c34
Merge pull request #56440 from linhvovan29546/fix/56322-incorrect-sys…
pecanoro Feb 7, 2025
f1c826d
Merge pull request #56298 from bernhardoj/fix/56033-wrong-report-name
amyevans Feb 7, 2025
dd63ca9
feat: initiate the custom policy rules form
adhorodyski Feb 7, 2025
0255923
feat: use markdown input field
adhorodyski Feb 7, 2025
62c23d7
feat(api): api command call for setting the custom rules
adhorodyski Feb 7, 2025
04525fe
chore: define a beta for custom_rules
adhorodyski Feb 7, 2025
9b675d3
Update version to 9.0.95-1
OSBotify Feb 7, 2025
837edc9
Update Mobile-Expensify submodule version to 9.0.95-1
OSBotify Feb 7, 2025
b87d4c5
Add violation for custom rules
puneetlath Feb 7, 2025
378c636
prettier
puneetlath Feb 7, 2025
b8f6c23
chore: rename api command called to updateCustomRules
adhorodyski Feb 7, 2025
e1ddc32
Fix lint
puneetlath Feb 7, 2025
d05b46c
chore: use top level customRules on a policy
adhorodyski Feb 7, 2025
a5d3666
Fix typescript
puneetlath Feb 7, 2025
45596b4
fix: hide custom rules behind a beta
adhorodyski Feb 7, 2025
9ef88b6
fix: linter
adhorodyski Feb 7, 2025
2c69646
fix: api command params
adhorodyski Feb 7, 2025
e233f7f
fix: add es translation
adhorodyski Feb 7, 2025
2fc0566
Merge pull request #56553 from Expensify/puneet-customRules-violations
iwiznia Feb 7, 2025
b34e5f8
Merge pull request #56548 from callstack-internal/feat/policy-custom-…
iwiznia Feb 7, 2025
12e6769
Update version to 9.0.95-2
OSBotify Feb 7, 2025
65d8867
Update Mobile-Expensify submodule version to 9.0.95-2
OSBotify Feb 7, 2025
1f44202
Create Set-up-rules.md
twisterdotcom Feb 7, 2025
8dd9666
Make Retry Payment button available for amount owed overdue state
amyevans Feb 7, 2025
cdb61ce
Update Set-up-rules.md
twisterdotcom Feb 7, 2025
c196ea1
Merge branch 'main' into twisterdotcom-patch-3
twisterdotcom Feb 7, 2025
3be227d
Merge pull request #56557 from Expensify/twisterdotcom-patch-3
sakluger Feb 7, 2025
4e9b421
feat: field level violations for custom rules
adhorodyski Feb 7, 2025
48e8f14
Show custom rules as multi-line
puneetlath Feb 7, 2025
75849f5
Merge branch 'Expensify:main' into feat/policy-custom-rules
adhorodyski Feb 7, 2025
c6a1010
fix: debug utils ts error
adhorodyski Feb 7, 2025
32e771d
Parse the custom rules to html
puneetlath Feb 7, 2025
ee66d7c
prettier
puneetlath Feb 7, 2025
4e0d1d3
Comment out offline without feedback
puneetlath Feb 7, 2025
1fabaa2
prettier
puneetlath Feb 7, 2025
afefa9f
set optimistic data correctly
puneetlath Feb 7, 2025
74a6fac
Merge pull request #56563 from callstack-internal/feat/policy-custom-…
puneetlath Feb 7, 2025
95eba5b
parse on display isntead of save
puneetlath Feb 8, 2025
5d4dd4f
prettier
puneetlath Feb 8, 2025
77ca310
Parse on save also
puneetlath Feb 8, 2025
b0b7709
Merge pull request #56562 from Expensify/puneet-customRules-display
puneetlath Feb 8, 2025
932e540
Merge branch 'main' into fix/54510
daledah Feb 8, 2025
03bb392
refactor: change functions names
daledah Feb 8, 2025
23e7448
fix: Lint
daledah Feb 8, 2025
631006e
Merge pull request #54603 from daledah/fix/54510
carlosmiceli Feb 8, 2025
6d2e558
Fix open app
janicduplessis Jan 12, 2025
405981a
Fix and add test
janicduplessis Feb 8, 2025
9bad6a2
Fix lint
janicduplessis Feb 8, 2025
9d2249e
Make the name wrapped when it's too long
zfurtak Feb 9, 2025
2f2f42d
Fix eslint errors
zfurtak Feb 9, 2025
6dca6b7
Update src/pages/iou/request/step/IOURequestStepDescription.tsx
nkdengineer Feb 10, 2025
15d9f03
Merge pull request #55139 from janicduplessis/@janic/fix-open-app
mjasikowski Feb 10, 2025
0a9fbea
Merge branch 'main' of github.com:callstack-internal/Expensify-App in…
kubabutkiewicz Feb 10, 2025
426e221
Merge branch 'main' into fix/55990
nkdengineer Feb 10, 2025
c265fed
add comment
nkdengineer Feb 10, 2025
49f983b
fix: group chat avatar disappears after adding other members and crea…
nkdengineer Feb 10, 2025
44cce19
Do not return empty card Objects for AdvancedFilters
Kicu Feb 10, 2025
8d2eebb
fix double back press on Android
layacat Feb 10, 2025
2f82c79
Merge branch 'main' into amy-retry-payment
amyevans Feb 10, 2025
cf783ea
Fix lint errors
amyevans Feb 10, 2025
7a6cae8
Update test
amyevans Feb 10, 2025
f770eb1
Fix lint in test file
amyevans Feb 10, 2025
17be045
Merge branch 'main' into fix/55717
nkdengineer Feb 10, 2025
7fd3ccb
Merge pull request #56400 from software-mansion-labs/jnowakow/fix-syn…
Julesssss Feb 10, 2025
2d8b3e2
Merge pull request #56301 from nkdengineer/fix/55145
neil-marcellini Feb 10, 2025
35e1eb9
Merge branch 'main' into Rory-ParameterizeGitHubUtils
roryabraham Feb 10, 2025
aa894ab
Merge branch 'Expensify:main' into main
roryabraham Feb 10, 2025
9cfde30
Merge branch 'main' into Rory-ParameterizeGitHubUtils
roryabraham Feb 10, 2025
2c55732
Merge pull request #56098 from bernhardoj/fix/55548-scroll-to-top
blimpich Feb 10, 2025
ac1418a
Merge pull request #56304 from truph01/fix/55136
francoisl Feb 10, 2025
47fb739
Fix disappearing space
zfurtak Feb 10, 2025
92efe71
Merge pull request #56558 from Expensify/amy-retry-payment
blimpich Feb 10, 2025
adca1b8
Use runner that is availiable on the org
AndrewGable Feb 10, 2025
75bcced
Tweak lint
AndrewGable Feb 10, 2025
a06540c
Merge pull request #56501 from Expensify/main
Julesssss Feb 10, 2025
71ee505
Merge pull request #55801 from Tony-MK/fix/55138
Julesssss Feb 10, 2025
d68c2a2
Make 'In' localized
zfurtak Feb 10, 2025
f8d14d0
Revert change in Mobile-Expensify
zfurtak Feb 10, 2025
9761fe1
Merge pull request #2 from Expensify/Rory-ParameterizeGitHubUtils
AndrewGable Feb 10, 2025
f5bf806
Merge pull request #56542 from FitseTLT/fix-expensify-card-step-indic…
thienlnam Feb 10, 2025
82bc274
Merge pull request #55210 from software-mansion-labs/@szymczak/fix-ch…
yuwenmemon Feb 10, 2025
04e1c07
Merge pull request #54048 from paultsimura/fix/53988-share-unit
neil-marcellini Feb 10, 2025
9632458
Merge pull request #55917 from bernhardoj/fix/54172-add-in-filter-back
MonilBhavsar Feb 10, 2025
bf22ce9
Merge pull request #56617 from Expensify/main
roryabraham Feb 10, 2025
153e884
Merge pull request #56398 from bernhardoj/fix/55012-filter-out-read-o…
luacmartins Feb 10, 2025
3ad9461
Merge pull request #56090 from nkdengineer/fix/55717
yuwenmemon Feb 10, 2025
99b5717
Merge pull request #55919 from Expensify/strepanier03-account-details
amyevans Feb 10, 2025
520ec34
Merge pull request #55647 from QichenZhu/fix/50682
MarioExpensify Feb 10, 2025
e3308ca
Merge pull request #56487 from QichenZhu/fix/56355
MarioExpensify Feb 10, 2025
80aeba0
Merge pull request #56297 from mkzie2/mkzie2-issue/55245
thienlnam Feb 10, 2025
6daa09f
Merge pull request #56608 from layacat/fix-double-back
Julesssss Feb 10, 2025
cd13459
Merge pull request #56317 from nkdengineer/fix/55795
MonilBhavsar Feb 10, 2025
5624931
Merge pull request #56597 from nkdengineer/fix/56504
Julesssss Feb 10, 2025
fdf2324
Update version to 9.0.95-3
OSBotify Feb 10, 2025
8186a3a
Update Mobile-Expensify submodule version to 9.0.95-3
OSBotify Feb 10, 2025
b396fab
Update version to 9.0.95-4
OSBotify Feb 10, 2025
1ebd43d
Update Mobile-Expensify submodule version to 9.0.95-4
OSBotify Feb 10, 2025
b7f1266
Update version to 9.0.95-5
OSBotify Feb 10, 2025
b159ca1
Update Mobile-Expensify submodule version to 9.0.95-5
OSBotify Feb 10, 2025
ae6ac15
Merge pull request #54998 from truph01/fix/49322-v2
MonilBhavsar Feb 10, 2025
c42989a
Merge pull request #56128 from Expensify/RachCHopkins-patch-1
lschurr Feb 11, 2025
f7ce0aa
Merge pull request #56600 from software-mansion-labs/kicu/56519-fix-f…
Julesssss Feb 11, 2025
ff6e662
Update version to 9.0.95-6
OSBotify Feb 11, 2025
b98d9aa
Update Mobile-Expensify submodule version to 9.0.95-6
OSBotify Feb 11, 2025
f9330c9
Update version to 9.0.96-0
OSBotify Feb 11, 2025
63f03d2
Update Mobile-Expensify submodule version to 9.0.96-0
OSBotify Feb 11, 2025
70bd937
Merge pull request #56452 from nkdengineer/fix/55990
francoisl Feb 11, 2025
3b490d7
Merge pull request #56399 from Themoonalsofall/follow-up-53558
techievivek Feb 11, 2025
1652004
Merge pull request #56591 from software-mansion-labs/@zfurtak/wrap-wh…
techievivek Feb 11, 2025
48520ec
Merge pull request #55438 from CyberAndrii/55068-fix-composer-font-he…
MariaHCD Feb 11, 2025
b488416
Merge pull request #56239 from callstack-internal/JKobrynski/feat/550…
grgia Feb 11, 2025
d47d395
Merge pull request #56364 from callstack-internal/show-manager-mctest…
grgia Feb 11, 2025
08856a8
Merge pull request #56513 from bernhardoj/fix/55114-tooltip-appears-b…
grgia Feb 11, 2025
5b05237
Merge pull request #56540 from FitseTLT/fix-to-show-loading-on-submit…
arosiclair Feb 11, 2025
c0022ba
android part
war-in Feb 5, 2025
a5630f5
get rid of unnecessary `singleNewDotEntry` in initial url
war-in Feb 6, 2025
cd218ce
pass objects to HybridAppModule methods
war-in Feb 6, 2025
c2088fa
improve comments
war-in Feb 6, 2025
522a584
post-merge fixes
war-in Feb 6, 2025
df4eb1d
fix lint and apply suggestions
war-in Feb 6, 2025
2ef4a5e
Merge remote-tracking branch 'origin/war-in/send-init-props-as-object…
war-in Feb 11, 2025
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ENVIRONMENT=development
NEW_EXPENSIFY_URL=https://new.expensify.com/
SECURE_EXPENSIFY_URL=https://secure.expensify.com.dev/
EXPENSIFY_URL=https://www.expensify.com.dev/
Expand Down
10 changes: 9 additions & 1 deletion .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@ self-hosted-runner:
- ubuntu-latest-xl
- macos-15-large
- macos-15-xlarge
- ubuntu-latest-reassure-tests
- macos-12
- ubuntu-20.04-v4

paths:
'**/*':
ignore:
# This is meant to be a temporary workaround for a bug in actionslint. Upstream:
# - issue: https://github.com/rhysd/actionlint/issues/511
# - PR: https://github.com/rhysd/actionlint/pull/513
- '"env" is not allowed in "runs" section because .* is a Composite action.*'
15 changes: 0 additions & 15 deletions .github/actions/composite/setupGitForOSBotifyApp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,6 @@ outputs:
runs:
using: composite
steps:
- name: Check if gpg encrypted private key is present
id: key_check
shell: bash
run: |
if [[ -f .github/workflows/OSBotify-private-key.asc.gpg ]]; then
echo "key_exists=true" >> "$GITHUB_OUTPUT"
fi

- name: Checkout
uses: actions/checkout@v4
if: steps.key_check.outputs.key_exists != 'true'
with:
sparse-checkout: |
.github

- name: Install 1Password CLI
uses: 1password/install-cli-action@v1

Expand Down
45 changes: 45 additions & 0 deletions .github/actions/composite/validateActor/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Validate actor
description: Validate the the current actor has the permissions they need. By default, it validates that the user has write permissions.

inputs:
# If `REQUIRE_APP_DEPLOYER` is true, we check that they're an app deployer. If not, we just check that they have write access.
REQUIRE_APP_DEPLOYER:
description: Should this action require the actor to be an app deployer?
required: false
default: 'true'
OS_BOTIFY_TOKEN:
description: OSBotify token. Needed to access certain API endpoints the regular github.token can't
required: true

runs:
using: composite
steps:
- name: Get user permissions
if: ${{ !fromJSON(inputs.REQUIRE_APP_DEPLOYER) }}
id: getUserPermissions
shell: bash
run: |
PERMISSION=$(gh api /repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission | jq -r '.permission')
if [[ "$PERMISSION" == 'write' || "$PERMISSION" == 'admin' ]]; then
echo "::notice::✅ Actor ${{ github.actor }} has write permission"
else
echo "::error::❌ Actor ${{ github.actor }} does not have write permission"
exit 1
fi
env:
GITHUB_TOKEN: ${{ inputs.OS_BOTIFY_TOKEN }}

- name: Check if user is deployer
id: isUserDeployer
if: fromJSON(inputs.REQUIRE_APP_DEPLOYER)
shell: bash
run: |
if [[ "${{ github.actor }}" == "OSBotify" || "${{ github.actor }}" == "os-botify[bot]" ]] || \
gh api /orgs/Expensify/teams/mobile-deployers/memberships/${{ github.actor }} --silent; then
echo "::notice::✅ Actor ${{ github.actor }} is an app deployer"
else
echo "::error::❌ Actor ${{ github.actor }} is not an app deployer"
exit 1
fi
env:
GITHUB_TOKEN: ${{ inputs.OS_BOTIFY_TOKEN }}
6 changes: 3 additions & 3 deletions .github/actions/javascript/authorChecklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17242,8 +17242,8 @@ exports["default"] = newComponentCategory;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -17532,7 +17532,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/awaitStagingDeploys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12246,8 +12246,8 @@ exports.getStringInput = getStringInput;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12536,7 +12536,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/checkAndroidStatus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -736639,8 +736639,8 @@ checkAndroidStatus()
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -736929,7 +736929,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/checkDeployBlockers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11529,8 +11529,8 @@ exports["default"] = run;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -11819,7 +11819,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11592,8 +11592,8 @@ exports["default"] = run;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12101,7 +12101,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/getArtifactInfo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11490,8 +11490,8 @@ exports["default"] = run;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -11780,7 +11780,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11633,8 +11633,8 @@ exports.getStringInput = getStringInput;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12142,7 +12142,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/javascript/getPreviousVersion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2757,8 +2757,8 @@ exports["default"] = run;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ GithubUtils.octokit.pulls
.then(({data: PR}) => {
if (!isEmptyObject(PR)) {
console.log(`Found matching pull request: ${PR.html_url}`);
console.log(`Pull request details: ${JSON.stringify(PR)}}`);
core.setOutput('MERGE_COMMIT_SHA', PR.merge_commit_sha);
core.setOutput('HEAD_COMMIT_SHA', PR.head?.sha);
core.setOutput('IS_MERGED', PR.merged);
Expand Down
7 changes: 4 additions & 3 deletions .github/actions/javascript/getPullRequestDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11502,6 +11502,7 @@ GithubUtils_1.default.octokit.pulls
.then(({ data: PR }) => {
if (!(0, EmptyObject_1.isEmptyObject)(PR)) {
console.log(`Found matching pull request: ${PR.html_url}`);
console.log(`Pull request details: ${JSON.stringify(PR)}}`);
core.setOutput('MERGE_COMMIT_SHA', PR.merge_commit_sha);
core.setOutput('HEAD_COMMIT_SHA', PR.head?.sha);
core.setOutput('IS_MERGED', PR.merged);
Expand Down Expand Up @@ -11592,8 +11593,8 @@ exports.getStringInput = getStringInput;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -11882,7 +11883,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/isStagingDeployLocked/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11490,8 +11490,8 @@ exports["default"] = run;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -11780,7 +11780,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12889,8 +12889,8 @@ exports.getStringInput = getStringInput;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -13179,7 +13179,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/postTestBuildComment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11596,8 +11596,8 @@ exports["default"] = run;
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -11886,7 +11886,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/javascript/proposalPoliceComment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18073,8 +18073,8 @@ run().catch((error) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const GIT_CONST = {
GITHUB_OWNER: 'Expensify',
APP_REPO: 'App',
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -18363,7 +18363,7 @@ class GithubUtils {
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
// Tag version and comparison URL
// eslint-disable-next-line max-len
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/Expensify/App/compare/production...staging\r\n`;
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
// PR list
if (sortedPRList.length > 0) {
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Expand Down
Loading
Loading