1
0
mirror of https://github.com/altlinux/admc.git synced 2025-01-24 14:12:38 +03:00

2946 Commits

Author SHA1 Message Date
Dmitry Degtyarev
85f17f92ac bump 0.9.0 2021-11-10 16:59:20 +04:00
Dmitry Degtyarev
b1bd6340d7 add -Wno-error=deprecated-declarations
qt versions on p9 and p10 are so different that p10 has deprecations
\ that can't be fixed on p9!
so have to make deprecations into warnings, to be able to build for p10
2021-11-10 16:58:54 +04:00
Dmitry Degtyarev
073e71fc85 remove private slots section to avoid auto connect
to get rid of these errors:
"QMetaObject::connectSlotsByName: No matching signal for on_x()"
2021-11-10 12:43:25 +04:00
Dmitry Degtyarev
2d981966e8 update translation 2021-11-10 12:42:14 +04:00
Dmitry Degtyarev
723d28d439 todo review
remove outdated todo's
policy results widget todo: dont need to sync policy results widget with
\ group policy tab because policy results always fetches fresh state
\ on selection
some todo's became notes
some old todo's were deleted because they were old
2021-11-10 12:41:36 +04:00
Dmitry Degtyarev
7554b1c030 handle search thread failing to connect
in find widget and console
display an error
2021-11-10 12:33:38 +04:00
Dmitry Degtyarev
34d0ea9c6e update translation
fix some dialog titles being translated to start with "noun"
\ instead of "action"
2021-11-10 12:13:44 +04:00
Dmitry Degtyarev
fac1254e0c fix some dialog titles
so that they match with text of action/button that opens them
2021-11-10 12:00:12 +04:00
Dmitry Degtyarev
68249dc4ea fix handling of empty value in octet dialog
was returning a list with blank string, now correctly returns empty list
2021-11-10 11:01:43 +04:00
Dmitry Degtyarev
529356e9d5 update attribute dialog tests 2021-11-10 11:01:01 +04:00
Dmitry Degtyarev
b171d21d0b simply attribute dialogs
merge setters into ctor
presence of setters implied and required reusability
2021-11-10 10:30:30 +04:00
Dmitry Degtyarev
23811554b9 changelog 2021-11-09 17:27:20 +04:00
Dmitry Degtyarev
987db3af92 fix attribute view 2021-11-09 16:55:28 +04:00
Dmitry Degtyarev
b53de608b4 fix tests compilation
broken due attribute dialog rename
2021-11-09 16:53:13 +04:00
Dmitry Degtyarev
4d302b083c implement non-readonly datetime attr dialog 2021-11-09 16:52:56 +04:00
Dmitry Degtyarev
2b19a1a7dd rename edits and multi_edits folders 2021-11-09 16:35:31 +04:00
Dmitry Degtyarev
55e2e7c7e7 rename attribute editors to dialogs 2021-11-09 16:25:26 +04:00
Dmitry Degtyarev
1089562c9a update translation 2021-11-09 13:41:10 +04:00
Dmitry Degtyarev
8511d9c9c9 simplify editor title generation
generate in base class
use same attribute strings for both editor titles and attributes tab
\ type column
move attribute_type_display_string() to ad_utils
2021-11-09 13:37:23 +04:00
Dmitry Degtyarev
c0267d7d00 fix editors in attributes tab 2021-11-09 12:57:18 +04:00
Dmitry Degtyarev
f653796c6c hide add/remove buttons in read only multi editor
before was disabling them, hiding is better
2021-11-09 12:17:11 +04:00
Dmitry Degtyarev
ac20768fa7 set read only for editors explicitly
not withing editors
remove AttributeEditor::accept() hack
attributes tab now just ignores accept() for read only editors
add view button to attributes tab
disable edit/view buttons in attributes tab when no selection
2021-11-09 12:15:52 +04:00
Dmitry Degtyarev
ac84502561 remove editing from multi editor
via double click
can only add/remove
2021-11-09 11:42:17 +04:00
Dmitry Degtyarev
74e06e0d23 use message_box_warning() in policy results widget 2021-11-08 17:48:29 +04:00
Dmitry Degtyarev
70c9739055 fix sync warning dialog
make it transient
remove stray accepted() slot
2021-11-08 17:45:52 +04:00
Dmitry Degtyarev
e45395b551 fix query item creation 2021-11-08 17:42:34 +04:00
Dmitry Degtyarev
ab7b33e52b add default name generation to query folders
share code with policy creation
2021-11-08 17:41:21 +04:00
Dmitry Degtyarev
f2e41a9e57 redo status global
can be initialized as extern var now that it doesn't create widgets
2021-11-08 17:19:30 +04:00
Dmitry Degtyarev
054c0ce46e get rid of init()'s
use global adconfig everywhere, not a problem anymore with two step
\ init of the app
create set_classes() and set_default_base() f-ns to replace init()
2021-11-08 17:17:28 +04:00
Dmitry Degtyarev
5f6c96018e remove outdated todo 2021-11-08 16:40:28 +04:00
Dmitry Degtyarev
cf40d6ad1b fix ambigious ui widget names 2021-11-08 16:39:13 +04:00
Dmitry Degtyarev
b8e957e4c5 fix state key 2021-11-08 16:37:46 +04:00
Dmitry Degtyarev
98cbf7c369 update translation 2021-11-08 16:36:55 +04:00
Dmitry Degtyarev
8b24e793c1 move class filter widget to filter widget folder 2021-11-08 16:36:19 +04:00
Dmitry Degtyarev
865067e81c rename filter classes widget
to class filter widget
select classes dialog -> class filter dialog
2021-11-08 16:33:34 +04:00
Dmitry Degtyarev
1fe6459c16 fix usage of filter classes widget
remove get_selected_classes_display(), instead convert classes to
\ display class strings in select classes widget
fix state management of select classes dialog
in console filter dialog, that state IS saved and restored
in select classes widget that state is not used
instead we use the selected_list
2021-11-08 16:26:07 +04:00
Dmitry Degtyarev
05e0939466 rework more dialogs 2021-11-08 15:44:07 +04:00
Dmitry Degtyarev
a70a437606 update translation 2021-11-08 14:49:14 +04:00
Dmitry Degtyarev
b0c3469b17 don't manage state inside filter dialog
remove save/restore on open/reject because dialog is not
\ reused anymore so not relevant
2021-11-08 14:45:10 +04:00
Dmitry Degtyarev
ae90299c69 rework logon hours to not reuse dialog 2021-11-08 14:43:12 +04:00
Dmitry Degtyarev
6a6967d3c8 rework logon computers dialog
to not reuse
fix tests
2021-11-08 14:40:01 +04:00
Dmitry Degtyarev
026d58f1f9 merge set_classes() into init()
for filter classes widget and all of it's users
also don't reuse select classes dialog
2021-11-08 14:32:50 +04:00
Dmitry Degtyarev
575ea6909a fix read only remove button in multi editor
don't conditionally enable remove button
so that in read only case it's always disabled
if nothing is selected clicking remove button does nothing
2021-11-08 13:22:17 +04:00
Dmitry Degtyarev
63a04200da add DeleteOnClose to filter dialog ctor 2021-11-08 13:19:49 +04:00
Dmitry Degtyarev
74ecaba89f rework custom dialog in console filter dialog 2021-11-08 13:18:37 +04:00
Dmitry Degtyarev
f4ce23f37c rework console filter dialog 2021-11-08 13:06:42 +04:00
Dmitry Degtyarev
2ebb2a710a rework edit query item widget
to not reuse filter dialog
2021-11-08 12:33:57 +04:00
Dmitry Degtyarev
01894673fe fix edit query item widget test 2021-11-08 12:19:48 +04:00
Dmitry Degtyarev
fcaa0aab8b rework dialogs
make almost all dialogs transient
some left overs will be reworked later
2021-11-08 12:17:36 +04:00
Dmitry Degtyarev
fad4a81eb2 skip hosts validity check if no hosts available 2021-11-08 11:37:35 +04:00