815 Commits

Author SHA1 Message Date
august-alt
bf7b1a6d29 feat: add files dialog empty filename check 2023-09-27 17:59:17 +04:00
august-alt
ec545987a2 fix: fix issue #47553 2023-09-22 16:03:06 +04:00
august-alt
7c42f9b19e fix: add section name to script folder path in scripts plugin 2023-09-18 13:57:20 +04:00
august-alt
f23b5f905a feat: update desktop files 2023-09-05 17:24:53 +04:00
august-alt
004792536d chore: update vesion in spec file 2023-09-04 15:43:12 +04:00
august-alt
65444d0218 fix: fix issue #47437 - add language list translation 2023-09-04 15:38:47 +04:00
august-alt
5e06fff5cc fix!: temporary remove browse button from add scripts widget 2023-09-04 15:12:07 +04:00
august-alt
d0e9ca45c7 fix: fix issue #109650 - improve translation 2023-09-04 15:04:37 +04:00
august-alt
101115b8e8 fix: fix script file encoding 2023-09-04 14:38:22 +04:00
august-alt
0cb3eb7412 chore: update vesion in spec file 2023-09-01 13:40:47 +04:00
august-alt
22667dab24 fix: fix issue #47137 2023-09-01 13:38:17 +04:00
august-alt
542cc0b420 chore: refactor logging in plugins 2023-09-01 13:27:57 +04:00
august-alt
6c54698876 fix: remove perror flag from syslog logger 2023-09-01 13:27:36 +04:00
Michael Chernigin
a9bb55ebc5
docs: add logger options to man (#61) 2023-08-31 17:25:54 +04:00
Michael Chernigin
361d3a0944
docs: logger class doxygen docs (#60)
* docs: logger doxygen docs

* fix: docs typos
2023-08-29 18:42:07 +04:00
august-alt
915cd6a68e fix: fix sisyphus build 2023-08-25 15:12:45 +04:00
august-alt
cc6efaa434 fix: fix sisyphus build 2023-08-25 14:53:23 +04:00
Michael Chernigin
36da75f293
feat: set logger levels from cli (#59)
* feat: set logger levels from cli

* feat: add default log levels

* feat: translations for logger cli options

* refactor: extract handleLoggerOption into method

* refactor: make both showHelp and showVersion exit
2023-08-25 14:29:25 +04:00
Michael Chernigin
07b9b3b5a4
feat: logger (#58)
* feat: implementation of syslog logger

* feat: implementation of file logger

* feat: show time for each logged message in file and console loggers

* refactor: more convenient log masks

* refactor: move logger files into its own directory inside core

* chore: changed all qt logs to use new logger

* chore: remove unnecessery changes

* fix: creating log file in FileLogger

* refactor: refactor logger stream to have private class

* chore: remove unnecessery logs in main

* feat: make logger thread safe

* chore: get back to qt logger

* feat: enable qt-logger

* feat: logger class

* refactor: rename abstractlogger.[ch] into logger.[ch]

* chore: remove now unneeded implementation of logger stream

* chore: remove unneeded getInstance in logger manager

* refactor: use qt's log level instead

* refactor: switch between msgType instead of having a function for each

* refactor: prelude.h to include everything needed for logger
2023-08-22 17:00:12 +04:00
Michael Chernigin
ac294b87e9
ci: build and test using clang (#57)
* chore: add llvm-common to build container

* ci: run tests also on clang

* ci: run ci on all branches

* ci: fix if for clang

* fix: change package to llvm15.0

* chore: fix clang warning about assignment inside if
2023-08-21 15:59:25 +04:00
august-alt
5bd75968c8 feat: add translations for path and arguments 2023-08-07 13:43:21 +04:00
Michael Chernigin
574e7bbe48
fix: script dialog (#51)
* refactor: refactor addscriptwidget so it does not create empty item on Add

* refactor: remove check for rootItem and at this point unused findRoot function

* refactor: rename Scripts Parameters to Script Arguments in ui files

* feat: validate script before adding and notify if script path is empty

* refactor: remove not needed delegate and mapper objects from base script widget

* refactor: cleanup ui of scripts widget

* fix: fix typo in translation

* fix: open scripts directory on smb

* revert: "refactor: cleanup ui of scripts widget"

This reverts commit 28a954d9e7f9a32e8345dd41606aec6e74f345e6.

* chore: don't change formatting in scriptssnapinprivate.cpp

* fix: restrict how big script dialog can be
2023-08-04 16:48:27 +04:00
august-alt
47d8c78834
Revert "fix: fix show files button in script dialog during smb connection" (#50)
This reverts commit 742e30b6a438c3667a29e07dc99352545639c299.
2023-08-04 16:31:10 +04:00
Michael Chernigin
742e30b6a4
fix: fix show files button in script dialog during smb connection
* refactor: refactor addscriptwidget so it does not create empty item on Add

* refactor: remove check for rootItem and at this point unused findRoot function

* refactor: rename Scripts Parameters to Script Arguments in ui files

* feat: validate script before adding and notify if script path is empty

* refactor: remove not needed delegate and mapper objects from base script widget

* refactor: cleanup ui of scripts widget

* fix: fix typo in translation

* fix: open scripts directory on smb
2023-08-03 19:07:46 +04:00
Michael Chernigin
0dccea4c98
fix: remove certain pipeline elements from execution on pull request ci (#46)
* fix: don't publish container and artifacts on pull request

* fix: don't depend on gpui-build-container in other jobs if pull request

* chore: try to move conditions inside jobs

* chore: try to move condition inside each step
2023-07-31 13:57:39 +04:00
august-alt
97e22c75b5 chore: update vesion in spec file 2023-07-21 17:38:17 +04:00
Michael Chernigin
6c9d4993c3
feat: improve filter dialog (#45)
* feat: implement 'and' and 'or' elements of definitions

* fix: add product adapter to admxformat

* feat: add comments to policy bundle

* feat: update debug output

* fix!: fix hasher-useradd usage

* feat: filter dialog shows available products tree

* feat: recursively select children

* feat: allow to resize filter dialog

* chore: uncheck parent on child uncheck

* fix: get filter returns only leafs and uncheck parent on item uncheck

* chore [wip]: get both name and display name on platforms in filter

* chore: provide supported on defenitions in filter

* chore: update of filter logic: still need to figure out way to find index in a platform tree

* fix: fix keyword filter

* fix: supported on field in policy interface

* feat: find actual index in a tree

* fix: correct supported on display text in policy view

* fix: fix always passing filter ie

* chore: speed up filterPatform by caching already found platforms in a tree

* refactor: refactor building cache

* fix: fix filter dialog translating on language change in runtime

* chore: make translations of keyword search options clear

* chore: close dialog when main window closes

* refactor: move getPlatformIndex into PlatformModel

* fix: fix segfault on language change after applying platform filters by rebuilding cache

* Revert "chore: close dialog when main window closes"

This reverts commit 2c428b004dea7e77e3c8da722e8eaaf2a7d01402.

* fix: clean all filters when language changes

* refactor: rename retranslateMenuItems to setMenuItemNames

* fix: add qstring hash and missing header

* fix: add qstring hash only if QT version is below 5.14

* feat: implement partially checked check boxes in platform tree

---------

Co-authored-by: august-alt <77973983+august-alt@users.noreply.github.com>
2023-07-21 17:22:04 +04:00
august-alt
0638908843 chore: update vesion in spec file 2023-07-19 16:58:46 +04:00
august-alt
59944735a1
fix: fix multiple errors in scripts implementation (#44)
Following changes were made:
- fix: add sections to scripts
- fix: fix scripts display
- fix: fix logic of scripts loading
- fix: fix no section crash
- fix: scripts plugin: change ini files path and create default dirs
- fix: create folder for scripts
- fix: improve debug of genericwriter
- fix: fix add script widget navigation order
- fix: disable edit triggers in script widget
- fix: fix scripts category in scriptssnapinprivate.cpp
- feat: add power shell script order entries to combobox
- feat: set format to be utf16le in ini files
- feat: disable order widget
- fix: fix conversion to wide characters in iniformat
- chore: refactor io generic writer
2023-07-19 16:54:40 +04:00
august-alt
69aaf409b5 chore: update vesion in spec file 2023-07-14 11:36:50 +04:00
august-alt
68e603d4c7
fix: fix comment file name (#43)
Following fixes were added:
- Adjust localized comments.
- Fix comment file name.
- Fix cmtx schema to support proper revision, version and minRequiredVersion.
2023-07-14 11:33:28 +04:00
august-alt
82f40833c1 chore: update vesion in spec file 2023-07-13 17:46:25 +04:00
august-alt
99caf792ff
feat: create comments plugin (#41)
Following actions were taken:
-feat: add cmtx plugin format
-feat: add cmtl plugin format
-feat: add comments plugin
-feat: add xsdcommentsadapter
-fix: fix spec file
-feat: add policy comment file
-fix: fix cmtx.xsd schema
-feat: add policy namespaces
-feat: add comment resources file implementation
-feat: implement cmtl format
-fix: fix cmtl plugin
-feat: implement adater for cmtl file
-chore: move headers to model folder
-feat: add bulk of comment snap-in
-chore: move comments model to administrative templates plugin
-feat: add comments model
-fix: fix spec file
-feat: implement comment loading
-fix: implement policy search
-feat: implement schema adapter
-feat: implement policy namespace parsing
-feat: started to implement comment saving
-feat: unify interface of comment files
-fix: fix null pointer
-feat: update save procedure
-feat: add namespace definition
-fix: fix comment text and namespace value
-fix: append namespaces
-fix: fix resource names
-fix: fix namespace model
-fix: fix namespace indices
-fix: fix addition of comments to model
-fix: prevent save of empty comments
2023-07-13 15:47:28 +04:00
august-alt
b56f3b2b6c feat: update .gitignore 2023-06-29 15:33:40 +04:00
august-alt
f0c998f4f9 feat: remove auto generated files 2023-06-29 15:33:40 +04:00
august-alt
f8324b0c75 chore: refactor preferences cmakelists.txt to use xsdutils 2023-06-29 15:16:27 +04:00
august-alt
85d45fe0d8 feat: add cmtx schema 2023-06-29 15:09:52 +04:00
august-alt
770b326d12 feat: add cmtl schema 2023-06-29 15:09:07 +04:00
august-alt
f8df2ad964 feat: add xsd utils for libraries 2023-06-29 15:08:40 +04:00
august-alt
517fdf5040 fix!: fix hasher-useradd usage 2023-06-28 17:46:14 +04:00
august-alt
8037f35de8 build!: remove codeql workflow 2023-06-28 16:59:47 +04:00
august-alt
c5a3b095d4 fix!: replace numbers with constants for parent and current uuid roles 2023-06-27 16:55:54 +04:00
august-alt
f13ddd33ad chore: remove unused element from template filter ui 2023-06-26 12:55:53 +04:00
Michael Chernigin
9a58d94c35
chore: refactor filter model and dialog (#40)
* refactor: refactoring of filter model

* refactor: more refactoring of filter model diaglog

* chore: hide inactive managed and commented options

* fix: one less memory leak

* chore: added paranthesis in logical expr
2023-06-26 12:27:21 +04:00
august-alt
8cef289f46 fix!: add #include <cstdint> to pregdata.h 2023-06-21 15:20:31 +04:00
august-alt
67613c6047 chore: update vesion in spec file 2023-06-21 15:11:18 +04:00
august-alt
6ca0b1e5d7 fix: fix filter and platform models update 2023-06-21 14:37:03 +04:00
august-alt
fec1ceb62f feat: add check for compiler flag support 2023-06-20 19:39:49 +04:00
august-alt
9db5f1fea5 feat!: switch to cmake 3.14 or higher 2023-06-20 19:39:23 +04:00
august-alt
df0b86ac75 chore: update vesion in spec file 2023-06-20 19:15:23 +04:00