Commit Graph

50 Commits

Author SHA1 Message Date
nathangray
aee79a4d1b Document set & old properties 2019-05-09 15:31:57 -06:00
nathangray
6f59d825a5 Fix missing types from admin queue and history filter 2019-04-10 14:13:14 -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
nathangray
05d60ba27a Admin - add ability to filter command history on parent 2019-03-22 11:59:27 -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
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
72de1b2852 Skip some more widgets 2019-03-19 16:00:04 -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
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
ee70e699e2 Get a nice history for admin_cmd_edit_user 2019-03-18 16:32:54 -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
89235e643d fix not working listing of exit-codes incl. assigning distinct ones 2019-02-26 16:38:16 +01:00
nathangray
03aead70e8 Do not recreate deleted periodic execution async jobs 2019-01-28 15:32:17 -07: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
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
0d5eba3d7d log exception, if (periodic) run throws one / fails 2018-09-28 12:59:01 +02: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
c1316beda5 WIP: periodic running admin-commands 2018-09-18 16:27:40 +02: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
Ralf Becker
250b56589c WIP allow to document admin actions, if EPL policy app is installed 2018-08-02 11:43:56 +02: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
4a147c74a1 fix no longer working db-creation after 6dfe752b7f allow to switch whole database readonly 2017-03-13 16:41:12 +01:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
e6ad65387e mask out passwords in admin queue 2016-05-07 16:55:15 +00:00
Ralf Becker
01c396e5d3 using new api for admin, though 3 classes still use old etemplate 2016-04-27 19:12:20 +00:00
Ralf Becker
b4ef509c03 removed not used remote administration, use json serialization for new admin_cmd data and (secured) json_php_unserialize for existing data 2015-02-14 17:05:16 +00:00
Ralf Becker
a744177316 add/edit accounts via extra tab in addressbook edit dialog 2014-03-18 15:10:57 +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
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
fe08487fd8 allow to queue command objects, to be fetched by the client 2008-01-09 02:04:30 +00:00
Ralf Becker
86621d7fe2 moved randomstring method to admin_cmd 2007-12-22 03:21:07 +00:00
Ralf Becker
296e339f65 fix for a stupid bug in php5.1.2 2007-12-20 23:56:06 +00:00
Ralf Becker
b195b3cb8d - throwing an egw_exception_db_not_unique, if saving an remote location, violates a unique constrain
- fixed wired error in setup-cli.php, caused by the automatic setup of the static accounts object, in the setup enviroment
2007-12-20 02:47:37 +00:00
Ralf Becker
e195efadeb moved access checks into the class with a default implementation, so commands can override it, to be eg. anonymous or under other restrictions available 2007-12-18 23:11:53 +00:00
Ralf Becker
21238900c7 __isset() & __unset() methods for admin_cmd 2007-12-13 02:34:44 +00:00
Ralf Becker
b2640f0cec moved remote hash calculation to a function 2007-12-07 00:03:31 +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
007c46e729 next steps: UI to add remote sites, remote admin needs not to be configured/allowed on the remote side 2007-11-24 19:56:58 +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