Commit Graph

3431 Commits

Author SHA1 Message Date
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
Klaus Leithoff
b2d753f46f bugfix for typo in class-var 2009-01-13 11:24:29 +00:00
Klaus Leithoff
aae4b8ac8d strange phenomenon with existing debug variable 2008-12-09 15:24:19 +00:00
Klaus Leithoff
770207474e debug stuff related to placeholder substitution 2008-12-09 14:47:35 +00:00
Klaus Leithoff
cf51ea7120 debug stuff for the session handling 2008-12-09 14:46:35 +00:00
Klaus Leithoff
8169fe41e1 introducing and enhancing debug-stuff, targeted on SMTP sending without interface (notification). To make not functional sending a bit more traceable 2008-12-09 14:45:27 +00:00
Klaus Leithoff
13dd934ddd putting some debug into the send class to find problems more easily 2008-12-05 11:34:58 +00:00
Ralf Becker
68d6f0fe69 "- do not send session data for clients doing no sessions to memcached
- use 10min session lifetime for GroupDAV as for anonymous sessions"
2008-11-25 19:37:35 +00:00
Ralf Becker
6f442ea296 "check if we really need to convert the charset, as it's not perfect and can do some damage" 2008-11-23 13:08:06 +00:00
Ralf Becker
0123dc5d89 "dont log failed login attempts for the anon user, as it is a simple dos to sitemgr" 2008-11-22 08:14:59 +00:00
Ralf Becker
92c5157b90 add grant host to db creation 2008-11-18 19:58:11 +00:00
Ralf Becker
8dcc91a390 typos and missing file 2008-11-16 15:36:37 +00:00
Ralf Becker
1baa158195 Big SyncML patch from Philip Herbert <pherbert(at)knauber.de>:
- change the processing of slowsync, to use the content_map instead of
  trying to build a new one. This caused duplication issues on the
  client if multiple similar records where stored, because only the first
  one found in the server-db was matched, These duplicate entries at client
  side had no entry at serverside, so deleting the wrong one
  on the client (the content with a valid map entry) could cause
  unwanted data loss at server side, because it is impossible for the
  user to see what is a duplicate, and what is not.

see also: 
http://www.nabble.com/again---syncml-duplication-issue-to20333619s3741.html

- reenabled UID from syncml clients, because it was partly used this caused
  issues during SlowSync if the content was changed. 

- infolog, calendar if a uid is found in the provided data, allway try to
  find the corresponding content first   using only the UID, instead of
  using the content-id taken from content_map.

also fixed:

- a few fixes in ./notes
- creating an entry on the client that can not be imported,
  (Example, Nokia E Series Appointment without a Title)
  will no longer create an invalid content-map entry
  However, at client side this is still counted in the Protocol as
  Server-Add
2008-11-16 10:42:29 +00:00