Commit Graph

5596 Commits

Author SHA1 Message Date
Ralf Becker
7fb8f641d1 fixed typo (wrong case) causing default DB capabilities to be returned and eg. giving an sql error when searching under MySQL in addressbook 2015-10-07 05:30:13 +00:00
Ralf Becker
0bbced7df2 move @/enviroment support from class-variables to local ones, to re-evaluate them on each request, class vars are stored in session 2015-10-06 20:00:06 +00:00
Nathan Gray
a2af10dd14 - Fix missing option check to work with options sent as an in-order array (label,value), fixes some custom fields not being properly set.
- Fix links to accounts (home-accounts) would not open properly when you click on them
2015-10-06 19:23:51 +00:00
Ralf Becker
9e1bd4fcb8 use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought 2015-10-06 17:00:21 +00:00
Ralf Becker
283b8bec33 cant use @-syntax with passwords, as they can start with an @ 2015-10-06 13:10:06 +00:00
Ralf Becker
223918a192 allow to read db-config from environment, by using "@name" to reference to name from environment 2015-10-06 12:45:26 +00:00
Ralf Becker
a3035a57d5 * Calendar/Mail: fix edit action meeting-requests to NOT set content-disposition: attachment, as this seems to stop automatic processing in Exchange 2015-10-05 14:27:07 +00:00
Hadi Nategh
0d583634a8 support themes on application level: $app/templates/$template/app-$theme.css 2015-10-01 14:45:50 +00:00
Ralf Becker
4c21f5b19e multiple fixes around managed attachments and new Horde_Icalendar:
- no longer decodes base64 automatic
- size param have to be string due to bug in handling of integers in Horde_Icalendar
- allow stripping of non-binary (eg. text/plain) inline attachments
- only add X-EGROUPWARE-ATTACH-INCLUDED, if we have a real managed attachment
- store external / url attachments as other unsupported attributes
2015-09-29 07:38:09 +00:00
Ralf Becker
1d2d9e2478 we can NOT use 204 No content (forbidds a body) with return=representation, therefore we need to use 200 Ok instead 2015-09-28 13:16:15 +00:00
Klaus Leithoff
599e29dee1 fix problem with possible json_encode problem (removing all initial data from mailbody) on reply/forward 2015-09-24 10:53:02 +00:00
Ralf Becker
645439eaf0 UCS lowercases email when storing 2015-09-18 07:20:08 +00:00
Ralf Becker
ff2d675d36 * LDAP: fix not working connect under newer PHP 5.6 (maybe other versions too) with PHP Warning: invalid port number: 0 2015-09-08 13:08:00 +00:00
Ralf Becker
ea5d2cf00d values for depth are 0, 1, "infinit" or not set which has to be interpreted as "infinit" 2015-09-03 06:54:31 +00:00
Ralf Becker
f664d58032 do not show warning of force Depth: 0, if depth is already 0 2015-09-02 13:39:03 +00:00
Ralf Becker
38d7f53a16 IE JSON-serializes arrays passed in from different window contextx (eg. popups) as objects (it looses object-type of array), causing them to be JSON serialized as objects and loosing parameters which are undefined
JSON.strigify([123,undefined]) --> "{0:123}" instead of "[123,null]"
2015-08-31 12:19:56 +00:00
Ralf Becker
251bc40954 silence permanent error_log 2015-08-31 11:58:45 +00:00
Ralf Becker
b55fcedaca fixing r53501: group-favorite has escaped name visible after reload 2015-08-27 11:51:09 +00:00
Ralf Becker
dc09db26fa * All apps: some favorites could not be deleted (reappeared after reload/next login) 2015-08-27 11:33:07 +00:00
Ralf Becker
abc319b390 use correct columns for dropping index (does not matter if they contain length or not) 2015-08-26 13:08:44 +00:00
Ralf Becker
c1d0e9064e * Backup: backup ascii columns as such, allways check and if necessary fix indexes on restore 2015-08-26 12:51:20 +00:00
Ralf Becker
0fbda219df * Backup/PostgreSQL: indexes were not reported for backup
because of quoting of table-name
2015-08-26 11:10:30 +00:00
Ralf Becker
7074ef6142 * Backup/MySQL: limited index length was not reported for PHP mysqli driver 2015-08-26 11:08:03 +00:00
Nathan Gray
cf87169a3d Keep provided order. Fixes adding users in calendar destroys the sort order. 2015-08-24 23:47:47 +00:00
Ralf Becker
acaed9bcb4 missed to pass owner 2015-08-24 16:23:21 +00:00
Ralf Becker
bb84db6161 * Calendar/all apps: fix since last package not working old favorites and json-encode all php-serialized preferences 2015-08-24 16:02:07 +00:00
Ralf Becker
d31d46bea3 using a white-list currently only matching favorites 2015-08-24 13:32:27 +00:00
Ralf Becker
7b8d2c1bb5 automatic unserialize php serialized preferences on server-side, to fix not working old favorites stored php-serialized after r53433 2015-08-24 13:14:59 +00:00
Ralf Becker
0354cfdf59 group_name and description are compulsory 2015-08-21 07:14:16 +00:00
Nathan Gray
d443f124b1 Use favorite settings from preference to avoid all the encoding problems
Avoids errors in Firefox.
(See rev. 53183, 53215, 53244)
2015-08-20 17:18:48 +00:00
Klaus Leithoff
ece7a07030 when inserting new set of preferences on preferences::copy_preferences, make sure we copy ONLY the pref and its app and owner, not its ID 2015-08-20 13:13:49 +00:00
Ralf Becker
51529a6aa2 * PostgreSQL: fix SQL error on login with auto-create accounts enabled and user-name already exists with different case 2015-08-19 14:42:15 +00:00
Ralf Becker
0abee2aa80 * Login: catch all exceptions in session creation, to NOT log user passwords, in case of (eg. database-)errors 2015-08-19 10:41:47 +00:00
Ralf Becker
7efaea763d * InfoLog: fix SQL errors for custom types containing non-ascii chars (eg. German umlauts or Frensh acents 2015-08-18 09:43:01 +00:00
Ralf Becker
0f834be527 * Calendar: fix SQL error on storing events containing rfc822 email addresses with non-ascii characters eg. "Hugo Müller <hm@test.org>"
egw_cal_user.cal_user_id is now an md5 hash of lowercased raw email address (eg. "hm@test.org" in above example). Full attendee information is now stored in egw_cal_user.cal_user_attendee.
Will allow in a further step also to store attendee information for accounts to eg. answer with correct email to external organizers
2015-08-17 14:06:18 +00:00
Ralf Becker
5928048fd0 missing account_description stuff for sql 2015-08-13 15:25:31 +00:00
Ralf Becker
d2af4afc66 * PostgreSQL/Filemanager: fix SQL error while downloading files with long name (probably other cases too) 2015-08-13 12:51:16 +00:00
Hadi Nategh
6d9f083874 * All Apps: Implement drag and drop file from desktop into htmlarea 2015-08-12 14:58:00 +00:00
Ralf Becker
e7713238c8 * Filemanager/WebDAV: use full urlencoding for OS X Finder, fixes problems with non-ascii chars in file- or folder-names
we should probably allways do that, but that requires more checks with other user-agents
2015-08-11 07:36:05 +00:00
Ralf Becker
09d96d3ea3 * Filemanager/WebDAV: use full urlencoding for OS X Finder, fixes problems with non-ascii chars in file- or folder-names
we should probably allways do that, but that requires more checks with other user-agents
2015-08-11 07:35:34 +00:00
Hadi Nategh
e91a88e80d WIP image upload via drag into ckeditor 4.5:
-Add extraPlugins into ckeditor config
-Activate imageUpload for mail compose htmlarea
2015-08-07 15:51:15 +00:00
Hadi Nategh
3853343f7e Remove explicit check for android devices with ckeditor as ckeditor 4.5.2 supports them 2015-08-07 10:31:22 +00:00
Ralf Becker
3a6544afff * Univention/Admin: renaming of accounts or groups works now (failed with removed old account) 2015-08-06 12:12:16 +00:00
Ralf Becker
63587d767f * Univention/Admin: renaming of accounts or groups works now (failed with removed old account) 2015-08-06 12:11:24 +00:00
Nathan Gray
51ab65131f Add a formatting constant for sending dates to client 2015-08-05 21:22:15 +00:00
Ralf Becker
18b9ff23f5 fix typo in last commit 2015-08-05 08:37:56 +00:00
Ralf Becker
cedc038f0c * PostgreSQL: automatic shorten all content requiring it, before schema update, to not stall 14.3 update 2015-08-05 08:37:33 +00:00
Ralf Becker
535488ca28 PostgreSQL: automatic shorten all content requiring it, before schema update, to not stall update 2015-08-05 08:33:13 +00:00
Ralf Becker
8f561f406c add HTTP User-Agent to pseudo session id, to eg. distinguish sessions from different WebDAV clients in access-log 2015-08-04 14:49:22 +00:00
Ralf Becker
e165593ed2 add HTTP User-Agent to pseudo session id, to eg. distinguish sessions from different WebDAV clients in access-log 2015-08-04 14:49:01 +00:00