Commit Graph

3443 Commits

Author SHA1 Message Date
Ralf Becker
6284e79259 removed tests folder, as it is NOT used by EGroupware 2009-09-21 08:19:41 +00:00
Ralf Becker
53b5e86323 Fix to get iCal in OS X 10.6 working (again):
WebDAV RFC 4918 allows a full url or a path as <D:href>:
        http://www.webdav.org/specs/rfc4918.html#ELEMENT_href
Some clients can NOT deal with one or the other:
- KAddressbook (at least in 3.5) can NOT subscribe to addressbooks (it
  does not find them) if just a path is used
- iCal in OS X 10.6 generates wrong requests, if a full url is used
2009-09-14 08:48:30 +00:00
Ralf Becker
c94d6f9fad quote all table or column names, to allow to use reserved words of dbms 2009-09-09 08:27:38 +00:00
Ralf Becker
73f6e47071 Fixed typo happend --> happened reported by David Rankin 2009-08-25 08:33:05 +00:00
Ralf Becker
bf712c89b0 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was
  checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:38:45 +00:00
Ralf Becker
a54df4b480 "added uicontacts --> addressbook_ui conversation, as user on english list reported a problem with it" 2009-08-22 08:12:24 +00:00
Ralf Becker
4d4962769a adding addressbook object classes to new accounts (if they are supported
by the server)
--> overcome problem reported by krupka(at)depag.de on the german list:
password get's lost if contact get saved, because it had to remove the
account first to add the addressbook object classes
2009-08-22 08:07:37 +00:00
Ralf Becker
4fca7fb43c prevent using the numeric value of a group or user twice, by checking if it already exists for both sides 2009-08-22 08:01:10 +00:00
Ralf Becker
1423948060 "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:32:24 +00:00
Ralf Becker
39fee5d8bc some precaution to never allow to (recursivly) remove /, /apps or /home 2009-08-12 09:55:41 +00:00
Ralf Becker
fed41cf05e "Fix for bug #2111: xml_functions.inc.php calls to an undefined method
as suggested by Igor Blanco"
2009-07-18 12:46:05 +00:00
Ralf Becker
fac44715bb "Fix for bug #1885: egw_db->row doesn't work as expected
reverted r25031, as it returns the first record with numeric indexes (it's anyway a depricated function)"
2009-07-18 12:36:19 +00:00
Ralf Becker
201f498a9c checking if attachment or attachment dir exists, before trying to delete it, to quieten warning, also improved warning to be precise if file does not exist, is no directory, or permission missing 2009-07-18 09:33:30 +00:00
Ralf Becker
2fc7222f68 merged htmlpurifier from trunk 2009-06-23 16:48:40 +00:00
Klaus Leithoff
ce593cac12 propfind: fix regarding the retrieval of sqlfs_props, if key of array with a single entry is the vfspath for the file in question 2009-06-10 10:33:38 +00:00
Ralf Becker
9a027d3346 fix for php5.3, which by default seems NOT include content of $_COOKIE in 2009-06-07 15:52:32 +00:00
Ralf Becker
e33a0ce020 "Patch from Carsten Wolf:
Timesheet-Einträge mit Uhrzeit 0:00, die in der Winterzeit gemacht wurden, 
werden in einem Union-Query, der in der Sommerzeit stattfindet, dem falschen 
Tag zugeordnet. Vermutlich stimmt dies nur für den PostgreSQL query und ist 
Dir deshalb bisher nicht aufgefallen.

Der Patch:
Ändert den PostgreSQL-spezifischen Teil des queries so um, dass er 
Zeitzoneninformationen berücksichtigt."
2009-05-30 07:05:54 +00:00
Klaus Leithoff
424fa5ffd8 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-27 07:13:45 +00:00
Ralf Becker
ad788f03c8 "re-added (depricated) php4 constructor, as it get's called by some old apps" 2009-05-26 17:27:03 +00:00
Ralf Becker
ad1a7f3451 "fixed not always executed hooks for disabled applications (using app-names from existing hooks now, instead of egw_info[apps])" 2009-05-26 11:56:43 +00:00
Ralf Becker
d2edcf6e24 merged setup-cli related bugfixes 27105, 27106 and 27109 2009-05-25 07:00:08 +00:00
Ralf Becker
947b78e0a1 "allow to use now() beside current_timestamp, as Postgres backups contain it and it's easier to remember anyway" 2009-05-15 07:18:47 +00:00
Ralf Becker
fad005ac62 added translated languages and visible charset to charset selection 2009-05-11 08:47:57 +00:00
Ralf Becker
d26e172992 "Backported case-sensitivity (commits r26637 (partially) and 26796) from trunk,
as it fixes several bugs reported on the user list:
- renaming to a name which differs only in case deletes file/directory
- same is true eg. for German umlauts or French accents"
2009-05-08 07:35:06 +00:00
Ralf Becker
9acc5f2037 "setting the value to 7, after reports on the user list, thought MySQL 5.0.51 with MyISAM engine works up to 10" 2009-05-04 16:48:20 +00:00
Ralf Becker
79355f0417 "fix for bug reported on the english user list:
limit on the number of cascaded folders in Filemanager
--> MySQL 5.0 has a nesting limit for subqueries
--> working around that by limiting the nesting level to 10"
2009-05-01 19:15:44 +00:00
Ralf Becker
09aa8c46bb "fixed failed move or rename via WebDAV (eg. NetDrive on Windows):
trailing slashes added to all collections caused a rename to an empty filename
--> all training slashes get now removed prior to calling any backend functions"
2009-04-30 07:50:02 +00:00
Ralf Becker
cfc74f5918 "copied COPY from HTTP_WebDAV_Server_Filesystem:
- it contained sql queries, which can not work in eGW
- to add Location header shown in rfc2518 example (section 8.9.5)"
2009-04-30 07:43:21 +00:00
Ralf Becker
1af0e3b409 "adding path (EGW_SERVER_ROOT) to hash for basic auth pseudo sesion id
(otherwise different installs in different pathes using identical credentials would share the session, which is no good idea)"
2009-04-30 07:36:23 +00:00
Ralf Becker
accff8c9c2 fixed Notices under error_reporting E_ALL 2009-04-28 20:08:28 +00:00
Ralf Becker
18897b4367 "removed unneeded stripslashes while reading the configuration, as it \"eats\" the backslashed of windows pathes (eg. messes up the default cache path)" 2009-04-28 19:35:57 +00:00
Ralf Becker
258aa9e31f "log failed login because of hook 'session_creation' with account_id, to not block the account in that case" 2009-04-28 10:41:09 +00:00
Ralf Becker
0103833728 "fixed an other accounts_ldap problem: too many entries returned on 2. and further pages" 2009-04-23 11:51:07 +00:00
Ralf Becker
c438279e03 "fixed not / only partialy working lettersearch in Admin >> Manage groups" 2009-04-23 06:25:58 +00:00
Ralf Becker
fd45dee35e "fixed not working stream_open() $mode == 'rb', was requiring write rights as != 'r'" 2009-04-19 07:31:24 +00:00
Ralf Becker
b4a4e081e4 "fixed not updated modification time, if file get's updated (eg. replaced via a new update in filemanager)" 2009-04-16 16:33:57 +00:00
Ralf Becker
747c796d1e "fixing commit r26783/4 for mysql:
using octal numbers with mysql leads to funny results:
select 384 & 0400 --> 384 not 256=0400
--> converted 0400, 040 and 04 to 256, 32 and 4 for mysql"
2009-04-15 11:22:40 +00:00
Ralf Becker
02b5e725e0 "fix for bug #2041: Postrgresql error when I try to access a file in sqlfs
\"CEST ERROR:  argument of AND must be type boolean, not type integer\"
"
2009-04-15 07:51:17 +00:00
Ralf Becker
af08fbb532 "fix for bug #1867: Several problems with non-ascii as first char in filename:
that char is skiped in dir creation, rename or filecreation"
2009-04-09 13:24:40 +00:00
Ralf Becker
88862bcb9b Fixing the fix ;-)
shadowLastChange has to be an interger.
2009-04-09 08:12:21 +00:00
Ralf Becker
a80ffb6223 Backported r26747 to 1.6:
using a session for basic auth (not session aware) clients for WebDAV
and GroupDAV. The "sessionid" get's constructed from the basic auth
credentials and is not random (as the clients dont store them).
--> speeds up the use of *DAV
--> stops *DAV handlers to created numerious sessions
2009-04-09 07:49:17 +00:00
Ralf Becker
cb46bce9cf Fixed not (always) updated last password change date 2009-04-09 06:44:02 +00:00
Ralf Becker
403913f1ae fix for bug #1838: problem with utf-8 data in all csv imports
- fgetcsv only works correct, if setlocal is called with an existing and
  correct local
