Commit Graph

571 Commits

Author SHA1 Message Date
Klaus Leithoff
9f5f60bd0f handle account_last_change is string and 0 2011-03-16 16:26:02 +00:00
Klaus Leithoff
710c403d7c read and evaluate auth systems password-last-changed information 2011-03-16 13:26:32 +00:00
Klaus Leithoff
8153a7ac98 read and evaluate auth systems password-last-changed information 2011-03-16 13:26:17 +00:00
Klaus Leithoff
4f0e104e27 more to the issue: fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered by auth system 2011-03-16 12:44:42 +00:00
Klaus Leithoff
a080404dab fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered from auth system. set password-last-changed info in authsystem on password change. when trying to force the user to change his password upon next login as admin from within egrouware, try to set the 0 value within the authsystem as well (in ldap rights are required for admin (or user) to set/alter the shadowlastchange attribute) 2011-03-16 11:00:16 +00:00
Ralf Becker
a26a899ea0 * fixed not working deleted of application-global categories via "admin >> global categories" in applications 2011-02-15 12:51:21 +00:00
Ralf Becker
920f40ef46 added EventMgr account_id columns to admin_cmd_change_account_id 2011-02-10 10:23:06 +00:00
Nathan Gray
cd817bf4ed Allow a key 'no_add' to turn off the ability to add a new [sub]type. If no add and no delete, the whole first line will be hidden. 2011-01-25 20:32:38 +00:00
Ralf Becker
938a999ab0 * dont give sql error in gathering statistic data, if table does not exists (eg. Gallery is not installed) 2011-01-05 08:32:16 +00:00
Klaus Leithoff
5144dd82e7 fix typo while checking old last-password-change 2010-10-25 15:30:01 +00:00
Klaus Leithoff
eb7143d8b9 checking for isset AND ==0 to determine if mustchangepassword is activated 2010-10-25 14:07:37 +00:00
Klaus Leithoff
249d2fb117 csv import of accounts: fix behavior for new accounts, after fix in rev.32587 2010-10-19 06:43:27 +00:00
Klaus Leithoff
e9e2312b06 csv import of accounts: fix behavior for new accounts, after fix in rev.32585 2010-10-18 16:32:45 +00:00
Klaus Leithoff
43e1f8b60c fix typo while initalizing cmd_account object 2010-10-18 14:01:02 +00:00
Klaus Leithoff
ada6c74efe allow the option mustchangepassword to be set via admin_cmd_edit_user 2010-10-18 13:09:38 +00:00
Klaus Leithoff
5c66c7d162 categories: better handling of editing/moving categories within the cat-tree 2010-10-14 15:33:10 +00:00
Nathan Gray
763e65e866 Change field mapping for groups to make more sense 2010-10-12 16:45:31 +00:00
Nathan Gray
e3e9c2085a Don't need 2nd password field when importing 2010-10-07 15:34:01 +00:00
Nathan Gray
cb7fb29b2e Basic support for importing groups from CSV 2010-09-29 17:31:36 +00:00
Nathan Gray
b1a6dd9732 Add basic support for importing users from CSV using admin_cmds 2010-09-28 22:45:57 +00:00
Klaus Leithoff
61812f4dc5 allow for forced passwordchange on next login at account creation time 2010-09-27 07:51:32 +00:00
Klaus Leithoff
3843c0b59b Feature: to allow admins a) to set an allowed password age, to require all users to change their password regularily; b) force password change for a given user on the users next login; c) better control about the password strength required; Funded by Cricket 2010-09-22 09:48:27 +00:00
Klaus Leithoff
553152fc80 fix for expected parameter for data must be an array in set_timer, when starting async testjob; handling array as adr in send when creating messages 2010-09-13 08:41:04 +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
cff42abd07 modernising uiconfig a little bit and fixed mulitiple levels for framework for framed templates 2010-07-29 17:02:20 +00:00
Klaus Leithoff
4e1f3f31e5 fix bug regarding the CKEditor view of Main/Loginscreenmessages 2010-07-02 10:06:44 +00:00
Ralf Becker
435e282efa propset svn:keywords Id 2010-06-25 13:51:22 +00:00
Klaus Leithoff
d862d80727 allow the ordering of applications again 2010-06-25 12:55:33 +00:00
Ralf Becker
13ff6543cf replacing admins own openwindow with egw_openWindowCentered2 2010-06-02 18:28:27 +00:00
Ralf Becker
29d273be1a - removed Admin >> Manage applications, as setup is the place and tool
to do that (changing something here breaks something in almost all cases)
- removed disabled apps from application list in:
  + edit user
  + view user
  + edit group
