Univention Bugzilla – Bug 36698
maintenance policy look weird
Last modified: 2019-01-03 07:15:37 CET
Created attachment 6373 [details] Screenshot The maintenance policy (and others) contain field for entering a cron time (month, day, day-of-week, hour, minute). Currently they're rendered as text input fiels/combo boxes, which are expanded for each entry. If any "all" entry is selected, it gets expanded to 12 months, 24 hours, 7 days-a-week, 31 days-a-month, 12 5-minute-blocks-a-hour. This needs a lot of space and makes editing hard. Please use some more intelligent widget and rendering.
What would be more intelligent? Alternatively to day, hour, minute a NumberSpinner could be shown and a checkbox for 'all'.
My first idea would be some (tightly-packed) checkboxes next to each other or in a grid layout: Hour: [All] [00] [01] [02] [03] [04] [05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] Min: [All] [00] [05] [10] [15] [20] [25] [30] [35] [40] [45] [50] [55] (btw + 10 minutes jitter) Month: [All] [Jan] [Feb] [Mar] [Apr] [May] [Jun] [Jul] [Aug] [Sep] [Oct] [Nov] [Dec] Day: [All] [01] [02] [03] [04] [05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] Day: [All] [Mon] [Tue] [Wed] [Thu] [Fri] [Sat] [Sun] [All] should select or un-select all as a short-cut to clicking each check-box individually
There is also another usability problem, which easily manifests in a distributed-denial-of-service configuration: For each category where no element is selected, *' is used. If no elements are selected in any category, this results in a cron entry of "* * * * *" which gets run every minute. Multiply that with the number of hosts in a domain and you have a DDoS attack on our download server. The UI should require at least one element to be selected for minute. If no hour is specified, a warning should be shown. The policy "repository maintenance" also uses cron and should be modified accordingly.
Created attachment 6518 [details] Missing 0 in maintenance-policy cron entry "0" is not show in the combo-box lists.
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.