Commit Graph

4239 Commits

Author SHA1 Message Date
Lars Kneschke
e6ebaff6fb take "deny grant access" into account again 2006-07-20 06:53:45 +00:00
Oscar Manuel Gómez Senovilla
dab5e19ef8 massive lang update 2006-07-16 07:13:01 +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
3d4c680760 typo 2006-07-12 20:43:38 +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
c094f15db4 fixed error "no accounts/groups shown in admin", reported by Max.Bidlingmaier-at-EasternGraphics.com, if maxmatches not set 2006-07-12 15:15:44 +00:00
Lars Kneschke
b67d241224 added default type for ./contacts 2006-07-11 18:29:22 +00:00
Ralf Becker
34346b6847 fixed error in modification of existing group, if groupOfNames can NOT be used together with posixGroup (nis schema) 2006-07-11 02:28:58 +00:00
Ralf Becker
26e3790620 script to migrate to the rfc2307bis schema from nis 2006-07-11 01:49:06 +00:00
Lars Kneschke
46b151baa4 improved handling of slowsync and twowaysync 2006-07-09 07:27:23 +00:00
Ralf Becker
b1f1455edc added a list of changed and new addressbook fields 2006-07-08 22:18:36 +00:00
Ralf Becker
8072930632 write only for contact-repository sql-ldap, but not for sql and account in ldap 2006-07-08 21:41:42 +00:00
Ralf Becker
82af1db4bd fix: title in checkbox_multiselect was (only) set for the checkbox, not the whole label 2006-07-08 20:18:36 +00:00
Ralf Becker
c22ac6678c make egw_addressbook.account_id unique, as it should be and to speed up the join with the accounts-table 2006-07-08 01:02:37 +00:00
Ralf Becker
ad7972870c moved saving of account contact-data to accounts class 2006-07-08 00:20:27 +00:00
Ralf Becker
236ed1e3df removed the not longer used schema 2006-07-06 23:17:22 +00:00
Ralf Becker
11775a0846 new method to get the message_id of a phrase 2006-07-06 23:02:55 +00:00
Ralf Becker
970ebe0784 - include US states from sbox
- methods to translate between country-code and -name
- methods to return a translated country-list
2006-07-06 22:52:50 +00:00
Ralf Becker
fbb8eee4ee removed not used sbox classes, use html-, country- or uiaccountsel-class instead 2006-07-06 22:51:45 +00:00
Pim Snel
1f99dafd1b created makefile and instructions for crunching the tinymce.js file
add ttkcruncher to for crunching javascripts
2006-07-06 20:39:08 +00:00
Ralf Becker
6b005761e4 changes thanks to Aleksander Adamowski of the developers list 2006-07-01 21:37:09 +00:00
Ralf Becker
27da7f6edb fixed a fatal error in (direct) updating a 1.0.x install 2006-07-01 20:18:44 +00:00
Cornelius Weiß
4910d3d599 fix: to short column definition for remark field in link class 2006-06-28 12:34:51 +00:00
Ralf Becker
7630412a9e support for 1.2.103 (3. 1.2 bugfix release) 2006-06-24 17:31:15 +00:00
Ralf Becker
558a52b491 1) fixed critical bug in links class: viewing an entry which has links to other entries, for which the user has no view permissions, caused the deleting of the links to these entries. The title function/hook returns now null to indicate an entry does not exist (and all links can be deleted) or false (as previously allways) if there are insufficent rights to view the title. Links get now only deleted in the first case, if title() returns null
2) dont ask ;-)
2006-06-24 15:58:29 +00:00
Ralf Becker
0c8f55b6ea quitened a warning 2006-06-24 15:52:42 +00:00
Ralf Becker
86b3262901 excluding of non phpgwapi files not neccessary and breaks new accounts-class which use addressbook's contact service 2006-06-24 15:52:06 +00:00
Lars Kneschke
4ec908ebe4 added support for fetching body and header for composed email 2006-06-23 19:13:22 +00:00
Lars Kneschke
fd297aad19 added support for commiting sessions(remove file lock for php sessions) 2006-06-23 19:09:38 +00:00
Ralf Becker
37b1a0c0c1 fixed bug: delete always deleted the parent-dir too 2006-06-23 17:43:07 +00:00
Ralf Becker
2aaa25ab58 - webdav works now with multiple domains and user-names including the domain
- webdav creates now the users home-dir, if it does not exist (as filemanager does)
2006-06-23 17:25:02 +00:00
Ralf Becker
1cfeb896a7 reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table 2006-06-23 01:27:03 +00:00
Ralf Becker
5f41dd5512 fixed now working contact-data-edit of accounts via admin for accounts in ldap 2006-06-21 23:14:18 +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
a018b89b84 make the sidebox entries consistently start with a capital letter 2006-06-20 18:22:40 +00:00
Miles Lott
23ac553d70 Fix for types other than md5 and crypt, e.g. SSHA where the the type is contained in the text of the password 2006-06-20 09:50:00 +00:00
Ralf Becker
93c8753b73 improved emulation of old contact class 2006-06-18 05:07:10 +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
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
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
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
Miles Lott
e14cc06c49 Correct spelling of function name. More to come... 2006-06-15 11:38:21 +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
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
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
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
c3bbdcbe57 langs update, trying to fix the phpgwapi/phpgw_fr.lang problem 2006-06-09 05:09:06 +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
Ralf Becker
767c42b43f accounts_ldap::_get_nextid was not returning a negative number for groups, which lead to accounts_ldap::save to return a positive account_id for groups, which messed up some stuff in setup ... 2006-06-08 22:04:44 +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
Lars Kneschke
e4409c7b0a fixed handling of session url, when behind a proxy 2006-06-08 03:46:18 +00:00
Ralf Becker
076711adbf fallback for posixGroup no structural object was missing 2006-06-08 03:29:07 +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
a59c49c2e2 also fetch the password, eg. for migration 2006-06-07 23:21:30 +00:00
Ralf Becker
29f83cba19 calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary) 2006-06-07 22:59:42 +00:00
Ralf Becker
1934c4ce6d fixed some problems:
- in setup we have no sessions --> query the infos on each request
- if the server allows no version 2 binds, the class failed. Now we try again with version 3 set (and succeed)
2006-06-07 22:58:11 +00:00
Ralf Becker
02cfb662e8 minimal update of the LDAP docu 2006-06-07 22:27:22 +00:00
Ralf Becker
9eca4904e0 allow to specify the hash type to prefix the hash, to easy migrate passwords from ldap 2006-06-07 22:08:13 +00:00
Cornelius Weiß
fdebc495f5 add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:16:43 +00:00
Cornelius Weiß
857c4bf685 add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:15:50 +00:00
Cornelius Weiß
6623ad4b8a add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:14:18 +00:00
Ralf Becker
c6b0c63725 - correctly set and empty some additional attributes like first name and email
- validation group-members before setting them (false return from id2name, gives ldap-error otherwise)
2006-06-07 17:58:20 +00:00
Ralf Becker
5a84e151b2 need to invalidate the cache, before new users can be assigned any memberships 2006-06-07 17:55:57 +00:00
Ralf Becker
d8e53a5aab fix to NOT use tls for IMAP 2006-06-07 06:49:08 +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
284369fa23 quitent a debug message 2006-06-07 02:38:47 +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
Lars Kneschke
3821544b6d removed port if 80 or 443 2006-06-06 07:05:26 +00:00
Ralf Becker
73b00c865e Fixed bug introduced with the fix for the "no images" bug, thanks to John Thomas for letting me know 2006-06-06 05:33:10 +00:00
Oscar Manuel Gómez Senovilla
c7007dbca6 rest of massive update 2006-06-03 20:30:48 +00:00
Ralf Becker
b4f3452ffc Fixed problem that on newer SuSE (and maybe other distros too) none of our required objectclasses for groups are an structural object, which caused the adding of new groups to fail. Now I add the 'namedObject' objectclass, if the first adding fails. 2006-06-03 19:44:44 +00:00
Ralf Becker
ef69e29a99 Fix from István Pongrácz for acl-problems in filemanager under php4.3.2 2006-06-03 01:43:40 +00:00
Ralf Becker
3660a8f6ad fixed bug [ 1497590 ] syncml fails due to excessive session id length
--> new version 1.2.102 for the upcomming bugfix release this weekend
2006-06-01 20:04:05 +00:00
Lars Kneschke
fcbe2e5dd5 SyncML fixes 2006-06-01 13:38:37 +00:00
Ralf Becker
208a375928 fixed not shown images, if eGW is installed in the document root, with webserver_url empty 2006-06-01 03:48:06 +00:00
Ralf Becker
ecae41f156 fixed smal prob with non existing header 2006-05-31 01:58:03 +00:00
Ralf Becker
6ccca34f85 - updated header to be processed by phpDocumentor
- fixed bug in delete pointed out by Steven Hammer
2006-05-28 02:39:39 +00:00
Ralf Becker
070e3c2861 added WebDAV access to filemanager, use the following URL:
- konq: webdav://localhost/egroupware/filemanager/webdav.php/home
- win: http://localhost/egroupware/filemanager/webdav.php/home
You can now you drag and drop to updload files or complete folders and you can edit files directly in the filemanger
2006-05-26 01:47:05 +00:00
Pim Snel
20d7921564 tplsavant enhancements needed for jinn and japie functionality 2006-05-22 17:53:56 +00:00
Lars Kneschke
87dcfb1c10 bugifx from jan 2006-05-18 14:21:29 +00:00
Miles Lott
fb4182ea66 Correct spelling 2006-05-17 06:00:12 +00:00
Ralf Becker
32dc4fdb8b bugfix: url's containg var[]=val got corrupted 2006-05-17 05:53:12 +00:00
Ralf Becker
d03b888c94 fixed old search (read) for no filter given 2006-05-17 04:15:58 +00:00
Lars Kneschke
73441f3ac3 SyncML fixes 2006-05-17 03:33:50 +00:00
Cornelius Weiß
8c0945b4d0 fix: count returns 1 if variable dosn't exists! 2006-05-16 09:22:29 +00:00
Oscar Manuel Gómez Senovilla
a2c7927269 lang updates 2006-05-01 23:09:26 +00:00
Ralf Becker
dca9b4194d bugfix for db::expression: As the function has a variable number of arguments, you CAN NOT add further parameters !!! 2006-04-30 18:23:17 +00:00
Ralf Becker
9adfc41c1e allow to create links pointing outside egw 2006-04-30 18:04:14 +00:00
Ralf Becker
ade66bd533 fixed critical bug:
a too long account-lid caused the complete lost of run-rigths from all user and groups
--> beside fixing the real bug, I'm changing egw_accounts.account_lid to varchar(64) as varchar(25) was too small anyway
2006-04-30 12:21:11 +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
2cafb3fbc3 fix for bug [ 1477553 ] contact selector does not keep category, patch from StadtFRLG 2006-04-29 05:18:55 +00:00
Lars Kneschke
955f766a19 some minor fixes to make funambol happy 2006-04-28 05:44:43 +00:00
Ralf Becker
253c46bb9a added old field-list (stock_contact_fields) 2006-04-26 21:24:50 +00:00
Ralf Becker
897b4e1e67 moved the logic what fields to search from the uicontacts in the socontacts 2006-04-26 14:01:10 +00:00
Lars Kneschke
4c0a9c5f1b new classes to detect ldap capabilities 2006-04-26 06:01:21 +00:00
Ralf Becker
58594a03d0 removed wrong parameter 2006-04-25 19:09:39 +00:00
Ralf Becker
e06b228b1b removed addressbook tables 2006-04-25 12:45:13 +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
53b47fed8d new API contacts class using the contacts service of addressbook:
- it extends the bocontacts class of addressbook and
- adds some depricated methods to add basic support for the old contacts methods: read, read_single_entry, add and update
2006-04-24 20:55:16 +00:00
Ralf Becker
9c9b127de6 bugfix suggested by <martinjcole-AT-gmail.com> 2006-04-24 20:20:48 +00:00
Oscar Manuel Gómez Senovilla
55bfc4fac2 weekend lang updates 2006-04-24 09:44:22 +00:00
Lars Kneschke
2bbcde1238 add default contenttype for sifcalendar 2006-04-24 09:23:02 +00:00
Lars Kneschke
df7d119bb3 enable funambol calendar sync 2006-04-24 08:25:53 +00:00
Ralf Becker
d01642a7ad moved addressbook tables to the addressbook app 2006-04-23 14:51:36 +00:00
Ralf Becker
912f82fd85 - new capability for outer joins
- new/changed param to allow to use db::get_table_definitions() without setting/chaning the definitions loaded by the db-class
2006-04-23 14:50:48 +00:00
Ralf Becker
1ed3143918 moved link registry and functions for addressbook into the bocontacts class of addressbook 2006-04-23 14:49:08 +00:00
Ralf Becker
e52c09e0a6 allow to search for fullname 2006-04-23 14:48:19 +00:00
Ralf Becker
6922784f83 new $enum_group_acl parameter for acl::get_grants: should group acls be returned for all members of that group, default yes 2006-04-23 14:46:38 +00:00
Ralf Becker
a6b53002df for https:// url the port was detected as 80 2006-04-20 06:03:02 +00:00
Ralf Becker
da7fe0c747 jerryr icons thanks to Robert Labbe <rob-AT-primetimesolutions.com> 2006-04-18 07:42:15 +00:00
Oscar Manuel Gómez Senovilla
0366415b23 several different lang updates 2006-04-17 06:40:29 +00:00
Ralf Becker
515a22be1a function to create email addresses after a configurable policy 2006-04-16 12:25:11 +00:00
Ralf Becker
dc68edab46 fixed csv import:
- no more caching in the cat_id function, as it's done in the categories class in the API no
- categories::name2id no longer caches not found entries, as they might be added in this request
- contacts_sql::add set's all unset telefon numbers to '', to avoid the stupid db-default '+1 (000) 000-0000', which I dont want to change in the stable release
2006-04-14 09:50:39 +00:00
Ralf Becker
7afa3617c2 fixes from ldeviator <ld-AT-initiated.com> for the jerryr templates (was not working together with the calendar) 2006-04-13 19:38:49 +00:00
Ralf Becker
18d853e728 adding the final 1.2 release 2006-04-11 09:15:17 +00:00
Oscar Manuel Gómez Senovilla
4f88a0bcef commit for closing the 1.2 2006-04-10 16:59:48 +00:00
Ralf Becker
e12b1e9801 fix for bug [ 1467180 ] WEBDAV broken in filemanager 2006-04-09 12:08:53 +00:00
Ralf Becker
a85c611961 fix: suppress index or unique index, which is already a primary key 2006-04-09 10:56:29 +00:00
Ralf Becker
b826e5c2a3 extra code for changing defaults under mssql 2006-04-09 10:53:31 +00:00
Oscar Manuel Gómez Senovilla
5afb077bca lang updates 2006-04-08 23:08:29 +00:00
Lars Kneschke
1d791acb2f important patch from Jan 2006-04-07 08:54:48 +00:00
Lars Kneschke
224fa8f7af check for 0 and NULL for empty values 2006-04-07 08:22:46 +00:00
Lars Kneschke
ea7b5a8afa various small bugfixes 2006-04-07 08:11:17 +00:00
Ralf Becker
c8996cb302 autocreate_session_callback can now return (beside false or true&account-data) also a session-id (by calling session::create($account) itself). That allows to handle wrong account-data yourself and NOT get redirected to login.php 2006-04-06 18:32:22 +00:00
Ralf Becker
2c604b7b06 invalid session cache on change of session preference, otherwise session prefs only work in login 2006-04-05 15:17:41 +00:00
Ralf Becker
00060f9551 - added functions to abstract from_unixtime and date_format for DB-types other then mysql
- db::select adds ORDER BY to append param, only if its not already in the append param
2006-04-05 15:14:59 +00:00
Ralf Becker
a9988cc72a fixed wrong referer if url contains webserver_url more then once, eg. "http://egroupware.org/egroupware/index.php" and "/egroupware" 2006-04-05 14:55:57 +00:00
Cornelius Weiß
d515ec7100 allow to configure more custom options for tinymce 2006-04-05 14:01:09 +00:00
Oscar Manuel Gómez Senovilla
5bef910835 pending commits after CVS problem 2006-04-05 12:18:58 +00:00
Ralf Becker
c230fb81c4 new capability union 2006-03-29 06:58:56 +00:00
Oscar Manuel Gómez Senovilla
3e19646bc1 *** empty log message *** 2006-03-28 22:08:01 +00:00
Lars Kneschke
9c069b1550 added sifcalendar 2006-03-27 23:28:53 +00:00
Lars Kneschke
23df97648d various bugfixes 2006-03-27 23:24:17 +00:00
Ralf Becker
9c2c27b800 disabled SQL queries using the old phpgw_vfs table for WebDAV 2006-03-27 13:43:39 +00:00
Ralf Becker
b008703432 sidebox-handle (if sidebox hides automatic) was still printed 2006-03-27 12:58:58 +00:00
Ralf Becker
3af2e89e65 updated (c) to 2006 2006-03-27 12:58:09 +00:00
Ralf Becker
627e666c5c improved printing:
- all templates define now noPrint and onlyPrint css classes
- idots format (nextmatch) lists on print now a lot nicer
2006-03-26 22:21:22 +00:00
Ralf Becker
37cb5095d5 improved printing: progressbar is now printed as percent value 2006-03-26 22:19:24 +00:00
Oscar Manuel Gómez Senovilla
a6a7b0b7d5 catalan and other updates 2006-03-25 10:49:56 +00:00