Commit Graph

641 Commits

Author SHA1 Message Date
Valentino Orlandi 2a87d5d343
Morphed blacklists and warnlists into dedicated entities 2024-02-04 01:10:53 +01:00
Valentino Orlandi 9320b90001
General improvements 2024-02-03 17:54:53 +01:00
Valentino Orlandi 6182a61420
Added new dialogs 2024-02-03 17:54:20 +01:00
Valentino Orlandi 833f3da5db
Improved exceptions
Added LogDoctorException, ConversionException and DatabaseException
2024-02-03 17:53:45 +01:00
Valentino Orlandi a1d0419969
Code improvements and updates
Improved MainWindow
2024-02-03 17:51:46 +01:00
Valentino Orlandi ae92479fca
Code improvements and updates
Improved CheckSec and PrintSec utilities
2024-02-03 17:49:29 +01:00
Valentino Orlandi 3158a4e629
Code improvements and updates
Improved Craplog module and its submodules
2024-02-03 17:44:28 +01:00
Valentino Orlandi 5c92b71c37
Code improvements and updates
Improved Crapview module and Query submodule
2024-02-03 16:57:08 +01:00
Valentino Orlandi 92cdee4e55
Code improvements
Added crapview lib
2024-02-03 16:52:15 +01:00
Valentino Orlandi c45836efa7
Improved database handling
Introduced DatabaseHandler, DatabaseWrapper and QueryWrapper
2024-02-03 16:50:29 +01:00
Valentino Orlandi 98cb358a15
Upgrade to C++23 2024-02-01 23:09:18 +01:00
Valentino Orlandi 2fb44e00bb
Improved database handling
Added namespace DatabasesNames
2024-02-01 22:58:42 +01:00
Valentino Orlandi 359c7f22e7
Tests improvements
Improved tests against query filters
2024-01-28 17:57:47 +01:00
Valentino Orlandi 292b3aa671
Improved StringOps
Added overloaded method for 'isNumeric' to accept a QString
2024-01-28 17:57:47 +01:00
Valentino Orlandi 57decc0d56
Improved crapview query filters
Removed method 'parseBooleanFilter'
2024-01-28 17:57:09 +01:00
Valentino Orlandi a0f4c9ab57
Moved warnings from database
Warnings are no more checked while parsing logs nor stored in the
database along with other data.
Warnings are now dinamically checked while requesting the statistics so
that warnlists will be more flexible and effective.
2024-01-28 17:49:51 +01:00
Valentino Orlandi 5396d066ff
Updated translation resources 2024-01-27 18:14:19 +01:00
Valentino Orlandi 1b10f57c3d
Updated translation files 2024-01-27 18:13:53 +01:00
Valentino Orlandi 2b60659f6b
Added new dialogs
Configuration related dialogs
2024-01-27 18:13:00 +01:00
Valentino Orlandi 3bd1afa377
Improvements
Improved errors handling while applying configuration from file to
minimize data loss
2024-01-27 18:12:06 +01:00
Valentino Orlandi c1265ae690
Tests improvements
Added tests for the operators with custom behavior
2024-01-22 20:04:52 +01:00
Valentino Orlandi d78936610e
Moved some functions from main lib to MainWindow 2024-01-22 20:01:41 +01:00
Valentino Orlandi 82de6c4ca4
Update 2024-01-22 01:49:22 +01:00
Valentino Orlandi 3ce62bb760
Renamed main lib file 2024-01-22 01:48:23 +01:00
Valentino Orlandi 51ea2de040
Introduced DialogsLevel enum 2024-01-22 01:48:07 +01:00
Valentino Orlandi fd404aef6d
Moved web servers defines file in main lib 2024-01-22 00:54:36 +01:00
Valentino Orlandi 388cef6e41
Updated CMakeLists 2024-01-22 00:15:10 +01:00
Valentino Orlandi 6cba718598
Update 2024-01-22 00:14:26 +01:00
Valentino Orlandi f5c276f6be
Introduced WebServer enum 2024-01-22 00:11:51 +01:00
Valentino Orlandi 8a0bb2046d
Minor code improvements 2024-01-21 21:14:38 +01:00
Valentino Orlandi fc92115597
Code improvements
Improved Craplog methods to handle the elements of the warnlists/
blacklists
2024-01-21 21:08:34 +01:00
Valentino Orlandi e7279651d8
Code improvements
Improved LogsFormat constructor
2024-01-21 20:42:52 +01:00
Valentino Orlandi b48703cf3a
Improvements
Improved code and memory safety for snake game
2024-01-21 20:18:48 +01:00
Valentino Orlandi e9977b8ca3
Code improvements
Added noexcept specifier to all the functions which are not supposed to
throw and/or which eventual exception is not catched anyway
2024-01-21 19:25:11 +01:00
Valentino Orlandi e88625b5bf
Minor code improvements
Added final specifier to all structs and classes
2024-01-21 16:35:00 +01:00
Valentino Orlandi d910069a1b
Minor code improvements
Replaced use of postfix operators with prefix operators.
Replaced manual declarations with Q_DISABLE_COPY_MOVE macro for
FileHandler classes.
2024-01-21 16:05:23 +01:00
Valentino Orlandi 97379cfd17
Updated translation resources 2024-01-21 15:23:32 +01:00
Valentino Orlandi db4b4c6dfa
Updated translation files 2024-01-21 15:23:12 +01:00
Valentino Orlandi 0a7e46bc5d
Fix
Fixed a few typos in the dialogs
2024-01-21 15:14:03 +01:00
Valentino Orlandi a9cb0eb786
Fix
Fixed craplog crash on making a chart with an empty ignoreds-size donut
slice
2024-01-21 14:51:55 +01:00
Valentino Orlandi 5ae72a4c08
Updated CMakeLists.txt 2024-01-21 14:47:01 +01:00
Valentino Orlandi 9ac8e7c5c2
Tests improvements
Added tests for LogLineData and logs parsing
2024-01-21 14:46:27 +01:00
Valentino Orlandi 2bb706b766
Update
Removed async parser related functionalities from Craplog
2024-01-21 14:43:33 +01:00
Valentino Orlandi 837ef418b4
Updated and improved CraplogParser 2024-01-21 14:41:07 +01:00
Valentino Orlandi 58aec99f53
Removed craplog parsers interface
Not needed anymore
2024-01-21 14:30:41 +01:00
Valentino Orlandi 106066abd7
Removed craplog's ParserAsync
Inferior performances compared to Parser
2024-01-21 14:29:46 +01:00
Valentino Orlandi 58a96a1281
Introduced FieldData and LogLineData structs
Used to hold logs data
2024-01-21 14:21:40 +01:00
Valentino Orlandi bd62f5b706
Minor improvements 2024-01-07 19:29:15 +01:00
Valentino Orlandi 569596c10c
Minor fixes 2024-01-07 19:28:49 +01:00
Valentino Orlandi 02457be351
Fix for WIN MSVC 2024-01-07 19:26:00 +01:00
Valentino Orlandi 909ce98c5b
Introduced FileHandler classes
Wrapper classes to handle resources following the RAII principle
2024-01-07 19:14:56 +01:00
Valentino Orlandi 2f8ec16043
Improvements 2023-12-01 22:58:54 +01:00
Valentino Orlandi a49a02195d
Tests improvements
Added test for CharOps functions.
Improved tests for some StringOps functions.
Improved tests for the Nginx and IIS format string parser.
2023-12-01 22:11:17 +01:00
Valentino Orlandi 2dcf0fc59a
Improvements and updates 2023-12-01 22:04:54 +01:00
Valentino Orlandi 1e21756f5c
Code and performance improvements 2023-12-01 22:03:56 +01:00
Valentino Orlandi 697b9fb387
Updated CMakeLists.txt 2023-12-01 21:58:14 +01:00
Valentino Orlandi 4d0d9caec1
Code improvements
Introduced CharOps namespace.
Moved some functions from StringOps to CharOps.
2023-12-01 21:57:40 +01:00
Valentino Orlandi 2c97b90ca3
Improvements
Removed predefined logs formats.
Moved logs format check inside Craplog.
2023-11-28 19:46:23 +01:00
Valentino Orlandi 52489d004d
Updated CMakeLists 2023-10-22 16:56:34 +02:00
Valentino Orlandi 21a40e91c0
Cod improvements 2023-10-22 11:27:18 +02:00
Valentino Orlandi 82fb24f98f
Fix
Fix for clang complaining about missing unordered_map headers
2023-10-10 20:22:36 +02:00
Valentino Orlandi f284930317
Fix 2023-10-08 19:15:38 +02:00
Valentino Orlandi 48b053eae5
Fixes
Fixed tables header height when using themes.
Fixed logs list items font.
2023-10-07 15:00:39 +02:00
Valentino Orlandi 103d46f206
Improvements and fixes
Code improvements.
Fixed compiler warnings.
2023-09-24 20:50:10 +02:00
Valentino Orlandi 15c945f854
Fixes
Fixed C++20 and Qt6 transition issues
2023-09-24 19:51:28 +02:00
Valentino Orlandi da00c1896e
Updated CMakeLists.txt
Updated compilers options and flags
2023-09-24 17:22:56 +02:00
Valentino Orlandi f0525b9e6d
Version upgrade
Upgrade to version 3.00
2023-09-24 17:21:38 +02:00
Valentino Orlandi d345e0c928
Upgrade to Qt6 2023-09-24 17:20:45 +02:00
Valentino Orlandi e9f1a20cac
Upgrade to C++20 2023-09-24 17:17:44 +02:00
Valentino Orlandi 8dd6dc0ff2
Improvements and fixes
Added missing format codes for apache2.
Fixed apache2 format string parser.
2023-09-17 20:21:36 +02:00
Valentino Orlandi 48b97bfe10
Tests improvements
Improved whitebox tests for the apache2 format string parser
2023-09-17 20:17:47 +02:00
Valentino Orlandi b476a2d074
Fixed compilers warnings 2023-09-16 20:28:27 +02:00
Valentino Orlandi 086651959f
Added comilers warning flags to CMakeLists 2023-09-16 19:41:03 +02:00
Valentino Orlandi de80ad20b8
Code improvements 2023-09-16 17:08:27 +02:00
Valentino Orlandi e37f15459c
Code improvements
Improved include guards
2023-09-16 14:09:21 +02:00
Valentino Orlandi 288981743a
Updated translation resources 2023-09-10 19:02:59 +02:00
Valentino Orlandi 294eb79248
Updated translation files 2023-09-10 19:02:24 +02:00
Valentino Orlandi 6a8877e3be
Added stylesheets to the dialogs 2023-09-10 18:54:19 +02:00
Valentino Orlandi 3f043adb52
Improvements
Moved icons set string to GlobalConfigs
2023-09-10 18:50:00 +02:00
Valentino Orlandi 086f24dcee
Fix
Fixed counts statistics pie chart's top slice label partially hidden by
the title
2023-09-10 17:12:36 +02:00
Valentino Orlandi 4267c60026
Fix
Fixed incorrect parsed/warnlisted/blacklisted log data visualization
2023-09-10 17:01:39 +02:00
Valentino Orlandi cae0d8bd1a
Renamed main dialogs 2023-09-10 16:44:30 +02:00
Valentino Orlandi c6aaf88b6f
Introduced GameDialog for games
Moved out from DialogMsg.
Removed Game variant from MsgType enum in DialogMsg.
2023-09-10 16:22:27 +02:00
Valentino Orlandi bdeea864e8
Fix
Fixed speed statistics mean values.
Replaced speed QGradient coordinate mode deprecated variant
ObjectBoundingMode with ObjectMode.
2023-09-10 15:23:02 +02:00
Valentino Orlandi eaa5bf0f86
Fix
Fixed statistics charts' y-axis tick count
2023-09-10 12:50:38 +02:00
Valentino Orlandi 008a6c1720
Fix
Fixed daytime stats showing no data when a mean value results to be less
than 1
2023-09-10 12:27:33 +02:00
Valentino Orlandi 65c0317a4c
Improvements
Updated statistics queries for string type fields to match exact filters
values and not entries which starts with
2023-09-10 12:16:57 +02:00
Valentino Orlandi 1baddb36a2
Updated conf file 2023-09-10 11:55:22 +02:00
Valentino Orlandi 84053cbc27
Introduced CraplogParserInterface
Base class for the Craplog's parsers
2023-09-10 11:27:32 +02:00
Valentino Orlandi 1d47c0a321
Added doc comments to GlobalConfigs 2023-09-09 22:35:48 +02:00
Valentino Orlandi 5fd03b8d32
Update
Removed unused charts' base themes
2023-09-09 22:26:58 +02:00
Valentino Orlandi fe9fd2faa9
Moved themes variables to GlobalConfigs namespace 2023-09-09 22:24:54 +02:00
Valentino Orlandi d18083c567
Fix
Fixed DialogMsg pixmap size when displaying logo
2023-09-09 19:53:34 +02:00
Valentino Orlandi 33b30a7ca1
Introduced use of custom dialogs in games
Added Game variant to MsgType
2023-09-09 19:44:14 +02:00
Valentino Orlandi edcd950204
Improvements
Morphed DialogMsg's type into enum
2023-09-09 19:40:12 +02:00
Valentino Orlandi 020d2d533f
Code improvements 2023-09-09 18:59:43 +02:00
Valentino Orlandi 94db3842f7
Improvements
Added tab key selection order
2023-08-27 21:08:22 +02:00
Valentino Orlandi 5bbd276776
Improvements
Improved charts theme preview.
Made charts theme appling automatically when changed in the configs.
2023-08-27 20:52:54 +02:00
Valentino Orlandi 501a49aa17
Updated charts themes
Updated light/dark themes.
Removed sand/cerulean themes.
2023-08-27 20:48:14 +02:00
Valentino Orlandi 4f98cb5db8
Improvements
Morphed Ui raw pointers into smart pointers.
Removed unnecessary destructors.
2023-08-27 18:49:34 +02:00