Commit Graph

1182 Commits

Author SHA1 Message Date
DerWashbr
cb6d6517f4 chore(locales): update de.json (#413) 2023-09-19 20:00:19 +10:00
Lunar-Scripts
fe94c5be7a fix(client/vehicleProperties): Fix error on gameBuilds below 2372 (#417) 2023-09-19 19:59:59 +10:00
Linden
02d935237d fix(client/callback): mark delay as optional 2023-09-16 22:11:23 +10:00
Luke
61e3ba9904 fix(package): no implicit any 2023-09-16 10:37:14 +02:00
Linden
abfacee33c refactor(client/vehicleProperties): disable SetVehicleAutoRepairDisabled
People can just call this themselves.
Sick of complaints about extras.
2023-09-13 00:13:05 +10:00
BerkieBb
3c0136afd8 feat(web/input): returnString for date inputs (#411)
* feat(interface/input): useFormat field

* feat(interface/input): useFormat field

* feat(types/dialog): useFormat field

* feat(components/date): format date conversion

* tweak(components/date): forgot other data type

* chore(interface/input): more descriptive name

* chore(interface/input): more descriptive name

* chore(types/dialog): more descriptive name

* tweak(components/date): reset things

* feat(dialog/input): date conversion with returnString

* refactor(web/input): remove unnecessary state

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-09-11 23:17:35 +02:00
Manifest Bumper
22c77a1ac0 chore: bump manifest version to v3.9.1 2023-09-03 08:23:56 +00:00
Luke
ef6a8cad6f refactor(web/alert): darker alert dialog content color
it doesn't make sense for the content to be the same color as the title
2023-09-02 23:28:37 +02:00
Lunar-Scripts
2393a64e50 Add step property to NumberInput. (#401) 2023-09-01 20:14:13 +02:00
Br0kenMaverick
2696d8d9d9 chore(locales): update es.json (#402) 2023-09-01 20:13:41 +02:00
Galuža moree
2fca9491ba fix(interface/input): add missing color type to typings (#407)
Add color option
2023-09-01 20:13:16 +02:00
Linden
3e527ac517 refactor(init): disallow loading ox_lib's import IN ox_lib
Seriously, why?
2023-08-20 10:37:45 +10:00
Manifest Bumper
156593b6c5 chore: bump manifest version to v3.9.0 2023-08-15 19:59:37 +00:00
Jellyton
0c072ef4f7 feat(client/vehicleproperties): add fixVehicle parameter (#392) 2023-08-15 10:40:35 +10:00
Luxu
a97b9ba054 fix(client/vehicleProperties): missing props and paint fixes (#396) 2023-08-15 10:37:27 +10:00
Linden
1bd6d7c5ff chore: .gitkeep cache directory
People like to use a global .gitignore.
2023-08-15 04:31:03 +10:00
DokaDoka
4b99aa0953 fix(client/zones): force debug colour values to be integers
for some reason scripts not using oal treat any float above 0 as 255 when used as a colour value
2023-08-13 16:01:12 +10:00
GaDGeT
964e67f9a6 fix(client/zones): store debug colours as a table 2023-08-13 15:57:52 +10:00
Linden
a29ede22af Revert "refactor(server/cron): reduce wait to reschedule task"
This reverts commit d12f4845f2.
2023-08-13 09:28:40 +10:00
Linden
d1b8d0ec6c fix(init): set correct chunk name
Used in debugging and errors.
2023-08-13 09:22:37 +10:00
Linden
9df29d9d3a fix(init): check if ox_lib is started 2023-08-13 08:57:02 +10:00
Linden
594fa73bfd refactor(require): use error from Lua_require on failed load 2023-08-13 08:55:54 +10:00
dependabot[bot]
980177f6e9 chore(deps): bump vite from 4.1.1 to 4.1.5 in /web (#388)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.1 to 4.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.1.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.1.5/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>
2023-08-08 13:06:49 +02:00
dependabot[bot]
1e247f898f chore(deps): bump semver from 6.3.0 to 6.3.1 in /web (#387)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 13:06:41 +02:00
Matin
088c2e094a feat(web/skillcheck): ability to cancel skillcheck (#364)
* - (FEAT) Added feature to cancel skillcheck
- (FEAT) Added feature to check is any active skillcheck

* - Fix hiding UI

* - return actual boolean

* - Fix focus does not reset properly

* Update skillcheck wrappers
2023-08-08 12:56:06 +02:00
Jellyton
c8cca20c89 tweak(web): adjust markdown heading margins (#393)
* tweak(web): components for markdown headings

Fixed nomenclature and set as default export.

* fix(ui): temp remove MarkdownComponents file

* fix(ui): return MarkdownComponents file
2023-08-07 12:05:15 +02:00
Manifest Bumper
fcb0a566d3 chore: bump manifest version to v3.8.1 2023-08-07 10:04:03 +00:00
Linden
d268168dc7 fix(server/cron): invalid step return for indivisible values
Was reliant on some previously removed hacky-logic in scheduleTask.
Return value + max and rely on getNextTime/os.time to handle overflow.
2023-08-07 18:08:53 +10:00
Linden
8c9cdb1a13 refactor(server/cron): extra debug info 2023-08-06 17:36:40 +10:00
Linden
d12f4845f2 refactor(server/cron): reduce wait to reschedule task
Was a hacky solution to an obsolete issue.
2023-08-06 17:27:41 +10:00
Linden
becc29bcea fix(server/cron): getTimeUnit early return and +1 to minute 2023-08-06 17:14:32 +10:00
Manifest Bumper
0c35e635f1 chore: bump manifest version to v3.8.0 2023-08-02 18:46:54 +00:00
Linden
43e521e65b chore(zones): rename CZone field __type 2023-08-03 04:45:26 +10:00
Linden
1a74263949 fix(server/cron): stop all tasks with negative sleep values
Changes in 4536201 and other cron tweaks have improved the accuracy
of getNextTime. Negative values should now always be expired.
2023-08-03 00:53:39 +10:00
Linden
b014e43e14 feat(init): importing modules with resource metadata
Allow loading modules through fxmanifest (i.e. ox_lib 'locale' or ox_libs { 'locale' }).
Useful in some cases where the module needs to be loaded (lib.locale()) first.
2023-08-02 16:16:37 +10:00
Linden
b68da917be feat(init): cache.__call metamethod for caching function results
See #385.
Included formatting changes (tabs->spaces).
2023-08-02 15:17:14 +10:00
Linden
05c9d335e8 refactor(client/cache): send oldValue to cache event 2023-08-02 14:19:23 +10:00
DokaDoka
6c5c763f67 feat(resource/zoneCreator): undo last point for poly zones
closes #346
2023-08-02 13:25:12 +10:00
Kristian M
0890b39daa chore(locales): added da.json (#379) 2023-08-01 20:06:36 +10:00
Linden
45362017c6 fix(server/cron): more scheduling woes
Schedule next-day tasks.
Some logic improvements and breaking changes from 8488dec.
2023-08-01 17:39:37 +10:00
Linden
9d98b9aada chore: types
mostly types anyway.
2023-07-31 16:29:27 +10:00
Linden
f11668b95c feat(imports): lib.waitFor 2023-07-31 16:17:50 +10:00
Linden
c6742eeae9 refactor(client/vehicleProperties): driftTyres and window tweaks
+ some notes about setting props from server.
2023-07-31 16:17:50 +10:00
Linden
4babb3fd46 refactor(resource/init): dynamic module loading 2023-07-31 16:17:50 +10:00
Diogo Manuel Coelho Morais dos Santos
2161694f84 fix(resource/radial): fix RadialItem type (#381) 2023-07-31 16:13:07 +10:00
DokaDoka
f04534d879 refactor(client/zones): rename type property to __type to avoid conflicts 2023-07-30 17:50:34 +10:00
Linden
497bee836f chore: update readme 2023-07-29 07:52:49 +10:00
daZepelin
99519d3d8e feat(web/dialog): precision prop for number input (#372)
* feat(web/input): added precision prop for number input

* fix(web/input): added missing disabled prop to checkbox

* fix(web/input): correct icon for debug data

* fix(web/input): remove step prop from typings

* fix(web/debug): remove step prop
2023-07-27 11:44:08 +02:00
Manifest Bumper
95cdbd2ce2 chore: bump manifest version to v3.7.2 2023-07-27 04:29:34 +00:00
Linden
d2c5be8ea8 fix(client/zones): setDebug early return 2023-07-27 00:38:36 +10:00