894 Commits

Author SHA1 Message Date
590fd624a4
style: adding QT .clang-format (#66) 2024-10-12 21:49:11 +04:00
august-alt
0fcf89a56e chore: update vesion in spec file 2024-10-11 06:33:43 +04:00
3d461644fa
fix: uncorrect work of isSpecialValueName (#84) 2024-10-10 20:41:25 +04:00
august-alt
a4e3418887 chore: update vesion in spec file 2024-10-04 14:20:16 +04:00
f9f3a89a19
fix: ListBox empty valuePrefix and additive attributes (#83)
* fix: add optional behaviour to `valuePrefix` of `PolicyListElement`

* fix: add missing `additive` behaviour to `writeListIntoRegistry`
2024-10-04 14:11:01 +04:00
august-alt
05e9d713c1 chore: update vesion in spec file 0.2.53-alt1 2024-09-16 14:48:42 +04:00
august-alt
880379fe12 feat: add ascii ini plugin 2024-09-16 13:51:16 +04:00
august-alt
1ed9bc7307 chore: update vesion in spec file 2024-09-13 16:14:32 +04:00
august-alt
2bd46f72e7 fix: fix path on remote smb server for comments 2024-09-13 16:12:44 +04:00
august-alt
989db5a752 fix: fix format of the policy string in main window 2024-09-13 16:08:46 +04:00
august-alt
9c316a77f8 chore: update vesion in spec file 2024-09-13 10:17:27 +04:00
august-alt
feed81b903 fix: policy name in scripts dialog 2024-09-13 10:03:27 +04:00
august-alt
876c340a48 chore: update vesion in spec file 2024-09-02 13:38:19 +04:00
august-alt
4664941773 fix: change policy version on each update 2024-09-02 13:23:09 +04:00
august-alt
d6cc694ca8 chore: update vesion in spec file 2024-08-28 15:37:39 +04:00
august-alt
54f76af358 fix: add smb support for comments 2024-08-28 15:28:43 +04:00
august-alt
c997774b35 chore: update vesion in spec file 2024-08-20 14:13:33 +04:00
Ravenwolve
024d757f97
fix: fix description in the script settings window. (#78)
* wip: setText for logonLabel

* wip: add translation for "Script" and "for"

* wip: adding `isUserScripts` field to `ScriptsDialog`

* wip: add `isUserScripts` to `setItem` functions arguments

* wip: remove `setText` from `ScriptsWidget` constructor

* wip: add `setText` to `setItem` of `ScriptsWidget` and `ScriptsPowerShellWidget`

* wip: update translation

* wip: add `gitPolicyName` method for `gpui::MainWindow`

* wip: add mainWindow field to `ScriptsSnapInPrivate`

* wip: remove `logonLabel` rewriting

* wip: add `setDescription` method to rewrite `logonLabel` text with names of script and policy

* wip: update translation

* chore: change "Default Domain Policy" to "Local Group Policy"  in scriptsdialog
2024-08-20 13:29:41 +04:00
ecbc1cbbc3
fix: fix url list based policies (#77)
* wip: add loading, writing and clean-up functions

* wip: checking for empty data in the ListBox when writing.

* wip: set `"**delvals"` value on write ListBox with non-explicit value

* wip: add verify for valuePrefix and explicitValue (they cannot be announced at the same time)

* wip: the read/write/clean code has been replaced with appropriate functions

* fix: invalid valueName/data writing

* fix: compare

* style: `m_source` -> `source`

* style: use `std::remove_if` instead of for

* fix: `AbstractRegistrySource` and `PolRegistrySource`

* fix: the prefix was ignored in `loadListFromRegistry`

* fix: get ValueName list without special records

* wip: refactor `cleanUpListInRegistry` function

* wip: small refactor `writeListIntoRegistry` function

* fix: remove case-insensitive compare

* style: `markValueNamesInKeyForDeletion` -> `markKeyForDeletion`

* fix: value may be empty in case non-explicit value name

* fix: do nothing on empty `valueList`

don't write `"**delvals."`, if nothing to delete.

* fix: check invalid combo before return in case of empty `valueList`

* style: remove unnecessary else

* chore: there is no situation with `return false`

* style: remove unnecessary `return`
2024-08-16 16:16:34 +04:00
11e8095348
fix: fix order of instructions in .pol files (#80)
* fix: rewrite `PolicyTree` type

* fix: rewrite parser to work with new `PolicyTree`

* fix: rewrite polformat to work with new `PolicyTree`

* fix: update test

* fix: incorect `operator==`

* style: remove unnecessary `get()`
2024-08-14 13:43:53 +04:00
e9275cca3a
fix: fix endianness in pol parser tests (#81)
* fix: make test cross-platform

* chore: add `PRegParser` header test (endianness)

* fix: header incorrect endianness
2024-08-14 13:42:21 +04:00
august-alt
6746815394 fix: correct comment save in empty widgets 2024-08-12 18:43:07 +04:00
572b48b43a
fix: make incorrectly saved or displayed comment values correct. (#72)
* fix: comment translation saving/loading paths

* fix: comment translation reload on language change

* wip: remove `cmtl` in `CommentsModel::save` (write to `cmtx`)

* fix: remove `toLower` from folder name
2024-08-12 17:58:49 +04:00
c60dd637d0
fix: use uint64_t instead char[8] in header buffer and valid_header. (#76) 2024-08-09 13:38:29 +04:00
d8d8515b83
fix: cast to char* instead of cast from char* (#74) 2024-08-09 13:37:57 +04:00
august-alt
1c941347f6 chore: update vesion in spec file 2024-08-06 15:16:33 +04:00
3bc4a1abd8
fix: temporary disable validation (#71) 2024-08-06 14:52:34 +04:00
august-alt
721f5f764f chore: update vesion in spec file 2024-08-06 13:01:28 +04:00
361155f763
wip: rewrite pol file serializator/deserializator (#68)
* wip: adding ragel file `pol.rl`

* wip: init cmake

* feat: update cmake files

* fead: add empty `parser.h`

* feat: add ragel to dockerfile

* wip: `libparsepol` adding

* fix: remove unnecessary `std::move`

* chore: remove ragel from docker

* chore: remove unnecessary comments

* chore: splitting tests into different methods

* chore: use `qDebug`/`qWarning`/`qCritical` instead of `std::cout`/`std::cerr`

* chore: use `QCOMPARE` instead of `std::runtime_error`/`assert` in tests

* chore: improve test for `QTest`

* fix: `BE QWORD` -> `LE QWORD`

* fix: allow multiply value with same `keyPath` and `valueName`

* chore: replace preprocessor macros with functions

* style: adding a line between functions

* chroe: small changes

style: small fix code format
wip: use one `uint64_t` variable instead of two `uint32_t` to comparison
fix: adding `Keypath` `Valuename` and type validation into writer

* chore: separate LE and BE tests

* chore: throw exception on `REG_NONE` and invalid iconv descriptor

* style: remove `./` from includes

* style: rename some functions

`bufferToString` -> `readStringFromBuffer`, `stringToBuffer` -> `writeStringToBuffer`,
`bufferToStrings` -> `readStringsFromBuffer`,
`stringsToBuffer` -> `writeStringsFromBuffer`,
`bufferToVector` -> `readVectorFromBuffer`,
`vectorToBuffer` -> `writeVectorToBuffer`,

* chore: minimize `getType`

* chore: rename `bufferToIntegral` -> `readIntegralFromBuffer`, `integralToBuffer` -> `writeIntegralToBuffer`

* chore: add new constants and use it insted of `reinterpret_cast<iconv_t>(-1)` and `reinterpret_cast<size_t>(-1)`

* chore: remove missing `./`

* chore: add missing include

* fix: rename `LittleEngian` -> `LittleEndian`

* fix: removing unnecessary PolicyBody

* chore: make `PRegParser` final and make all methods  non-virtual

* chore: remove unnecessary include

* style: rename iconv descriptors

* style: fix style
2024-08-05 15:56:14 +04:00
703563ff7b
fix: attempt to open a CMTL file in another directory (#70) 2024-08-02 15:32:02 +04:00
47a38be21a
fix: The policy options "file search service" are not working correctly (#64)
* wip: adding `BooleanValue`

* wip: adding `BooleanList` to `PolicyBoolElement`

* wip: formatting with QT `.clang-format`

* wip: improve BooleanValue with `union` for fields and cctor mctor

* wip: adding long decimal

* wip: adding some methods and small refactor

* wip: extend `XsdBooleanElementAdapter`

* wip: adding trueList/falseList support `PresentationBuilderPrivate`

* wip: fix constructors

* wip: fix adding return statement to `XsdListToAdmxBooleanList`

* fix: refactoring the code for the plugin architecture

* fix: removing unnecessary return

* style: removing unnecessary \n

* fix: write `trueValue`/`falseValue` into `trueList`/`falseList` in Admx `BooleanValue`

* wip: rearranging fields in `BooleanValue`

* fix: code refactoring with adding normal support `trueValue`/`falseValue` and `trueList`/`falseList`
2024-07-25 12:52:37 +04:00
august-alt
ef3db641f3 feat: add ragel to Dockerfile 2024-07-24 17:19:49 +04:00
9cdd285a42
feat: set c++ version to c++-17 (#67) 2024-07-24 09:43:33 +04:00
3e30fc6a15
feat: adding vscode settings folder to .gitignore (#65) 2024-07-18 23:36:00 +04:00
august-alt
c21ab68372 chore: update vesion in spec file 2024-06-14 11:33:24 +04:00
august-alt
bd1640f21d feat: load and save gpt.ini 2024-06-12 02:02:10 +04:00
august-alt
7a078218a8 fix: fix ini file format in gptiniutils 2024-06-12 02:01:38 +04:00
august-alt
b79b101a43 fix: fix version in gpt.ini file 2024-06-12 02:00:54 +04:00
august-alt
7b78be2ea0 chore: refactor ini format 2024-06-11 03:19:02 +04:00
august-alt
4af5d15a18 feat: add gpt ini util 2024-06-11 03:06:36 +04:00
august-alt
c5da19c2d4 chore: update vesion in spec file 2024-04-01 15:06:53 +04:00
august-alt
71cd6973e6 fix: fix memory leak in ini plugin 2024-04-01 14:58:32 +04:00
august-alt
3f13d0608c fix: fix attributes group box size 2024-03-25 01:28:40 +04:00
august-alt
b0b170a9c4 fix: fix issue #47727 2024-03-25 00:32:16 +04:00
august-alt
7a667924d6 chore: update vesion in spec file 0.2.43 2024-03-15 13:45:36 +04:00
august-alt
b2f2b02e40 fix: fix link with libsmbclient 2024-03-15 13:24:54 +04:00
august-alt
c651dc0eb8 feat: remove samba parts from project 2024-03-15 13:24:18 +04:00
august-alt
116da00491 chore: update vesion in spec file 0.2.42 2024-03-06 23:56:08 +04:00
august-alt
37ef0bc2a5 feat: add translations to selectvariabledialog 2024-03-05 16:55:29 +04:00
august-alt
9ea7f354c9 feat: add doubleclick to selectvariabledialog 2024-03-05 16:23:40 +04:00