Commit Graph

34 Commits

Author SHA1 Message Date
Ralf Becker
38bd48f9e9 remove identity if alias is removed with "-alias" AND create_identity is "yes" 2016-11-14 13:43:05 +01:00
Ralf Becker
68cd92a0ca fix error if no alias/forward set stalling setting one, caused by using NULL instead of an empty array throws error: Argument 1 passed to array_modify() must be of the type array, null given 2016-11-10 09:51:37 +01:00
Ralf Becker
96b39eefe6 fix check for existing identity for first array element 2016-10-31 15:56:41 +01:00
Ralf Becker
4d62d34fac remove +/- prefix, as it is not part of email but operator 2016-10-31 15:51:02 +01:00
Ralf Becker
e30794e61b remove +/- prefix, as it is not part of email but operator 2016-10-31 15:46:56 +01:00
Ralf Becker
dbae12260b fix setting alias and forwards, allow to add/remove from existing ones 2016-10-31 15:41:52 +01:00
Ralf Becker
a20c4ab18c * Admin/Mail: allow to add aliases, forwards and quota via admin-cli, optional create identities for aliases 2016-10-31 14:53:15 +01:00
Ralf Becker
bf43122c65 missed admin-cli.php when converting to api 2016-04-29 13:02:10 +00:00
Ralf Becker
07a5224025 * Admin: clear cache after admin-cli.php commands, so they become active automatically
and allow to send json requests with basic auth credentials without an active session, used here to clear cache via webservice call, as we can NOT clear shared memmory cache of webserver from cli
2016-04-27 10:34:57 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Ralf Becker
892500fee3 change cli detection to use php_sapi_name() 2013-09-10 17:29:58 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Ralf Becker
b181ab1f3f allow to use a setup user and password by prefixing it with 'root_', eg. 'root_admin' for setup user 'admin' 2012-08-09 08:16:17 +00:00
Ralf Becker
110ad12bb6 delete user categories, when user get deleted and admin command to delete already orphaned categories: admin/admin-cli.php --admin-cmd-check-cats admin,password 2012-08-08 16:25:03 +00:00
Ralf Becker
442bdbe564 - new admin-cli command --add-user like --edit-user, but runs addaccount hook for existing accounts too
- using --add-user instead of --edit-user in setup_cmd_admin
2010-08-20 20:28:59 +00:00
Ralf Becker
51717e5dd9 fixed not working loging in other the first domain 2009-11-20 15:06:29 +00:00
Ralf Becker
317eda1be1 "allowing to set home-dir and login-shell, if accounts are stored in ldap" 2009-05-19 06:36:06 +00:00
Ralf Becker
fa73ad5339 Improved exception handling:
- exceptions get now always logged to the error_log
- in the webgui it's now configurable, if the message contains a
  stacktrace (incl. function arguments) - default no (security)
- command line interfaces get detected and contain no html anymore
- webdav and groupdav send the exceptions as basic auth realms to the
  client
- webdav and groupdav login failures contain the reason as part of the
  basic auth realm
2008-10-26 12:13:01 +00:00
Ralf Becker
a53b69af40 setting the session.save_path to /tmp only for session.save_handler=files and !is_writable(session.save_path) 2008-03-06 06:03:18 +00:00
Ralf Becker
1151deace4 added option to showheader command to only transfer the remote_hash and not the whole header 2007-12-07 00:07:08 +00:00
Ralf Becker
cae8bb40a8 added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception 2007-12-06 08:00:41 +00:00
Ralf Becker
4f77162f64 first version of a setup command that can run via admins remote command execution 2007-12-05 02:27:49 +00:00
Ralf Becker
71fc139a31 next step: all admin-cli commands are implemented now in the new structure, exist codes need to be reworked 2007-11-27 03:20:28 +00:00
Ralf Becker
912bbae120 next step admin-cli can send now commands to remote installs (defined direct in egw_admin_remote, no GUI yet) 2007-11-23 20:04:26 +00:00
Ralf Becker
462719d45e A very first step to remodel our current admin backend:
- all commands get loged and optional documented with requesting
  person and a comment
- all commands can be run immediatly or scheduled for a later execusion
- all commands can be run either from a command line (admin-cli), from
  the web GUI or via a remore administration from a different instance
current status: 
- command queue / history table created (need to be installed)
- base class for all comments
- one exemplary command to change application rights of users or groups
- admin-cli used the above comment and has additional parameters to set
  the requesting person, scheduled execution time and comment
- GUI to watch the queue / history
- URL to excute/schedule commands remote
More to come now on a daily basis
2007-11-22 00:57:12 +00:00
Klaus Leithoff
29bc1a4896 Added option to set/change password for a given user via commandline, if authenticating as a rightfull user/admin 2007-11-07 13:50:35 +00:00
Ralf Becker
8dbfd58e6e small fixes of the new admin-cli after some testing 2007-07-15 08:00:12 +00:00
Ralf Becker
6fab440e97 new functions to add/edit/delete user+groups, set/delete run-rights for apps and list the existing exit-codes, thanks to a sponsoring from fullsave.com 2007-07-13 08:55:07 +00:00
Ralf Becker
c7bf33ab2c "support for new polls schema" 2007-05-20 15:16:59 +00:00
Ralf Becker
06b826b611 moved check_acl to admin-cli and fixed bug #143: check_acl.php deletes all ACL if accounts are in ldap 2007-05-08 13:36:17 +00:00
Ralf Becker
c9e8aebdcf "added tracker tables" 2007-04-29 20:45:35 +00:00
Ralf Becker
c128b0a017 "- dont accept less then one account-id plus replacement
- cat_owner -1 means global cat, not cat of group 1"
2007-04-28 12:25:44 +00:00
Ralf Becker
ca34042249 "admin-cli (admin command line interface) now changes account-id's in all maintained apps (but MyDMS, JiNN and Workflow)" 2007-04-28 11:51:46 +00:00
Ralf Becker
3fc7b9ab38 new admin cli (comman line interface), which allows at the moment only to delete accounts in a proper way. This could not be included in setup-cli, as the delete-hooks of several applications require a complete eGW enviroment. 2006-09-19 06:59:55 +00:00