Commit Graph

176 Commits

Author SHA1 Message Date
Ralf Becker
ad04ba821d allways add "account_lid" to order of accounts, as groups only have that, also at ASC/DESC sort to each order criteria 2014-01-21 17:15:08 +00:00
Ralf Becker
d63cf889b4 silenced permanent error_log and fixed a typo 2013-10-18 14:31:46 +00:00
Ralf Becker
319a503c90 fixed broken install under PostgreSQL caused by PHP Fatal error: Call to a member function fetch() on a non-object 2013-10-15 11:42:28 +00:00
Ralf Becker
aaf0a7491d silence warning be defining the constants 2013-09-02 13:40:40 +00:00
Ralf Becker
9af953e2b1 fixed accounts::search sometimes returning too many lines 2013-07-17 13:14:08 +00:00
Ralf Becker
76ab4eee25 return account_expires and account_primary_group via accounts::search 2013-07-03 16:26:18 +00:00
Klaus Leithoff
a7944a3b76 fix problem regarding the ability to save a groups emailaddress 2013-05-23 13:48:51 +00:00
Ralf Becker
9d8c2f42c9 * CalDAV: fixed accepting event removed it from calendar, because email address of a deleted account was prefered over regular account, correctly reporting not found URLs in multiget report 2013-01-25 17:52:28 +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
15df850d28 ignore not (yet) existing mailaccounts table, but not checking for emailadmin, as it is not set in setup 2012-11-22 14:58:34 +00:00
Ralf Becker
350acd2157 handle not (yet) existing mailaccounts table eg. in setup or when no emailadmin installed 2012-11-22 13:25:22 +00:00
Ralf Becker
6341e8fc33 store group email in mailaccounts table 2012-11-15 15:26:35 +00:00
Ralf Becker
6699e26062 accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:36:53 +00:00
Ralf Becker
dea7e46a2d accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:27:01 +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
f676a23821 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-03-04 13:33:10 +00:00
Ralf Becker
046c0919cc make basic data of current user available via egw.user(_field) 2011-08-31 12:17:34 +00:00
Klaus Leithoff
61812f4dc5 allow for forced passwordchange on next login at account creation time 2010-09-27 07:51:32 +00:00
Ralf Becker
a607738c61 "missing order account_fullname for sql" 2010-04-20 12:16:34 +00:00
Ralf Becker
c2413db67b "if negating a search with an exclemation mark, we have to AND the criteria" 2010-04-20 08:46:14 +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
21a85af3d6 "fix for bug #2072: usergroups invisible after last svn update" 2009-05-10 15:02:04 +00:00
Ralf Becker
7698d3ef65 Fixed not (always) updated last password change date 2009-04-09 06:41:41 +00:00
Ralf Becker
dd41d422e9 "fixing high minimize memory usage (important for huge number of accounts)" 2009-03-05 15:17:45 +00:00
Klaus Leithoff
d330fe9934 bugfix for typo in class-var 2009-01-13 11:41:56 +00:00
Klaus Leithoff
5693038f9f added fields created/modified to the retrieval of the single account info.
added accountstatus/created/modified to the retrieval of the account list
2008-04-10 09:06:00 +00:00
Ralf Becker
9553da2f63 "fixed typo: translations --> translation" 2008-03-22 09:25:41 +00:00
Ralf Becker
3bf9ad5efa dynamically autoloading sub-object of egw-object, moved __wakeup methods to concerned classes and other "modernsations" ;-) 2008-03-21 20:11:59 +00:00
Ralf Becker
e79c4b3e6a removed left over line, causing name2id to fail and stopping all logins 2008-03-13 20:08:37 +00:00
Ralf Becker
37a12ac183 "using global db object" 2008-03-13 19:37:09 +00:00
Ralf Becker
2aa096915c reworked the accounts class, to be able to instanciate both backends (ldap&sql), as well as specify the config (account_repository, ldap_*) 2007-12-13 02:32:44 +00:00
Ralf Becker
74c9b0ccb7 fix prevent deleting of accounts via SyncML and to read private flag from the DB if missing 2007-10-11 06:24:57 +00:00
Ralf Becker
097238311b fixed not found user searched by email, if there's also a contact with that email 2007-08-24 10:53:26 +00:00
Ralf Becker
dcf1a53a74 "fixed sql account backend to return array() instead of false for groups without members (can be created by deleting all users, which are members)" 2007-06-15 07:55:42 +00:00
Ralf Becker
71141e4b14 "fixed not working search for groups" 2007-06-03 15:17:37 +00:00
Ralf Becker
892c5f8f83 "fix for bug #584: Problem when sorting accounts in the account-selection popup" 2007-05-01 14:26:48 +00:00
Ralf Becker
0b261f355b fixed not working removal of group-memberships via edit-group 2006-10-19 17:11:35 +00:00
Ralf Becker
9ae99b8003 postgres fix, auto-id column need to be NOT set 2006-07-14 19:59:16 +00:00
Ralf Becker
b12b8ada8b fixed warning if a group without members got created 2006-07-13 19:54:02 +00:00
Ralf Becker
e9c61d87d9 fixed bug, that caused accounts::search() to allways return on the first maxmatches accounts, as the underlying contacts::search() and so_sql::search() need the start param to be exact false and not null 2006-07-12 18:31:19 +00:00
Ralf Becker
ad7972870c moved saving of account contact-data to accounts class 2006-07-08 00:20:27 +00:00
Ralf Becker
5d30855ed1 - fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook)
- invalidate the cache of the accounts-class if contact-data of an account get changed
2006-06-21 23:13:37 +00:00
Ralf Becker
61b6d0b993 moved contact-data (firstname, lastname and email) from the account-table to the contact table:
- all (sql) accounts have now allways a contact associated with them (account_id is added as new column to the contacts table)
- contacts queries are simplefied a lot now, as no more join with the accouns-table, union and case when statesments are necessary
- lot of the special handling for accounts in the contacts class is no longer needed
- new contact-repository mode "sql-ldap" which additional writes all changes to the ldap repository, to allow to use it read-only from eg. thunderbird and still have the full sql speed and features within eGW (not yet fully working!)
==> requites update of API and addressbook to work (setup!)
2006-06-17 18:47:02 +00:00
Ralf Becker
5581a73df7 allways setting account_pwd and account_status (for groups too) as they are NOT NULL, thanks to olo <aleksander.adamowski-AT-gmail.com> 2006-06-08 21:18:46 +00:00
Ralf Becker
7c203162fa fix to allow migration of accounts from LDAP to SQL (account_id already set) 2006-06-08 00:25:57 +00:00
Ralf Becker
3234d5723e - fixed a view error in working together with setup
- quitent (hopefully) all debug messages
2006-06-07 05:16:56 +00:00
Ralf Becker
98d8b30761 rewrite of the accounts classes:
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:36 +00:00
Ralf Becker
c71c53851f fixed critical bug:
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Ralf Becker
c54ebc6323 accounts_sql::save_repository(): overwrite person_id only if set in data 2006-04-25 12:44:40 +00:00
Ralf Becker
e52c09e0a6 allow to search for fullname 2006-04-23 14:48:19 +00:00