1
0
mirror of https://github.com/altlinux/admc.git synced 2024-10-26 17:25:38 +03:00
Commit Graph

3409 Commits

Author SHA1 Message Date
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
aa0e773dbf update translation 2022-06-23 12:10:05 +04:00
Dmitry Degtyarev
41eec5af3d temporarily fill ru changelog
with en changelog
will translate later
2022-06-23 11:53:25 +04:00
Dmitry Degtyarev
e5044093c3 fix icons for "create" actions in toolbar
use get_object_icon() because it has fallback variants
add get_object_icon() variant that takes object category as arg
2022-06-22 12:49:45 +04:00
Dmitry Degtyarev
edc16ca32d fix description bar squishing scope pane
when selected item's name is too long and description bar
\ needs to display it, it got resized and ended up resizing
\ scope pane to it's minimum width
fix by word wrapping labels in description bar
2022-06-21 16:13:59 +04:00
Dmitry Degtyarev
077c65497f add "order" column to policy ou results
sort by this column by default
2022-06-20 13:39:02 +04:00
Dmitry Degtyarev
69cc76726d fix crash in policy tree
when changing properties for OU's
console_object_load() cannot be called on rows for policy OU's
\ because those rows are different widths from object tree ou rows
policy_ou_impl_load_row() already does what's necessary
2022-06-20 10:22:36 +04:00
Dmitry Degtyarev
2534e1bee5 fix incorrect isEmpty() call in console 2022-06-15 15:48:19 +04:00
Dmitry Degtyarev
ee332fedf0 fix incorrect isValid() calls
they were negated when they shouldn't be
2022-06-15 15:00:57 +04:00
Dmitry Degtyarev
3b7c1f3eb1 add libsasl2-plugin-gssapi runtime req
probably wasn't caught because this package is a dependency
\ for sssd-krb5-common which is installed by most users
2022-06-15 11:30:01 +04:00
Dmitry Degtyarev
c6738e6ccc match test order in spec and cmakelists 2022-06-14 16:04:57 +04:00
Dmitry Degtyarev
ca6ee90199 add missing test binary to spec 2022-06-14 16:04:10 +04:00
Dmitry Degtyarev
29be65a42b add single versions of search_items()
use it where single results are expected
add missing validity check to console_object_move_and_rename()
2022-06-14 14:21:26 +04:00
Dmitry Degtyarev
aa0379c84b fix console_object_create()
fix apply() f-n skipping policy branch step if no parent in object
\ branch was found
fix apply() not checking list size before using search results
\ from policy branch
2022-06-14 12:56:24 +04:00
Dmitry Degtyarev
ba88f638fe remove the rest of workflow files 2022-06-14 11:13:28 +04:00
Dmitry Degtyarev
2386f32384 remove github workflow
because it's broken
2022-06-14 11:10:45 +04:00
Dmitry Degtyarev
947c9df271 fix warnings about unused vars 2022-06-10 16:59:28 +04:00
Dmitry Degtyarev
e142016d04 fix usage of deprecated version of QString::split 2022-06-10 16:57:11 +04:00
Dmitry Degtyarev
904becc8d1 remove usage of deprecated QSet::toList() 2022-06-10 16:52:57 +04:00
Dmitry Degtyarev
ab4a384444 fix test for string other edit 2022-06-10 16:32:59 +04:00
Dmitry Degtyarev
76e02da0e7 fix crash from PolicyOU properties
was using console_object_load() for PolicyOU's
use load() f-n specific to PolicyOU's instead
2022-06-10 16:04:42 +04:00
Dmitry Degtyarev
f5df31866a fix usage of invalid role for PolicyOU
PolicyOU's don't have "ObjectRole_ObjectClasses"
2022-06-10 15:58:41 +04:00
Dmitry Degtyarev
20cf248670 remove unused console_object_is_ou() 2022-06-10 15:20:46 +04:00
Dmitry Degtyarev
c5fbcb64e5 fix crash when renaming in policy tree
renaming ou's
happened because was using ObjectRole_ObjectClasses which PolicyOU's
\ don't have
2022-06-10 15:19:41 +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
18d838d9d3 update changelog
reorder entries
2022-06-09 12:00:21 +04:00
Dmitry Degtyarev
fa17f68c1d update translation 2022-06-09 11:20:03 +04:00
Dmitry Degtyarev
e070ecb766 update changelog 2022-06-09 11:15:47 +04:00
Dmitry Degtyarev
b150dc888b fix policy icons
in select policy dialog and "all policies" folder
search for all attributes instead of just display name so that
\ "object category" is loaded. It's required to know which icon
\ to use
2022-06-08 13:36:48 +04:00
Dmitry Degtyarev
92f4fcf915 trim name input of query folder and items 2022-06-08 11:20:20 +04:00
Dmitry Degtyarev
9c270134f9 trim spaces in policy name input 2022-06-08 11:19:03 +04:00
Dmitry Degtyarev
bed87bbb76 fix unescaped names during renames
escape name in dn_rename() so that when renaming objects
\ and adding chars that need to be escaped, dn doesn't get broken
2022-06-08 11:07:29 +04:00
Dmitry Degtyarev
be3b850e20 fix scope view eliding long items
long items can now be fully viewed with a scrollbar
2022-06-07 15:44:30 +04:00
Dmitry Degtyarev
5c0d3b8624 disable context menu for menubar in find dialog
this removes unneeded default context menu with "What's this" action
2022-06-02 16:45:24 +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
5d350980c0 improve comments for console impls 2022-05-31 16:52:15 +04:00
Dmitry Degtyarev
bde9964175
Merge pull request #362 from altlinux/improve-policy-tree
Improve policy tree
2022-05-31 16:38:45 +04:00
Dmitry Degtyarev
36d179feb9
Merge branch 'master' into improve-policy-tree 2022-05-31 16:34:13 +04:00
kevl
4d5f860c2f add index_is_domain()
removes duplication of "is domain" code
2022-05-31 14:46:43 +04:00
kevl
9cf42d4f84 don't add "delete" and "rename" actions to domain
in policy tree
2022-05-31 14:44:36 +04:00
kevl
c7c20a7739 remove unused f-n 2022-05-31 14:43:13 +04:00
kevl
5e8bff91a7 fix icons for policies not matching
use get_object_icon() everywhere
2022-05-31 14:41:46 +04:00
kevl
0235756681 trim includes 2022-05-31 11:29:32 +04:00
kevl
3d55c7198f fix object impl not updating buddy console
after properties is applied
2022-05-31 11:23:38 +04:00