Linden
|
bdbe86c0f7
|
fix(database): handle profiles for >100 statements in batch queries
Profiling is limited to the last 100 queries on a connection.
Clearing profiles after every 100th query should work well enough.
|
2023-07-12 13:18:55 +10:00 |
|
Linden
|
a8cdc5d1a1
|
refactor(logger): add profileBatchStatements
|
2023-07-12 13:16:08 +10:00 |
|
Linden
|
51c84a30ca
|
refactor(database/rawExecute): split batched query logs
|
2023-07-12 11:30:49 +10:00 |
|
Linden
|
e57a983bc0
|
refactor(database/rawTransaction): per-query profiling
|
2023-07-12 11:24:03 +10:00 |
|
Linden
|
c87885eb8a
|
refactor(web): increase query time precision
|
2023-07-12 01:11:39 +10:00 |
|
Linden
|
ade2b38bbf
|
fix(logger): check player ace when fetching resource data
|
2023-07-12 01:05:20 +10:00 |
|
Linden
|
1510489b63
|
refactor(update): improve version checking
|
2023-07-12 00:36:26 +10:00 |
|
Linden
|
d95ba8b5ce
|
fix(config): respect connection-string flags
|
2023-07-12 00:14:57 +10:00 |
|
Linden
|
37a3a7cd0a
|
fix(config): don't set connection info with falsey key
When using the semicolon connection string, a trailing semicolon
displays an error about an invalid configuration option.
|
2023-07-12 00:09:00 +10:00 |
|
Linden
|
b2387fc33a
|
refactor: minor tweaks and cleanup
Primarily moving connectionOptions fully to config.
Removed exported resource name.
Include error code and number when database connection fails.
|
2023-07-12 00:05:29 +10:00 |
|
Linden
|
197b92891a
|
refactor(database): query profiling
|
2023-07-11 18:40:03 +10:00 |
|
Linden
|
ef7f4156df
|
chore: update dependencies
mysql2 patch no longer includes types, profiling, or connection attributes.
|
2023-07-11 17:23:56 +10:00 |
|
Linden
|
fa0068e798
|
refactor(database): use mysql2/promise
Better code-flow.
Other minor changes to config.
Remove profiling (temp).
|
2023-07-11 16:33:01 +10:00 |
|
Manifest Bumper
|
32d61488f4
|
chore: bump manifest version to v2.7.2
|
2023-07-06 02:57:52 +00:00 |
|
Linden
|
0caaec43e4
|
fix(utils/parseExecute): only set undefined parameters to null
Falsey values (e.g. empty string) should not be set as null.
|
2023-07-06 12:56:44 +10:00 |
|
Linden
|
8a340d60e3
|
refactor(utils/parseExecute): allow other methods through prepare calls
|
2023-07-06 12:52:14 +10:00 |
|
Manifest Bumper
|
54deb4ab66
|
chore: bump manifest version to v2.7.1
|
2023-06-20 22:03:40 +00:00 |
|
Linden
|
e1b0ff7299
|
fix(lib/lua): missing rawExecute.await
Resolves #185.
|
2023-06-20 08:05:35 +10:00 |
|
Manifest Bumper
|
9cb2d85e40
|
chore: bump manifest version to v2.7.0
|
2023-06-17 19:07:24 +00:00 |
|
Linden
|
9a990ca4bd
|
chore(lib): bump package version
|
2023-06-18 05:05:56 +10:00 |
|
Linden
|
1829ded03c
|
fix: don't throw errors outside of promises
|
2023-06-18 04:14:33 +10:00 |
|
Linden
|
c97a07a377
|
feat: isReady and awaitConnection exports
|
2023-06-13 02:42:54 +10:00 |
|
Linden
|
11b21f8ed2
|
refactor(db): rename serverReady variable
|
2023-06-13 02:23:33 +10:00 |
|
Linden
|
2ad0539107
|
refactor(lib/lua): reorganise and rewrite function factory
|
2023-06-13 02:18:19 +10:00 |
|
Linden
|
e8f1abcab7
|
feat(rawExecute): "prepare" alternative without unpacking
See #179. Always return an array of row results (or null).
Parameters are now optional (though preferred).
|
2023-06-06 14:37:05 +10:00 |
|
Linden
|
fe9c684bf0
|
chore: readme
|
2023-05-18 18:46:23 +10:00 |
|
Manifest Bumper
|
425c3027ed
|
chore: bump manifest version to v2.6.0
|
2023-03-31 17:30:04 +00:00 |
|
Luke
|
a3ca956660
|
Merge pull request #173 from overextended/svelte-rewrite
Svelte rewrite
|
2023-03-30 22:17:26 +02:00 |
|
Luke
|
55857e7f7d
|
refactor(web): round digits to 2 decimals
|
2023-03-30 22:04:07 +02:00 |
|
Luke
|
c7f4d35aa6
|
refactor(web): pie chart size changes
|
2023-03-30 21:49:35 +02:00 |
|
Luke
|
952ecfbf91
|
refactor(web): resource query charts
|
2023-03-29 12:10:46 +02:00 |
|
Luke
|
3eeccfd010
|
refactor(web): import icon components directly
Temporary fix that resolves issues with slow building, building times go from 45s to 2s due to not having to go through all the icons.
See:
https://github.com/tabler/tabler-icons/issues/518
|
2023-03-29 10:52:45 +02:00 |
|
Luke
|
a632b9f264
|
refactor(web): set row length and truncate text, again
|
2023-03-28 22:49:37 +02:00 |
|
Luke
|
3d34282305
|
refactor(web): query tooltip
|
2023-03-28 22:26:01 +02:00 |
|
Luke
|
abe50d59e7
|
refactor(web): debounce pagination to avoid callback spam
|
2023-03-26 13:16:18 +02:00 |
|
Luke
|
109344e097
|
refactor(web): fetch query data on page change
|
2023-03-26 12:47:45 +02:00 |
|
Luke
|
1e5aa95691
|
refactor(web): manual sorting
|
2023-03-25 15:40:39 +01:00 |
|
Luke
|
dd2a0de468
|
feat(web): resource specific query data on the resource page
|
2023-03-25 13:45:41 +01:00 |
|
Luke
|
ceac70a3ce
|
refactor(web): clear queries on page leave
|
2023-03-25 13:14:38 +01:00 |
|
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 |
|