Commit Graph

3236 Commits

Author SHA1 Message Date
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
Lars Kneschke
df9ba564c2 patch from Patrick Bihan-Faou to fix contact duplication 2007-10-10 07:21:00 +00:00
Ralf Becker
ea3994993d fixed not returned global and other user cats in name2id (eg. if contacts stored in LDAP or SyncML), the so far only returned personal and application global cats have priority 2007-10-07 07:00:03 +00:00
José Luis Gordo Romero
96ed4814ac OCI8 ADODB - Fix imported from adodb 5.02 (Control triggers and secuence names > 30 chars, oracle restriction) 2007-09-30 03:00:03 +00:00
Ralf Becker
7b6a1013fc SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
  direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
  other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 10:29:48 +00:00
Ralf Becker
82f2b4e91f global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
Carsten Wolff
645750297f explicitly enable casts between text and bytea for transparent use by schema_proc 2007-09-27 22:06:58 +00:00
Klaus Leithoff
a10101d640 Fix for a problem with cumulating timesheets when the linking application is other than initiated by $app1, means for whom link_app1=$app1 and app1
being the application passed on in the get_3links function parameter list.
2007-09-12 13:17:02 +00:00
Ralf Becker
820bb9b592 calculation of rfc822 dates was not working with half hour time zones used eg. in Australia, set smtp timeout to 30s, as there are multiple reports 10s is to less 2007-09-05 07:50:10 +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
fa8bef1312 typo 2007-08-23 10:22:55 +00:00
Ralf Becker
47ddd5f714 a fix to get the memcache session handler working with SyncML: the way SyncML/Horde handles the session (calling session_destroy) unloads our custom memcache handler 2007-08-23 10:18:14 +00:00
Ralf Becker
f17e9b4032 to allow other code (eg. the SyncML code from Horde) to open the eGW session, we use a first memcache key identical to the original memcache session handler (for the first junk/1MB) 2007-08-17 15:53:19 +00:00
Ralf Becker
4c59fcbc76 1024*1024 is too big, maybe some account-info needs to be added 2007-08-17 14:31:15 +00:00
Ralf Becker
4011dba79b memcache session handler, which can deal with typical eGW sessions > 1MB (the one included in the pecl extension fails) 2007-08-17 13:56:06 +00:00
Klaus Leithoff
dc2acf4428 added OpenOffice Fileextensions to class.mime_magic.inc.php;
fixed a problem for the refreshing of a directory: mime_types got lost, when refreshing and the mime type could not be determined by get_real_info.
the fix uses the phpgwapi.mime_magic.ext2mime function to determine the mime_type if the common method fails to find one.
2007-07-31 13:58:15 +00:00
Ralf Becker
9b476e0687 fixed problem caused by non existing session-object in setup, reported und the user list 2007-07-27 09:36:00 +00:00
Ralf Becker
d899beeb55 "fixed problem reported on the german list: memberships get not set if a new user gets creted in ldap
It turned out to be a caching problem, as the cache of the accounts-class still contained a failed id2name resolution for the new account.
This was caused by the session-restore with stored the cache in the global accounts object ($GLOBALS[egw]->accounts) too.
Now the global cache is in the global account-object and all other account objects use just a reference to that cache. It get stored from common::egw_final by calling $GLOBALS[egw]->accounts->save_session_cache() in the session."
2007-07-27 07:46:55 +00:00
Ralf Becker
4f6b0ae2da fixed not working semaphore in asyncservice (we are not supporting table locks anymore / since 1.2) 2007-07-26 09:22:28 +00:00
Ralf Becker
32b19397ae fix for bug 'etemplate tree widget does not work in IE6' reported on the developer list uwe.redecker-AT-t-online.de 2007-07-24 09:32:28 +00:00
Ralf Becker
9f1df33c74 first version of a tree widget (atm the whole tree need to be supplied, like for select) 2007-07-22 13:23:44 +00:00
Ralf Becker
0d3caf95a8 changed search order and added some caching, to minimize db-accesses in country_code 2007-07-18 06:09:26 +00:00
Ralf Becker
ef51f663b7 quitent warning when vfs trys to delete an in the db non-existing file 2007-07-16 09:18:16 +00:00
Cornelius Weiß
909609ebbc backport syncML fixes 2007-07-04 19:14:35 +00:00
Ralf Becker
c4a17cf53f "fixed date-type problem in restore reported on the german list" 2007-07-03 08:21:29 +00:00
Ralf Becker
a55b1a5163 "fixed bug reported from sim <sim-at-compulab.co.il>: _read_group not searching for posixGroup, which makes problems if you have identical numbers and context for users and groups
also added a filter for objectclass=posixAccount to _read_user"
2007-06-27 05:26:46 +00:00
Ralf Becker
4b80391b71 "fix for sequenzes tables are depending on for postgres 8.x, thanks to Peter Eisentraut" 2007-06-25 15:57:19 +00:00
Lars Kneschke
495abdd139 fixed handling of too long syncml id's 2007-06-25 08:55:20 +00:00
Lars Kneschke
244097e99c added special handling to better detect funambol clients 2007-06-24 23:52:41 +00:00
Ralf Becker
8f1f3f68cb "fix to detect if a table depends on a sequence to not try to drop it separate, thanks to Peter Eisentraut <peter_e-at-gmx.net>" 2007-06-24 08:36:20 +00:00
Ralf Becker
bd30386440 "fixed access to parent dir off session.save_path, which gives errors under open_basedir" 2007-06-22 18:23:11 +00:00
Ralf Becker
059ca86239 "implemented automatic truncate of varchars to their max size for postgres, to fix SQL errors which cause eg. SyncML to fail under Postgres" 2007-06-20 18:47:14 +00:00
Ralf Becker
23c2f997fc "- fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend" 2007-06-20 07:40:59 +00:00
Ralf Becker
1697a56468 "- fixed handling of passwords with special chars
- made handling of empty passwords more obvious
- fixed primary group to use negative group-id"
2007-06-20 06:49:02 +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
04ba662494 small enhancement to keep the attachments, 'til the infolog entry gets finally deleted 2007-06-14 06:16:19 +00:00
Ralf Becker
e54535cfc8 "fix for bug reported on the german list" 2007-06-13 15:37:10 +00:00
Ralf Becker
8eda1028a3 "switching FCK's encoding as html entities off, as we correctly handle charsets and it messes up the wiki totally" 2007-06-13 08:35:13 +00:00
Ralf Becker
3ddd4a7d17 bugfix: async service "sometimes" misses jobs (db-class was not cloned but copied) 2007-06-10 08:47:14 +00:00
Ralf Becker
d56c51d71d deny ADS logins with empty passwords, in case anonymous search/bind is enabled on ADS 2007-06-08 15:42:07 +00:00
Ralf Becker
6ca395375e fixed not working context sensitiv manual page for site config pages 2007-06-08 10:24:20 +00:00
Ralf Becker
01f44ef311 "fix for konq, if multiselect is in a right-alinged table-cell or box" 2007-06-07 10:29:56 +00:00
Ralf Becker
5e59f78c8f "fixed bug reported on the list: not working backup&restore because of blob columns: they get base64 encoded now" 2007-06-03 17:57:40 +00:00
Ralf Becker
71141e4b14 "fixed not working search for groups" 2007-06-03 15:17:37 +00:00
Ralf Becker
7ed708df75 NOT FOR 1.4: a very first step to the new vfs structure, it only does a ls via commandline of the old vfs 2007-05-29 08:35:27 +00:00
Ralf Becker
23b75e9e91 "bugfix: removed accidently (not working) added search for groups" 2007-05-27 06:26:17 +00:00
Ralf Becker
233a414efe new about page from Sebastian Ebeling 2007-05-26 19:06:12 +00:00
Ralf Becker
ff5ced8be3 not used since some time 2007-05-25 21:06:10 +00:00
Ralf Becker
1e9b08d510 fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de> 2007-05-25 12:18:00 +00:00
Lars Kneschke
aee25f82df fix for a sometime not terminating loop. patch provided by knut moeller 2007-05-25 08:24:22 +00:00
Ralf Becker
b8f54d1408 "fixed IE cookie problem: IE seems not to care for the path when deleting cookies, beside using the oposite order in processing the cookies" 2007-05-24 10:11:35 +00:00
Ralf Becker
83a9989e57 "fixed IE cookie problem: IE seems not to care for the path when deleting cookies, beside using the oposite order in processing the cookies" 2007-05-24 10:10:20 +00:00
Ralf Becker
755261fe6a "fixed possible dublicated session-id of our own session-id creation function, by using the php one" 2007-05-23 18:04:05 +00:00
Ralf Becker
497cabb832 "fixed some 'funny' bugs if session-id is in the URL, by adding the session-related vars first (eg. creation of distribution lists does not work)" 2007-05-23 10:36:53 +00:00
Ralf Becker
c2bb34cd4e fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
Ralf Becker
852f8149b2 "fixed error in fmail compose under Konqueror: fallback textarea is only 4 lines high, not 400px, as FCK expects the heigt as number and adds px itself
also removed the commented out tinymce code"
2007-05-21 06:19:42 +00:00
Ralf Becker
80419ee783 "removed some \"dead\" code" 2007-05-20 15:16:15 +00:00
Ralf Becker
5f228355ef "fixed bug reported on the userlist: partial content under mbstring.func_overload&2" 2007-05-19 04:37:14 +00:00
Ralf Becker
cf7af58f88 "shut the debug message in error_log, when calling the old contact.read() method instead of contacts::search(), as users seem to think it's an error-message" 2007-05-18 17:47:51 +00:00
Ralf Becker
1dd9efb7fb "fixed missing encoding for ambersands by using the standard php functions htmlspecialchars and htmlspecialchars_decode" 2007-05-18 16:10:14 +00:00
Ralf Becker
d2f80cf8dc fixed SiteMgr session-problems by making the cookie path/domain configurable with more reasonable defaults then 1.4 has at the moment, making the display of * behind untranslated phrases an option which is by default off (as it anoyes users) and added a few more explenations to Admin >> Site configuration (plus removing not used ones) 2007-05-17 08:35:35 +00:00
Ralf Becker
47400643f7 fixed db-creation to allow db-names with dashes 2007-05-15 06:37:24 +00:00
Ralf Becker
7f64e2d175 fix for bug #488: Postgres errors when upgrading to 1.4 beta 2007-05-12 16:58:47 +00:00
Lars Kneschke
defef645e2 disabled context menu in simple view to enable FF2 and IE7 spellchecker 2007-05-09 15:37:25 +00:00
Ralf Becker
0f5ccb8c9f php5.2 2007-05-09 08:53:08 +00:00
Ralf Becker
a33f2ab12c fix for bug #518: 2007-05-08 11:44:43 +00:00
Ralf Becker
9748cf96be fix for bug #700: Date format d-M-Y not working in Infolog list display 2007-05-08 07:38:36 +00:00
Ralf Becker
8ac09e8dba fix for bug #674: no more simple multiple participant selection 2007-05-07 18:59:05 +00:00
Ralf Becker
359eb4b9ea "small docu update" 2007-05-07 15:01:48 +00:00
Ralf Becker
4378a84503 "fix for bug #445: xmlrpc utf-8 encoding error
Thanks to a fix from Eugene Pivnev"
2007-05-04 12:22:04 +00:00
Ralf Becker
6e15de8da8 "patch #177: mime-type for wordperfect" 2007-05-03 13:46:19 +00:00
Ralf Becker
e3a4af3a1d "bugfix/patch #632: Active Directory (ADS) authentication in 1.4 Beta 4 (1.3.019)" 2007-05-03 13:40:38 +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
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Ralf Becker
5224372bfc "limiting the size of a session-file which gets read to list the sessions, to prefent admin users being not able to log in because of a \"runaway\" session of any other user" 2007-04-30 05:37:31 +00:00
Ralf Becker
d7eebb964a worked around stupid php5.2 empty haystack warnings 2007-04-30 05:34:40 +00:00
Ralf Becker
410dadba14 "VFS bugfixes:
- fixed not working creation, rename and deletion of user- and group-dirs
- WebDAV showed all user- and group-dirs in /home and not only the ones the user has read access too"
2007-04-29 12:06:17 +00:00
Ralf Becker
47763981e9 "missing default for last param or fckeditor" 2007-04-27 08:48:50 +00:00
Cornelius Weiß
63ee37b29c fix wrong old_defaut imagedir 2007-04-26 23:23:05 +00:00
Ralf Becker
dd45443d8e "fix for bug #486: InfoLog removes https from urls on display
and some other fixes in the activation of url's"
2007-04-26 12:32:03 +00:00
Ralf Becker
c160fdec74 "bugfix: primary-group of current user was read from not always set $GLOBALS['egw']->accounts->data, instead just from $GLOBALS['egw_info']['user']" 2007-04-26 11:52:47 +00:00
Ralf Becker
20b4f9b77d "fixing an old php5 fix, which caused extra-labels to have key 0 instead of '', which caused eg. InfoLog to require two clicks to close an entry (only after called the first time after login)" 2007-04-26 07:34:27 +00:00
Ralf Becker
47f6358788 "manual link was not working, if session.use_transsid was switched on - thought it seems not to be used, as we take care of transporting the session-id. Maybe it's different between php4 and php5, as I remember is was necessary some time ago. Anyway ... " 2007-04-24 12:49:25 +00:00
Carsten Wolff
0214de953e RRULE should not be escaped by this class in egw, because it's generated with ; in it 2007-04-24 09:33:22 +00:00
Ralf Becker
a06732a3e2 "- removed =& in the creation of the framework object because of problems with php4, php5 does not matter anyway" 2007-04-15 08:43:39 +00:00
Ralf Becker
c5c317d9df "get image upload in fck working again" 2007-04-14 16:57:57 +00:00
Ralf Becker
54e479c408 "get WebDAV working again after the last change in the session class:
we can NOT clean the whole egw_info/server array, as this also cleans the variables set in the header, which get not re-read
--> we need to keep the important values: sessions_type and default_domain"
2007-04-07 09:44:39 +00:00
Pim Snel
e464fc3304 - More information why people have no access to app. Users often think they did not log in
- Replace html with error msg in code with savant template
2007-03-29 21:01:11 +00:00
Lars Kneschke
a71db5a07c write a empty memberuid array to ldap only when updating groups 2007-03-20 09:24:22 +00:00
Rob van Kraanen
0aa8420ddd refund action added 2007-03-08 09:10:52 +00:00
Lars Kneschke
0964862aa7 reset the db all other phpgwapi data if switching domains 2007-03-01 06:32:27 +00:00
Lars Kneschke
8e1dc4b5b1 another PHP 5.2 bugfix and an javascript fix from Sebastian 2007-02-28 06:06:35 +00:00
Lars Kneschke
66a207d455 make sure the mbstring supports get always enabled. It's needed for the imap conversion(utf-7 => systemcharset). 2007-02-27 20:04:26 +00:00
Lars Kneschke
baf14bae10 make syncml searching in egw-pear too 2007-02-27 06:42:45 +00:00
Lars Kneschke
7025c0d91a fix for Warning: Wrong parameter count for str_replace() in /usr/share/egroupware/phpgwapi/inc/class.html.inc.php on line 1061 2007-02-27 06:41:36 +00:00
Lars Kneschke
4c641f2769 iconv can not convert from/to utf7-imap. Added support for conversion based on the functions provided by the imap extension.
Returning the unconverted string when conversion using iconv failed. This was also not working before.
2007-02-14 11:44:01 +00:00
Lars Kneschke
c58a299113 REQUEST_URI can contain also some get paramters 2007-02-05 16:01:29 +00:00
Lars Kneschke
c6e057d98f add another variant to strip the last dirctory name(should be more failsave now 2007-02-01 15:36:39 +00:00
Lars Kneschke
4fe75764bc make sure that we are really working with a object. That's not always true, when using SyncML for example. 2007-01-24 16:38:46 +00:00
Cornelius Weiß
d284974f9f patch #203 from sebastian ebling:
extendet submit_button() to also display <input type=button
 new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
 applied this type for tracker.index.right button
2007-01-20 08:54:56 +00:00
Cornelius Weiß
a90f81b8f4 compat for other browsers 2007-01-19 08:00:09 +00:00
Cornelius Weiß
8cf37ad18b upps, this function is used by wiki 2007-01-19 06:58:38 +00:00
Cornelius Weiß
9e2b2b780f complete transition to fck
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:18:44 +00:00
Cornelius Weiß
1eb9dbe961 applay path #298 from Jose Luis Gordo Romero: sitmgr, api tiny->fck 2007-01-18 17:59:28 +00:00
Cornelius Weiß
8aa8cd4e2a applied patch #280 from Sebastian Ebling: * removed the "About ..." menu entry from top and sidebox menu
* mostly rewritten the about.php page (added application list)
* changed footer eGroupWare link to about.php
* moved manual from application menu to top and sidebox menu preserving its special link target
2007-01-17 17:51:47 +00:00
Pim Snel
6a91aaf76a add pdml class as fpdf extension and plus API wrapper the pdml class 2007-01-15 15:35:00 +00:00
Ralf Becker
fe7ad0a549 always comparing options as strings 2007-01-12 01:24:05 +00:00
Pim Snel
48c4bfdc9b put current_user code in its own functions 2007-01-09 23:14:21 +00:00
Pim Snel
4e26206909 remove topmenu code from framework again 2007-01-09 22:42:01 +00:00
Ralf Becker
3ca0341bf9 "fixed docu of search method: order and sort were exchanged" 2007-01-08 08:58:48 +00:00
Ralf Becker
9035eafef4 "- fixed docu of search method: order and sort were exchanged
- added missing 'sort' parameter for depricated get_list method"
2007-01-08 08:57:33 +00:00
Christian Binder
30f60a1276 dragdrop class: with addCustom() now custom DHTML objects are possible, not just draggables and droppables 2007-01-05 23:07:35 +00:00
Pim Snel
213d694121 remove error, make topmenu do nothing when not available 2007-01-05 14:13:40 +00:00
Pim Snel
60b9285d71 add topmenu to the egw framework
implement topmenu in idots template set
add idots preference to enable topmenu
add idots preference to disable general sidebox menu
some cleanups in idots framework class
some cleanups in egw_framework
2007-01-05 14:06:34 +00:00
Christian Binder
4a0af9f977 dragdrop: make class aware of multiple instances and make wz_dragdrop::ADD_DTHML() more performant 2007-01-05 13:56:28 +00:00
Ralf Becker
a6131d726e fix for bug #240: PHP Warning at accountsel popup if search has no result (accounts in ldap) 2007-01-04 06:54:33 +00:00
Ralf Becker
ec313158ee made the session restore a bit more robust: if the session object could not be restored, destroy and re-create it 2007-01-04 06:37:45 +00:00
Pim Snel
f957bdfa83 add option custom image path parameter for tree menu to enable custom icons 2007-01-02 23:26:53 +00:00
Ralf Becker
733e2cfe2d - if 'egw-pear' exists, it is put in front of the include_path
- checking the php min-version of 4.3 now with version_compare and complain if it's not reached
2007-01-01 14:35:44 +00:00
Ralf Becker
9172cf3fa9 fix for bug #72: 'Group' is not translated in calendar popup (and many other places) 2006-12-25 12:38:37 +00:00
Ralf Becker
c9377bfc61 new login page using the framework class(es) 2006-12-25 11:05:44 +00:00
Ralf Becker
80d063e041 new param $path for egw_setcookie to optionally specify a path 2006-12-25 11:04:21 +00:00
Ralf Becker
4d5d4c42c0 quietend a warning happening if no use set in login 2006-12-25 11:02:54 +00:00
Christian Binder
6f78261f7f modified walter zorns wz_dragdrop.js to have a defined focus on the draggables (e.g. top left or center center) - sent these changes to walter zorn as he thought himself about implementing that, set calendar events to focus now on top center with a border of 2 pixels to make dragging more logical for the user - modified dragdrop class to take focus as e.g. 'top left 5' focuses draggable on top left with a border of 5 pixels inside 2006-12-23 10:13:51 +00:00
Ralf Becker
6584ab6487 some more stupid php5.2 fixes 2006-12-22 06:33:01 +00:00
Ralf Becker
42698c08b6 some more stupid php5.2 fixes 2006-12-21 14:10:59 +00:00
Pim Snel
c1c6bddace - fix bug in egw_db so that it will always work with postgresql if using external db's
- enhance schema_proc so that it can work with schema's of externals db objects
2006-12-20 15:18:27 +00:00
Ralf Becker
e6998c2ecf PostgreSQL 8.1 fix 2006-12-20 09:26:04 +00:00
Ralf Becker
3660b40851 fixed typo 2006-12-20 09:25:29 +00:00
Ralf Becker
33d333f56f quitened these stupid php5.2/mb_string warnings 2006-12-19 07:34:29 +00:00
Ralf Becker
61eb991338 quitened these stupid php5.2 warnings: it seems stripos has the same problems as strstr and stristr, there for I changed everything to @stripos 2006-12-19 07:12:49 +00:00
Ralf Becker
e6dd37c326 quitened 2 of these stupid php5.2 warnings 2006-12-19 07:09:59 +00:00
Ralf Becker
7389a7a2cb some more refracturing of the template code 2006-12-17 13:14:16 +00:00
Ralf Becker
347f0c5649 Upps portalbox in home also used phpgw_info based themes 2006-12-17 11:45:09 +00:00
Ralf Becker
ddccca1c55 Removed old phpgw_info based themes, they have been depricated in 1.2 and are only used by some old contrib apps 2006-12-17 11:30:26 +00:00
Ralf Becker
fa996ab124 hack to deal with no more $GLOBALS['egw_info']['theme'] 2006-12-17 10:44:10 +00:00
Ralf Becker
f4238614f3 new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook 2006-12-17 08:44:05 +00:00
Christian Binder
f3670af463 dragdrop class: every draggable or droppable now takes an associative array for the values, the class disables itself automatically on non-validated browsers, built-in test mode to validate other browsers 2006-12-15 19:39:36 +00:00
Ralf Becker
b13cf65101 fixed fatal error when saving (not applying) the prefs and session-type is php-restore:
The way the old Template class works, does not work together with restoring from the session.
2006-12-14 15:17:33 +00:00
Ralf Becker
2e3a0a06cd added a small default registry for f(elami)mail, to list it in the quick add menu, without really supporting linking with mails 2006-12-12 14:40:03 +00:00
Ralf Becker
a166bb0f57 reworked and refractured the way template sets work in eGW:
- virtual baseclass egw_framework in the API which each template extends
- replaces $api/footer.inc.php, $tpl/head.inc.php & $tpl/navbar.inc.php
- all existing phplib template sets just inherit the idots_framework, but can have own templates
- moved most html from navbar.inc.php into the navbar.tpl
--> idots & jerryr are reworked and working, all other template sets are disabled at the moment
--> The rework was done to add a selectbox to add all sorts of entries without the need to change to the app first. This is now implemented in the egw_framework class using the link-registry.
2006-12-10 23:44:18 +00:00
Ralf Becker
05cd4a36d9 added quoting for float and decimal types, prevents SQL errors 2006-12-08 10:16:00 +00:00
Ralf Becker
ce2a7c918f fixed warning introduced by strstr --> strpos conversation 2006-12-07 19:17:25 +00:00
Cornelius Weiß
4421d6cf09 strstr -> strpos fix by thomas koch 2006-12-07 12:46:08 +00:00
Ralf Becker
915dd1910f fixing the fix ;-)
According to wikipedia windows-1250 is similar to iso-8859-2 - thought German special chars (umlauts) have the same encoding in iso-8859-1
2006-12-06 07:21:45 +00:00
Ralf Becker
9ab10aeb77 fix for problem describt on the german list: headers from mails send from Outlook, eg:
From: =?Windows-1250?Q?X=F6rg_Brd?= <x_brd@xxx.de> 
get not decoded correct --> php (at least some versions) seems not to understand the charset windows-1250, which is more or less identical to iso-8859-1
2006-12-05 19:11:38 +00:00
Cornelius Weiß
c6640c044e kill php5.2 warnings 2006-12-02 11:04:30 +00:00
Cornelius Weiß
56fb1e7052 killed a php5.2 warning 2006-12-02 07:55:09 +00:00
Cornelius Weiß
f4baebf3c1 killed a php5.2 warning 2006-12-01 13:34:17 +00:00
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