Commit Graph

2987 Commits

Author SHA1 Message Date
Ralf Becker
084b53971c fixing the fix: explicitly disallowing "javascript:" url's to be used as menuaction: fixes not working add email links in the addressbook popup for FMail 2006-11-13 11:59:59 +00:00
Lars Kneschke
1ba36a6ca5 Horde::iCalendar vcalendar export bug
Special characters in text field are not scaped when events or todos are exported. For example, ',' in the description field are send literal. According to rfc2445 section 4.3.11 there are some characters which must be scaped or quoted. This patch tries to solved this problem.

patch contributed by Antoni Matamalas
2006-11-13 09:19:01 +00:00
Lars Kneschke
485027f3f1 patch from Christian
this patch fixes the handling of daylight saving
2006-11-13 08:19:23 +00:00
Christian Binder
0f4fee5b3f Horde iCalendar.php::parsevCalendar now accepts ';' AND ',' as field delimiter for EXDATE and FREEBUSY 2006-11-09 09:57:49 +00:00
Lars Kneschke
6173df6f48 * reworked api call for fckeditor 2006-11-08 08:06:27 +00:00
Lars Kneschke
8a0f08b54f * initial import of fckeditor
* added function to add fckeditor instead of tinymce
2006-11-07 18:18:22 +00:00
Christian Binder
cc02f439d7 new dragdrop class -- Introduction in WIKI follows the next days 2006-11-05 09:59:38 +00:00
Ralf Becker
8831acc1c4 fixed Pim's addition to the session class: session of the anon user is destroyed, if he tries to enter an application he has no rights to. The check was before the allowed applications have been read ;-) 2006-11-01 09:40:04 +00:00
Ralf Becker
45fa4d0c1c fix for Nathan to allow again ':' in the links 2006-10-31 16:50:39 +00:00
Ralf Becker
66abd0c259 re-added the account-search-types lost in the rewrite of the accounts-class 2006-10-28 09:32:56 +00:00
Ralf Becker
3dcbd0ae30 fixed adi's patch to allow again searching in other fields then the one used in account-filter (by default uid) 2006-10-28 09:32:04 +00:00
Lars Kneschke
a934f999e9 restructured ldap connect function
- we bind now as ldap admin account to read the info about the ldap server
- we now try to use ldap v3 be default and fall back to ldap v2 when v3 fails
2006-10-28 08:38:17 +00:00
Lars Kneschke
268d434501 fix IE only javascript problem 2006-10-25 13:40:38 +00:00
Lars Kneschke
cf1dad6d52 when synchronizing using syncml, we already have php based session started
and we are (currently) not allowed to change the session_id later
to solve this problem, we simply return the current session_id in new_session_id()
2006-10-25 08:18:13 +00:00
Ralf Becker
4731a59075 preserve already correctly quoted single quotes 2006-10-22 11:35:58 +00:00
Ralf Becker
88048ecc2f renamed datetime class to egw_datetime to support php5.2 2006-10-22 06:39:49 +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
afddf22135 fixed doublicate key error, happening with some installs / php-versions on updating or adding acls 2006-10-15 09:21:59 +00:00
Ralf Becker
4586e3c267 fix for bug #9 2006-10-13 15:55:00 +00:00
Pim Snel
b3f8cf1512 Add to session verify: If User is Anonymous and enters a not allowed application its session will be destroyed inmediatly. 2006-10-13 12:49:03 +00:00
Ralf Becker
3b3c5351de forgot to remove a debugging comment, dbmailForwardingAddress should have the highes precedence 2006-10-12 09:20:22 +00:00
Ralf Becker
cfc6f23dbd ability to set an email-address for groups (with automatic forwards to member's email) 2006-10-11 21:59:43 +00:00
Ralf Becker
85db907265 some bug-fixes for the php sessions with restore:
- problem with $GLOBALS[egw]->translation is no object in common_functions.inc.php (lang() function)
- session cokie with path / (and old session-id) gives "your session could not be verified"
2006-10-11 14:47:23 +00:00
Cornelius Weiß
7f79a72d98 cleanup:
- fragments of concisus api
- file inclusion accidents
added:
support for js reload by filectime
2006-10-10 13:39:07 +00:00
Ralf Becker
bbd2b7a55c Patch from Adi Kriegisch: accounts_ldap::search was NOT using the ldap search-filter from setup >> configuration 2006-10-10 07:33:43 +00:00
Lars Kneschke
d999a797d4 made refresh from server working
the new funambol outlook client support this
2006-10-04 18:16:58 +00:00
Ralf Becker
88d5a016e0 caching the link-titles in the session 2006-10-04 08:23:28 +00:00
Ralf Becker
4c1d7489fe some code to make register_globals On installs safer, we might commit that after a test-periode to 1.2 too 2006-10-03 15:16:42 +00:00
Lars Kneschke
14d546d58d added functionality to add multiple html / text parts to the message 2006-09-28 18:46:27 +00:00
Ralf Becker
2bbebeeb50 allow to also specify an extra, first label, if an array with grants is given 2006-09-25 08:48:19 +00:00
Ralf Becker
bdb15819bd phpgw --> egw 2006-09-24 16:27:39 +00:00
Ralf Becker
052c0e964c fixed depricated get_list methode, to return an array indexed 0, 1, 2, ... as the old one 2006-09-24 08:06:16 +00:00
Ralf Becker
a6af26d8a9 - setting the cookie path, allows to login to different eGW installs (if you want to use this together with the 1.2, you have to copy the 3 modified session-classes there too)
- documentation update
2006-09-24 06:53:34 +00:00
Ralf Becker
445d8467a3 get_links with $only_app param set was returning the complete links instead just the id's, if the entry was not yet created (links stored as an array in the empty id) 2006-09-20 07:11:42 +00:00
Ralf Becker
1f5580c528 hardcoded the use of accounts_backend::search for ldap, as method_exists behavior seems to have more to do with php's version-numbers then with the existens of the method ;-) 2006-09-20 06:03:06 +00:00
Ralf Becker
a594d2f0b9 make sure multiple email-addresses in the mail attribute "survive" 2006-09-16 10:00:06 +00:00
Ralf Becker
058e175669 fix necessary for session-type php_restore 2006-09-15 16:36:09 +00:00
Ralf Becker
fb62796694 big performance improvment (developed and tested on an install with > 2000 users) 2006-09-15 16:19:39 +00:00
Ralf Becker
6b5f54236b upps 2006-09-12 11:55:54 +00:00
Ralf Becker
ab05b3eef6 - change jscalendar-setup url to include lang&dateformat, to force the browser to reload the file, if the user changes his prefs (we had a lot of bug-reports about not working jscal because of this in the past, maybe this should be commited to 1.2 too)
- documentation update
2006-09-12 11:51:02 +00:00
Ralf Becker
82f5919d1c fixed sql error in compatibility function old_read (colum-prefix was not added) 2006-09-11 10:48:54 +00:00
Cornelius Weiß
0144a3aa92 xajax check for upcomming notification module 2006-09-06 08:16:22 +00:00
Ralf Becker
f53f475e53 fixed bug reported on the list by Pierre Rigal: Admin >> Manage users shows only first N groups and not all (was caused by default param of '' instead of null in the depricated accounts::get_list() method used by admin) 2006-09-06 08:13:56 +00:00
Ralf Becker
26fd3d2b97 fixed bug in ACL: grants from a group to an individual were not working and grants from a group to an other group were wrong 2006-09-01 11:03:29 +00:00
Ralf Becker
bb9fb665c9 - tinymce use absolute url's again (as in the previous release)
- docu update
- remove double cursor css-attribute, which gave a lot warnings in ff's javascrip console
2006-08-30 14:47:56 +00:00
Ralf Becker
0e5afc3ca4 fixed bug: umlauts and other non-ascii chars got corrupted in a nextmatch search, when you scroll with left and right arrows, the search value got unnecessary urlencoded 2006-08-30 13:22:51 +00:00
Lars Kneschke
4bc6ad098e added a new option, to filter the allowed attribute values by regular expression 2006-08-29 18:45:17 +00:00
Ralf Becker
e88c4e3eb3 - new method get_3links, to get all links from a given app's entries to an other app's entries, which both link to the same 3. app and id
- documentation update phpDoc headers
2006-08-26 15:58:26 +00:00
Lars Kneschke
c2a7644b5e fix logic problem 2006-08-24 11:50:09 +00:00
Ralf Becker
2229fae121 setting the correct charset for the new xajax version 2006-08-24 11:14:25 +00:00
Lars Kneschke
698c0d9416 ad font tag as valid html tag 2006-08-24 09:49:38 +00:00
Lars Kneschke
9fa275421b patch from christian binder
563: set delimiter to ";" instead of ","
2006-08-24 09:47:40 +00:00
Ralf Becker
410a7a6c15 - fixed LDAP error when expiration date is set (under debain/Ubuntu)
- fixed calculation of shadow_expire (UTC conversation)
2006-08-24 06:27:03 +00:00
Ralf Becker
3c0e159798 - fixed not stored email-address-policy
- removing quotes and space from email-addresses
2006-08-24 06:23:23 +00:00
Ralf Becker
8fd0640039 Two new options for the account-selection:
- Selectbox with groupmembers (only)
- No user-selection at all
These two options limit the visibility of other users. There for they should be forced and apply NOT to administrators.
2006-08-22 16:50:19 +00:00
Cornelius Weiß
68077b49ac skiped two folders in new tinymce version 2006-08-21 19:40:16 +00:00
Lars Kneschke
be7cca8a44 improved handling of devinfo. Now we check if we have the needed datastore info for every alert. If we don't have them, we request the devinfo.
That's important for the synthesis client, which (can) send different datastore options, depending on the enabled datasources on the client.
2006-08-21 03:46:08 +00:00
Lars Kneschke
1037ac7d7f added a shortcut function, to display a defined type of tinymce window. To have a equal looking tinymce window all over egw. 2006-08-21 02:59:35 +00:00
Ralf Becker
dfb2e85ed6 fixed bug TinyMCE destroys xml or html in content 2006-08-18 09:21:28 +00:00
Ralf Becker
374749cdde fixed not working save_value() method, if read_repository was not called 2006-08-17 14:32:25 +00:00
Lars Kneschke
40012677d7 don't convert charset 2 times anymore 2006-08-17 03:38:27 +00:00
Lars Kneschke
502f8508ef removed (hopefully) unneeded linebreaks 2006-08-17 03:30:19 +00:00
Lars Kneschke
b4be59fbb0 update to new xajax version 2006-08-16 03:31:35 +00:00
Lars Kneschke
acec55da41 add info for new caltasks sync source 2006-08-16 03:31:06 +00:00
Lars Kneschke
46d29b527d search also in idots as default image path
that would allow us to remove default completly in the future
2006-08-16 03:30:23 +00:00
Lars Kneschke
45200da684 various syncml fixes
- when doing slowsync we don't update the entries anymore. we just add the needed mapping to the database.
- improved handing of deviceinfo
2006-08-15 14:42:13 +00:00
Lars Kneschke
072b6966d2 // fix for Nokia Series 60 which seem to send empty data block sometimes 2006-08-15 14:40:34 +00:00
Ralf Becker
1ea213f903 allow users with identical names as groups (LDAP) to login, thanks to Jan Lindemann <jan-at-jannet.de> 2006-08-15 03:15:55 +00:00
Ralf Becker
8b199cf8e2 better error-message 2006-08-14 18:33:41 +00:00
Ralf Becker
2d41edc263 fixed not working delete 2006-08-12 08:46:20 +00:00
Ralf Becker
3d831bf7d7 new search method plus documentation 2006-08-11 20:50:36 +00:00
Pim Snel
28ea28e013 For the initial release of Credits Point we need add one API class
Credits Point will introduce payed services in to egroupware. Payments are 
handled via Payment Service Provider Plugins. Credits Point is compatible 
with OsCommerce for these plugins so we have access to hundreds of payment 
plugins.

Developers can register functionality in the CP service database. CP admins
can offer registered functionality as payed service to the eGW users.

More info follow...
2006-08-04 08:50:11 +00:00
Ralf Becker
e22ad754a5 fixed not working jscalendar, if for some reason no default date- or timeformat was set in the (default) prefs 2006-07-31 19:43:21 +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
Lars Kneschke
46b151baa4 improved handling of slowsync and twowaysync 2006-07-09 07:27:23 +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
ad7972870c moved saving of account contact-data to accounts class 2006-07-08 00:20:27 +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
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
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
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
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
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
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
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
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
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
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
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