Commit Graph
386 Commits
Author SHA1 Message Date
Luke 6ffef718f0 refactor(web): set fixed widths for columns 2023-03-25 12:57:19 +01:00
Luke 8743dd1523 refactor(web): conditional colors for slow rows 2023-03-24 21:46:12 +01:00
Luke e2c4841368 refactor(web): disable nui focus when exiting ui 2023-03-24 21:03:15 +01:00
Luke e699ffdbcf refactor(web): use proper execution time accessor for styling 2023-03-24 21:02:58 +01:00
Luke fb78adec43 refactor(web): visibility handling 2023-03-24 20:56:53 +01:00
Luke e06c61d292 refactor(web): wip pagination 2023-03-23 21:15:11 +01:00
Luke 3c199c2217 refactor(web): improve resource page layout 2023-03-22 22:04:21 +01:00
Luke d97f11ac7b chore(web): remove svelte router package from root package.json 2023-03-22 12:17:36 +01:00
Luke cc4f2d4f86 Merge pull request #172 from LukeWasTakenn/svelte-rewrite
WIP Svelte rewrite
2023-03-22 12:14:56 +01:00
Luke 29f16bc6a1 refactor(web): separate resource page into components 2023-03-22 12:13:28 +01:00
Luke a5231a17b1 refactor(web): initial resource page layout 2023-03-22 11:58:24 +01:00
Luke fbac1353c3 refactor(web): move search component under root page dir 2023-03-20 08:46:51 +01:00
Luke fb0c05ad92 refactor(web): use border for focus instead of outline 2023-03-20 08:45:39 +01:00
Luke 754d4ac7a1 refactor(web): move search into header and add icons 2023-03-19 13:26:34 +01:00
Luke b382bf7ac8 chore(web): remove build files
smh
2023-03-19 13:16:34 +01:00
Luke b3f9841231 refactor(web): store for general data 2023-03-19 12:34:35 +01:00
Luke 6e9fddd384 refactor(web): use nui data 2023-03-19 12:20:25 +01:00
Luke 9c8bb33c4a feat(web): ability to search resources 2023-03-19 12:11:38 +01:00
Luke 4cbcd57a8a refactor(web): scroll resources container 2023-03-19 11:19:31 +01:00
Luke 7b2b440825 refactor(web): use dark colours instead of slate 2023-03-19 10:58:43 +01:00
Luke 2a11ded518 refactor(web): change routing libraries and app design 2023-03-18 22:34:14 +01:00
Luke e04a43a86c refactor(web): initial svelte rewrite files 2023-03-18 19:03:35 +01:00
Linden be8580396c chore: patch mysql2 2023-03-07 15:44:14 +11:00
Linden b772cd2bd2 chore: update dependencies
Include last changes for node package.
2023-03-07 02:13:49 +11:00
Linden 61d78dc893 chore(lib): typos 2023-01-28 16:30:35 +11:00
Linden 571691c2f5 Update README.md 2023-01-28 16:25:43 +11:00
Linden e67557992e chore: update dependencies & patches
Something will probably break.
2023-01-20 16:23:40 +11:00
Manifest Bumper f5a9d588cb chore: bump manifest version to v2.5.4 2022-11-17 22:01:12 +00:00
Linden 5a949b9546 fix(database): throw Error before creating promise
Promises, even when resolved/rejected immediately after their creation, will
destroy any useful information from a stack trace when used over
events/exports.

Since some people still use the exports rather than MySQL/lib.lua, and for
some reason don't know the correct syntax for Lua exports (i.e. using
exports.oxmysql.query instead of the CORRECT exports.oxmysql:query) it's
comically common for an "untraceable" error to get spit out.

Will this help? No. Will everyone expect me to solve their issues? Yes.

Go update your scripts to use MySQL/lib.lua and we can all get along
stress-free.
2022-11-18 08:58:43 +11:00
Manifest Bumper 30e37af313 chore: bump manifest version to v2.5.3 2022-11-14 01:42:33 +00:00
Linden 4bff0109ca fix(config): update mysql_debug when using oxmysql_debug command
Polling change isn't very compatible with this; will change in the future, but
for now keep it simple.
2022-11-08 18:06:52 +11:00
Linden bc8a874743 refactor(database): waitForConnection 2022-11-08 17:29:05 +11:00
Linden 2a5e110e29 fix(database/rawExecute): append extra null values 2022-11-08 16:57:51 +11:00
Linden 283e3194cf fix(utils/parseExecute): incorrect parameter reassignment 2022-11-08 16:57:02 +11:00
Linden 25f8feb793 fix(execute): handle nil values in nested arrays
Lua tables are msgpacked with the "without_hole" setting.
Nested tables being sent with "prepare" failed to account for
nil values in tables unpacking into objects.
2022-11-08 15:17:01 +11:00
Linden b5190f98e9 refactor(src/config): poll convars 2022-11-07 16:58:56 +11:00
Manifest Bumper 1544bc3e48 chore: bump manifest version to v2.5.2 2022-11-02 18:10:22 +00:00
Linden 70a464fb83 fix(src/config): only parse JSON for valid connection fields
Should have set valid keys in the first place.
Resolves #147
2022-11-03 05:08:00 +11:00
Linden c292cb44b0 refactor(lib/define): improve Lua types 2022-10-12 18:35:01 +11:00
Manifest Bumper 299a71dd07 chore: bump manifest version to v2.5.1 2022-09-21 04:14:44 +00:00
Linden b604a3c356 fix(src/config): parse JSON objects in connection string
Some connection properties take an object/array (i.e. ssl, flags).
2022-09-21 14:10:23 +10:00
Linden 8fe63bc88a chore: update dependencies and patch 2022-09-21 13:57:55 +10:00
Manifest Bumper 706c3cf53d chore: bump manifest version to v2.5.0 2022-08-24 10:24:39 +00:00
Linden 6b0e20aed3 chore: include .yarn.installed
Since the cfx yarn resource will forcibly try to run for resources even if
they don't want it or support it, I'll add this dumb file when using source code.
2022-08-24 20:22:45 +10:00
Linden ff00cd0e82 fix(utils/parseArguments): check parameter truthiness 2022-08-24 18:41:05 +10:00
Linden 77f0d32e07 fix(update): correct semver comparison 2022-08-23 20:14:58 +10:00
Linden f0dd9ce1a6 fix(utils): named placeholders check
Should always check parameters is an object (and not an array).
2022-08-13 17:12:48 +10:00
Linden 71c32f9d2f tweak(utils): check if namedPlaceholders are enabled
Named placeholders were being converted regardless of config flag.
2022-08-13 16:23:47 +10:00
Linden 521aa8f03d refactor: move connectionOptions to config
We'll also ensure namedPlaceholders is boolean and export the object.
2022-08-13 16:22:45 +10:00
Linden 7796c80f69 feat(config): add command to modify mysql_debug
Allow toggling debug prints for specific resources during runtime.
2022-08-12 19:47:30 +10:00