Linden
b6f850dbd6
Revert "refactor(lib/MySQL): use coroutine instead of promise"
...
This reverts commit 7582973e4e .
Calling coroutine.yield causes issues with the Lua scrt's scheduling. Notably, calling Citizen.Wait will result in the thread never being resumed.
2022-03-23 03:35:05 +11:00
Luke
4b3d1fa887
feat(nui): Use pnpm instead of Yarn
2022-03-21 21:53:48 +01:00
Linden
7582973e4e
refactor(lib/MySQL): use coroutine instead of promise
...
Less overhead and garbage.
2022-03-19 16:51:14 +11:00
Cuchi
4417b728fa
feat(logger/command): Warning message when mysql command is run from server ( #97 )
2022-03-18 17:25:03 +01:00
Linden
afc04fc553
fix(db): move query responses to their own try block
...
Other resources with script errors (notably "attempt to index a nil value") would mistakenly report the query as failed, and people would assume ANY reported errors were because of oxmysql, even through it was their own awful script.
No errors should be thrown in oxmysql when an error occurs in a function reference.
2022-03-07 15:13:07 +11:00
Linden
7b4ae91dbe
chore: remove annoying commit lint and husky
2022-03-07 15:10:22 +11:00
Linden
4bbbe1efc2
refactor(index): cease resistance against 0 iq fivem community
...
Why did I think maintaining this type of resource would be a good idea?
2022-03-03 19:51:00 +11:00
Christopher
c0d333caee
fix: readme syntax error ( #96 )
...
👯
2022-03-02 18:56:32 +01:00
Luke
82006d251d
feat(nui): copy query on left click
2022-03-02 16:11:17 +01:00
Linden
98b4f108e8
chore: update dependencies and commit lint
2022-03-03 00:04:27 +11:00
Linden
cd62fdd904
refactor(utils/parseArguments): Reduce redundant assignments
...
More in-line with 1.9.3 parser; reduced garbage and improved performance. Should handle JSON better.
2022-03-02 23:24:52 +11:00
Linden
895d08ef0f
fix(db): Define pool type
2022-03-02 22:56:47 +11:00
Linden
e0a2a41870
fix(db/rawTransaction): Await scheduleTick
2022-03-02 22:56:07 +11:00
Linden
9e50d8ddd0
fix(utils/parseArguments): Missing type check
2022-02-28 16:01:08 +11:00
Linden
6d96c1104b
refactor(db): Delay connection until first tick
2022-02-28 16:00:30 +11:00
Linden
31d971837d
fix(update): Catch errors when fetching GitHub API
2022-02-25 17:23:46 +11:00
Linden
ec53b3282d
refactor(utils/scheduleTick): Await database connection
2022-02-25 17:11:28 +11:00
Linden
2d28c447ec
fix(db/rawExecute): Parse multiple returned rows
2022-02-24 10:59:12 +11:00
Linden
e29ca87c98
fix(utils): Do not convert placeholders if query contains JSON
2022-02-24 10:24:27 +11:00
Luke
9ab2bcb6e6
fix(nui): Define keys for table maps
2022-02-22 20:13:24 +01:00
Luke
9cb22df2fd
fix(nui): Number grouping on right bar
2022-02-19 11:23:55 +01:00
Linden
b2ca6b0c66
chore: Update version
2022-02-19 10:07:19 +11:00
Linden
14d9f43991
fix(mysql2/binary_parser): Return BLOB as an array
2022-02-19 09:32:55 +11:00
Linden
82f0382518
Merge pull request #86 from jaimeadf/fix/charset
...
fix: Add charset to cast binary and json data correctly
2022-02-19 09:14:58 +11:00
Jaime Filho
8611cc0762
fix: Add charset to cast binary and json data correctly
2022-02-18 19:12:46 -03:00
Linden
0c7620613f
Update release.yml
2022-02-19 05:06:51 +11:00
Linden
16276d1a6e
chore(workflow): Update release.yml
2022-02-19 04:06:07 +11:00
Linden
0d64cb8cfe
chore: Update version refs to 2.0.0
2022-02-19 03:55:12 +11:00
Linden
afbfb21a3d
fix(src/update): Remove .zip from release url
2022-02-15 14:56:16 +11:00
Luke
1e00e9fe02
refactor(nui): Improve design scalability
2022-02-14 23:10:42 +01:00
Luke
4e027c18fe
chore: Bump version to 1.9.3
2022-02-14 16:42:51 +01:00
Luke
4e099e8e0f
fix: Update the proper pre-release workflow
2022-02-14 16:32:52 +01:00
Luke
e297167ae3
Revert "fix: Update pre-release workflow"
...
This reverts commit 88fe6fa14c .
2022-02-14 15:31:32 +01:00
Luke
88fe6fa14c
fix: Update pre-release workflow
2022-02-14 15:27:43 +01:00
Luke
a4b7f0d341
feat: Setup build scripts
2022-02-14 14:49:58 +01:00
Linden
8874adc877
chore: Update Discord link
...
Also add note about named placeholders being deprecated.
2022-02-14 22:29:33 +11:00
Linden
86e51e79ef
refactor(update): Use GitHub releases API
...
Compare current version to latest release.
2022-02-14 22:25:59 +11:00
Linden
2ea78f1b1b
Merge branch 'refactor' into main
2022-02-14 22:23:28 +11:00
Luke
21fab4167b
Revert "fix(logger): Require command ace permission to open ui"
...
This reverts commit 9369873481 .
2022-02-13 19:26:57 +01:00
Luke
9369873481
fix(logger): Require command ace permission to open ui
2022-02-11 13:03:53 +01:00
Linden
3cfa080cfc
fix(utils/typeCast): Ensure field.packet is defined
...
Apparently this can be undefined.
2022-02-11 05:15:29 +11:00
Linden
7096237ce2
refactor(utils/typeCast): Change BIT and BLOB types
...
BIT fields should only cast as boolean if they have a length of 1.
2022-02-10 17:23:42 +11:00
Linden
4975a17a31
fix(db/execute): Parse responses during prepare
...
Prepare should return the most appropriate result type (scalar, single, query, update, etc.)
2022-02-10 16:57:28 +11:00
Luke
553775c9a0
feat(nui): Display the amount of slow queries
2022-02-02 13:55:30 +01:00
Linden
18eb6d1f29
feat(lib): Lua Language Server library definitions
2022-01-29 23:40:37 +11:00
Luke
b0ea8e1172
feat(nui): Display slow queries with yellow text color
2022-01-27 17:23:45 +01:00
Luke
31fb361c4c
feat(nui): Fetch chart data from resources
2022-01-27 12:47:13 +01:00
Luke
b9442715e4
feat(nui): WIP pie chart
2022-01-26 17:54:05 +01:00
Luke
79a4e4cca1
fix(nui): Adjust resources header size
2022-01-26 16:18:15 +01:00
Luke
3fb80ce6fe
fix(nui): Show current selected link in white
2022-01-26 15:57:26 +01:00