1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-14 08:58:19 +03:00

370 Commits

Author SHA1 Message Date
Semyon Knyazev
579cda7579 Update license years 2025-03-04 03:28:04 +04:00
Semyon Knyazev
26d424122b Fix policy results widget's tests 2025-03-04 03:28:04 +04:00
Semyon Knyazev
8b8efd8c51 Fix create object dialog test's name autofill 2025-03-04 03:28:04 +04:00
Gleb Popov
ece1ba8644 Remove unused variable 2024-12-10 22:14:40 +04:00
Semyon Knyazev
dafb5dfd27 Fix tests fail occured due to arbitrary dc connection attempt 2024-12-05 20:12:24 +04:00
Semyon Knyazev
fd7436d172 Fix and refactor ad_security tests 2024-12-05 20:12:24 +04:00
Semyon Knyazev
e9ccdb843d Rename right state getter function 2024-12-05 20:12:24 +04:00
Semyon Knyazev
44e6c8c35b Add operator ==, inherited type and flags to SecurityRight class
Inherited type and flags are needed to implement inheritable ACEs.
SecurityRights instances are also supplemented by default inherited
type and flags values.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
54215824e6 ad_security refactor: unite access mask and object type args
These parameters are combined into (already existing) SecurityRight struct.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
ed52c5764d Arranging widgets
Move widgets and dialogs to appropriate dirs.
2024-06-27 22:34:39 +04:00
Semyon Knyazev
a5255dc14a Add optional attribute values loading to attribute tab
If "Load optional attribute values" main window option is checked,
optional attribute values will be loaded after object properties
opening. With not checked option values can be loaded with
corresponding button in attribute tab.
2024-02-19 22:48:59 +04:00
Semyon Knyazev
fd65784f34 Fix gplink test wrong order expectations 2024-02-15 20:09:22 +04:00
Semyon Knyazev
1c1e83b59d Fixed errors after DC selection.
AdInterface object's actual DC and LDAP connection member
values didn't change after PDC Emulator connection move, it's fixed.
Message about failed connection to DC stored in the settings is
also removed (because it spam after kinit in other domain).
2023-09-01 17:24:11 +04:00
Semyon Knyazev
31ef3da073 Test admc_test_gplink is fixed 2023-09-01 17:24:11 +04:00
Semyon Knyazev
d396fc078b Policy OU results widget test is temporarily removed. 2023-09-01 17:24:11 +04:00
Semyon Knyazev
fb082f998d Inherited policies tab for OU is added
Organizational unit's inherited policies are added to
corresponing tab in OU result widget. Also inherited policies
list is added to OU properties group tab.
2023-07-05 22:59:48 +04:00
Ivan A. Melnikov
e359cdfa1f chore: Apply the reset fixes generated by clang-format 2023-02-15 00:57:55 +04:00
Ivan A. Melnikov
9178e0af4b chore: Initializer list formatting
Add trailing comma for consistency.
2023-02-15 00:57:05 +04:00
Ivan A. Melnikov
65e7fc9905 chore: Sort includes
Our clang-format configuration requries that.
2023-02-14 16:06:23 +04:00
Ivan A. Melnikov
d2b39ca38f chore: Remove trailing whitespace from sources
Our clang-format config prohibits them.
2023-02-14 16:05:52 +04:00
Evgeny Sinelnikov
2caf439615 Merge remote-tracking branch 'origin/master' into sisyphus 2022-10-25 08:20:15 +04:00
Dmitry Degtyarev
b23929a989 fix test for find policy dialog
closes #366
2022-07-08 11:40:32 +04:00
Dmitry Degtyarev
387f90edb4
Merge pull request #364 from altlinux/find-policy
Find policy dialog
2022-07-06 13:51:32 +04:00
Dmitry Degtyarev
cfe017cd94 Merge branch 'release/0-10-0-test' into sisyphus 2022-06-30 15:19:51 +04:00
Dmitry Degtyarev
1c0194de97 add Gplink::get_gpo_order()
and tests
needed for other tests, not for normal usage
2022-06-27 09:53:31 +04:00
Dmitry Degtyarev
b07173bf8b improve tests for policy ou results
check gplink state in addition to checking app state
2022-06-27 09:52:19 +04:00
Dmitry Degtyarev
fe0a8148fd add more tests for policy ou results
tests for remove_link(), move_up(), move_down()
move column enum to private header so it can be shared with tests
check for policy_root validity in results widget because test
\ runs without policy tree in console
2022-06-27 09:52:12 +04:00
Dmitry Degtyarev
ee81eb7f3d add test for filter value 2022-06-24 12:19:19 +04:00
Dmitry Degtyarev
3de4631cee add test for add_filter() 2022-06-24 12:06:13 +04:00
Dmitry Degtyarev
66f915aa63 add test for policy results delete_link() 2022-06-22 16:49:46 +04:00
Dmitry Degtyarev
d28653f121 improve tests for policy ou results
check gplink state in addition to checking app state
2022-06-17 13:32:28 +04:00
Dmitry Degtyarev
273727035c add Gplink::get_gpo_order()
and tests
needed for other tests, not for normal usage
2022-06-17 13:22:23 +04:00
Dmitry Degtyarev
b238fde0f8 add more tests for policy ou results
tests for remove_link(), move_up(), move_down()
move column enum to private header so it can be shared with tests
check for policy_root validity in results widget because test
\ runs without policy tree in console
2022-06-16 16:38:41 +04:00
Dmitry Degtyarev
3d6f33e392 remove unused init_test_case() 2022-06-15 14:45:43 +04:00
Dmitry Degtyarev
e08f50d8ec Merge branch 'release/0-10-0-test' into sisyphus 2022-06-15 11:31:42 +04:00
Dmitry Degtyarev
ab4a384444 fix test for string other edit 2022-06-10 16:32:59 +04:00
Dmitry Degtyarev
64ac17bc46 remove calls to QList::toSet()
it's deprecated
2022-06-09 16:24:45 +04:00
Dmitry Degtyarev
690e66f47c fix test for policy ou results 2022-06-09 14:03:33 +04:00
Dmitry Degtyarev
982d9964ba fix tests that use string dialog
qlineedit changed to qplaintextedit
2022-06-09 14:00:39 +04:00
Dmitry Degtyarev
1312a71fa8 add test for string dialog length limit 2022-06-02 16:01:18 +04:00
Dmitry Degtyarev
8a5080f41d improve tests for string dialog
to be similar to tests for number attribute dialog
initTestCase_data() is hard to work with
2022-06-02 15:42:32 +04:00
Dmitry Degtyarev
48a4c2a1af make string attribute dialog bigger
use QPlainTextEdit instead of QLineEdit
move special case for max length of upn suffixes into utils.cpp
\ because old way won't work with QPlainTextEdit
2022-06-02 14:09:06 +04:00
Dmitry Degtyarev
7fce6acfb4 make a separate attribute dialog for numbers
basically a copy of string attribute dialog
need to separate because will be changing widget for string attribute
\ dialog to a QPlainTextEdit which is not appropriate for numbers
add test for number validation
2022-06-02 13:38:03 +04:00
kevl
3fb382a61f remove unused test_gplink_equality() 2022-05-30 11:39:49 +04:00
kevl
49a38fc4a9 change domain string in gplink test
so that it's obvious that test values do not depend on current
\ domain setup
2022-05-27 16:21:05 +04:00
kevl
6e39c33496 revert addition of adconfig to gplink test 2022-05-27 16:20:00 +04:00
kevl
9191bcbfec test Gplink::get_gpo_list()
modify gplink test to have access to adconfig
2022-05-27 15:49:46 +04:00
kevl
4943a644fa add test for policy ou results 2022-05-25 10:59:23 +04:00
Dmitry Degtyarev
7e122b2839 add dn_edit
used to be a special case of string_edit, but it's better
\ as a separate entity
add test for dn_edit
2022-04-25 15:18:19 +04:00
Dmitry Degtyarev
00f7c13d51 update license year to 2022 2022-04-06 15:59:32 +04:00