Commit Graph

1066 Commits

Author SHA1 Message Date
nathangray
c5ea38f551 Fix admin_cmd_account_app new value sometimes had string keys when removing access 2019-05-09 14:54:21 -06:00
nathangray
7d07d00a0b Fix delete access bug 2019-05-09 13:49:45 -06:00
nathangray
2d6807f2b5 admin_cmd_change_account_id changes to get nice command history 2019-05-09 11:48:12 -06:00
nathangray
a6c1ff4f92 admin_cmd_account_app bugfixes
- Fix old/new apps not properly saved for history
- Fix documentation not saved
2019-05-08 15:47:10 -06:00
nathangray
f2ae317771 Keep ID out of customfield history change list 2019-05-08 10:48:19 -06:00
nathangray
7915bfd5b2 Add documentation tab to deleting ACL 2019-05-07 15:23:34 -06:00
nathangray
25f073a0b7 Changes for Policy
- Add tab to edit category dialog
- Change delete context menu action to use popup instead of dialog
2019-05-03 14:45:40 -06:00
Hadi Nategh
787561592e Make active as a filter for getting list of active accounts 2019-05-03 11:42:49 +02:00
nathangray
e5b3aea258 Fix forced preferences stored nulls 2019-04-29 14:43:18 -06:00
nathangray
6f59d825a5 Fix missing types from admin queue and history filter 2019-04-10 14:13:14 -06:00
nathangray
e44b302609 Add documentation tab to customfield edits 2019-04-09 14:48:44 -06:00
nathangray
529007483b Admin - allow empty values (=Select one) as first option for custom select 2019-04-09 11:59:31 -06:00
nathangray
9ec214160a Admin - fix some more missing command history 2019-04-09 11:45:53 -06:00
nathangray
480a1ade81 Fix parent command filter 2019-03-29 09:22:06 -06:00
Ralf Becker
6434455bab fix not able to set invite rights for groups in calendar
if invite enabled only for groups
2019-03-29 15:09:09 +01:00
nathangray
a5402ad4b6 Admin - Make statistics locked only when date requires it, access through sidebox menu does not lock 2019-03-27 11:57:20 -06:00
nathangray
5110e999b5 Admin - some documentation suggestions from Scrutinizer 2019-03-25 08:49:48 -06:00
nathangray
05d60ba27a Admin - add ability to filter command history on parent 2019-03-22 11:59:27 -06:00
nathangray
b8bbe81022 Admin - admin_cmd_account_app
Translate app names, slightly better toString()
2019-03-22 09:48:35 -06:00
nathangray
30fe3d588b Scrutinizer suggestions 2019-03-21 14:52:56 -06:00
nathangray
c2ee1cc1e0 Correct default command result 2019-03-21 14:36:46 -06:00
nathangray
f7abe770bd Admin - Keep the result of running the command (eg: how many rows affected, etc) 2019-03-21 14:29:33 -06:00
nathangray
9213a0c7a6 Documentation fix 2019-03-21 11:39:06 -06:00
nathangray
d45070f322 Property and type handling improvements from Scrutinizer 2019-03-21 09:08:42 -06:00
nathangray
de54fdb084 Store proper account ID if called with account_lid, prevents displaying as "Change password for 0 (Current user)" 2019-03-20 15:36:20 -06:00
nathangray
0aedde6b64 Fix some Scrutinizer warnings 2019-03-20 14:45:03 -06:00
nathangray
b2404ba895 Fix some Scrutinizer warnings 2019-03-20 14:40:36 -06:00
nathangray
6aea0844ba Customfield command (admin_cmd_customfield) history 2019-03-20 14:03:32 -06:00
Ralf Becker
4be62b63ee labels, options and widgets for admin_cmd_preferences 2019-03-20 18:15:02 +01:00
nathangray
6afccb215b Category command
- Save original name for tracing if category is later deleted
- Skip some internal values (level, app_name)
- Nice history for delete category command
2019-03-20 10:33:10 -06:00
nathangray
8c4cfeb7f7 Avoid saving msg when deleting category 2019-03-20 10:30:54 -06:00
Ralf Becker
858f2c0119 getting admin_cmd_config history finished:
- deprecate app="phpgwapi" and appname, using now "store_as_api" and changed app
- update script to fix database
- use "config" hook to load application specific options
2019-03-20 11:54:49 +01:00
nathangray
2844045d90 Get changes showing up for admin_cmd_category 2019-03-19 16:03:52 -06:00
nathangray
72de1b2852 Skip some more widgets 2019-03-19 16:00:04 -06:00
nathangray
0079b0683a Get changes showing up for admin_cmd_acl 2019-03-19 14:57:25 -06:00
nathangray
83252a6e47 Ignore selects too 2019-03-19 14:33:09 -06:00
nathangray
53b8d9fbbe Skip some unneeded and invalid status widgets 2019-03-19 11:10:07 -06:00
Ralf Becker
15fc8323e6 dont store or overwrite with empty labels 2019-03-19 17:31:20 +01:00
Ralf Becker
c6c40022df fix admin_cmd_edit_group 2019-03-19 17:19:34 +01:00
Ralf Becker
602f3093b5 translate labels like "{something} {else}" 2019-03-19 17:19:10 +01:00
Ralf Becker
fa8ee606b3 WIP admin history: using eTemplate tree instead of regexp to parse labels and selectbox values 2019-03-19 15:34:44 +01:00
nathangray
ff5957947e Admin - Add history display stuff for edit group command 2019-03-18 17:13:58 -06:00
nathangray
ee70e699e2 Get a nice history for admin_cmd_edit_user 2019-03-18 16:32:54 -06:00
nathangray
fa48e1db3c Fix unconditional insert of users failed with invalid action 2019-03-18 16:11:16 -06:00
nathangray
e7b06de719 Api - automatically find labels for int or floats too 2019-03-15 16:01:43 -06:00
Ralf Becker
8c6fc0f4d5 WIP admin history 2019-03-14 18:57:07 +01:00
Ralf Becker
6ba3dbbd33 fix unable to (re-)activate account 2019-03-14 15:14:25 +01:00
Alexandros Sigalas
b328bf151a Fixed, PHP Warning: count(): Parameter must be an array or an object that implements Countable in 2019-03-03 15:16:43 +01:00
Ralf Becker
d44cffbf8b new admin-cli.php --delete-user parameter --not-existing to delete all no longer existing accounts 2019-02-27 11:59:33 +01:00
Ralf Becker
89235e643d fix not working listing of exit-codes incl. assigning distinct ones 2019-02-26 16:38:16 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
fd519b3c39 disable omitting of unchanged fields for non SQL account backends
as existing backend code then tries to remove the value, which fails with an error from LDAP server, as eg. last name is required
2019-01-30 17:28:42 +01:00
nathangray
03aead70e8 Do not recreate deleted periodic execution async jobs 2019-01-28 15:32:17 -07:00
Hadi Nategh
c5c09c4f9f Deprecate CKEDITOR and remove it from source 2019-01-25 12:41:13 +01:00
nathangray
05ce70f1a8 Fix missing types in admin queue and history 2019-01-23 10:41:52 -07:00
nathangray
231946ae58 Cancel async job when deleting command 2019-01-23 09:37:42 -07:00
Ralf Becker
218af30b7c allow space in CF selectbox values and warn about other not supported values 2019-01-17 18:09:51 +01:00
Ralf Becker
4a9b88468a moving all logic to admin_cmd::get_rows and only leave session stuff in admin_cmds::get_rows 2019-01-14 15:26:04 +01:00
Ralf Becker
cba3e713b4 fix saving of group preferences 2019-01-10 15:08:11 +01:00
Hadi Nategh
4e59184d00 Fix translations for Home screen 2018-12-20 16:06:12 +01:00
Hadi Nategh
938ebae39a Fix some translations 2018-12-17 11:09:36 +01:00
nathangray
65efa72cc0 Add admin logging for customfields 2018-12-11 10:10:24 -07:00
nathangray
f559a87289 Add admin logging for categories 2018-12-11 10:10:24 -07:00
Ralf Becker
c2179355d7 submitting to https://www.egroupware.org/usage-static (no more http!) 2018-12-10 15:42:15 +01:00
nathangray
c83d30512e Import/Export - change signature of method that gets options to allow definition-specific values
Do export too, for consistency
2018-11-29 10:33:56 -07:00
nathangray
dba9a76246 Import/Export - change signature of method that gets options to allow definition-specific values 2018-11-29 09:35:35 -07:00
nathangray
924d03e7e0 Check that account passwords are the same, and fail if they aren't 2018-11-13 15:57:20 -07:00
Hadi Nategh
60be39ec2c W.I.P. migration of mainscreen to et2:
- Fix not saving data when the content is empty
2018-10-30 15:42:18 +01:00
Hadi Nategh
e6735f635d W.I.P. migration of mainscreen to et2:
- Fix extra space added when save the entry
- Fix htmlarea not getting a right height when is in inactive tab
2018-10-30 12:02:55 +01:00
Hadi Nategh
631e554d56 W.I.P. migration of mainscreen to et2:
- Fix data not being loaded on initiation
2018-10-29 17:50:55 +01:00
Hadi Nategh
c9ec548a53 W.I.P. migration of mainscreen to et2 2018-10-26 16:39:55 +02:00
nathangray
522b30c62e Add type and comment columns to command log 2018-10-09 11:54:50 -06:00
Ralf Becker
0d5eba3d7d log exception, if (periodic) run throws one / fails 2018-09-28 12:59:01 +02:00
nathangray
cf28dbecbe Display command result in list 2018-09-25 15:08:25 -06:00
nathangray
d7c5dc71cf Admin - add filter for periodic runs
- Store & display exec results for periodic runs
2018-09-25 13:17:52 -06:00
Ralf Becker
d7b1179eae fix PHP Warning: Use of undefined constant account_id - assumed 'account_id'
also nicer formatting of data with json and pretty-printed tooltip
2018-09-20 11:46:15 +02:00
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