Commit Graph

8552 Commits

Author SHA1 Message Date
Nathan Gray
9e9cbc2fa1 Some changes to egw.css to try to avoid it randomly ignoring rules in iframes.
Reduces wrong width in admin customfields or categories after you click 3 times.
2015-09-22 23:43:20 +00:00
Nathan Gray
30c7669588 Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined 2015-09-21 22:34:45 +00:00
Nathan Gray
741e6e02af Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined 2015-09-21 20:27:07 +00:00
Ralf Becker
0f0728316d support themes on application level: $app/templates/$template/app-$theme.css 2015-09-18 15:53:20 +00:00
Ralf Becker
645439eaf0 UCS lowercases email when storing 2015-09-18 07:20:08 +00:00
Ralf Becker
3b596f061e UCS lowercases email when storing 2015-09-18 07:18:58 +00:00
Nathan Gray
249732b594 Access dialog
- If current app has no special support, show general dialog instead of message
- Sort apps in add dialog
- Filter app list (filter2) to all apps for run rights, or only supporting apps otherwise
2015-09-16 15:54:51 +00:00
Hadi Nategh
bd21376303 Mailvelope backup/restore integration WIP:
- Add & Fix some more translation
2015-09-16 15:32:33 +00:00
Hadi Nategh
5de5c82813 Mailvelope backup/restore integration WIP:
- Add some translation
2015-09-16 15:01:52 +00:00
Hadi Nategh
078b5acf80 Fix broken sidebox app header refresh caused by commit 53643 2015-09-16 13:35:15 +00:00
Hadi Nategh
383052c516 Fix broken sidebox app header refresh caused by commit 53643 2015-09-16 13:32:15 +00:00
Nathan Gray
91750f46c9 Access dialog
- If current app has no special support, show general dialog instead of message
- Sort apps in add dialog
- Filter app list (filter2) to all apps for run rights, or only supporting apps otherwise
2015-09-15 23:59:31 +00:00
Hadi Nategh
5a179d5e2c Consider urls based on https protocol:
- Fix admin links are no longer working due to wrong url
2015-09-15 16:47:34 +00:00
Hadi Nategh
8c21c99773 Consider link with load param for re-browse it in admin tab 2015-09-15 16:46:29 +00:00
Hadi Nategh
cd7324983b Mailvelope backup/restore integration WIP:
- Implements Mailvelope installation dialog
2015-09-15 16:32:56 +00:00
Ralf Becker
3e5c712757 new icons for API and CalDAV/CardDAV 2015-09-15 15:54:21 +00:00
Ralf Becker
539d2be255 new icons for API and CalDAV/CardDAV 2015-09-15 15:53:53 +00:00
Klaus Leithoff
4f728727af silence warning 2015-09-15 11:30:05 +00:00
Hadi Nategh
2f4a1624e3 Mailvelope backup/restore integration WIP:
- Fix documentation
- Fix menus name
- Add icons to menus
- Add some info messaging
2015-09-15 08:42:21 +00:00
Ralf Becker
ec6d16b7e6 fix SQL error on 14.1 update: Unknown column account_description 2015-09-15 08:19:21 +00:00
Hadi Nategh
faac36b434 Fix mailvelope installation message forced 2015-09-15 07:18:01 +00:00
Hadi Nategh
591f55e3d7 WIP mailvelope installation dialog 2015-09-14 17:38:33 +00:00
Hadi Nategh
c159e47406 Consider link with load param for re-browse it in admin tab 2015-09-14 17:34:43 +00:00
Ralf Becker
ff036416bf fix commented out reuse of already instanciated provider, and fix PHP Notice in memcache provider 2015-09-14 13:48:58 +00:00
Ralf Becker
342b717a04 allow to add all sorts of attachments as stream not just as strings 2015-09-11 08:39:00 +00:00
Ralf Becker
c8b717d236 fix SQL error on 14.1 update: Unknown column account_description 2015-09-11 08:05:32 +00:00
Hadi Nategh
b56678ba93 Consider urls based on https protocol:
- Fix admin links are no longer working due to wrong url
2015-09-10 15:17:48 +00:00
Hadi Nategh
6010115714 WIP toggle sidebar menu:
- Add refresh icon to active header
- Fix wrong indentations
2015-09-10 13:51:31 +00:00
Hadi Nategh
f75264c66f WIP toggle sidebar menu:
- Fix toggleSide bar initialization
2015-09-09 13:56:50 +00:00
Hadi Nategh
b24dc04138 WIP toggle sidebar menu:
- Keep toggleSidebar state
- Fix documentation
- Fix default width size
2015-09-09 11:03:24 +00:00
Hadi Nategh
4fea2b801b WIP toggle sidebar menu 2015-09-08 16:31:49 +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
16c5e2deec * 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:07:35 +00:00
Hadi Nategh
9ca7b66290 Fix some IDE warnings 2015-09-08 07:36:17 +00:00
Ralf Becker
ca9aa01250 new egw_cache::addCache method which fails if key already exists in cache, allowing eg. to implement a mutex 2015-09-07 13:04:35 +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
8ae381e11e values for depth are 0, 1, "infinit" or not set which has to be interpreted as "infinit" 2015-09-03 06:54:06 +00:00
Nathan Gray
26623dac40 Fix opening linked directories gave error instead of opening in filemanager 2015-09-02 20:13:51 +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
559d0ee15c do not show warning of force Depth: 0, if depth is already 0 2015-09-02 13:38:36 +00:00
Ralf Becker
88293f3e72 * All apps: fix broken group-favorites 2015-09-02 13:10:19 +00:00
Ralf Becker
e6cfa64686 * All apps: fix broken group-favorites 2015-09-02 13:08:25 +00:00
Hadi Nategh
50643b6716 Mailvelope backup/restore integration WIP:
- Add initial backup
- Add restore backup
2015-09-01 17:07:42 +00:00
Ralf Becker
a26e86ee1e Change egw_addressbook.contact_pubkey to 16k as an ascii-armored 4096 bit PGP key is ~12k 2015-09-01 13:44:21 +00:00
Hadi Nategh
d721de7ee9 Mailvelope backup/restore integration WIP:
- Add PGP Encryption menu into sidebox of mail and infolog
- Create Backup/Restore operation dialog
2015-08-31 16:40:33 +00:00
Ralf Becker
284ffa7f13 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:21:11 +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
a96d7d50be silence permanent error_log 2015-08-31 12:02:01 +00:00
Ralf Becker
251bc40954 silence permanent error_log 2015-08-31 11:58:45 +00:00
Hadi Nategh
5a8bc26f2d Mailvelope backup/restore integration WIP 2015-08-27 17:38:18 +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
cb58e015ac fixing r53501: group-favorite has escaped name visible after reload 2015-08-27 11:40:18 +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
4615c6c3db * All apps: some favorites could not be deleted (reappeared after reload/next login) 2015-08-27 11:31:31 +00:00
Nathan Gray
509d47bbce Fix opening linked directories gave error instead of opening in filemanager 2015-08-26 17:08:37 +00:00
Ralf Becker
547335c139 * PostgreSQL: repairing/creating missing indexes 2015-08-26 14:16:28 +00:00
Ralf Becker
4323d52fd0 * PostgreSQL: repairing/creating missing indexes 2015-08-26 14:14:20 +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
85477c18a5 use correct columns for dropping index (does not matter if they contain length or not) 2015-08-26 13:07:38 +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
81fe3b0472 * Backup: backup ascii columns as such, allways check and if necessary fix indexes on restore 2015-08-26 12:50:56 +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
dc696455cc * Backup/PostgreSQL: indexes were not reported for backup
because of quoting of table-name
2015-08-26 11:09:55 +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
Ralf Becker
41d9b049f2 * Backup/MySQL: limited index length was not reported for PHP mysqli driver 2015-08-26 11:07:38 +00:00
Nathan Gray
56a595dc57 Expose debug level, and tie etemplate2 profiling to debug level 4 - Log 2015-08-25 16:19:40 +00:00
Hadi Nategh
62966084ff Add barcode plugin 2015-08-25 15:30:30 +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
e334678ecc missed to pass owner 2015-08-24 16:23:01 +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
9ae329ae72 * Calendar/all apps: fix since last package not working old favorites and json-encode all php-serialized preferences 2015-08-24 16:00:31 +00:00
Ralf Becker
d31d46bea3 using a white-list currently only matching favorites 2015-08-24 13:32:27 +00:00
Ralf Becker
5f7b671532 using a white-list currently only matching favorites 2015-08-24 13:32:05 +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
0819d09ef9 automatic unserialize php serialized preferences on server-side, to fix not working old favorites stored php-serialized after r53433 2015-08-24 13:14:29 +00:00
Ralf Becker
0354cfdf59 group_name and description are compulsory 2015-08-21 07:14:16 +00:00
Ralf Becker
8f214e1e9a group_name and description are compulsory 2015-08-21 07:11:41 +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
Klaus Leithoff
24481b5274 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 12:28:25 +00:00
Hadi Nategh
4338493d2c Remove some no longer supported CKEditor skins 2015-08-19 15:58:51 +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
75baf8857f * PostgreSQL: fix SQL error on login with auto-create accounts enabled and user-name already exists with different case 2015-08-19 14:41:52 +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
95553f514c * Login: catch all exceptions in session creation, to NOT log user passwords, in case of (eg. database-)errors 2015-08-19 10:41:06 +00:00
Nathan Gray
1684ec78b5 Use favorite settings from preference to avoid all the encoding problems
Avoids errors in Firefox. 
(See rev. 53183, 53215, 53244)
2015-08-18 21:21:33 +00:00
Ralf Becker
beb829c315 drop contenthistroy class and table (egw_api_content_history) formerly used by SyncML 2015-08-18 11:45:59 +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
774bce4ea9 * InfoLog: fix SQL errors for custom types containing non-ascii chars (eg. German umlauts or Frensh acents 2015-08-18 09:42:31 +00:00
Nathan Gray
16598a21ca Fix most of erratic copy behaviour using clipboard in Chrome 2015-08-17 16:56:47 +00:00
Hadi Nategh
17e08c744e Implement discard option for egw.message:
- function new signature: message(_msg, _type, _discard) where the discard is boolean
- Add discard checkbox in order to be able to discard an info_message
2015-08-17 15:17:54 +00:00
Ralf Becker
82ca78d378 * 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:07:25 +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
Hadi Nategh
2cfc6586b3 Mail folder management dialog:
- Add more translation
2015-08-14 10:07:02 +00:00
Hadi Nategh
e39005ec73 Implement discard option for egw.message:
- function new signature: message(_msg, _type, _discard) where the discard is boolean
- Add discard checkbox in order to be able to discard an info_message
2015-08-14 09:49:57 +00:00
Nathan Gray
9566a6b758 Experimental use of experimental copy to clipboard using document.execCommand('copy') 2015-08-13 17:47:19 +00:00
Ralf Becker
5928048fd0 missing account_description stuff for sql 2015-08-13 15:25:31 +00:00
Ralf Becker
f6a1c104b0 missing account_description stuff for sql 2015-08-13 15:25:26 +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
Ralf Becker
08d75bc7ad * PostgreSQL/Filemanager: fix SQL error while downloading files with long name (probably other cases too) 2015-08-13 12:47:52 +00:00
Nathan Gray
a6d484a11c Remove unneeded decodeURI() to avoid problems with addressbook advanced search 2015-08-12 17:50:41 +00:00
Hadi Nategh
6d9f083874 * All Apps: Implement drag and drop file from desktop into htmlarea 2015-08-12 14:58:00 +00:00
Hadi Nategh
7cf81c70b7 Delete unwanted duplicated skin files caused by commit #53360. 2015-08-12 14:39:17 +00:00
Hadi Nategh
7c843da40f Add multiple marking (multiselection) to folder widget, and dhtmlxtree:
- Attribute name: multimarking, default value: false
2015-08-12 13:31:32 +00:00
Hadi Nategh
5fd3302568 Add two new skins for CKEditor 2015-08-12 10:08:43 +00:00
Hadi Nategh
c8f93b2ddc Skins update for CKEditor new version (Ver. 4.5.2) 2015-08-12 10:07:03 +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
ae95e934a8 Add multiple marking (multiselection) to folder widget, and dhtmlxtree:
- Attribute name: multimarking, default value: false
2015-08-10 15:35:44 +00:00
Ralf Becker
4622d059c7 * Filemanager: fix comments show non-ascii chars as ? (requires DB schema update again!) 2015-08-10 09:04:00 +00:00
Ralf Becker
dab7ab0bdd * Filemanager: fix comments show non-ascii chars as ? (requires DB schema update again!) 2015-08-10 09:03:27 +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
Hadi Nategh
a67d691ba4 Add missing plugins for updated CKEditor 4.5.2 2015-08-06 14:52:25 +00:00
Hadi Nategh
7d7010538b Update for CKEditor new version (Ver. 4.5.2) 2015-08-06 14:32:49 +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
3714b053c8 shorten all history_appname/history_status entries to 16/32 chars, to not stall update for PostgreSQL 2015-08-04 15:11:45 +00:00
Ralf Becker
aac0a279fb shorten all history_appname/history_status entries to 16/32 chars, to not stall update for PostgreSQL 2015-08-04 15:11:19 +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
Ralf Becker
7be501ab9f * NetDrive: enable old workarounds for current user-agent string, create 0 byte files when storing without 2015-08-04 14:41:43 +00:00
Ralf Becker
449d515937 * NetDrive: enable old workarounds for current user-agent string, create 0 byte files when storing without 2015-08-04 14:41:20 +00:00
Ralf Becker
d43c2d0b54 * Admin/PostgreSQL: shorten ACL labels used to limit admin rights to 16 char and fixed stalled 14.3 update for PostgreSQL 2015-08-04 09:55:57 +00:00
Ralf Becker
b5b6784ec1 * Admin/PostgreSQL: shorten ACL labels used to limit admin rights to 16 char and fixed stalled 14.3 update for PostgreSQL 2015-08-04 09:55:29 +00:00
Ralf Becker
15e989f318 fix typo causing PHP Fatal error on update 2015-08-04 09:54:03 +00:00
Ralf Becker
8fabe11fc5 fix typo causing PHP Fatal error on update 2015-08-04 09:53:38 +00:00
Ralf Becker
5e127cc77d fix wired PHP Fatal error: Call to a member function commit_session on null, thought isset should stop that ... 2015-08-02 09:05:23 +00:00
Ralf Becker
7bf6a497b0 fix wired PHP Fatal error: Call to a member function commit_session on null, thought isset should stop that ... 2015-08-02 09:04:57 +00:00
Ralf Becker
6c3ff9b792 Fix errors in async service, since r53254 "run shutdown callbacks after sending output to user" 2015-07-30 07:17:22 +00:00
Ralf Becker
23c4d052c7 Fix errors in async service, since r53254 "run shutdown callbacks after sending output to user" 2015-07-30 07:15:19 +00:00
Ralf Becker
3b560bb9ee drop evtl. existing temp. table eg. from a previous failed upgrade 2015-07-29 19:03:32 +00:00
Ralf Becker
2984e4c79e drop evtl. existing temp. table eg. from a previous failed upgrade 2015-07-29 19:01:17 +00:00
Ralf Becker
bc595da0a5 fix typo giving fatal error on Univention Installation 2015-07-29 16:07:36 +00:00
Ralf Becker
62c57946f6 fix typo giving fatal error on Univention Installation 2015-07-29 16:02:18 +00:00
Ralf Becker
3ddeeebc93 * Nginx/FastCGI: run shutdown callbacks (eg. link notification processing) after sending response to user
was broken since some time, because a not closed session kept it from working
--> we are now run all callbacks containing "session" it there name, closing session, calling fastcgi_finish_request() and then run rest of the callbacks
2015-07-29 12:37:06 +00:00
Ralf Becker
ae9d87ed97 * Nginx/FastCGI: run shutdown callbacks (eg. link notification processing) after sending response to user
was broken since some time, because a not closed session kept it from working
--> we are now run all callbacks containing "session" it there name, closing session, calling fastcgi_finish_request() and then run rest of the callbacks
2015-07-29 12:36:37 +00:00
Ralf Becker
504e4ff725 * Admin: fix SQL error when search contains a non-ascii character 2015-07-29 10:35:26 +00:00
Ralf Becker
b799107de5 * Admin: fix SQL error when search contains a non-ascii character 2015-07-29 10:35:01 +00:00
Nathan Gray
b3611a8dfd Remove popup account selection option 2015-07-28 19:08:17 +00:00
Nathan Gray
1ee1a934f8 Remove another unneeded decodeURI() to avoid problems with addressbook advanced search 2015-07-28 14:49:47 +00:00
Nathan Gray
46c0817743 Remove unneeded decodeURI() to avoid problems with addressbook advanced search 2015-07-27 21:43:05 +00:00
Ralf Becker
a394a53d8b if db-object passed to so_sql_cf, use that also for querying custom-fields 2015-07-27 13:24:18 +00:00
Ralf Becker
6110c34aaa if db-object passed to so_sql_cf, use that also for querying custom-fields 2015-07-27 13:17:03 +00:00
Ralf Becker
2e670ae0f4 change history_status back to varchar, as it contains custom-field names, which can be non-ascii 2015-07-24 13:06:18 +00:00