Ralf Becker
18cb6f75a6
fixed again not working new account creation under AD agains Win2008r2
2013-07-16 15:19:38 +00:00
Ralf Becker
fcd1f660b8
disable "account_lid" input, if backend (eg. AD) does not allow changing it
2013-07-13 08:34:33 +00:00
Ralf Becker
96c5697009
need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!)
2013-06-20 09:56:43 +00:00
Ralf Becker
3e40eaf0cb
* API/Addressbook/EMailAdmin: full support for active directory as account storage, tested with Samba4 and win2008r2
...
Trunk commits r42507, r42545, r42556, r42557, r42612, r42630
plugin to support Active Directory to store email configuration (in proxyAddresses attribute, no Exchange schema and support!), also fully autodetecting plugins now in emailadmin/inc directory
2013-06-06 07:21:42 +00:00
Ralf Becker
38a4671e04
* Sambaadmin: create new users/groups in LDAP with uidNumber/gidNumber matching relative id (last part of SID) to ease migration to AD or Samba4
2013-05-25 11:08:10 +00:00
Klaus Leithoff
8ced02dc55
fix problem regarding the ability to save a groups emailaddress
2013-05-23 13:51:41 +00:00
Ralf Becker
4037993dc5
* API: full support of active directory as account storage, tested so far with Samba4
2013-05-22 17:22:20 +00:00
Ralf Becker
9bae75e22d
* all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again)
2013-01-25 13:35:30 +00:00
Ralf Becker
2841317b08
* all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again)
2013-01-25 13:21:31 +00:00
Ralf Becker
12fa75f978
fix typo in comment
2012-11-19 08:24:47 +00:00
Nathan Gray
86a5b379cb
Fix fatal error deleting user (LDAP)
2012-09-24 14:46:33 +00:00
Nathan Gray
a86a3d72c6
Fix fatal error deleting user (LDAP)
2012-09-21 14:36:02 +00:00
Ralf Becker
06a6a40efe
need to allow account_lid string as parameter for accounts::id2name(), it is used in many places
2012-08-13 14:26:19 +00:00
Ralf Becker
1d743830c9
need to allow account_lid string as parameter for accounts::id2name(), it is used in many places
2012-08-13 14:26:00 +00:00
Ralf Becker
ff99215955
cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts
2012-08-09 08:56:52 +00:00
Ralf Becker
51270655f9
cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts
2012-08-09 08:56:28 +00:00
Ralf Becker
f52bdcc51b
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:39 +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
ce05125ecf
accounts::id2name() needs to return false, not throw an exception for not found accounts
2012-08-07 16:10:17 +00:00
Ralf Becker
92a97ea4d9
accounts::id2name() needs to return false, not throw an exception for not found accounts
2012-08-07 16:09:54 +00:00
Ralf Becker
02c464b94f
* API/accounts/preferences: instance-wide cache of account and preference data, so changes from other sessions have immediate effect
...
r40051: * API/accounts: instance-wide cache for account-data incl. members and memberships, so change take imediate effect (compared to previous session based cache)
r40052: not storing $GLOBALS[egw_info][user] twice in session (was also stored as $GLOBALS[egw]->session->user), also removing not used $GLOBALS[egw_info][user][acl], but re-reading preferences in session::verify() so long running sessions get preferences set by an other session, removing nowhere used creditspoint class from api (calls not public available creditspoint app)
r40053: * API/preferences: caching preferences in instance cache instead of session, to get immediate update in long running sessions (eg. sync) and get smaller sessions
2012-08-07 14:26:52 +00:00
Ralf Becker
c2105fcf31
* API/accounts: instance-wide cache for account-data incl. members and memberships, so change take imediate effect (compared to previous session based cache)
2012-08-06 10:06:59 +00:00
Ralf Becker
54a2a21a4f
fixed 5.4 PHP Warning: Illegal offset type
2012-07-17 13:59:56 +00:00
Ralf Becker
493bf3bcd0
fixed 5.4 PHP Warning: Illegal offset type
2012-07-17 13:59:37 +00:00
Klaus Leithoff
e36b712421
* API: for new (autocreated) accounts, set ->can change password<- flag only if admin requires his users to change their passwords regularily (admin->site configuration->set recurrent forced password change)
2012-06-29 14:03:41 +00:00
Klaus Leithoff
45fe6d9fea
for new (autocreated) accounts, set ->can change password<- appropriately, move section before processing of hooks
2012-06-29 13:54:13 +00:00
Klaus Leithoff
fa90c1066c
* API: for new (autocreated) accounts, set ->can change password<- flag only if admin requires his users to change their passwords regularily (admin->site configuration->set recurrent forced password change)
2012-06-29 11:38:58 +00:00
Nathan Gray
41cf864a73
Respect group filter, if passed
2012-05-29 22:24:15 +00:00
Ralf Becker
2f1981372a
* CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible
2012-04-12 10:44:37 +00:00
Ralf Becker
15c9fd0d32
* CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible
2012-04-12 10:44:00 +00:00
Ralf Becker
903f96998a
* Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
...
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:23:56 +00:00
Ralf Becker
a1ffcd08e4
* Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
...
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:22:51 +00:00
Ralf Becker
b1b1ab820a
no need for db schema on the client
2011-09-09 14:56:34 +00:00
Ralf Becker
008f009d80
- implemented new egw.link_app_list(_must_support) and egw.link_get_registry(_app, _name) methodes
...
- using egw.link_app_list('query') in link widget (no need to transfer it additonally)
- added some more docu to egw object
2011-09-08 12:24:53 +00:00
Ralf Becker
6a544af55b
fixed typo causing search for group-members to fail for accounts in sql
2011-09-08 09:58:18 +00:00
Ralf Becker
b950c5b811
fixed typo causing search for group-members to fail for accounts in sql
2011-09-08 09:57:32 +00:00
Ralf Becker
975a8ade09
* API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts
2011-09-07 16:47:08 +00:00
Ralf Becker
f5c5df3299
respect restrictive account-selection "groupmembers" and "none" when linking with accounts and sort search for accounts alphabetically
2011-09-07 16:44:00 +00:00
Ralf Becker
b633044a46
* API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts
2011-09-07 14:47:51 +00:00
Ralf Becker
046c0919cc
make basic data of current user available via egw.user(_field)
2011-08-31 12:17:34 +00:00
Ralf Becker
d6822d9564
- fixed not working accounts::cache_invalidate(): cache is now in regular egw_cache on session level
...
- calling static methods static: accounts::cache_invalidate() or egw::invalidate_session_cache()
- fixed wrong number of deleted items in setup_cmd_ldap sub-comand=delete_ldap
- only use create, if we have an ldap_admin_pw set
- call an add_account hook for each created account, if specified (not by default)
2010-08-29 08:16:27 +00:00
Ralf Becker
b470f52e99
"fixed not working $type=='owngroups' for ldap, eg. used in calendar pref 'Preselected group for entering the planner'"
2010-04-23 10:55:09 +00:00
Ralf Becker
80d89dc590
"allow to specify more then one group for an auto-created user
...
(first is primary, further are just memberships)"
2010-03-29 07:39:09 +00:00
Ralf Becker
ac75c349b8
"calling split_accounts with 'merge' it type is NOT either 'accounts' or 'groups'"
2010-03-25 08:48:58 +00:00
Klaus Leithoff
3aec3b7e5a
accounts_search with app param: for split_accounts we want the result merged all the time, as we use it for checking ids only
2010-03-24 13:53:28 +00:00
Ralf Becker
90a3a946f6
restructured accounts::search() code, to handle $param[app] for ldap too, fixed ldap backend to also index array by account_id
2010-03-20 13:24:01 +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
6aa95316ba
using a static var as cache, which is a reference to the session:
...
a) automatic shared between all instances of accounts class
b) no need to have a shutdown function storing it to the session
--> cleaner code
2009-12-07 17:56:31 +00:00
Ralf Becker
2cd4742695
"removing unnecessary instancations"
2008-03-25 17:00:56 +00:00
Lars Kneschke
844936d19b
added singelton pattern to the accounts class and added function to set accountId without needing to call the construtor
2008-02-08 11:16:09 +00:00