Commit Graph

1204 Commits

Author SHA1 Message Date
Ralf Becker
ddddc5ba05 next big chunk of fixed PHP 8.0 Warnings 2021-10-05 14:11:11 +02:00
Hadi Nategh
1fd43b0bdd * Mail: fix updating/deleting mail accounts does not refresh the mail tree no more 2021-09-01 16:23:38 +02:00
nathangray
3173cbb103 Admin: Exclude some apps from transfer list, even though they support the needed hook 2021-05-18 09:19:59 -06:00
nathangray
b32727df9b Admin: Fix delete multiple user accounts did not display app options 2021-05-17 08:50:33 -06:00
Ralf Becker
765b95cd49 release session after accounts query was cached (in session) 2021-05-16 20:53:38 +02:00
nathangray
6d3ee808d6 Admin: Fix delete user account did not display existing records 2021-05-14 10:33:28 -06:00
Ralf Becker
58d57b99f3 Fix not working delete of single accounts from admin 2021-04-07 14:35:37 +02:00
nathangray
a95f745018 API: Allow custom category icons 2021-03-31 10:52:57 -06:00
Ralf Becker
8fbcb8788e Admin: release session in get_(users|groups) to allow parallel requests to run for 2021-03-29 16:47:19 +02:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
Ralf Becker
0b91532bf6 show error if anon-images directory could not be created 2021-03-15 09:45:34 +02:00
Ralf Becker
a2efa8069c allow to pass the tab as get parameter and passing config object to final_validation hook too 2021-02-26 21:27:57 +02:00
Ralf Becker
f5b1e5a096 modernize config validation hooks a bit to allow to use static methods of namespaced classes 2021-02-26 12:16:00 +02:00
Ralf Becker
f115c63f8a prefer link-registry "entries" for data over app-name 2021-02-23 00:16:51 +02:00
nathangray
8b86b2cf05 Fix lingering cache after deleting multiple accounts 2021-02-22 08:53:08 -07:00
nathangray
4b6551c5a3 - Fix missing quote when updating shares with VFS changes
- Fix user delete entry search for single user
2021-02-16 11:53:32 -07:00
Ralf Becker
4702d51e21 allow site config templates to loop / reload to enable/disable rows 2021-02-16 17:37:35 +02:00
nathangray
e89fe55882 Admin: Fix errors when deleting accounts
- Fix error when deleting a single account
- Fix account cache did not get cleared, so they came back
- Defer actual delete until after response
2021-02-11 15:07:04 -07:00
nathangray
1e15a6efc7 * Admin: Allow deleting multiple accounts at once 2021-02-09 16:53:51 -07:00
Ralf Becker
c37581f43c * EPL/mail: support SpamTitan REST API to manage spam, requires an API token 2021-02-08 17:31:49 +02:00
nathangray
42600c90fa * Preferences: Fix deleting multiple categories only removed the first 2021-01-22 14:06:44 -07:00
nathangray
2e5eda7eb9 Admin: Fix clear mail credentials to only IMAP, SMTP, SMIME 2021-01-15 13:54:40 -07:00
nathangray
e864fb9c5d Admin: split clear user's credentials into 2 actions, mail & all others 2021-01-11 11:53:04 -07:00
nathangray
52eb33b96f * Admin: Context menu action to clear user credentials 2020-12-17 13:12:21 -07:00
nathangray
5246e34638 Admin: Reset created / modified when copying account 2020-11-23 09:32:00 -07:00
nathangray
1064cdeff2 Try to avoid error opening Addressbook policy 2020-11-02 09:17:00 -07:00
Ralf Becker
b8409a479e changes to implement policies on contact sharing 2020-10-26 10:44:40 +01:00
nathangray
05ee7eba37 Avoid some 'array_key_exists() expects parameter 2 to be array' warnings by checking first 2020-10-13 15:20:33 -06:00
Ralf Becker
77b1c0ac33 * Admin: fix session list did NOT show interactive sessions, if push is used 2020-10-06 11:59:19 +02:00
Ralf Becker
7db25dce5e * Admin: push server test to diagnose problems and improved recovery from failed requests / network problems 2020-10-02 20:28:02 +02:00
Ralf Becker
9556488db5 * Admin: fix some status filter gave empty rows for more then 50 accounts 2020-09-10 11:11:54 +02:00
Hadi Nategh
1624ceae07 Return an object for egw message in order to have access to it after display 2020-07-30 15:01:50 +02:00
nathangray
9463a0f395 Admin: Fix customfields UI did not use edit() from extending class 2020-06-25 13:06:20 -06:00
nathangray
aab5415873 * Etemplate: Password widget improvements - suggest password button, added as custom field type (stored encrypted) 2020-06-12 10:56:53 -06:00
nathangray
836a3b07e3 Mail: Only show EPL version needed blur if EPL is not available 2020-06-08 13:30:57 -06:00
nathangray
b398935fd6 * Preferences: Fix delete personal category required admin permission 2020-06-03 15:45:25 -06:00
nathangray
10494a0a86 Admin: Add an 'All' account status filter 2020-05-19 11:00:21 -06:00
nathangray
1936849bd7 * Admin: New account status filter (Enabled, Disabled, Expired, Expires, Not enabled) 2020-05-15 13:20:21 -06:00
nathangray
55c90c880c * Api: Fix missing translation when deleting an account 2020-04-07 12:01:59 -06:00
nathangray
7462bd0177 * Api: Fix missing translations in ACL dialog 2020-04-07 11:49:07 -06:00
Ralf Becker
f0f4fd2ee3 fix to allow setting "anonymous" flag for other accounts and try to fix Chrome autocomplete 2020-03-21 14:38:32 +01:00
Ralf Becker
e9c3533c93 avoid misconfiguration of user "anonymous" NOT flaged as such 2020-03-21 11:43:54 +01:00
Ralf Becker
8699957179 fix some warnings (in Travis and otherwise) 2020-03-05 13:39:57 +01:00
nathangray
8590939709 * Admin: Add copy account action 2020-03-02 16:00:58 -07:00
Ralf Becker
d41bbf4a4b fix warning 2nd array_diff parameter is null, not array 2020-02-04 18:32:00 +01:00
nathangray
7677461bf6 * Admin: Fix group email got lost on save 2020-01-29 10:13:22 -07:00
Ralf Becker
d95894d530 use etemplate-exec-id as CSRF token for ajax requests 2020-01-29 11:08:44 +01:00
Ralf Becker
7b30bb7b0d * Admin: optional session-action column in access-log and sessions
also no longer update access-log in session-class destructor, as it fails with skipping permanent logging for WebDAV and others
2019-12-14 13:09:22 +02:00
nathangray
8b503dbae3 Admin: change delete user filemanager hook to move home dir, but only search /home for other files
- Translation from Birgit
2019-11-19 10:19:04 -07:00
nathangray
a39d257eac Admin: change delete user home directory back to special case, getting actual file count takes way too long. 2019-11-18 14:02:38 -07:00
nathangray
94a9290776 Use defined tree constants instead of strings 2019-11-18 09:18:06 -07:00
nathangray
d8faef3503 Admin: Extend Vfs::deleteAccount hook to all the files it can find, not just home dir. 2019-11-07 13:46:14 -07:00
nathangray
1eda093753 * Admin: Add filemanager (home directory) as an option to move to new user when deleting an account 2019-11-06 09:49:51 -07:00
nathangray
b8a7c64301 * Admin: Fix some hooks got missed when deleting a user 2019-11-04 14:13:23 -07:00
Ralf Becker
5d8afa96c9 * Statistik: add maintenance release version and docker install type 2019-10-29 13:09:06 +01:00
Ralf Becker
45a62a3b5d Make sure we have lid for hook even if not changed, some backend require it 2019-10-10 16:04:11 +02:00
nathangray
4e67569b14 * Admin: Fix adding custom type status or setting type owner was not saved 2019-10-09 13:09:27 -06:00
Ralf Becker
9e1b9f041d * CE-Groups: fix error deleting groups 2019-09-26 22:31:52 +02:00
nathangray
a1251b528f Admin - fix user accounts not displayed after submitting or canceling statistic
nm needs to start enabled or its initialization is skipped
2019-09-16 09:34:11 -06:00
nathangray
923cc0b01b Admin - Fix keyboard shortcuts not properly loaded for customfields for some apps
Infolog & tracker at least, maybe others.
2019-09-03 14:50:36 -06:00
Ralf Becker
507d5cc80a fix phrase "config" 2019-08-05 14:46:16 +02:00
Ralf Becker
6435eb1293 * Api: fix error adding/editing catgories or custom fields 2019-07-29 11:21:54 +02:00
nathangray
374ebecb2e Admin - better sizing on delete account popup to avoid scrollbar 2019-07-22 15:45:25 -06:00
nathangray
f160c697e4 Admin - When deleting a user, separately list apps that cannot handle it through hook 2019-07-22 15:11:09 -06:00
Ralf Becker
6aaec6438f * Admin: fixed Site config did not store ("Error: 1") 2019-07-22 13:03:12 +02:00
nathangray
aefa8258a1 Admin - Ask which apps to transfer (others are discarded) when deleting account 2019-07-19 14:31:27 -06:00
Ralf Becker
8520b0ba15 do NOT save config, if there is an error, also let config hook know if it is called initially or after an apply 2019-07-17 11:16:07 +02:00
nathangray
0731731e27 Admin - fix missing/incorrect filter options in user export definition 2019-07-10 15:50:31 -06:00
nathangray
065fa2f78d * Admin - Fix deleting custom field from list's context menu changed the modified date on all fields 2019-06-24 11:35:30 -06:00
nathangray
e08247d60a Admin - show a count of how many entries a user owns in delete dialog 2019-06-19 10:34:09 -06:00
nathangray
759fcbca51 Admin - Record old values for change history when import updates an existing account 2019-06-17 16:30:07 -06:00
nathangray
4d8164bb77 Clear & reset content, modifications & readonlys when resetting the request. 2019-06-13 10:14:08 -06:00
nathangray
c259893926 Admin - remove a few more fields we don't want in periodic child jobs 2019-06-12 14:00:45 -06:00
nathangray
c500403e63 Admin - remove a few more fields we don't want in periodic child jobs 2019-06-11 14:37:06 -06:00
nathangray
82065a25ca Admin - Fix group changes sometimes not showing properly in history 2019-06-10 09:55:36 -06:00
Ralf Becker
ad3576903a allow to disable or require 2-Factor-Auth 2019-06-07 20:28:49 +02:00
Ralf Becker
914de29859 improve user-agent formatting and use is also for accesslog 2019-06-05 18:18:23 +02:00
nathangray
8f2339e67c Fix sometimes missing admin translations 2019-06-05 09:41:40 -06:00
nathangray
e8227348b4 Fix sometimes missing admin translations 2019-06-05 09:15:40 -06:00
nathangray
ffa1102687 Change delete group handler to accept documentation data 2019-05-28 09:59:55 -06:00
Ralf Becker
5cf5ed74a8 also mask openid secrets 2019-05-27 14:11:51 +02:00
nathangray
e62e27b179 Fix some missing translations found by Stefan Unverricht 2019-05-23 11:25:06 -06:00
nathangray
34efaaa274 Add documentation tab when deleting custom application type 2019-05-22 09:35:20 -06:00
nathangray
0c9ef3811e Import user - Remove conditions on account_id, backends don't support search by it 2019-05-21 10:41:50 -06:00
nathangray
edfd5fd24d Etemplate - also submit action data 2019-05-14 16:43:15 -06:00
nathangray
e71bbd8abe Store requester and comment into command history when importing users 2019-05-10 13:33:04 -06:00
nathangray
aee79a4d1b Document set & old properties 2019-05-09 15:31:57 -06:00
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