2010-04-27 17:23:30 +00:00
Ralf Becker
938b7cf391 fixed not working rename of account_lid with admin/admin-cli.php, corrupted sqlfs (overwrite /home) 2010-04-21 12:28:27 +00:00
Klaus Leithoff
4a1fec7207 set the default for global_cats parameter to true\nreset start to 0, if we come back or view another apps categories\ntake care that the global_cats param survives the edit 2010-04-13 11:45:22 +00:00
Klaus Leithoff
f6a2c159a1 accept global_cats param 2010-04-13 10:29:05 +00:00
Ralf Becker
0c31158d00 "Ignore not installed apps" 2010-04-12 06:45:33 +00:00
Ralf Becker
71960a6d02 Fixed some more php53 Warnings after latest fix_depricated.php
improvment.
2010-03-21 09:37:52 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +00:00
Ralf Becker
1a5245e101 "only use posix_getpwnam to check for existing system user, if it's available (otherwise no more accounts can be created)" 2010-03-08 21:08:16 +00:00
Klaus Leithoff
e763d692c9 make sure the default type for addressbook is found if there is no entry in egw_config 2010-02-10 14:27:14 +00:00
Ralf Becker
8ad9d0cde5 dont start testjob, if user has no email address set 2010-02-03 03:40:32 +00:00
Ralf Becker
958452ff95 Implementation of global categories limited to a certain group:
- from user perspectiv they are global cat like the existing ones
  (also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table: 
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
41d1d4b5a6 fixed a few typos / debug stuff 2010-01-31 03:29:32 +00:00
Ralf Becker
38da9368b4 fixed a few typos / debug stuff 2010-01-31 03:28:32 +00:00
Ralf Becker
5073a8b24e completly reworked admin >> global categories, in preparation for group specific global cats 2010-01-30 23:57:03 +00:00
Ralf Becker
7a948de39e do NOT allow to delete original contact content-type for addressbook, as it only creates support problems as users incidently delete it 2010-01-07 04:54:48 +00:00
Klaus Leithoff
cbdd9507ad check for systemusers as well and deny creation, when such a user already exists 2009-12-16 14:10:15 +00:00
Ralf Becker
8118ad3b0b "Ajax to construct homedirectory from specified directory name in setup and account_lid" 2009-12-09 08:23:04 +00:00
Klaus Leithoff
e903a8d0f0 call hooks with a proper hook array 2009-12-07 13:12:23 +00:00
Ralf Becker
31e3ee1dc2 "added epl version and fixed detection of debian/ubuntu version" 2009-12-03 09:48:21 +00:00
Ralf Becker
b7b64d103b bigger window for main- or login-screen messages, if using fck 2009-11-28 10:52:03 +00:00
Ralf Becker
7f06f12b1a fixed typos pointed out by Hans-Jürgen 2009-11-22 09:03:46 +00:00
Ralf Becker
04a01fccb0 fixed not working change of comma-separated accounts, eg. info_responsible 2009-11-20 15:07:26 +00:00
Ralf Becker
118a2e0874 "remembering admins previous selection for:
- country
- usage_type"
2009-11-17 20:31:48 +00:00
Ralf Becker
e9eb83b9e2 "fixed not transmitted install-type" 2009-11-17 12:47:39 +00:00
Ralf Becker
9a755daa24 Client to submit monthly statistical data 2009-11-17 09:24:10 +00:00
Klaus Leithoff
2278b9e582 display more info in admin-> accesslog, codealignment 2009-10-06 08:28:31 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Ralf Becker
1bb3fadd1f "added simple callback for config templates, html eg. selectbox get created by using:
- {call_class::method} or 
- {call_app.class.method}
The returned selectbox or input has to be for \"newsettings[$name]\"!"
2009-08-18 16:07:39 +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
Klaus Leithoff
cf5fe6a101 making sure the apps for ACL Management are sorted in Group-view 2009-05-13 13:52:54 +00:00
Ralf Becker
b52d29b7a7 New access log (created during an eGroupware application development
workshop at Stylite GmbH for new developers)
2009-04-27 10:31:23 +00:00
Ralf Becker
9aed38299f "fixed fatal error: creating custom fields delete application config:
caused by a missing config::read_repository() before calling config::save_repository(), which then only stores the custom fields, but not the rest of the config"
2009-04-23 11:18:51 +00:00
Ralf Becker
b11d7fe912 "fix for \"bug\" #1954: greatings should be greetings
and a new file-header"
2009-04-03 07:02:08 +00:00
Ralf Becker
185f934852 Patch from jean-charles.passard@provectio.org to fix handling of account
prefixes
2009-02-16 08:22:22 +00:00
Klaus Leithoff
de231ebb28 adapted new tracker table structure; adapted new knowledgebase table names 2008-11-14 13:24:18 +00:00
Ralf Becker
3fe7919b92 "- fixed wrong call $ids2change instead of $this->change
- egw_vfs --> egw_sqlfs"
2008-11-03 11:03:39 +00:00
Ralf Becker
5cf4b6eedc "fix typo" 2008-10-30 11:35:13 +00:00
Ralf Becker
226df83e0b "fixed bug reported from David Ranking on the devel list: cat list looses status, while editing global cat" 2008-10-08 07:55:49 +00:00
Ralf Becker
c475f86147 - get session list for session.save_handler='files' working again
- sessions are sorted by default with session_dla DESC (newest updated
  sessions first)
2008-08-19 11:54:35 +00:00
Ralf Becker
563ac8c71c session list:
- fixed not working "go to start or list" button
- added start/total display
2008-08-14 12:45:19 +00:00
Klaus Leithoff
df933068b3 #improving edit-mode in admin composing welcome/start messages.
if you entered/saved text in WYSIWYG Mode, you will start editing the text in this mode, later on. If you choose to leave WYSIWYG mode HTML 
tags will be stripped completely. Switching back and forth, will display the saved content with mode selected (WYSIWYG/PLAIN), changes made are
lost if not saved. 
If you save in PLAIN Mode all former HTML formatting will be abondened.
2008-08-11 10:25:58 +00:00
Klaus Leithoff
c5a3178c77 if you switch from text to html, and back, or if you save the message in html mode, there is no way back to WYSIWYG but using the source button
of fck editor and pasting the content of the window. To enable this, call htmlarea with the style parameter 'advanced', wich will be used as 
editor-mode switch then.
2008-08-11 09:25:23 +00:00
Ralf Becker
0c0f74aae4 "new session methods to list and count" 2008-08-08 08:20:53 +00:00
Klaus Leithoff
c19f247316 -moved the emailadmin related strings to emailadmin
-removed the manual setting of the link to the emailadmin, and moved it to emailadmin's hooks
-support the (user/group id change for emailadmin table/fields
2008-08-07 10:31:54 +00:00
Klaus Leithoff
402c0308dd -missing german translations
#Usability feature: Link to access/create a User assigned emailadmin Profile when in edit/view mode of an existing user
2008-08-01 09:54:12 +00:00
Ralf Becker
4bca7982d6 moved rest of the addressbook group-acl code to addressbook 2008-06-30 16:46:01 +00:00
Ralf Becker
ff7325276e hook to register an app for group acl 2008-06-27 10:03:14 +00:00
Ralf Becker
8e1221940a fixed link to set (extended) acl for user or group dirs 2008-04-18 12:38:17 +00:00
Klaus Leithoff
8d9737dab9 added the account creation/modification information to the edit dialog of an account as well 2008-04-10 10:21:51 +00:00
Klaus Leithoff
5ae0e7de95 fixed typo 2008-04-10 09:56:41 +00:00
Klaus Leithoff
735fe90547 added fields created/modified to the display of the single account info as part of the account status.
added accountstatus/created/modified to the display of the account list
2008-04-10 09:08:51 +00:00
Ralf Becker
afe2795f2d removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:37:37 +00:00
Ralf Becker
f4b534904f fixed delete user: select new owner, was showing only the first maxmatches accounts 2008-03-06 09:03:27 +00:00
Klaus Leithoff
91e5c2ab9c deleting the obsolete hook_admin.inc.php file 2008-02-29 13:06:52 +00:00
Klaus Leithoff
e51e180478 resolving of problems regarding 2 classes responsible for the admin prefs_sidebox (admin_prefs_sidebox_hooks + hook_admin) 2008-02-29 13:05:22 +00:00
Klaus Leithoff
6f9e01d386 get the sidebox menue for admin working again; provided by Stefan Becker 2008-01-29 15:14:35 +00:00
Ralf Becker
5d4e591d19 new private custom fields visible only to certain users/groups, only used in addressbook at the moment, easy to add for other apps, only requires to modify the storage method to only save the available cfs, to not delete the hidden ones 2008-01-19 05:32:51 +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
Patrick Bihan-Faou
bb20c359f2 The formated_list function in phpgwapi/inc/class.categories.inc.php was
renamed to formatted_list a while ago. There is no need to keep dead code
around.
2007-11-27 17:14:54 +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