1366 Commits
Author SHA1 Message Date
Dimmies 024b392fdd fix(client/zones): fix nil error when multiple zones are removes at once (#726)
Signed-off-by: Dimmies <dimmiestv@gmail.com>
2025-03-10 11:23:50 +11:00
Stan c45a9a1698 fix(web): Remove unused font imports. Fixes #721. (#722)
* fix(web): Remove unused fonts and switch to Inter. Fixes #721.

* chore(web): Switch to self-hosted Roboto font

* chore(web): Add font style variants

* chore(web): Add Roboto Mono font

* chore(web): Formatting
2025-03-08 19:45:24 +01:00
Slyy cf5423e42f feat(table): added table.shuffle (#718) 2025-03-07 15:16:42 +11:00
sync 32d3fb05c7 fix(types): add TextAreaProps to RowInput (#717) 2025-03-03 08:53:07 +01:00
Dolu f4f1596ff6 feat(relativeCoords): allow passing full rotation (#703) 2025-02-12 14:51:57 +11:00
Judd a4978804a2 feat(cron): add maxDelay property to control task execution delay (#708) 2025-02-11 20:15:29 +11:00
Linden cbca5b7951 fix(scaleform): missing types 2025-02-08 18:02:14 +11:00
iSentrie 0f2e904e16 chore(locales): update lt.json (#706) 2025-02-08 14:47:27 +11:00
Linden aa2f761a34 fix(scaleform): invalid private property access
Adds an isDrawing and draw method to scaleforms.
So technically a feature I guess.
2025-02-08 13:14:51 +11:00
Linden b726faea2d feat(callback): implement callback validation
Prevent callbacks from being overwritten by other resources.
Throw an immediate error if the callback does not exist.
2025-02-03 15:41:58 +11:00
Manifest Bumper 7dc8fb544c chore: bump manifest version to v3.29.0 2025-01-30 23:25:44 +00:00
Rafael 5c0239be06 feat(relativeCoords): add lib.getRelativeCoords function (#685) 2025-01-31 10:23:08 +11:00
Codexis c1ccd767ff feat: scaleform class (#698) 2025-01-31 09:57:47 +11:00
Jag 648a13f749 fix(client/vehicleproperties): reset colors when changing painttype (#692) 2025-01-29 18:17:11 +11:00
Linden 189306d5aa fix(array): Array.from string delimiter 2025-01-29 08:02:06 +11:00
Linden 6a24f9b971 fix(array): format error message 2025-01-29 07:13:16 +11:00
Scully d56c785a37 fix(vehicleProps): split modLivery from livery (#699) 2025-01-29 07:00:58 +11:00
hakanesnn 7076f19c9b fix(cron): matching weekdayMap with os.date (#700) 2025-01-29 07:00:20 +11:00
Linden 45b045a37e feat(array): additional methods 2025-01-29 06:54:06 +11:00
Linden d0a0f34018 fix(timer): set initial value of triggerOnEnd to true 2025-01-28 06:47:48 +11:00
Linden 769fa35f38 fix(timer): redefine local function as method
The previous commit added a private property, but they
cannot be set outside of class methods. Added an error
when starting a running timer, too.
2025-01-26 05:20:23 +11:00
Linden 8af94a7194 feat(class): allow private to be redefined
Allows self.private to defined as a new table, allowing it to
remain empty without being removed after instantiation.

Resolves #696.
2025-01-26 04:05:29 +11:00
Manifest Bumper 3751945ed7 chore: bump manifest version to v3.28.1 2025-01-21 00:35:51 +00:00
Linden 0192fd015b fix(array): indexOf return value 2025-01-21 11:33:15 +11:00
Manifest Bumper 755272423b chore: bump manifest version to v3.28.0 2025-01-19 15:27:23 +00:00
Linden 728d20c079 fix(timer): re-enable onEnd after stopping a timer
Resolves #667.
2025-01-20 02:24:00 +11:00
Linden 99fb752d30 fix(callback): support __call metatables as cb function
Resolves #668.
2025-01-20 02:10:09 +11:00
NotSomething0 ebddb35b00 fix(marker): logical error when setting faceCamera (#686)
Due to the way boolean values were being assigned, faceCamera would
always evaluate to true because of its default value. This change fixes
the logical error and ensures boolean properties are properly set.
2025-01-20 02:07:03 +11:00
BerkieBb 79f311a365 fix(menu): prevent opening empty menu (#675) 2025-01-20 02:06:25 +11:00
Rafael f89536437a chore(locales/pt-br): update translations (#684) 2025-01-20 02:05:24 +11:00
Linden 356e560a5d fix(client/zones): use arrays for temporary zone tables
Resolves #682.
2025-01-20 02:04:21 +11:00
Indra 86f0d7b789 chore(locales/de): add missing dutch translations (#689) 2025-01-20 01:20:26 +11:00
Judd cb6792ed58 fix(cron): prevent duplicate executions and enhance type safety (#690) 2025-01-20 01:20:09 +11:00
Noah 93e40acb31 fix(client/progress): playEnter arg for scenarios in progress bar (#671) 2025-01-17 18:26:00 +11:00
Stan d142d8d2ee fix(table): respect falsey value for addDuplicateNumbers (#672) 2025-01-16 20:19:48 +11:00
Mahan Moulaei 2b10e77622 refactor(resource/cache): update seat cache on vehicle change (#679) 2025-01-16 18:40:44 +11:00
Linden aebef6d7de feat(web): wrap app in errorboundary
Prevents the app from failing on render errors as mentioned
in #675. More to come..
2024-12-06 17:25:34 +11:00
TomStilson 4d7fee41bd chore(locales): Update zh-cn and zh-tw translations (#659) 2024-11-08 11:03:03 +01:00
Lucifers Blood 798157f198 chore(locales): greek translations (#663) 2024-11-08 11:02:06 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4e2eff48ce chore(deps): bump rollup from 4.5.0 to 4.24.4 in /web (#665)
Bumps [rollup](https://github.com/rollup/rollup) from 4.5.0 to 4.24.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.5.0...v4.24.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 11:01:34 +01:00
mardev 776c1f6d81 fix(package/notify): add missing sound type (#664) 2024-11-08 11:01:15 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 10fe0d2f35 chore(deps): bump vite from 5.0.13 to 5.1.8 in /web (#645)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.13 to 5.1.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.8/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 10:59:03 +01:00
Manifest Bumper c7bda471d4 chore: bump manifest version to v3.27.0 2024-10-24 02:57:20 +00:00
Linden d4bb2ab7b3 fix(table): regression in contains
Other changes are just whitespace.
2024-10-16 09:08:18 +11:00
Linden 4596e4319c refactor(init): move global declarations 2024-10-14 17:36:24 +11:00
Ceeb 24b2d62235 feat(client/dui): implement dui handling (#650) 2024-10-14 16:55:15 +11:00
Linden cba4b85a29 fix(callback/js): match callback timeout to lua 2024-10-06 03:28:28 +11:00
Linden e61febf7de refactor(streaming): change error message and default timeout 2024-10-06 03:25:17 +11:00
Linden a2a7114986 feat(array): add additional array class methods
- merge now supports merging multiple arrays.
- added includes, map, reverse, toReversed.
2024-10-01 18:53:05 +10:00
Guru Saran 4c460e0bd9 refactor(table): improve performance of contains, matches, and merge (#647) 2024-10-01 18:51:52 +10:00