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
Linden
89b9016586
fix(init): enable ignore_invalid for msgpack
...
Needed to prevent errors when packing glm polygons and such.
2023-07-26 12:47:07 +10:00
Manifest Bumper
8f0a8b3c1d
chore: bump manifest version to v3.7.1
2023-07-25 04:14:41 +00:00
Linden
fe0f28921f
fix(client/zones): race condition when setting debug function
2023-07-25 14:13:09 +10:00
Manifest Bumper
7c0ee46a99
chore: bump manifest version to v3.7.0
2023-07-25 03:14:32 +00:00
Linden
b06ba2d024
chore: type fixes
2023-07-25 01:59:39 +10:00
BerkieBb
8f5880aad7
feat(zones): add setDebug and debugColour ( #369 )
2023-07-23 19:37:29 +10:00
Linden
84b7f97a1c
fix(server/logger): missing )
2023-07-23 13:41:20 +10:00
Lukas Brūzga
f641881243
fix(client/setVehicleProperties): force clear custom colours ( #375 )
2023-07-23 13:14:44 +10:00
Jerry
588d26c421
fix(client/vehicleProperties): don't set modLivery if no livery exists ( #374 )
2023-07-23 13:14:03 +10:00
Jellyton
2fafee41a0
refactor(server/logger): remove text formatting from hostname ( #361 )
2023-07-23 12:59:41 +10:00
Jag
65a799071a
chore: various fix-ups from docs clean-up ( #363 )
...
- Add in missing js functions
- getCurrentRadialId
- requestScaleformMove
- Change up math.tohex to maintain lowercase `0x` prefix
- Add missing fields
- Removed extra whitespaces
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2023-07-21 13:54:29 +02:00
Zan
1b8e1f022a
chore(locales): update hu.json ( #371 )
2023-07-21 13:46:40 +02:00
Luke
5b9bb531a9
fix(web/skillcheck): fail on wrong key press
2023-07-20 22:40:01 +02:00
Linden
9c90b5be5f
fix(server/cron): prevent scheduling tasks for new days
...
From 8488de.
2023-07-17 23:35:53 +10:00
Linden
149213032b
fix(server/cron): getTimeUnit corrections
...
Consistency between range and lists.
Use different time comparisons for minute units.
2023-07-17 22:48:33 +10:00
Linden
8488dec3d3
refactor(server/cron): allow getNextTime minute and hour "overflow"
...
Per the Lua manual,
"if sec is -10, it means 10 seconds before the time specified by the other fields".
i.e. { min = 61, hour = 0 } is equal to { min = 1, hour = 1 }
Should improve scheduling and help with #368 .
2023-07-17 20:07:30 +10:00
Linden
9e2076f5a5
refactor(server/cron): types and formatting, simplify getMaxDaysInMonth
2023-07-17 19:57:35 +10:00
Manifest Bumper
cfcb9c1312
chore: bump manifest version to v3.6.3
2023-07-16 10:00:11 +00:00
Luke
45f155f62b
perf(package): only run points loop when there's at least one point
2023-07-14 00:57:03 +02:00
Linden
6ab719654f
fix(server/cron): list expression should use >=
...
Resolves #366 .
2023-07-10 08:50:26 +10:00
Manifest Bumper
c6f621fba5
chore: bump manifest version to v3.6.2
2023-06-29 15:10:03 +00:00
RIOT
78e0e52656
fix(web/input): block form submission with unclamped numbers ( #360 )
2023-06-25 11:41:35 +02:00
Luke
45e9588d48
fix(web/input): don't allow user to submit form with unclamped numbers
2023-06-25 00:15:37 +02:00
Linden
8a0f5e946d
fix(client/zones): prevent malformed polyzone deadlock with debug
...
Temp workaround.
2023-06-20 09:19:27 +10:00
Manifest Bumper
35448ff8cf
chore: bump manifest version to v3.6.1
2023-06-17 06:15:13 +00:00
Linden
310b9720bc
fix(client/zoneCreator): require input confirmation
2023-06-17 16:11:08 +10:00
daZepelin
d070c631b4
fix(cron) edge case fixes ( #345 )
2023-06-13 04:57:39 +10:00
Randolio
0a3edcbe4d
fix(imports/getClosestPed): correct variable name ( #348 )
2023-06-13 04:51:20 +10:00
Linden
1f76590b53
fix(version): report unknown versions during checkDependency
...
Rather than throwing potentially fatal and confusing errors we should
just report the current version as 'unknown'.
2023-06-13 00:36:17 +10:00
Luke
7816ce7a33
fix(web): cap list menu width for long labeled items
...
resolves #350
2023-06-11 10:30:21 +02:00