- improved projectmanager method guess_local and moved it to
  common::setlocal, which takes now the charset, lang and country of the
  user into account
- csv-import also displays now the conversation done and reads usernames
  in brackets
- added some missing fields
2009-04-03 12:33:43 +00:00
Ralf Becker
aa26af977d New options for filesystme stream-wrapper:
- all:   false (default) =3D ignore files starting with a dot '.',
  true =3D show all files (. and .. are always ignored!)
- exec: false (default) =3D do NOT allow to upload or modify scripts, =

  true =3D allow it (if docroot is mounted, this allows to run scripts!)
--> deny_script method was added to egw_vfs and calls to it from
filemanager
Other fixes:
- missing write rights of the webserver were not removed from perms
  (causing warnings to be displayed in the ui)
- rename was not working due to typos
--> should be backported for obvious reasons to 1.6
2009-03-31 11:35:46 +00:00
Ralf Becker
bc1a92d1cc PDO compatibilty function fetchSingle() was renamed in PDO to
fetchColumn($column_num=3D0): now both are available in ADOdb, thought
fetchSingle is depricated and should no longer be used!
2009-03-25 09:06:01 +00:00
Ralf Becker
cac46f75b0 "fixed CreateObject to not suppress the error, if it cant find a class file or there are eg. syntax errors in it
--> now you can find the error in the error_log and dont get only a blank page
(also optimized it so far, that we first try to autoload the class and use the diverse \"magic\" only if that fails)"
2009-03-13 12:49:15 +00:00
Klaus Leithoff
d313eb2daf fixing various webdav problems, regarding pathbuilding 2009-03-09 12:23:47 +00:00
Klaus Leithoff
7d2491678d dont use the outcome of titlecache (break) if id is an array 2009-03-09 11:07:22 +00:00
Ralf Becker
a9830b0650 "fixing high minimize memory usage (important for huge number of accounts)" 2009-03-05 15:20:34 +00:00
Klaus Leithoff
bce3b1daac fixing a problem regarding the passing on of the charset information, as some clients get confused if there is a blank between the word charset and the equual sign. 2009-02-09 15:18:31 +00:00