Commit Graph
204 Commits
Author SHA1 Message Date
Luke 1948c783e7 chore(nui): Remove unused imports 2022-01-06 11:58:22 +01:00
Luke 6a94dd66fb chore(ui): Update boilerplate version 2022-01-05 14:18:04 +01:00
Luke 238d7cd589 fix(nui): Data fetching into manual pagination
Perhaps don't need the loading state...?
2022-01-04 22:04:13 +01:00
Luke 7560099231 feat(nui): WIP manual pagination 2022-01-04 18:36:52 +01:00
dunak-debug 3a1462e0c0 fix(execute): Parse parameters as intended 2022-01-04 16:10:27 +01:00
Luke 0e2d2b7551 feat(nui): Table pagination 2022-01-03 17:56:09 +01:00
Luke 1ecb93801a feat(nui): RightBar data fetching 2022-01-03 14:35:59 +01:00
Luke ae121fd01c fix(nui): Left bar width 2022-01-03 14:28:06 +01:00
Luke 27dd4cdb4d Merge remote-tracking branch 'origin/refactor' into refactor 2022-01-02 00:54:47 +01:00
Luke 2c15418011 refactor(nui): Layout improvements 2022-01-02 00:54:39 +01:00
dunak-debug 407fb3ae12 chore(ui): Remove yarn.log from .gitignore 2022-01-01 20:37:22 +01:00
Luke ed03361f61 feat(nui): Query time table 2022-01-01 17:40:40 +01:00
Luke cebd9c585d fix(nui): Add missing key to resource map 2022-01-01 13:41:02 +01:00
Luke 4d93b9256a fix(nui): Add missing key to resource map 2022-01-01 13:21:52 +01:00
Luke 2fc0aa4de9 fix(nui): Don't throw failed to fetch error in browser 2022-01-01 13:21:17 +01:00
Luke 4529361e92 feat(nui): Generate resource list from client data 2021-12-31 16:59:39 +01:00
Luke 110cf81213 feat(nui): Entry animation 2021-12-31 16:21:07 +01:00
Luke 33969f57b0 fix(client): Set visibility and focus 2021-12-31 15:15:25 +01:00
Luke c8857e18c4 fix(nui): Visibility setting and building 2021-12-31 15:10:45 +01:00
Luke d1a5a9e249 tweak(nui): Alignment 2021-12-31 15:10:10 +01:00
Luke 8a45f430fc chore(nui): Rename some exported components 2021-12-31 14:09:35 +01:00
Luke bee8f5881a fix(nui): Main content wrapper 2021-12-31 00:38:53 +01:00
Luke 6493762795 feat(nui): Content container, right nav bar 2021-12-31 00:29:25 +01:00
dunak-debug e3b145bcbd feat(ui): Add react-router 2021-12-30 23:39:49 +01:00
Luke b2b1a64c8f chore(nui): WIP React rewrite 2021-12-30 20:05:07 +01:00
Luke ce802e7553 feat(ui): Setting resource list from NUI message 2021-12-28 01:48:34 +01:00
Luke 49bf5bb3ce fix(ui): Don't display failed fetches in browser 2021-12-28 00:42:45 +01:00
Luke 5eaed9f87b feat(ui): Query data fetching 2021-12-28 00:37:23 +01:00
DunakandLinden 7b88fd4779 fix(lib): accept cb.__cfx_functionReference during safeArgs (#80)
Co-authored-by: Linden <[email protected]>
2021-12-27 23:18:48 +01:00
dunak-debug f6b68037c2 feat(lib): Introduce wrapper for typescript 2021-12-27 23:17:22 +01:00
dunak-debug 0290ea17e3 feat(ui): Client-side wrapper 2021-12-27 12:59:14 +01:00
Luke 8fb5ca2e8c fix: Initialize resource array before using it 2021-12-26 21:34:29 +01:00
Luke b0f25778fd fix: Set correct fxmanifest bundle.js path 2021-12-26 20:35:22 +01:00
Luke 7ac6de6b26 refactor: Use store to set current resource 2021-12-26 15:41:43 +01:00
Luke 023023555a feat: SPA router 2021-12-26 15:41:43 +01:00
Luke de01f5d5e7 feat: Initial UI design 2021-12-26 15:41:43 +01:00
Luke 5bbf30e4b4 feat: Initial UI files 2021-12-26 15:41:43 +01:00
dunak-debug 4498dddbac WIP: Rewrite to TS & Cleanup 2021-12-26 02:21:46 +01:00
Linden 893b802029 fix(lib): set correct alias for execute
MySQL-async syntax was calling the execute export rather than update.
v1.9.0
2021-12-25 04:10:09 +11:00
Linden 9b8d6d6c56 update release workflows 2021-12-25 01:58:04 +11:00
Linden 00bfcd35cc Relicense from GPL to LGPL
Since lib/MySQL is loaded into a resource as a module, it would technically require any resources linking to oxmysql to be licensed under GPLv3.
LGPL exists to provide this exception when dynamically linking modules.
2021-12-24 19:31:46 +11:00
Linden a12e6d8a94 fix(lib): safeArgs requires transaction for await 2021-12-24 17:37:21 +11:00
Linden 03b94c749f refactor(lib): MySQL.Sync and MySQL.Async shared __index method
Apply the same metatable and create both cb and promise variants when one is called.
Improve assertion error messages.
2021-12-24 17:35:27 +11:00
Dunak a047e21f51 fix(lib): Pass transaction to safeArgs 2021-12-23 22:37:50 +01:00
Linden e86bf26221 fix(lib): ensure safeArgs when using __call method
This asserts types and checks stored queries when sending a number.
2021-12-24 03:59:39 +11:00
Linden fc06cab6eb fix(lib): don't clear alias table
I'll fix that up later.
2021-12-24 03:51:18 +11:00
Linden 3fc3cfeecf feat(lib): setup new export wrappers with mysql-async aliases
i.e.
MySQL.Async.fetchAll = MySQL.query
MySQL.Sync.fetchAll = MySQL.query.await
MySQL.Async.fetchScalar = MySQL.scalar
MySQL.Sync.fetchScalar = MySQL.scalar.await

More information in issue #77
2021-12-24 03:31:36 +11:00
Linden f9c33be0fe refactor: rename exports
Removes _callback suffix from exports and bring some exports out of deprecation (single, scalar, etc).

"Sync" exports still use _async.
2021-12-24 03:08:06 +11:00
Linden 452d1ad5ee fix(execute): incorrect queryCount when sending single array
An array containing parameters, rather than arrays, is always a single query.
2021-12-23 19:50:21 +11:00
Linden 0537519c8a chore: update readme info and include some sample queries 2021-12-23 15:21:14 +11:00