Commit Graph

5193 Commits

Author SHA1 Message Date
Klaus Leithoff
a276e48d48 backport of Christian Binders patch: little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset, ported to handle config as well 2009-11-02 10:51:51 +00:00
Ralf Becker
e2a43a60ed Backported fixes and upload enhancement from Trunk:
anonymous user can now download files, without the need to have
filemanager run rights
2009-10-25 19:29:56 +00:00
Ralf Becker
93d9e51982 "replace $this with self, to allow static call" 2009-10-22 09:12:00 +00:00
Ralf Becker
dbcd815fb5 "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:45:27 +00:00
Ralf Becker
3f2b6c9a21 "- fixed error prefenting updating of locks
- added constant do enable debuging of locks"
2009-10-13 21:09:15 +00:00
Oscar Manuel Gómez Senovilla
00c61c6370 tracker #2289 2009-10-12 16:21:57 +00:00
Klaus Leithoff
c819f15dbc fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich 2009-10-02 09:05:09 +00:00
Ralf Becker
2f88277af7 "fixed not working egw_link::set_cache" 2009-09-29 09:59:32 +00:00
Klaus Leithoff
39296e9d41 added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised 2009-09-28 15:19:17 +00:00
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
Oscar Manuel Gómez Senovilla
910b08dd27 Update french translations from #2207 to #2214 2009-09-11 05:42:19 +00:00
Oscar Manuel Gómez Senovilla
8ab3508d31 Update hungarian translation by #2231 2009-09-11 04:39:57 +00:00
Oscar Manuel Gómez Senovilla
24a4bdd1d6 Update phpgwapi for italian. Tracker #2010 2009-09-09 22:21:38 +00:00
Oscar Manuel Gómez Senovilla
d2292f093b Branch part of #1956 2009-09-09 21:45:46 +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
3d195218f1 Fix for bug #2074 + #2075: Postgres update error to 1.6 2009-07-18 12:55:21 +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
656d784fb3 pushing version to 1.6.002 2009-07-18 10:00:05 +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
24513a3161 removed not used javascript files 2009-07-07 12:55:11 +00:00
Klaus Leithoff
8b11add4d5 upgrade to 2.6.4.1, removing _samples and unneeded connectors, remove baseconfig for unneeded connectors 2009-07-07 09:44:30 +00:00
Ralf Becker
2fc7222f68 merged htmlpurifier from trunk 2009-06-23 16:48:40 +00:00
Ralf Becker
fdd305a8a0 "removed css to capitalize first letter of sidebox menu items
It makes problemes (hides first letter) with following browsers:
- Konqueror (Linux)
- Safari (Mac & Windows)"
2009-06-10 12:53:21 +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
16e9cc7e37 "Fixed not working async wrapper under SUSE ($_ENV is NOT set)" 2009-06-03 08:28:22 +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
6ed9587671 "fixed sometimes double displayed header and/or navbar" 2009-05-01 07:56:09 +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
6af142202b "fixed translation of Portugal" 2009-04-24 16:14:11 +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
37f5a3c22d backport of stefan beckers patch 26508 IE 6 is not giving the unsecure warning, if ssl is used 2009-02-17 07:23:14 +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
1f920ebb66 setting version to 1.6.001 2008-11-24 10:44:25 +00:00
Oscar Manuel Gómez Senovilla
12d6d29540 Support for Indonesian. Tracker #1832 2008-11-23 13:32:49 +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
cb511f3213 "- fixed broken ñ in Español
- renamed language \"English / US\" to just \"English\""
2008-11-23 09:22:54 +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
2b14c3de30 nicer login and got anon tabs working again 2008-11-17 20:28:09 +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
Ralf Becker
ec51405e95 "cater for wider logo in 1.6" 2008-11-16 08:56:02 +00:00
Ralf Becker
aad4117be2 bit nicer login sreen with new default theme 2008-11-16 07:16:19 +00:00
Ralf Becker
e0d7ea6c14 New default theme for idots template set for the 1.6 release 2008-11-15 20:05:55 +00:00
Ralf Becker
fde8fc7b27 CAS (Central Authentication Service) login for eGroupware 2008-11-15 10:54:39 +00:00
Ralf Becker
04502ddc97 "fixed displayname property to contain just the basename of the file/dir, as davfs displays this (funny names if there's a full path) as pointed out by Hans Jürgen on the devel list" 2008-11-15 07:46:59 +00:00
Ralf Becker
ee623e72d3 "made some permanent error_logs configurable" 2008-11-15 07:40:25 +00:00
Ralf Becker
505fe07669 "function to analyse memory usage in the session" 2008-11-13 16:57:16 +00:00
Ralf Becker
59aa84f761 "switch logging to 2 (only errors) again" 2008-11-13 06:35:18 +00:00
Ralf Becker
f0a4de499b "fix for boolean options" 2008-11-12 18:40:10 +00:00
Ralf Becker
19b7b62f8a "fix for bug reported on the German list by Laoyumi <tempreg(at)gmx.com>:
CreateIndexSql('egw_api_content_history_sync_guid','egw_api_content_history','sync_guid',False):
Key column 'sync_guid' doesn't exist in table"
2008-11-10 06:47:09 +00:00
Ralf Becker
a658d7c8ed Store config_user&_passwd of domain as hash, to be able to use them
inside eGW (without having them in cleartext available)
2008-11-09 16:15:42 +00:00
Ralf Becker
9d9bd270a2 "- fix for bug #1817: file in a searchable directory was always readable
- changed chgrp and chmod, to allow admins to modify files/dirs owned by root"
2008-11-09 16:10:36 +00:00