Commit Graph

939 Commits

Author SHA1 Message Date
Linden
4e4b5bd570 fix(client/vehicleProperties): tonumber for extras and tyres
Sparse arrays sometimes json.decode with string keys, i.e.
`{[5] = 1, [10] = 1}` becomes `[null,null,null,null,1,null,null,null,null,1]`
`{[10] = 1, [11] = 1}` becomes `{"10":1,"11":1}`
2023-05-22 05:08:31 +10:00
Linden
b4edc5bac6 feat(client/vehicleProperties): support extra props
Add modKit and bulletProofTyres.
2023-05-22 03:38:36 +10:00
Linden
3bc9c3206d fix(client/vehicleProperties): missing tyres 2023-05-22 03:34:21 +10:00
Linden
c0ee1ae2f8 fix(client/vehicleProperties): SetVehicleExtra takes bool 2023-05-22 03:27:47 +10:00
Linden
dbfb0227aa refactor(cleint/textui): cancel showTextUI if text is unchanged
Because people continue to excessively call it in a loop.
2023-05-19 21:41:58 +10:00
Manifest Bumper
21c835b78d chore: bump manifest version to v3.4.1 2023-05-18 11:36:43 +00:00
Luke
06e8f66bcb ci(release): install package deps 2023-05-18 13:35:20 +02:00
Demetrio
ca991bfeab fix(client/imports): correct return value for getClosestPed (#334) 2023-05-18 21:35:06 +10:00
Manifest Bumper
d68e544919 chore: bump manifest version to v3.4.0 2023-05-18 11:19:45 +00:00
Linden
ebd97f08ea feat(client/imports): getClosestPed 2023-05-18 21:10:20 +10:00
Demetrio
4d1f39512f feat(client/imports): getNearbyPeds (#328) 2023-05-18 21:06:21 +10:00
Maciej Ratyński
fa589f55da chore(locales): update pl.json (#332) 2023-05-18 21:03:37 +10:00
mikigoalie
af9828ba0b chore(locales): cs.json (#333) 2023-05-18 21:03:13 +10:00
Linden
991be22de5 fix(client/radial): disable pause menu while open 2023-05-18 21:02:27 +10:00
Linden
71f751c2ff chore: readme 2023-05-18 18:44:23 +10:00
Linden
16875ca7e3 fix: type corrections 2023-05-18 15:38:53 +10:00
dntAtMe
72d0671bad feat(locales): polish locales (#330) 2023-05-17 22:31:54 +02:00
Demetrio
b4d9cffb31 fix(server/txadmin): notification override convar (#325) 2023-05-12 13:10:28 +10:00
LukeWasTaken
21990796f5 feat(web): ability to style description in notifications 2023-05-10 16:25:32 +02:00
Demetrio
8a8700ca57 feat(server/interface): configurable txAdmin notifications override (#299) 2023-05-09 23:52:09 +10:00
Linden
361ce6cca6 chore(imports/table): some types and annotations 2023-05-09 09:04:45 +10:00
Andyyy7666
62cde2246a chore(locales): translate untranslated string (#323) 2023-05-09 00:41:01 +02:00
LukeWasTaken
bcb522d9c1 fix(fix): fix potential package prepublish fix 2023-05-09 00:12:55 +02:00
Manifest Bumper
5af7b3df80 chore: bump manifest version to v3.3.0 2023-05-08 22:02:50 +00:00
Lockwood
9a0fc24e69 feat(interface/input): minLength & maxLength option (#286) 2023-05-09 00:00:47 +02:00
mikigoalie
1d65379fc0 chore(locales/cs): more translation (#321) 2023-05-08 23:59:58 +02:00
LukeWasTaken
b314b0a434 fix(package): potential fix for the npm package being uncompiled 2023-05-08 23:58:41 +02:00
LukeWasTaken
a557f3364d chore(package): update to pnpm v8 2023-05-08 23:57:45 +02:00
daZepelin
56536d5a6d refactor(server/logger): backwards compatibility for loki convar (#314) 2023-05-05 23:12:01 +10:00
Linden
89c0668985 refactor(client/progress): reduce Wait in progress queue 2023-05-05 14:55:03 +10:00
Linden
878763867a refactor(client/progress): don't clear progress on cancel
Sending "progressCancel" to NUI will cause a transition and then
trigger "progressComplete" with a slight delay (~100ms).

Should look better when people queue up progress bars.
2023-05-05 14:51:52 +10:00
mikigoalie
c94d019f67 feat(web/notifications): add warning type (#315)
* update(notify): add warning it's own type

* update(notify): inform > info, change warning default icon to circle

* fix typo

* update(notify): case for def notifs, update icons

use circle icons for all notifs so its more unified, also looks a bit better imo

* fix(progressBar): spamming cancel

spamming cancel would sometimes not interrupt current progbar

* Revert "fix(progressBar): spamming cancel"

This reverts commit b030fddd20f9f2b92a07ce4199c73e3b43f435a3.
2023-05-01 12:08:02 +02:00
LukeWasTaken
073a3d0fdd chore(web): update pnpm version 2023-05-01 11:11:04 +02:00
Jag
bda2c2657a feat(web/radial): newlines support (#316)
* feat(radial): Support newlines

* chore: update to `  \n` to match markdown
2023-05-01 11:07:17 +02:00
Cherry
60ef88c08f chore(locales/es): add missing translation (#312) 2023-05-01 10:59:41 +02:00
Kenneth Iversen
4b2a09c96f feat(locales): norwegian locales (#313)
Co-authored-by: actstorm <kenneth@reshadow.gg>
2023-05-01 10:59:10 +02:00
Manifest Bumper
21b4180bf8 chore: bump manifest version to v3.2.1 2023-04-26 07:21:58 +00:00
FjamZoo
74876c8b4e fix(client/context): reset focus when selecting option (#310) 2023-04-26 09:47:07 +10:00
bitpredator
d389bc6010 chore(locales\it): translate missing strings (#308)
- Made some untranslated strings translated
2023-04-25 23:38:50 +02:00
Linden
9ce8f963b4 fix(client/context): hide before triggering select actions 2023-04-21 12:31:33 +10:00
Manifest Bumper
d1606af88e chore: bump manifest version to v3.2.0 2023-04-20 15:47:56 +00:00
Linden
28aaa9c5d9 fix(server/cron): only print on task stop when debug is enabled 2023-04-21 01:46:27 +10:00
Andyyy7666
125f6e1a56 fix(web/setClipboard): support multi-line text (#302) 2023-04-21 00:04:08 +10:00
Linden
62a0a2fe0b feat(client/points): add new getter functions 2023-04-20 15:55:06 +10:00
Linden
51da742138 feat(zones): add new getter functions 2023-04-20 15:52:55 +10:00
iLLeniumStudios
373dd98655 fix(logger/loki): Consistent stream labels (#304) 2023-04-20 15:27:19 +10:00
Linden
d093805ef4 feat(imports): cron scheduling (#293) 2023-04-17 16:52:31 +10:00
Linden
d683d50d5e Merge pull request #294 from TheiLLeniumStudios/loki-protocol 2023-04-17 16:51:37 +10:00
TheiLLeniumStudios
ffff4833c2 chore: Remove unnecessary comma 2023-04-17 06:19:03 +00:00
TheiLLeniumStudios
b5515eabdc refactor: Use authorization header instead of URL credentials 2023-04-17 06:11:32 +00:00