Commit Graph

918 Commits

Author SHA1 Message Date
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
Luke
bc4a342bb1 chore(web): update lockfile version 2023-06-11 10:29:42 +02:00
EP
cfb75b2d23 chore(locales): Finnish locales (#342) 2023-05-29 23:28:57 +02:00
Manifest Bumper
1bf366c1e9 chore: bump manifest version to v3.6.0 2023-05-28 05:16:17 +00:00
Linden
8ec19cf263 feat(imports/table): readonly tables 2023-05-28 15:14:52 +10:00
Jerry
26065fe2fc chore(locales): update zh-cn.json and zh-tw.json (#337) 2023-05-28 15:08:56 +10:00
daZepelin
6486f995e1 feat(server/cron): getAbsoluteNextTime (#319) 2023-05-28 15:08:40 +10:00
Linden
6cf53ddd68 fix(client/vehicleProperties): mods not applying 2023-05-28 15:02:54 +10:00
mikigoalie
4fed5dc38d feat(imports/math): groupdigits (#338) 2023-05-26 09:06:28 +10:00
Can Sönmez
467e7f51ac fix(package/callback): await callback response (#340) 2023-05-26 09:04:30 +10:00
Linden
a8ab102bae refactor(imports/streaming): use coroutine.isyieldable 2023-05-25 14:56:56 +10:00
Manifest Bumper
9efcde0351 chore: bump manifest version to v3.5.0 2023-05-21 21:02:45 +00:00
Nuga
4953eacf05 chore(locales): update et.json (#335) 2023-05-22 07:01:03 +10:00
Linden
1ba5787ffd feat(imports): extended math lib 2023-05-22 06:47:57 +10:00
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