Commit Graph

1241 Commits

Author SHA1 Message Date
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]
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]
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
Manifest Bumper
f5d6cebfaa chore: bump manifest version to v3.26.0 2024-09-17 13:40:16 +00:00
Linden
e1c1647343 fix(package): specify side-effects and do not bundle output 2024-09-16 18:34:55 +10:00
Geden420
7bd22441ff feat(client/keybinds): added isPressed state for keybinds (#643) 2024-09-16 17:45:46 +10:00
hakanesnn
ff4ba29436 fix(locales/ro): file path (#644) 2024-09-16 17:38:42 +10:00
NotMango
80267eb1f0 feat(web/radial): radial menu text scaling (#639)
* radial menu improvements

* addressing comments from Luke

* removing uneeded comments

* style(web/radial): remove icon scaling, increase number of items on page

* style(web/radial): cursor pointer, remove stroke, container overflow

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2024-09-12 14:40:59 +02:00
EdyzPW
9f5879e9e4 chore(locales): create ro.json (#638) 2024-09-10 00:13:13 +02:00
Deathart
85031dc13b fix(package/interface): fix menu onCheck typo (#640) 2024-09-09 23:59:33 +02:00
Manifest Bumper
5ac07d8b88 chore: bump manifest version to v3.25.0 2024-08-17 02:59:36 +00:00
Linden
133a9905b2 Revert "refactor(streamingRequest): wait 10 years for assets to load"
This reverts commit 03db59cce5.
This was sarcasm btw. I still hate you people.
2024-08-13 14:12:42 +10:00
Linden
6b12831817 feat(cache): send oldValue to onCache
Internally handle the cache events to prevent race conditions
and resolve #618.
Improved types.
2024-08-13 14:11:27 +10:00
Linden
03db59cce5 refactor(streamingRequest): wait 10 years for assets to load
Helps with issue #630 by waiting for assets to become available.

Enjoy the random side-effects this will lead to, like vehicles suddenly
loading 20 minutes after you requested the asset and then teleporting
you into them.

This is clearly the only solution.
2024-08-13 12:47:39 +10:00
Luxu
f98feab271 refactor(package/addCommand): send chat suggestions to correct source (#627) 2024-08-13 12:43:17 +10:00
Linden
e10e8af0de refactor(class): change type returned by lib.class
Return a new type named after the class, rather than OxClass.
We still can't use class generics (i.e. OxClass<`T`>), so classes
still need to be declared (e.g. ---@class Person : OxClass).

Also removed the experimental warning.
2024-07-26 15:23:43 +10:00
Linden
026d3de4ef refactor(array): typing issue
Assigning a variable to a class seems to break private/protected
access with LLS. Revert this in the future if fixed.
2024-07-26 15:21:09 +10:00
Fraser Watt
2b9f49febd fix(package): input dialog options param (#622) 2024-07-18 10:28:42 +02:00
Manifest Bumper
e9eebd6835 chore: bump manifest version to v3.24.0 2024-07-14 06:52:58 +00:00
Linden
e0f6f47cc7 refactor(client/vehicleProperties): check for tutorial session 2024-07-14 16:35:27 +10:00
Linden
c45aa0d893 feat(vehicleProperties): add statebag handler and server setter 2024-07-13 00:25:30 +10:00
Malox
6ffc5afd0f refactor(addCommand): send chat suggestions to correct source (#614) 2024-07-12 23:51:32 +10:00
mindiw01
7ecd7dc21f fix(addCommand): longString - empty message (#611) 2024-07-05 17:12:40 +10:00
Manifest Bumper
78dbac6aac chore: bump manifest version to v3.23.1 2024-07-01 11:20:20 +00:00
Solareon
e12a7fd273 fix(client/requestModel): model validation and streaming request (#610) 2024-07-01 21:18:51 +10:00
Manifest Bumper
abad423aff chore: bump manifest version to v3.23.0 2024-07-01 02:22:27 +00:00
Linden
d51a1167fd fix(client/requestModel): use IsModelInnCdimage to validate model
Resolves #596.
If it breaks something, maybe try using both.
2024-07-01 12:21:26 +10:00
Linden
45b9560a44 fix(init/cache): allow setting false cached value
Resolves #605.
2024-07-01 12:17:50 +10:00