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

merge #3

Open
wants to merge 873 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
873 commits
Select commit Hold shift + click to select a range
f0dc76e
fix(phone/call): show anon for call notis
itschip Sep 24, 2023
b8971b3
feat(game/calls): export for checking busy players
itschip Sep 30, 2023
99bf907
chore: bump manifest version to v1.8.0
github-actions[bot] Sep 30, 2023
96fad12
fix(apps/game): missing arguments for isAnonymous
itschip Sep 30, 2023
e9b5464
chore: bump manifest version to v1.8.1
github-actions[bot] Sep 30, 2023
9be9682
fix(phone/tooling): add mf plugin to dev webpack
itschip Oct 1, 2023
16e2c5a
fix: db connection string
itschip Oct 19, 2023
7c96bec
chore: bump manifest version to v1.8.2
github-actions[bot] Oct 19, 2023
c24374e
fix(game/sounds): release sound ids (#1078)
lukealford Oct 22, 2023
c62e10f
fix(packages/db): type safe & parse options (#1086)
lukealford Oct 22, 2023
6baee63
fix(packages/db): special characters in passwords (#1087)
lukealford Oct 22, 2023
c2551f0
fix(packages/db): make use of `@npwd/database` (#1088)
lukealford Oct 23, 2023
902fe61
chore: bump manifest version to v1.8.3
github-actions[bot] Nov 2, 2023
3425668
ci: test new nightly workflow
itschip Nov 4, 2023
8c48af6
ci(nightly): run new workflow
itschip Nov 4, 2023
c33c8cb
chore: bump manifest version to nightly 1.8.5-beta.1
github-actions[bot] Nov 5, 2023
5d78e53
refactor(npwd): move database files back to @npwd/game
itschip Nov 13, 2023
fbf470e
chore: bump manifest version to nightly 1.8.5-beta.2
github-actions[bot] Nov 13, 2023
deabd27
fix(packages/db): no password cases (#1098)
lukealford Nov 14, 2023
eae20bb
chore: bump manifest version to nightly 1.8.6-beta.0
github-actions[bot] Nov 14, 2023
bf0a734
fix(game/calls): set default value for isAnonymous
itschip Nov 16, 2023
1bd611e
chore: bump manifest version to nightly 1.8.7-beta.0
github-actions[bot] Nov 16, 2023
96205e1
ci(release): update workflow
itschip Nov 18, 2023
3d73128
chore: bump manifest version to nightly 1.8.7-beta.1
github-actions[bot] Nov 18, 2023
6885738
ci(release): set prerelease to false
itschip Nov 18, 2023
fa4f3d6
chore: bump manifest version to nightly 1.8.7-beta.2
github-actions[bot] Nov 18, 2023
8e86e9b
chore: bump manifest version to nightly 1.8.7
github-actions[bot] Nov 18, 2023
cb5f57d
feat: initial move to vite
itschip Nov 4, 2023
2631f1a
breaking(app): move nui build to vite
itschip Nov 4, 2023
66d37bf
Merge pull request #1099 from project-error/feat/vite-impl
itschip Nov 25, 2023
7dd5cfa
chore: bump manifest version to nightly 2.0.0-beta.0
github-actions[bot] Nov 25, 2023
f4da25c
refactor(apps/twitter): life invader pt 1
itschip Dec 7, 2023
82164b3
chore: bump manifest version to nightly 2.0.0-beta.1
github-actions[bot] Dec 7, 2023
79b2273
feat(apps/phone): new icons
itschip Dec 7, 2023
a010a1e
chore: bump manifest version to nightly 2.1.0-beta.0
github-actions[bot] Dec 7, 2023
f5e7780
chore(apps/phone): remove redundant umd import
itschip Dec 15, 2023
7afca9d
chore: bump manifest version to nightly 2.1.0-beta.1
github-actions[bot] Dec 15, 2023
cb01aed
feat(apps/phone): gradient icon color
itschip Dec 16, 2023
db05f33
chore: bump manifest version to nightly 2.2.0-beta.0
github-actions[bot] Dec 16, 2023
81a361d
feat(phone/contacts): refine contacts ui
itschip Dec 16, 2023
a49f27e
chore: bump manifest version to nightly 2.3.0-beta.0
github-actions[bot] Dec 16, 2023
f727873
docs(examples): add qbcore ambulance alert
itschip Dec 16, 2023
3f9d97e
chore(config): reset to default values
itschip Dec 16, 2023
6080c34
chore: bump manifest version to nightly 2.3.0-beta.1
github-actions[bot] Dec 16, 2023
94c3160
fix(phone/contacts): propagate contact link for call & messages
itschip Dec 18, 2023
f4d1273
fix(phone/twitter): icon size
itschip Dec 18, 2023
3dbd273
refactor(phone/notifications): new icons for top bar
itschip Dec 18, 2023
e46872c
tweak(phone/ui): update app icons
itschip Dec 18, 2023
b0a2543
chore: bump manifest version to nightly 2.3.1-beta.0
github-actions[bot] Dec 18, 2023
aa3f75e
feat(phone/browser): update url with config
itschip Dec 18, 2023
b389a62
chore: bump manifest version to nightly 2.4.0-beta.0
github-actions[bot] Dec 18, 2023
13b7c0d
ci(release): add gh token for tag
itschip Dec 18, 2023
17ab5f2
chore: bump manifest version to nightly 2.4.0-beta.1
github-actions[bot] Dec 18, 2023
1060ab9
ci(release): fix typo
itschip Dec 18, 2023
b7cea4e
chore: bump manifest version to nightly 2.4.0-beta.2
github-actions[bot] Dec 18, 2023
1166cdd
chore: bump manifest version to 3.0.0
github-actions[bot] Dec 18, 2023
87e3fb8
ci(release): remove tag ref update
itschip Dec 18, 2023
d2f195a
chore: bump manifest version to nightly 2.4.0-beta.3
github-actions[bot] Dec 18, 2023
0267a15
chore: bump manifest version to 3.0.0
github-actions[bot] Dec 18, 2023
9e16db2
Update fr.json
TonybynMp4 Dec 18, 2023
7dd4110
feat(phone/messages): initial messages ui update
itschip Dec 21, 2023
3dd99a6
chore: bump manifest version to nightly 3.1.0-beta.0
github-actions[bot] Dec 21, 2023
bc051cb
feat(apps/game): add framweworks bridges
itschip Dec 22, 2023
b7159df
chore: bump manifest version to nightly 3.2.0-beta.0
github-actions[bot] Dec 22, 2023
2fec09c
feat(apps/phone): update contacts ui & ui lib
itschip Dec 22, 2023
3c89e53
feat(apps/phone): update app icons gradient
itschip Dec 22, 2023
f306070
chore: bump manifest version to nightly 3.3.0-beta.0
github-actions[bot] Dec 23, 2023
6fdf831
chore(packages/ui): add missing build script
itschip Dec 23, 2023
d28d64d
refactor(phone/contacts): update dialer history ui
itschip Dec 23, 2023
caabd5b
feat(packages/ui): list component
itschip Dec 23, 2023
b592fcd
chore: bump manifest version to nightly 3.4.0-beta.0
github-actions[bot] Dec 23, 2023
3203ed6
feat(packages/ui): add switch
itschip Dec 23, 2023
da08395
refactor(phone/settings): initial ui update
itschip Dec 23, 2023
aa188d5
chore: bump manifest version to nightly 3.5.0-beta.0
github-actions[bot] Dec 23, 2023
e3731c2
feat(phone/settings): update slider
itschip Dec 23, 2023
0347bfe
chore: bump manifest version to nightly 3.6.0-beta.0
github-actions[bot] Dec 23, 2023
8caf033
fix(packages/ui): update slider
itschip Dec 25, 2023
6ec9cf1
chore: bump manifest version to nightly 3.6.1-beta.0
github-actions[bot] Dec 25, 2023
035aad7
feat(packages/ui): more darkmode support
itschip Jan 1, 2024
0b6230b
refactor(phone/messages): messages list ui change
itschip Jan 1, 2024
326ed0b
feat(game/client): nui export
itschip Jan 1, 2024
df97a4d
refactor(phone/ui): contextmenu colors
itschip Jan 1, 2024
43fc9d2
feat(phone/settings): update icon props
itschip Jan 1, 2024
e3500cb
chore(apps): uhm, small changes
itschip Jan 1, 2024
a3fcc32
chore: bump manifest version to nightly 3.7.0-beta.0
github-actions[bot] Jan 1, 2024
a840cdc
ci(nightly): update get-tag action
itschip Jan 1, 2024
54fb4d4
chore: bump manifest version to nightly 3.7.0-beta.1
github-actions[bot] Jan 1, 2024
db199c3
feat(phone/settings): remove iconset setting
itschip Jan 1, 2024
024c8a6
chore: bump manifest version to nightly 3.7.0-beta.2
github-actions[bot] Jan 1, 2024
0f8ac09
chore: bump manifest version to 3.7.0
github-actions[bot] Jan 1, 2024
2d4a5ac
tweak(game/server): update bridge
itschip Jan 5, 2024
6710f89
chore: bump manifest version to nightly 3.7.1-beta.0
github-actions[bot] Jan 5, 2024
efeba51
feat(phone/messages): move all bubbles to the left
itschip Jan 5, 2024
80f0458
chore: bump manifest version to nightly 3.7.1-beta.1
github-actions[bot] Jan 5, 2024
0b23d2c
chore: bump manifest version to 3.8.0
github-actions[bot] Jan 5, 2024
8a74740
fix(game/server): add missing standalone bridge instance
itschip Jan 6, 2024
9d064e1
chore: bump manifest version to nightly 3.8.1-beta.0
github-actions[bot] Jan 6, 2024
f89307d
chore: bump manifest version to 3.8.1
github-actions[bot] Jan 6, 2024
5bf4bca
fix(game/photo): log error message for upload error
itschip Jan 6, 2024
dcc8e2f
chore: bump manifest version to nightly 3.8.2-beta.0
github-actions[bot] Jan 6, 2024
5ca9014
feat(game/server): ndcore support
itschip Jan 7, 2024
ad79013
chore: bump manifest version to nightly 3.8.2-beta.1
github-actions[bot] Jan 7, 2024
bfd0a96
fix:(bridge/ndcore): exports & resource name
Andyyy7666 Jan 7, 2024
a4f6575
Merge pull request #1106 from Andyyy7666/master
itschip Jan 7, 2024
f6ee46f
chore: bump manifest version to nightly 3.8.2-beta.2
github-actions[bot] Jan 7, 2024
0c56c20
tweak(bridge/ndcore): character data & db
Andyyy7666 Jan 7, 2024
e340247
Merge pull request #1107 from Andyyy7666/master
itschip Jan 7, 2024
e8a414e
chore: bump manifest version to nightly 3.8.2-beta.3
github-actions[bot] Jan 7, 2024
3b65f48
Merge pull request #1102 from TonybynMp4/patch-1
itschip Jan 8, 2024
7026923
chore: bump manifest version to nightly 3.8.2-beta.4
github-actions[bot] Jan 8, 2024
e43be96
feat(phone/contacts): add initials as icon on null
qalle-git Jan 10, 2024
31287aa
feat(npwd): add a event for setting input from external
qalle-git Jan 10, 2024
03b89cf
feat(phone/notifications): add avatar and translation
qalle-git Jan 10, 2024
3455a96
feat(translations): fix the worst swedish ever written
qalle-git Jan 10, 2024
70562c5
ci(release): release typings and hooks
itschip Jan 10, 2024
f636fa7
chore: bump manifest version to nightly 3.8.2-beta.5
github-actions[bot] Jan 10, 2024
4c8c56e
chore: bump manifest version to 3.9.0
github-actions[bot] Jan 10, 2024
268f0d7
fix(bridge/ndcore): toString on null
Andyyy7666 Jan 10, 2024
b822e9b
feat(phone/twitter): more ui changes
itschip Jan 13, 2024
eeb3268
tweak(phone/os): icon changse
itschip Jan 13, 2024
2d42099
chore(apps/game): stuff
itschip Jan 13, 2024
b32eb08
chore: bump manifest version to nightly 3.9.1-beta.0
github-actions[bot] Jan 13, 2024
a3798e7
fix(packages/database): hopefully shit shit works
itschip Jan 13, 2024
7d583a1
feat(packages/database): update mysql2
itschip Jan 13, 2024
504242a
chore: bump manifest version to nightly 3.9.1-beta.1
github-actions[bot] Jan 13, 2024
e5bb6eb
feat(apps/game): fix db imports
itschip Jan 13, 2024
eaa2577
Merge pull request #1110 from qalle-git/feat/qol
itschip Jan 13, 2024
31ff7c9
chore: bump manifest version to nightly 3.9.1-beta.2
github-actions[bot] Jan 13, 2024
7646934
Merge pull request #1112 from Andyyy7666/patch-1
itschip Jan 13, 2024
ed63356
ci: rebuild
itschip Jan 13, 2024
58e1133
chore: bump manifest version to nightly 3.9.1-beta.3
github-actions[bot] Jan 13, 2024
ca0139e
fix(notifications): improve missing app error
antonstjernquist Jan 13, 2024
cf40b4b
fix(phone/twitter): check if profile is mentioned
itschip Jan 13, 2024
176aa3b
chore: bump manifest version to nightly 3.9.1-beta.4
github-actions[bot] Jan 13, 2024
b89ab58
fix: add r2.fivemanage.com as safe url
itschip Jan 13, 2024
a831984
chore: bump manifest version to nightly 3.9.1-beta.5
github-actions[bot] Jan 13, 2024
d315c4b
Merge pull request #1115 from antonstjernquist/fix_get-app-id-improve…
itschip Jan 13, 2024
7134039
chore: bump manifest version to nightly 3.9.1-beta.6
github-actions[bot] Jan 13, 2024
e4ee9b0
Implement default contacts back into NPWD (#1116)
Gittified Jan 13, 2024
f1a74bd
chore: bump manifest version to nightly 3.9.1-beta.7
github-actions[bot] Jan 13, 2024
4331db3
ci(ci): fix job
itschip Jan 13, 2024
b5d59e4
fix(notifications): do not crash on missing notificationIcon (#1118)
antonstjernquist Jan 13, 2024
87aa9d4
chore: bump manifest version to nightly 3.9.1-beta.8
github-actions[bot] Jan 13, 2024
efe76a5
chore: bump manifest version to 3.10.0
github-actions[bot] Jan 14, 2024
b78b029
fix(bridge/ndcore): remove toString fuckery
itschip Jan 14, 2024
78850e8
chore: bump manifest version to nightly 3.10.1-beta.0
github-actions[bot] Jan 14, 2024
af0b902
fix: im stupid today
itschip Jan 14, 2024
ff7fd81
chore: bump manifest version to nightly 3.10.1-beta.1
github-actions[bot] Jan 14, 2024
d793fb4
chore: bump manifest version to 3.10.1
github-actions[bot] Jan 14, 2024
904b37d
feat(phone/twitter): update modal
itschip Jan 15, 2024
cf55c32
chore: bump manifest version to nightly 3.10.2-beta.0
github-actions[bot] Jan 15, 2024
f247cd6
fix(game/client): crash from missing SET_GAME_FOCUS event handler
itschip Jan 15, 2024
0059a4d
chore: bump manifest version to nightly 3.10.2-beta.1
github-actions[bot] Jan 15, 2024
5a3f9ba
chore: bump manifest version to 3.11.0
github-actions[bot] Jan 15, 2024
ee7aba0
tweak(phone/twitter): search input update & colors
itschip Jan 15, 2024
0b25b8d
chore: bump manifest version to nightly 3.11.1-beta.0
github-actions[bot] Jan 15, 2024
ac384c7
tweak(phone/twitter): update profile page
itschip Jan 15, 2024
984c060
chore: bump manifest version to nightly 3.11.1-beta.1
github-actions[bot] Jan 15, 2024
066e6a7
tweak: marketplace & db stuff
itschip Jan 19, 2024
dc07cad
chore: bump manifest version to nightly 3.11.1-beta.2
github-actions[bot] Jan 19, 2024
53f7574
fix(game/server): fix broken player table check
itschip Jan 19, 2024
64d42c9
chore: bump manifest version to nightly 3.11.1-beta.3
github-actions[bot] Jan 19, 2024
78189f1
chore(config): reset config
itschip Jan 19, 2024
9c64da3
tweak(config): just add the entire config
itschip Jan 19, 2024
1c102a0
chore: bump manifest version to nightly 3.11.1-beta.4
github-actions[bot] Jan 19, 2024
9265115
chore(packages/database): remove debug logs
itschip Jan 19, 2024
ff41f46
feat(game/server): number format config
itschip Jan 19, 2024
25a7c92
chore: bump manifest version to nightly 3.11.1-beta.5
github-actions[bot] Jan 19, 2024
b97ab9c
chore: bump manifest version to 3.12.0
github-actions[bot] Jan 19, 2024
156ee5b
Update fr.json (#1123)
TonybynMp4 Jan 19, 2024
877934b
chore: bump manifest version to nightly 3.12.1-beta.0
github-actions[bot] Jan 19, 2024
8bf8d92
fix(config): voiceMessage url typo
itschip Jan 19, 2024
c766059
chore: bump manifest version to nightly 3.12.1-beta.1
github-actions[bot] Jan 19, 2024
73f5d8f
Update da.json (#1127)
iplayer1337fivem Jan 19, 2024
7e591f4
Update default.json (#1126)
iplayer1337fivem Jan 19, 2024
8ca0269
chore: bump manifest version to nightly 3.12.1-beta.2
github-actions[bot] Jan 19, 2024
678dc2d
Update i18n.ts add da for danish locales (#1128)
iplayer1337fivem Jan 19, 2024
3d0e4d9
feat/middleware - Expose the receiverNumber during the onCall callbac…
tofudeadeye Jan 19, 2024
1a7855d
chore: bump manifest version to nightly 3.12.1-beta.3
github-actions[bot] Jan 19, 2024
7f96c3c
chore: bump manifest version to 3.12.1
github-actions[bot] Jan 20, 2024
699f066
fix(notifications): light mode text color (#1132)
antonstjernquist Jan 26, 2024
c7053d9
chore: bump manifest version to nightly 3.12.2-beta.0
github-actions[bot] Jan 26, 2024
01817f7
ci(nightly): checkout from the fxmanifest bump sha
itschip Jan 26, 2024
cbffef3
chore: bump manifest version to nightly 3.12.2-beta.1
github-actions[bot] Jan 26, 2024
c4ff28f
ci(nightly): fetch-depth
itschip Jan 26, 2024
172237b
ci(nightly): add back first checkout
itschip Jan 26, 2024
6749d01
fix(ui/button): remove unsued import
itschip Jan 27, 2024
4031b5a
chore: bump manifest version to nightly 3.12.2-beta.2
github-actions[bot] Jan 27, 2024
cb40694
fix(ci): separate step for manifest bump
itschip Jan 27, 2024
22ac1a6
fix(ci): missing $ for outputs
itschip Jan 27, 2024
bdc71f4
fix(ci): forgot needs on second job
itschip Jan 27, 2024
f73971b
feat(game/scripts): copyOnStart for watch script
itschip Jan 27, 2024
9045195
chore: bump manifest version to nightly 3.12.2-beta.3
github-actions[bot] Jan 27, 2024
c99a94d
feat: initial stuff for @core/router
itschip Jan 27, 2024
8fd8ed3
chore: bump manifest version to nightly 3.12.2-beta.4
github-actions[bot] Jan 27, 2024
db6e3ab
refactor(apps/phone): notification ui
itschip Jan 27, 2024
666429a
chore: bump manifest version to nightly 3.12.2-beta.5
github-actions[bot] Jan 27, 2024
3407bec
refactor(game/api/onCall): refactor and allow for multiple handlers p…
LiamDormon Jan 28, 2024
5d11b4b
chore: bump manifest version to nightly 3.12.2-beta.6
github-actions[bot] Jan 28, 2024
6a38a8b
fix(phone/messages): new context menu modals
itschip Jan 29, 2024
3db8f03
chore: bump manifest version to nightly 3.12.2-beta.7
github-actions[bot] Jan 29, 2024
5d6a7b9
feat(game/server): new router experiments
itschip Jan 29, 2024
4a22832
chore: oops remove mockapp
itschip Jan 29, 2024
bd2f20f
chore: bump manifest version to nightly 3.12.2-beta.8
github-actions[bot] Jan 29, 2024
aa3cff2
fix(bridge/ndcore): correct datatype for identifier
itschip Feb 5, 2024
a3b6499
chore: bump manifest version to nightly 3.12.2-beta.9
github-actions[bot] Feb 5, 2024
92450fc
chore: remove new router stuff
itschip Feb 5, 2024
5d23642
chore: bump manifest version to nightly 3.12.2-beta.10
github-actions[bot] Feb 5, 2024
4c1629e
feat(contacts): add referal, select contact from other apps (#1135)
antonstjernquist Feb 7, 2024
4af6afb
chore: regen lockfile
itschip Feb 7, 2024
3a1506a
chore: bump manifest version to 3.13.0
github-actions[bot] Feb 7, 2024
3c9e27b
Update pl.json (#1134)
xGhostxDev Feb 9, 2024
156e604
chore: bump manifest version to nightly 3.13.1-beta.0
github-actions[bot] Feb 9, 2024
4c333b1
fix(apps/phone): useEffect deps
itschip Mar 2, 2024
1dbe3ce
chore: bump manifest version to nightly 3.13.1-beta.1
github-actions[bot] Mar 2, 2024
d13b6dc
fix(apps/game): remove debug log
itschip Mar 2, 2024
6fc3c65
chore: bump manifest version to nightly 3.13.1-beta.2
github-actions[bot] Mar 2, 2024
491b962
Update pl.json (#1140)
walkiz2136 Mar 2, 2024
f828fb4
chore: bump manifest version to nightly 3.13.1-beta.3
github-actions[bot] Mar 2, 2024
44e88ff
Update hu.json (#1137)
KentaNo1 Mar 20, 2024
c59a881
chore: bump manifest version to nightly 3.13.1-beta.4
github-actions[bot] Mar 20, 2024
8837c4c
Fixed an explicit SQL error that caused the UNIQUE INDEX to be too lo…
Ericple Mar 20, 2024
ac9a138
chore: bump manifest version to nightly 3.13.1-beta.5
github-actions[bot] Mar 20, 2024
befd9be
feat(contacts): show own contact and added nearby share option
LiamDormon Mar 22, 2024
a35e2f7
chore: bump manifest version to nightly 3.13.1-beta.6
github-actions[bot] Mar 22, 2024
013c127
chore: bump manifest version to 3.14.0
github-actions[bot] Mar 23, 2024
9424acd
Update lt.json (#1145)
Deliux Mar 31, 2024
028f6fe
chore: bump manifest version to nightly 3.14.1-beta.0
github-actions[bot] Mar 31, 2024
ce2176f
chore: bump manifest version to 3.14.1
github-actions[bot] Mar 31, 2024
407b304
refactor(apps/phone): remove dynamic loading of icons
itschip Mar 31, 2024
c663640
chore: bump manifest version to nightly 3.14.2-beta.0
github-actions[bot] Mar 31, 2024
781f4e5
fix(phone\common\hooks): correctly handle already loaded apps (#1148)
lukealford Apr 6, 2024
a20b0a7
chore: bump manifest version to nightly 3.14.2-beta.1
github-actions[bot] Apr 6, 2024
7e2162e
chore: bump manifest version to 3.14.2
github-actions[bot] Apr 6, 2024
a373bdc
Update sv.json & added translation in ContactList.tsx (#1147)
MagnusLundqvist Apr 6, 2024
156fdac
chore: bump manifest version to nightly 3.14.3-beta.0
github-actions[bot] Apr 6, 2024
bbc9041
chore: bump manifest version to 3.14.3
github-actions[bot] Apr 7, 2024
dc22237
feat: update french locales (#1149)
TonybynMp4 Apr 13, 2024
d865f69
chore: bump manifest version to nightly 3.14.4-beta.0
github-actions[bot] Apr 13, 2024
555e22e
fix: replace twitter logo
itschip Apr 28, 2024
95bff5b
chore: bump manifest version to nightly 3.14.4-beta.1
github-actions[bot] Apr 28, 2024
e670472
chore: bump manifest version to 3.15.0
github-actions[bot] Apr 28, 2024
65e1f8c
fix(apps/phone): disabling apps
itschip May 1, 2024
d4ee9fe
chore: bump manifest version to nightly 3.15.1-beta.0
github-actions[bot] May 1, 2024
481b204
feat: complete french locale (#1152)
TonybynMp4 May 23, 2024
43fea82
chore: bump manifest version to nightly 3.15.1-beta.1
github-actions[bot] May 23, 2024
6a37cc7
chore: format stuff
itschip Sep 3, 2024
0589a85
chore: bump manifest version to nightly 3.15.1-beta.2
github-actions[bot] Sep 3, 2024
7038b43
Update form-data obj name
Sharkiiie Nov 14, 2024
bbb5327
Merge pull request #1185 from Sharkiiie/master
itschip Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: 'project-error'
ko_fi: 'projecterror'
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ body:
value: |
Please fill out this short template to the best of your ability.
- type: dropdown
id: developement-issue
id: development-issue
attributes:
label: Developement Issue
label: Development Issue
description: Is this issue related to the phone still being in development?
options:
- "Yes"
Expand Down
9 changes: 9 additions & 0 deletions .github/actions/bump-manifest-version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const fs = require('fs')

const newVersion = process.env.TGT_RELEASE_VERSION

const manifestFile = fs.readFileSync('fxmanifest.lua', {encoding: 'utf8'})

const newFileContent = manifestFile.replace(/\bversion+(.*)$/gm, `version("${newVersion}")`)

fs.writeFileSync('fxmanifest.lua', newFileContent)
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/apps/phone"
schedule:
interval: "weekly"

- package-ecosystem: "npm"
directory: "/apps/game"
schedule:
interval: "weekly"
18 changes: 18 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- Dependency
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
50 changes: 10 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,64 +3,34 @@ name: Test Suite
on: [push, pull_request]

jobs:
nui_preformatting_tests:
name: Tests for NUI
nui__and_game_scripts:
name: Tests for NUI and Game scripts
runs-on: ubuntu-latest
defaults:
run:
working-directory: phone

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
with:
node-version: '16.x'
cache: 'yarn'
- name: Install dependencies NUI
run: yarn --frozen-lockfile
- name: Run Enzyme Tests
run: yarn test
- name: Check build status
run: yarn build
env:
CI: true
version: latest

game_scripts_test:
name: Tests for Game Scripts
runs-on: ubuntu-latest
defaults:
run:
working-directory: resources

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
cache: 'yarn'
- name: Install dependencies NUI
run: yarn --frozen-lockfile
- name: Run Jest Tests
run: yarn test
- name: Install dependencis
run: pnpm i --frozen-lockfile
- name: Check build status
run: yarn build
run: pnpm build
env:
CI: true


lint:
name: Lint Lua scripts
runs-on: ubuntu-latest
defaults:
run:
working-directory: resources
working-directory: apps/game

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint
uses: GoatG33k/fivem-lua-lint-action@v1
uses: GoatG33k/fivem-lua-lint-action@v1
121 changes: 121 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Nightly release

permissions:
id-token: write
contents: write
actions: write
deployments: write
pull-requests: read

on:
push:
branches:
- master

jobs:
bump_manifest:
name: Bump manifest version
runs-on: ubuntu-latest
outputs:
release_tag: ${{ steps.get_tag.outputs.release_tag }}

steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get tag
uses: project-error/[email protected]
with:
environment: "dev"
prerelease: true
id: get_tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: Bump manifest version
run: node .github/actions/bump-manifest-version.js
env:
TGT_RELEASE_VERSION: ${{ steps.get_tag.outputs.release_tag }}

- name: Push manifest change
uses: EndBug/add-and-commit@v8
id: commit_manifest
with:
add: fxmanifest.lua
push: true
author_name: Manifest Bumper
author_email: 41898282+github-actions[bot]@users.noreply.github.com
message: "chore: bump manifest version to nightly ${{ steps.get_tag.outputs.release_tag }}"

create-nightly-release:
name: Create Nightly release
runs-on: ubuntu-latest
needs: [bump_manifest]
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 7.29.1
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'pnpm'
- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Run build
run: REACT_APP_VERSION=${{ needs.bump_manifest.outputs.release_tag }} pnpm build

#- name: Create Sentry Release (NPWD)
# run: |
# curl -sL https://sentry.io/get-cli/ | bash
# export SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
# export SENTRY_ORG=project-error
# export SENTRY_PROJECT=npwd
# export SENTRY_URL=https://sentry.projecterror.dev/
# export VERSION=${{ steps.get_tag.outputs.VERSION_TAG }}

# sentry-cli releases new "$VERSION"
# sentry-cli releases set-commits "$VERSION" --auto
# sentry-cli releases files "$VERSION" upload-sourcemaps resources/html --ext map --url-prefix '~/resources/html'
# sentry-cli releases finalize "$VERSION"

# sentry-cli releases deploys "$VERSION" new -e production
- name: Bundle built files
run: |
mkdir -p ./temp/npwd/dist
cp ./{LICENSE,README.md,config.json,import.sql,fxmanifest.lua} ./temp/npwd/
cp -r ./dist/{game,html} ./temp/npwd/dist
cd ./temp && zip -r ../npwd.zip ./npwd

- name: Create Release
uses: "project-error/[email protected]"
id: auto_release
with:
environment: "dev"
title: NPWD Nightly ${{ needs.bump_manifest.outputs.release_tag }}
prerelease: true
automatic_release_tag: ${{ needs.bump_manifest.outputs.release_tag }}
files: npwd.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload artifacts
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/octet-stream" \
"https://uploads.github.com/repos/project-error/npwd/releases/${{ steps.auto_release.outputs.release_id }}/assets?name=npwd.zip" \
--data-binary "@npwd.zip"
Loading