Maurício Meneghini Fauth
a493cbdf84
Fix error TS2365 reported by TypeScript
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-21 14:10:00 -03:00
Maurício Meneghini Fauth
8000b0158c
Fix errors TS2362 and TS2363 reported by TypeScript
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-20 22:26:32 -03:00
Maurício Meneghini Fauth
c3224a50a0
Fix error TS2469 reported by TypeScript
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-20 12:30:23 -03:00
Maurício Meneghini Fauth
e183e22d2f
Fix unknown property errors reported by TypeScript
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-18 20:21:48 -03:00
Maurício Meneghini Fauth
62d16a07ee
Replace jqPlot with Chart.js in /server/status/queries
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-06 18:52:43 -03:00
Maurício Meneghini Fauth
edc4a0d41f
Add new variable for version up to date message
...
Fixes error TS2740 reported by TypeScript.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-05 15:45:47 -03:00
Maurício Meneghini Fauth
3e9f32bead
Add default value for optional arguments in JS functions
...
Fixes TS2554 and TS2555 TypeScript errors.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-04 15:17:45 -03:00
Maurício Meneghini Fauth
8b841d22ca
Access JS globals from window object
...
Fixes TS2304 errors.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-03 17:50:01 -03:00
Maurício Meneghini Fauth
eb07bb575d
Add descriptions for the ignored TS errors
...
[ci skip]
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-31 11:02:44 -03:00
Maurício Meneghini Fauth
bc79f55e0c
Ignore current errors reported by TypeScript
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-30 19:48:10 -03:00
Maurício Meneghini Fauth
57f0871c4b
Rename webpack entries to have ts extension
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-30 18:56:39 -03:00
Maurício Meneghini Fauth
8764673ccd
Add ts-loader package
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-30 18:56:39 -03:00
Maurício Meneghini Fauth
30b4d2ed14
Add color modes for the Metro theme
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-13 23:28:29 -03:00
Maurício Meneghini Fauth
f190f305a0
Merge branch 'QA_5_2'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-09 23:03:04 -03:00
Maurício Meneghini Fauth
38f6b238db
Move public files to the public directory
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-24 15:36:31 -03:00
Maurício Meneghini Fauth
2f8f94702d
Resolve paths only once for webpack.config.cjs
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-24 13:55:21 -03:00
Maurício Meneghini Fauth
ede1e82c28
Refactor DB designer JS to use modules
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-04 18:26:08 -03:00
Maurício Meneghini Fauth
b6790b90ba
Fix issues after merge
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-01-17 00:47:04 -03:00
Maurício Meneghini Fauth
9546a45e98
Revert "Move menuResizer related functions to menu-resizer.js"
...
That commit broke the onload and teardown calls.
Reverting fixes the tests.
This reverts commit 5e6541e08a .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-04 15:15:44 -03:00
Maurício Meneghini Fauth
5e6541e08a
Move menuResizer related functions to menu-resizer.js
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-01 23:17:33 -03:00
Maurício Meneghini Fauth
83e8ed59cc
Remove Config object from the Window global object
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-30 22:00:29 -03:00
Maurício Meneghini Fauth
49865fe647
Remove Indexes object from the Window global object
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-29 14:39:16 -03:00
Maurício Meneghini Fauth
b7a710e83f
Remove common.js from Header::addDefaultScripts()
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-29 14:17:04 -03:00
Maurício Meneghini Fauth
caf19897ac
Remove crossFramingProtection from the Window global
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-28 23:43:35 -03:00
Maurício Meneghini Fauth
332e27ad39
Remove KeyHandlerEvents from the Window global object
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-28 23:11:13 -03:00
Maurício Meneghini Fauth
479f10289f
Remove the Navigation object from the Window global
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-28 22:29:13 -03:00
Maurício Meneghini Fauth
2e001c186a
Remove PageSettings from the window object
...
Imports PageSettings in the main.js file instead of relying on the
global window object.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-24 22:00:56 -03:00
Maurício Meneghini Fauth
b2971d618f
Import the AJAX object where possible
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-24 15:21:18 -03:00
Maurício Meneghini Fauth
3ce84326f2
Import the Functions object where possible
...
Instead of using from the Window global object.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-24 14:43:25 -03:00
Maurício Meneghini Fauth
6f54621b41
Create a shared.js file for common JS dependencies
...
Instead of using the Webpack's dependOn setting, uses the splitChunks
setting to automatically generate the shared.js file.
As the contents of these shared dependencies are being moved to the
shared.js file, the generated file for each dependency is now empty.
Is probably safe to not generate them, but some adjustments are needed
for that first. For example, the AJAX's onload and teardown functions
expects that some of these files exists.
For now, only dependencies that are loaded for all pages should be added
in this shared.js file.
This will facilitate the refactoring of the JS files, but the trade off,
at least for now, is that will be a single large file instead of a few
medium ones.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-24 14:43:24 -03:00
Maurício Meneghini Fauth
8c525ed026
Import CommonParams and CommonActions as modules
...
Removes CommonParams and CommonActions from the Window object where
possible.
Uses Webpack's dependOn setting to prevent code duplication.
- https://webpack.js.org/guides/code-splitting/#prevent-duplication
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-22 22:07:41 -03:00
William Desportes
ea5a541f7b
Merge branch 'QA_5_2'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-10-29 17:26:44 +02:00
Maurício Meneghini Fauth
431b594ec3
Change doclinks.js to use JS modules
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-05 15:47:12 -03:00
Maurício Meneghini Fauth
2a4c58258b
Use JS module to import jQuery
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-03 19:08:27 -03:00