1
0
mirror of https://github.com/altlinux/admc.git synced 2025-01-23 22:03:54 +03:00

3680 Commits

Author SHA1 Message Date
Semyon Knyazev
5adc2f0a33 Fix not selected themes from start 2024-02-19 22:48:59 +04:00
Semyon Knyazev
928e892e90 Remove 'Servers' items from domain info tree 2024-02-19 22:48:59 +04:00
Semyon Knyazev
b3ea81a70c Fixed wrong domain policy link deletion
Domain policy links are correctly deleted from GUI now.
Before fix policies, linked to another OUs, were deleted (in GUI)
under not domain OU fetched items (bugfix #49385).
2024-02-19 22:48:49 +04:00
Semyon Knyazev
62869e4e84 Added link state icons to links widget and did another refactor
Enforced/disabled state icons have been added to policy link items
in policy ou result's links tab. Some refactor is additionally done.
2024-02-15 20:09:22 +04:00
Semyon Knyazev
1ceae5e917 Fix and refactor LinkedPoliciesWidget::on_item_changed() method 2024-02-15 20:09:22 +04:00
Semyon Knyazev
0e9e6e8352 Clarify comment 2024-02-15 20:09:22 +04:00
Semyon Knyazev
ca37bc674e InheritedPoliciesWidget class refactor and duplication bugfix.
Fixed duplicated policy links in OU results inheritance
tab (bugfix #49385). Small refactoring is also done.
2024-02-15 20:09:22 +04:00
Semyon Knyazev
c033dd874f Small refactor and domain policy link icon bugfix
Fixed ou policy index search function name.
Domain policy link icon bug is also fixed (#49385).
2024-02-15 20:09:22 +04:00
Semyon Knyazev
fd65784f34 Fix gplink test wrong order expectations 2024-02-15 20:09:22 +04:00
Semyon Knyazev
837cecf1f0 Add translations for LinkedPoliciesWidget 2024-02-15 19:26:46 +04:00
Semyon Knyazev
be61501281 Refactor groub policy tab widget
Inheritance widget and gpo options check box are removed from .ui
and created in tab's ctor now. Group policy tab is also initialized
with console ptr now.
2024-02-15 19:26:46 +04:00
Semyon Knyazev
e6f5638db5 Add console widget ptr to inheritance widget initialization 2024-02-15 19:26:46 +04:00
Semyon Knyazev
30786c41d0 Policy OU linked policies widget is refactored and drag&drop model is added
Linked policies widget is refactored. In particular, the widget is
initialized with console ptr now.
Drag&drop changes: add model, configuration and corresponding applying slot.
2024-02-15 19:26:39 +04:00
Semyon Knyazev
828ba085cb Add ResultsView internal drag and drop setter 2024-02-09 19:21:56 +04:00
Semyon Knyazev
eaaa25ae7c Remove links and inheritance tabs from ou results .ui
Remove tabs (links and inheritance widgets) from policy ou results
widget's .ui file. These widgets are added in PolicyOuResultsWidget
ctor now.
2024-02-09 17:32:59 +04:00
Semyon Knyazev
d2f5f76b57 Update Gplink class
Add copy ctor and assignment operator, link order move and max order
getter methods. Gpo order getter fixed and arguments rename is also
performed.
2024-02-09 00:06:05 +04:00
Semyon Knyazev
7b5e9a7af7 Add drag-n-drop model for links widget 2024-02-08 23:56:18 +04:00
Semyon Knyazev
c860787af9 Create LinkedPoliciesWidget class
PolicyOUResultsWidget links (left tab) content is refactored
and moved to LinkedPoliciesWidget class.
2024-01-16 16:45:19 +04:00
Semyon Knyazev
df6189a3fb 0.15.2-alt1
- Removed missing theme error log on first launch. (closes: 49043)
2024-01-16 14:34:53 +04:00
Semyon Knyazev
aba2567a52 Removed missing theme error log on first launch
bugfix#49043
2024-01-16 14:04:37 +04:00
Semyon Knyazev
045f506df9 0.15.1-alt1
- Add icon theme selection. System theme is taken from /usr/share/icons
dir, custom themes are taken from /usr/share/ad-integration dir
by default. Theme dirs must have index.theme file to be included.
Theme dirs can also be symlinks.
- Object creation and disabling bugs in 0.15.0 version are
fixed. (closes: 48780)
2023-12-19 04:52:10 +04:00
Semyon Knyazev
c045a08b6f Icon theme names are set from index.theme data depending on locale 2023-12-19 04:52:10 +04:00
Semyon Knyazev
94325bdceb Fixed blocked object icons small size in results view
User and computer blocked icons were small in size like
in detail view when icons view was selected (View->Icons).
This is fixed, but user, group and computer icons in the
console tree changed their appearance.
2023-12-19 04:52:10 +04:00
Semyon Knyazev
d1eab3bda9 Add fallback icon name 2023-12-19 04:52:10 +04:00
Elena Dyatlenko
ac58e9eb6a Add theme selection corresponding translations 2023-12-19 04:52:06 +04:00
Semyon Knyazev
5c50e5b405 Icon manager changes applying 2023-12-19 04:31:15 +04:00
Semyon Knyazev
ab9b973794 Update icon manager with new categories and indicators
Maps with categorized icon name list and icons array are updated
with new category defines and indicators. Indicator map is also
populated with corresponding icon name lists.
Category and indicator names now can be used as icon names to
avoid ambiguity among custom themes.
2023-12-19 04:31:15 +04:00
Semyon Knyazev
839ba9315a Add names, map and getter for indicator icons 2023-12-19 04:31:15 +04:00
Semyon Knyazev
9702472a14 Append category defines
Add object category defines for Active Directory objects.
Custom ADMC categories for icon setting are also appended.
2023-12-19 04:31:15 +04:00
Semyon Knyazev
dc9f7987a8 Query folder and item icons are set via icon manager 2023-12-19 04:31:15 +04:00
Semyon Knyazev
d17b65a124 Update and refactor icon manager for theme changing feature
- Removed unused set_icon_for_type() routine
- Added get_available_themes() function that returns theme folder
names from custom themes path (default hardcode path is
/usr/share/ad-integration-themes)
- Added update routines for action icons and icon array
- Appended query folder and item possible icon names
- Added theme applying to init() and set_theme() routine for theme setting
2023-12-19 04:31:09 +04:00
Semyon Knyazev
f0d993b291 Append theme selection to main window.
Theme selection  action is added to main window view menu. It contains
drop-down menu with selectable themes.
Corresponding functional for dynamical applying themes is also added.
2023-12-13 22:23:48 +04:00
Semyon Knyazev
6786a2f826 Move icon manager init from main to main window ctor.
Icon manager initialization moved to add the ability
to use status messages (g_status global variable)
2023-12-13 22:23:48 +04:00
Semyon Knyazev
a5c0da781b Add current icon theme and custom theme path settings 2023-12-13 22:23:48 +04:00
Semyon Knyazev
77518e27ce Bug #48780 fixed
Object tree root is searched as domain info item's
child now.
2023-12-13 21:55:40 +04:00
Valery Sinelnikov
4193bbbac7 0.15.0-alt1
- Domain info root item is added to console tree. Its results widget
  contains tree with sites, domain controllers and FSMO role items. It
  also contains number of sites and domain controllers, forest and domain
  functional levels, domain schema version.
- Fixed bug with remaining failed connection options. Now after a failed
  connection attempt, the old connection settings are returned and
  connection options dialog doesnt close.
- GPO creation/renaming with only spaces bug fixed. (closes: 44684)
- Add group rename sam account name autofill. (closes: 47082)
- Add disabled computer icon. (closes: 47551)
- Add warning message for multiple object deletion and non-empty OU
  deletion.
2023-11-23 11:05:36 +04:00
Semyon Knyazev
19dc33d2b7 Fixed bug with remaining failed connection options
After a failed connection attempt, the old connection settings
are returned and connection options dialog doesnt close
2023-11-22 17:38:54 +04:00
Semyon Knyazev
2c5f45e212 GPO creation/renaming with only spaces is fixed (bugfix#44684) 2023-11-22 17:38:54 +04:00
Semyon Knyazev
8d371a24ad Add group rename sam account name autofill
Bugfix#47082
2023-11-22 17:38:54 +04:00
Semyon Knyazev
b1de04f01a Add disabled computer icon
Add disabled computer icon, bug №47551 fixed
2023-11-22 17:38:54 +04:00
Semyon Knyazev
4b6eed9ca3 Non-empty OU deletion warning added. 2023-11-22 17:38:54 +04:00
Semyon Knyazev
3fc1951f04 Added message for multiple object deletion 2023-11-22 17:38:54 +04:00
Semyon Knyazev
e04927404f Add translations for domain info item feature 2023-11-22 17:38:54 +04:00
Semyon Knyazev
59961279e6 Add site icon to icon manager 2023-11-22 17:38:54 +04:00
Semyon Knyazev
34700234d6 Change parent item in impl sources 2023-11-22 17:38:54 +04:00
Semyon Knyazev
ecf9b98b82 Add attributes and object classes 2023-11-22 17:38:54 +04:00
Semyon Knyazev
316ec65ab3 Update CMakeLists 2023-11-22 17:38:54 +04:00
Semyon Knyazev
0b52e7558e FSMO code contents changed
Did some refactor, add fsmo role change signals and
other functional for domain info item feature
2023-11-22 17:38:54 +04:00
Semyon Knyazev
4b62168462 Add domain info results widget 2023-11-22 17:38:49 +04:00
Semyon Knyazev
bf5f1ab7b4 Add domain info item
Added root domain info item to console tree and
corresponding functional for domain_info_impl to main window
2023-11-17 04:35:01 +04:00