Commit Graph

940 Commits

Author SHA1 Message Date
Ralf Becker
c1316beda5 WIP: periodic running admin-commands 2018-09-18 16:27:40 +02:00
nathangray
d29cd78a7c Use correct admin command object to set run rights 2018-09-13 10:32:26 -06:00
nathangray
f5b9aa3992 Fix not possible to add run permissions via group->access permissions 2018-09-13 10:20:07 -06:00
nathangray
75e1a8bb3f Cast extra to array to avoid error if documentation tab is not there 2018-09-06 10:42:33 -06:00
nathangray
ccbb0f4d56 Resize delete user popup to fit documentation tab better 2018-09-06 10:42:05 -06:00
Ralf Becker
3161444d09 fix group memberships got lost editing primary-group of an account 2018-09-06 15:23:32 +02:00
nathangray
ec9a219186 Trying to get tests to pass
- Better message for not having the preference type
- Fix missed in_array() typo
2018-09-05 10:27:19 -06:00
Ralf Becker
a4b4bae571 fix creation of new accounts failed 2018-09-05 17:17:59 +02:00
nathangray
5c3ac9e836 - Fix bug with setting & deleting default & forced preferences
- Add tests
2018-09-04 14:05:58 -06:00
Ralf Becker
05541e5d9c adding own columns for admin_cmd attributes app and account and add columns to periodically run (and log) admin_cmds (db schema only so far) 2018-08-28 17:07:38 +02:00
nathangray
73b3354b12 Automatic tests for admin_cmd_acl 2018-08-27 16:00:04 -06:00
nathangray
63fddef20b Run ACL changes through an admin_cmd 2018-08-24 12:03:19 -06:00
Ralf Becker
620e20f0e4 fix admin_cmd_user_preferences to use values given and not global preferences object 2018-08-23 15:25:49 +02:00
Ralf Becker
c93719bc02 allow to document group deletion 2018-08-23 15:25:49 +02:00
Ralf Becker
51166dc338 allow to document account deletion 2018-08-23 12:11:33 +02:00
nathangray
5a7c65d0f7 Make sure account_lid is there for hooks, even if not passed in 2018-08-22 09:53:54 -06:00
Hadi Nategh
886bc915cf Preserve the old values to be used in values comparison 2018-08-22 12:27:17 +02:00
Ralf Becker
030eb89f84 using standard site-configuration plus some hooks 2018-08-22 12:15:42 +02:00
Ralf Becker
a53560a546 try fixing "Unsupported operand types" reported by Alexandros
Probably cause by Policy app not being installed.
2018-08-22 11:10:11 +02:00
Ralf Becker
613455a784 fix not stored multiselect / array-values in site-configuration
also added optional appname for apps storing their config under "phpgwapi" like eg. addressbook
2018-08-21 17:29:02 +02:00
Hadi Nategh
563a356eaa Implement admin_cmd for preferences 2018-08-21 14:42:56 +02:00
Ralf Becker
1115db478f using new admin_cmd_config to log and document config changes 2018-08-21 10:23:25 +02:00
Ralf Becker
b1b31e2b0b fix not working admin >> site configuration 2018-08-20 17:27:11 +02:00
nathangray
bfdc1ca966 Admin - Changes for edit group to only log changed fields 2018-08-17 14:53:40 -06:00
Ralf Becker
e53482289a fix not displayed requrested and comment 2018-08-03 15:38:34 +02:00
Ralf Becker
7e4c23ca56 fix not being able to change memberships (array_diff_assoc compares everything as string) 2018-08-03 12:41:53 +02:00
Ralf Becker
7f662f8f70 fix edit user to log old values and only run if there is any change 2018-08-03 11:56:34 +02:00
Ralf Becker
250b56589c WIP allow to document admin actions, if EPL policy app is installed 2018-08-02 11:43:56 +02:00
nathangray
0e1d21e427 Admin - get category colors properly updating by doing a full reload
Also maybe squashing a bug where admin would switch to iframe
2018-07-31 09:31:11 -06:00
nathangray
459f55d556 Also reload the colors for app category if color changes 2018-07-27 10:10:38 -06:00
Ralf Becker
ec9bbf28d3 pending stuff to improve admin cmd log required by new addressbook policies 2018-06-04 11:49:24 +02:00
Ralf Becker
84b715c5af * Admin: allow to show last login, IP and password change in list 2018-06-01 14:46:52 +02:00
Hadi Nategh
6aeb7a5c1e * Admin: Implement new feature to upload multiple images for login background image in site-configuration and show them randomly. 2018-05-28 15:31:32 +02:00
Ralf Becker
3d1ef4512c * Admin: fix bulk password reset to work on minimal install / no longer require old phpgwapi 2018-05-25 15:09:38 +02:00
Ralf Becker
909d7e0228 do NOT update timestamps when migrating account_id eg. to LDAP or AD 2018-04-24 11:27:10 +02:00
Ralf Becker
104cae6081 fix smime key got immediatly deleted again 2018-04-10 14:52:14 +02:00
Ralf Becker
e72c7c76b6 * EMail/sMime: allow non-admin users to upload their keys 2018-04-10 13:15:09 +02:00
Ralf Becker
544dc160ca remove destination ID check, as it only makes sense on chaning single IDs, but might stall migration of whole instances 2018-04-10 12:45:40 +02:00
Ralf Becker
bb2b074963 untested code to make LDAP --> SQL migration work by automatically renumbering groups with identical nummeric ID as users 2018-04-07 12:20:00 +02:00
Ralf Becker
2e04407ed7 fix typo 2018-04-03 20:15:43 +02:00
Ralf Becker
dcb78d9776 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:50:46 +01:00
Ralf Becker
a1fa2246af hook to allow apps to migrate own config etc. in AD/LDAP account_id migration 2018-03-14 14:50:45 +01:00
Ralf Becker
ddd4127ee7 * AD/LDAP migration: change favorites and index states too 2018-03-12 21:22:12 +01:00
nathangray
17a759dbe1 Admin - Can't only delete categories for the selected app. Globals only deletable through Admin 2018-02-21 14:41:34 -07:00
Ralf Becker
ed68be0cdf * Mail/SMime: fix not working storage of public key in mail account
We failed silently, when browser reported something different then "application/x-pkcs12" eg. "application/octet-stream". Now we let OpenSSL decide if file contains a valid SMime key.
2018-02-15 14:45:47 +01:00
nathangray
cf2b759054 * Admin - fix group list filter & sort
- Remove created & modified columns since they're not stored for groups
- Fix email sort
- Fix search returned all results
2018-01-30 11:28:27 -07:00
Hadi Nategh
a107d0a2ed Check only the appname cause not all apps may have title implemented 2018-01-23 12:33:48 +01:00
Ralf Becker
9b1cce9fcf warn if admin tries to rename user anonymous, as it breaks file sharing and Collabora 2018-01-22 12:42:09 +01:00
nathangray
0e019deb3b Admin - Fix bug limiting group nextmatch to 20 rows at a time 2017-11-16 11:27:59 -07:00
nathangray
42ca76e824 Add a column for run rights, each of which gets their own row 2017-11-02 10:24:47 -06:00