Commit Graph

10860 Commits

Author SHA1 Message Date
Ralf Becker
93c8753b73 improved emulation of old contact class 2006-06-18 05:07:10 +00:00
Ralf Becker
d7fee19ad7 translations 2006-06-18 05:04:26 +00:00
Ralf Becker
e5abeeeded quitend warning if search is empty 2006-06-18 05:04:01 +00:00
Ralf Becker
591444be4b dont update the content-history, if we run inside setup (admin-account-creation) 2006-06-18 05:03:35 +00:00
Ralf Becker
4e2ed78789 prevent invinit recursion if read_repository() is called without $this->account_id set 2006-06-18 04:58:02 +00:00
Ralf Becker
9f59a77b85 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:50:07 +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
e57d634c33 enabling the session cache for sql too 2006-06-17 18:40:07 +00:00
Ralf Becker
96ba93f773 use the new type parameter for accounts::name2id to specify accounts 2006-06-17 18:38:32 +00:00
Ralf Becker
0af8df4caa new param to not invalidate the session-cache 2006-06-17 18:37:35 +00:00
Ralf Becker
07df005b44 so_sql::search() was loosing filters, sql-strings (int keys) where writen with that key, instead with [] 2006-06-17 18:30:38 +00:00
Ralf Becker
5dc4617462 setting the default for encrypt_ldap() to des and not just return false, the default is needed if you never saved setup >> config 2006-06-17 16:04:35 +00:00
Cornelius Weiß
4d200374a2 fix: load translation only if a gui is involved 2006-06-16 15:14:31 +00:00
Ralf Becker
ae661608ab allow to use an url (eg. "ldaps://domain.com") instead just a domain name 2006-06-16 04:54:55 +00:00
Ralf Becker
5acd64e429 further improved the detection of "real" links 2006-06-16 04:53:52 +00:00
Ralf Becker
946efce9a1 improved emulation of old contact class 2006-06-16 04:47:22 +00:00
Ralf Becker
2409fdaae4 new email-address-selection popup for felamimail 2006-06-16 04:45:55 +00:00
Ralf Becker
3992f7eef8 new email-address-selection popup for felamimail 2006-06-16 04:44:58 +00:00
Ralf Becker
20032be59d fixed migration (was for testing purpose fixed to LDAP --> SQL) 2006-06-16 01:07:36 +00:00
Ralf Becker
b8074706e4 some fixes for the email search in the new felamimail 2006-06-15 22:05:27 +00:00
Ralf Becker
d02c93748a added title for links option to label widget 2006-06-15 21:57:21 +00:00
Ralf Becker
5f35a0cf8b try using xet files if db is not availible (eg. early setup stage) 2006-06-15 21:52:40 +00:00
Miles Lott
e14cc06c49 Correct spelling of function name. More to come... 2006-06-15 11:38:21 +00:00
Ralf Becker
b978be2eec removed the leading space, thanks to Bastian Schern from the german list 2006-06-15 05:31:56 +00:00
Ralf Becker
8aa7063c94 fix 2006-06-14 23:43:53 +00:00
Ralf Becker
68202a23ff emulate the old access={private|public} 2006-06-14 19:00:16 +00:00
Ralf Becker
ac102085ac fixed about deleting of accounts:
- prevent deleting of own account (as in admin)
- return for accounts account_id and _lid as the sql class does
- do not redirect to admin.uiaccounts.delete_user if no account_id set, as I deletes the current user ;-)
2006-06-14 16:53:14 +00:00
Ralf Becker
6d3833d0ed fixed the ACL stuff, it was included in the wrong position 2006-06-14 16:27:21 +00:00
Lars Kneschke
1afe9362af fix for incomplete targetURI
Patch from Franky(liedekef)
2006-06-14 05:38:15 +00:00
Ralf Becker
0d9206e671 fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction 2006-06-13 21:58:08 +00:00
Ralf Becker
5e0d628d93 - added LDAP ACL stuff to the readme
- reworked Admin >> Addressbook >> Site config
- fixed for LDAP and SQL (eg. LDAP error are now forwarded to the UI)
2006-06-13 21:53:00 +00:00
Ralf Becker
ebdec8bcbb mapped private cell-phone and public key 2006-06-13 15:40:42 +00:00
Ralf Becker
9d3d376d47 fixed not working orga-view: total is no longer a reference to somain->total, so it needs to be set manualy 2006-06-13 15:40:13 +00:00
Ralf Becker
91cd07d611 fixed sql error: "unknown column account_id" 2006-06-13 15:39:25 +00:00
Ralf Becker
2201a45d27 reworked and restructured LDAP support:
- addressbook now supports contacts in SQL and accounts in LDAP
- added supported objectClasses and a README in new doc dir
- ldap::quote() against LDAP query injection
- got jpegphoto in LDAP working (they are binary)
- we support now mozillaAbPersonAlpha and the older mozillaOrgPerson schema, beside inetOrpPerson and evolutionPerson
- added sorting, letter-search and limited result sets for LDAP
still missing is to disable the organisation stuff in the UI for LDAP
2006-06-13 04:30:16 +00:00
Ralf Becker
346164483e using ldap::quote() to gard against LDAP query injection 2006-06-13 04:23:36 +00:00
Ralf Becker
2c87623e9b renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote 2006-06-13 04:22:24 +00:00
Ralf Becker
b2a0081696 phpDoc compatible header 2006-06-13 04:16:38 +00:00
Lars Kneschke
cef4e0bf97 removed some debug messages 2006-06-13 03:01:09 +00:00
Ralf Becker
2973ed5de1 fixed birthday reminder and made the days, it shows birthdays in advance, configurable 2006-06-11 17:26:54 +00:00
Ralf Becker
287726dead bugfix: set_memberships removed the not longer set memberships from $this->account_id and not the given one (which caused the admin to loose the membership) 2006-06-11 14:27:14 +00:00
Oscar Manuel Gómez Senovilla
c942df179d portuguese updates 2006-06-11 09:38:04 +00:00
Lars Kneschke
70344e368c the actual build files 2006-06-11 08:44:23 +00:00
Ralf Becker
7b6a2cd289 changing the setup manual url to manual.egroupware.org, as otherwise the www-redirect on egroupware.org removes the get-params 2006-06-10 16:02:00 +00:00
Ralf Becker
dc7c3c2be1 fixing the fix: -2 has nothing to do with the default group, it is the id for the default prefs 2006-06-10 16:00:26 +00:00
Oscar Manuel Gómez Senovilla
c3bbdcbe57 langs update, trying to fix the phpgwapi/phpgw_fr.lang problem 2006-06-09 05:09:06 +00:00
Ralf Becker
e8be3ed748 fixing the fix: -2 has nothing to do with the default group, it is the id for the default prefs 2006-06-09 03:19:54 +00:00
Lars Kneschke
42b0097681 fix for slowsync and ical import 2006-06-09 02:56:41 +00:00
Ralf Becker
21cf2cf00e calling the changepassword hook when password are changed by the user 2006-06-09 00:09:05 +00:00
Ralf Becker
d8d93ebd77 changed the authticate method to use common::ldapConnect() and not do it yourself, which fails as the ldap-version3 attribute no longer exists 2006-06-09 00:07:57 +00:00