Commit Graph

1160 Commits

Author SHA1 Message Date
Linden
1dd9bd3e86 chore: add gitignore to forcibly keep cache directories
Since people (or terrible GSPs) keep blocking any directory
named cache no matter where it exists by default.
2024-04-06 16:58:59 +11:00
Linden
1ff845a451 refactor(require): cleanup and improve debug info 2024-04-06 15:59:26 +11:00
Linden
56b99a7657 refactor(require): improve module resolution and debugging info
- Improved error messages.
- Include checked file paths on failed module resolution.
- Moved repeated code into separate functions.
- Workaround for incorrect "circular-dependency" error.
- Added additional package.path "./?/init.lua".
- Added support for package.searchers.
2024-04-05 21:53:48 +11:00
Linden
77c34b8699 feat(settings): toggle notification audio 2024-04-03 14:58:35 +11:00
Linden
dbbb4b6563 refactor(notify): minor cleanup for notification audio 2024-04-03 14:56:08 +11:00
Linden
1922c8a8ec refactor(requestAudioBank): return string 2024-04-03 14:55:10 +11:00
Linden
1e30dd4c89 fix(streamingRequest): missing return value 2024-04-03 14:48:18 +11:00
Ethan
5e6db9d024 feat(client/notification): add support for native audio sounds (#455) 2024-04-03 14:48:08 +11:00
Linden
1ab6d3dd00 fix(streamingRequest): missing asset name in error message 2024-04-02 17:02:46 +11:00
Linden
44b41973b8 fix(locale): trigger setLocale in locale module 2024-04-02 17:00:59 +11:00
Linden
2d4e56d828 feat(settings): add ox_lib command and user-selected locales
Resolves #435.
2024-04-01 19:19:59 +11:00
Linden
1e3b2cb567 feat(locale): locale hotloading 2024-04-01 19:16:53 +11:00
Linden
09ca963f26 refactor(resource): load extra modules 2024-04-01 19:15:04 +11:00
Linden
989462da7d feat(imports/server): getFilesInDirectory 2024-04-01 19:13:51 +11:00
Linden
0f0c7a6591 refactor(streamingRequest): internal method for request functions
- TS package type inference for request functions.
- Type fix for Lua's waitFor callback.
- Lua request functions cannot return nil.
2024-03-31 16:15:44 +11:00
Manifest Bumper
e3ece4f337 chore: bump manifest version to v3.18.0 2024-03-27 03:30:01 +00:00
Linden
5868649d18 fix(package/streaming): return promise from streamingRequest 2024-03-27 14:27:33 +11:00
Linden
1456f4493e refactor(class): remove support for class.init 2024-03-25 20:48:09 +11:00
Linden
e031f19bea refactor(class): improve types 2024-03-25 20:14:49 +11:00
ANTOND
10db769f41 fix(types): optional params in getClosest* (#519) 2024-03-19 18:01:52 +11:00
Andy
0e00ff57ff refactor(client/progress): sync props with statebags (#515)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2024-03-19 18:01:23 +11:00
GiroudMathias
f4d43e533d feat(client/marker): add marker options (#520)
add BobUpAndDown, FaceCamera, Rotate, Texture for markers
2024-03-18 18:52:34 +11:00
Linden
2190cd32f4 refactor(waitFor): use GetGameTimer to timeout callbacks
Corrected error message output to ms.
Resolves #518.
2024-03-18 18:48:57 +11:00
ANTOND
591fb022f9 feat(interface): add locales for progress and radial menu (#509) 2024-03-16 04:41:06 +11:00
Abdelouahed TOUIMI
abb2868bae feat(interface/progress): add allowSwimming option (#516) 2024-03-16 04:34:11 +11:00
Linden
50d957c1d1 refactor(package/interface): import CSSProperties from csstype 2024-03-16 04:30:02 +11:00
Manifest Bumper
19ce031145 chore: bump manifest version to v3.17.0 2024-03-12 13:04:34 +00:00
Linden
356f46d7ef fix(class): only show warning if constructor is undefined 2024-03-13 00:01:17 +11:00
Linden
d105ebe7fe refactor(class): improve types 2024-03-12 19:54:33 +11:00
Linden
8180feaa8c fix(class): disallow calling constructor from objects 2024-03-12 19:54:11 +11:00
Linden
0d1140a54e feat(class): true private fields 2024-03-12 17:37:18 +11:00
Linden
6f4f11ddb5 feat(class): deprecate init in favour of constructor 2024-03-12 16:10:57 +11:00
Linden
3135058310 refactor(class): stricter type-checking 2024-03-12 16:09:28 +11:00
Linden
105d265792 feat(class): add temporary super method during class init 2024-03-11 14:58:54 +11:00
Linden
92dc3688f8 feat(class): recursive instanceOf and isClass method 2024-03-11 11:21:07 +11:00
Linden
de49dff9b0 feat(class): add instanceOf method 2024-03-11 09:06:58 +11:00
Linden
d806668c65 refactor(class): use mixins for default class methods 2024-03-11 09:06:36 +11:00
Lily
71b30b928d feat(web/select): searchable option (#513) 2024-03-10 14:06:11 +01:00
qwezertino
669dc5ae87 fix(web/skillcheck) fix cyrillic keyboards not detecting correct inputs (#512)
resolves #410
2024-03-09 11:06:06 +01:00
xSamiVS
d8578281ee feat(web/textui) bottom center position(#507) 2024-03-09 11:04:18 +01:00
ANTOND
0c470f249a fix(locales/cs): more natural phrases (#508) 2024-03-08 19:01:56 +01:00
Kenshin13
acfb665459 fix(imports/require): resource source extraction in getModuleInfo (#504) 2024-02-24 01:17:06 +11:00
ktx-mega
78891fb4b9 feat(web): support icon urls in radial menu (#487)
* feat(package): support icon urls in radial menu

* fix: update lua & ts types + clamp size parameters
2024-02-18 12:11:40 +01:00
Manifest Bumper
bd6183aa04 chore: bump manifest version to v3.16.3 2024-02-18 04:46:25 +00:00
Linden
3ecb419759 refactor(package): move and export VehicleProperties interface 2024-02-18 15:45:16 +11:00
RIOT
945b535943 chore(client/context): add readOnly field (#474) 2024-02-17 12:11:31 +01:00
BerkieBb
4e8614b0ed fix(interface/input): clearable lua type (#498) 2024-02-17 22:10:05 +11:00
Flávio Pereira
a2d4322a4a fix(notify): missing iconAnimation type (#500) 2024-02-17 22:09:26 +11:00
David Malchin
744744c147 fix(require): return false when module returns false (#502) 2024-02-17 22:04:36 +11:00
Achraf
94c6cbe370 chore(locales): create ar.json (#493) 2024-02-11 16:18:18 +11:00