Commit Graph

2051 Commits

Author SHA1 Message Date
Ralf Becker
7f53f21098 Merge pull request #69 from asig2016/17.1_fix_mail_get_structure
Fixed typo in Mail.php getStructure $uid -> $_uid (in some cases i.e.…
2019-03-23 10:50:32 +01:00
nathangray
f5c9de891e Etemplate - check that historylog dynheight is there before using it, avoids js errors if historylog not initialized yet. 2019-03-21 14:39:39 -06:00
nathangray
729c33ddaf Force read contact to array 2019-03-21 12:37:00 -06:00
nathangray
86fa5cbd7a Fix empty history rows when editing an account 2019-03-21 11:20:17 -06:00
Ralf Becker
672c407804 egw.(de|en)codePath to correctly encode % and # 2019-03-21 12:46:22 +01:00
Ralf Becker
d5d098b184 Vfs stores %, # and ? urlencoded, we do the encoding here on a central place 2019-03-21 12:43:25 +01:00
Ralf Becker
4b5379d61b * Filemanager/WebDAV: handle url-special chars like %, # and ? correctly 2019-03-21 12:36:25 +01:00
nathangray
7f6088490a Etemplate - Fix some Scrutinizer warnings 2019-03-20 14:37:39 -06:00
nathangray
0f0ef66bf1 Etemplate - Show context in diff popup 2019-03-20 14:16:57 -06:00
nathangray
d139da793d Find and use modifications set for status widgets 2019-03-20 14:03:32 -06:00
nathangray
d2c2dde383 Avoid errors if widget has a modification on a sub-widget named 'type' 2019-03-20 14:03:32 -06:00
Ralf Becker
4be62b63ee labels, options and widgets for admin_cmd_preferences 2019-03-20 18:15:02 +01:00
nathangray
ec98f00ff1 Add missing break statements 2019-03-20 10:31:32 -06:00
nathangray
4df5fad081 Historylog widget - some fixes for null values
- Don't warn about crazy diff value on null / empty
- Don't fail multi-part changes if one part is null / empty
2019-03-20 10:29:58 -06:00
nathangray
5bd20d080c Fix typo 2019-03-20 09:06:08 -06:00
Ralf Becker
ce978102dc fix IDE warnings and whitespace 2019-03-20 12:07:24 +01:00
Hadi Nategh
a33c3a60b7 Load tinymce from vendor and set custom language_url 2019-03-20 11:25:02 +01:00
Hadi Nategh
95fe820e30 Add more sortable options to grid widget 2019-03-20 10:35:55 +01:00
nathangray
cd53817e2d Better handling of multi-part change widgets.
Before it only worked by index (array), now it works with named sub-entries too (object)
2019-03-19 15:59:31 -06:00
nathangray
19d3cf51b8 Accept 'value' as a detached attribute in image 2019-03-19 15:56:46 -06:00
nathangray
644249e963 Fix detached color widget would not set color to correct nodes 2019-03-19 15:55:26 -06:00
nathangray
006f8c1823 Remove unused variable 2019-03-19 14:52:46 -06:00
nathangray
6af45ef40a Add select-bitwise selectbox type 2019-03-19 14:31:33 -06:00
nathangray
84a0b23c78 Etemplate - historylog
- Fix unwanted warning about column attribute being wrong data type
- Add warnings about invalid status_id attribute & invalid widgets
2019-03-19 11:00:46 -06:00
Ralf Becker
fa8ee606b3 WIP admin history: using eTemplate tree instead of regexp to parse labels and selectbox values 2019-03-19 15:34:44 +01:00
Ralf Becker
6e5fbbba7e fix not displayed history of deleted object with new_value === null 2019-03-19 11:11:38 +01:00
Ralf Becker
934fe74fa2 translation of login-screen warning if browser is not es6 compatible 2019-03-19 09:37:14 +01:00
nathangray
4634cc184e Etemplate - historylog widget
- Add ability to provide changes in initial content to avoid server callback
- add columns attribute to be able to turn off some columns
2019-03-18 16:11:16 -06:00
Hadi Nategh
51b2e5f8cf Use a better check for ES6 detection 2019-03-18 16:39:14 +01:00
Hadi Nategh
d74a721294 Warn user about the JS ES6 compatibility 2019-03-18 16:32:06 +01:00
Hadi Nategh
2126fca1b4 * Api: Fix mobile template not working with iOS < 10 anymore (iOS < 10 is not compatible with JS ES6) 2019-03-18 16:22:39 +01:00
Ralf Becker
fd662a266b fix different attribute-name on server- and client-side: data_format
has to be changed in customfields too
2019-03-18 16:04:45 +01:00
Hadi Nategh
350f1cd0b7 Define receive callback for sortable grid 2019-03-18 09:15:41 +01:00
nathangray
c6f2f7f85e Api - some basic support for printing popups 2019-03-15 16:01:43 -06:00
Hadi Nategh
48157ac809 Introduce connectWith and containment options for sortable grid 2019-03-15 15:39:47 +01:00
Hadi Nategh
3304322c6c Revert commit 39135d8d42 and use nextmatch-customfilter instead 2019-03-14 09:51:30 +01:00
Ralf Becker
4bf2c393fe
Merge pull request #67 from tompsonx/tompsonx-patch-1
Add reply to for email notification
2019-03-14 09:39:15 +01:00
Hadi Nategh
45bfeed444 Mail: fix S/MIME can not find certificates if certificate emails not written in lowercase 2019-03-13 16:07:34 +01:00
Hadi Nategh
5f3844af14 Fix syntax error 2019-03-13 15:46:26 +01:00
Hadi Nategh
5e11cc34e2 Do not consider cat_level class for usual category styling 2019-03-13 14:58:01 +01:00
Hadi Nategh
39135d8d42 Fix Application column selection for admin queue and history 2019-03-13 10:55:48 +01:00
Tomasz Jakubowski
a5455c3d76
Add reply to for email notification 2019-03-12 22:15:31 +01:00
Ralf Becker
58b617907a fix different attribute-name on server- and client-side: data_format 2019-03-12 20:35:46 +01:00
nathangray
c96831adc3 Add 'confirm_mass_selection' action attribute to either provide or require a confirmation prompt on checkbox actions with more than 20 selections 2019-03-12 11:33:31 -06:00
Ralf Becker
21962bdfe4 WIP admin history 2019-03-12 17:13:36 +01:00
Ralf Becker
e1476e4167 Merge pull request #57 from asig2016/add_class_to_dropdown
select-cat widget: add different class per level to allow different …
2019-03-12 17:01:40 +01:00
Ralf Becker
780b7e56b5 Merge pull request #58 from asig2016/link_wigget_with_target_app
et2_link, et2_link_list: add target_app parameter to pass to egw().open
2019-03-12 16:54:28 +01:00
nathangray
e43c8f8f19 Infolog - add ability to clear description history 2019-03-11 14:15:28 -06:00
Hadi Nategh
1206bc1987 Add new application setup status for running an application in background 2019-03-11 12:06:41 +01:00
Ralf Becker
bec78c475a ignore exception, do not try to match id, if pattern is no valid GUID for AD 2019-03-10 10:04:51 +01:00
Ralf Becker
bf51083891 * ActiveDirectory: fix "not a valid GUID" error, when getting an avatar of a group 2019-03-09 12:38:15 +01:00
Ralf Becker
54df2bcb6b allow to specify host[:port] for active-directory host 2019-03-09 12:37:05 +01:00
Ralf Becker
da26d0973e fix invalid SQL during installation (no grants) and a PHP Warning about scalar $filter[owner] 2019-03-09 11:45:19 +01:00
Ralf Becker
becd608ce9 rtf seems to user iso-8859-1 or equivalent windows charset, not utf-8 2019-03-08 11:26:43 +01:00
Ralf Becker
aeef70486f fix IDE warning 2019-03-08 11:26:43 +01:00
Ralf Becker
756ebb77f3 trying to get output mode 1 (return html) working again 2019-03-07 10:06:37 +01:00
Hadi Nategh
1d3f664381 cleanup framework to take SVG icons always into account unless it's not found 2019-03-06 13:04:20 +01:00
Ralf Becker
8eb7ca2996 fix svg not used for pixelegg, if a non-existing theme is in the preferenes 2019-03-06 09:12:24 +01:00
Alexandros Sigalas
2d514fd30c Set $grants by default as an empty array 2019-03-06 07:57:44 +02:00
Hadi Nategh
1ec869538d Allow style tag in content of main/login messages 2019-03-05 14:08:19 +01:00
Hadi Nategh
eb2cee5678 Check for pixelegg theme and switch to SVG 2019-03-05 12:05:28 +01:00
Alexandros Sigalas
02d9accc94 Fixed, PHP Warning: Invalid argument supplied for foreach() in ...
(skiped the importexport one, as it was already fixed by Nathan)
2019-03-05 09:45:40 +01:00
Ralf Becker
e313d24f99 fix old (phpgwapi) image for default export 2019-03-04 13:07:31 +01:00
Ralf Becker
b473550584 fix (unneccessary) brackets and IDE warnings 2019-03-04 12:50:11 +01:00
Ralf Becker
2de94163a1 allow to specify for how many selected rows an action should be shown 2019-03-04 12:12:00 +01:00
Ralf Becker
fcc8bc9527 allow et2_dialog.confirm to postSubmit (to download something) 2019-03-03 18:14:10 +01:00
Alexandros Sigalas
b328bf151a Fixed, PHP Warning: count(): Parameter must be an array or an object that implements Countable in 2019-03-03 15:16:43 +01:00
Ralf Becker
fb31d08aba fix column_data_explode or update $col => array() gives SQL error
writing it now as NULL (or "" if column is NOT NULL)
2019-03-03 15:13:44 +01:00
nathangray
d4d36651c4 Missed CSS class name change 2019-03-01 10:53:40 -07:00
nathangray
b788411e40 Merge branch 'master' into feature/server-side-diff 2019-03-01 10:33:44 -07:00
nathangray
8765b9a084 Change diff colors to match github, provided by Ralf 2019-03-01 10:31:52 -07:00
nathangray
b39f4e0aef Fix js TypeError for missing widget for 'user_agent_action' 2019-03-01 10:30:53 -07:00
nathangray
a876330f1e Fix JS error 'Cannot read property 'css' of null in calendar edit 2019-03-01 09:10:11 -07:00
Ralf Becker
0abec539c3 * All apps: store history of multiline fields as diff only (migration can take 15min!) 2019-03-01 15:46:54 +01:00
nathangray
e4d865aed2 Merge branch 'master' into feature/server-side-diff 2019-02-28 15:27:12 -07:00
nathangray
59ab76ef5e Use correct class 2019-02-28 15:22:50 -07:00
nathangray
b7934f699c Finish up UI
- CSS
- Popup sizing & formatting
- diff resize when popup resizes
2019-02-28 15:15:26 -07:00
nathangray
b19e71b28d Etemplate - if a button has an image but no readonly image set, use the normal image when button is readonly 2019-02-28 09:30:47 -07:00
Hadi Nategh
09e90b1235 Take ascii mode into account before purifying the value 2019-02-28 11:47:53 +01:00
Ralf Becker
605e49579f * Setup: fix failed/partial restores for charsets not utf-8
caused by NULL converted to "" (empty string)
2019-02-28 09:33:41 +01:00
nathangray
d4f614e3af Adapt diff widget to new display library 2019-02-27 16:09:45 -07:00
nathangray
3c76c5a10a Fix diff argument order 2019-02-27 16:08:20 -07:00
nathangray
ea9a2def40 Use new diff visualization library 2019-02-27 10:48:57 -07:00
nathangray
7e7e198299 Make diff check static 2019-02-27 10:48:10 -07:00
nathangray
fb3d2cc4f3 Etemplate - Show button icon if button goes from readonly -> clickable 2019-02-27 09:59:40 -07:00
nathangray
0ddcd3e9f8 Start to get new diff viewer in, not working yet 2019-02-27 09:05:07 -07:00
nathangray
73600bb541 Use a proper constant for diff marker 2019-02-27 09:04:17 -07:00
nathangray
39e7820520 Just send unified diff to client, not full old & new value 2019-02-27 09:03:28 -07:00
Hadi Nategh
b4d5584fe7 Make editableWidget to set height when in edit mode 2019-02-27 11:01:15 +01:00
Ralf Becker
5f65cecda5 handle Greek windows-1253 encoding as iso-8859-7 2019-02-27 09:38:28 +01:00
nathangray
ae000be2bc Instead of new and old values, store unified diff in database for multiline strings 2019-02-26 15:13:47 -07:00
nathangray
f71b9ba093 Etemplate - fix using date widget min/max attributes made it required, even if not set as such 2019-02-26 13:49:50 -07:00
nathangray
25197037b4 Translation for toggle_on & toggle_off checkbox attributes 2019-02-26 09:54:16 -07:00
nathangray
9253e5230a * Api - When printing lists ask for print orientation and size columns to fit 2019-02-25 14:14:09 -07:00
nathangray
be7e9c123f * Api - fix authentication loop with password protected email download links 2019-02-25 11:25:31 -07:00
nathangray
4a37e31102 Etemplate - allow customisable onload for templates 2019-02-25 10:49:33 -07:00
nathangray
881f056c3c Etemplate - allow onchange for customfields 2019-02-25 10:48:46 -07:00
Hadi Nategh
b3328b8ae5 Make looking up for opened popups via window properties (e.g. window.name) possible 2019-02-25 13:37:22 +01:00
Ralf Becker
a3234bb5aa copy 17.1 changelog to master to satisfy update checker 2019-02-25 10:26:26 +00:00
Ralf Becker
f8c7c23bbf missing commit from: fix photo was lost when non-admin user edited own account 2019-02-25 10:16:47 +01:00
Ralf Becker
08200bd99c loading ADOdb through composer 2019-02-23 13:10:18 +01:00
nathangray
78028dfbda Api - Set default charset for mail to utf-8, overriding Horde's us-ascii 2019-02-22 10:42:38 -07:00
Hadi Nategh
fe64572ec9 Fix window name gets changed not intentionally to template name after et2 load 2019-02-22 13:58:28 +01:00
Alexandros Sigalas
1920814067 Added _folder parameter to getTnefAttachments function 2019-02-22 09:00:07 +01:00
Ralf Becker
6ae2bd4009 * Mail: meeting-request was not shown inside multipart/related 2019-02-21 20:11:21 +01:00
Ralf Becker
5b5525b38f * CardDAV/Addressbook: fix accounts not synced for preference account-selection "groupmembers" 2019-02-21 19:03:32 +01:00
Ralf Becker
8670036af6 * CalDAV: work around Lighning not having synced event before accepting 2019-02-21 17:00:00 +01:00
Ralf Becker
790d96eb15 prefer source attribute (with cache-buster) over contact_id
add cache-buster, if we have just a contact_id
2019-02-20 17:08:40 +01:00
Ralf Becker
9ff814f5b4 Revert "simpler way to un-reference the rows and some docu why we have to"
This reverts commit f89f08a8ed.
2019-02-20 14:58:04 +01:00
Ralf Becker
f89f08a8ed simpler way to un-reference the rows and some docu why we have to 2019-02-20 14:50:57 +01:00
Hadi Nategh
72cad447b0 Do not check jsonp since we are not using it and it might cause errors by setting dataType to script falsely 2019-02-20 13:24:43 +01:00
Hadi Nategh
b16e93bfe3 Make sure we have a match before using it 2019-02-20 10:41:04 +01:00
nathangray
eea03aa47c * Api - Fix redirect loop and use deep copy to keep initial nextmatch rows 2019-02-19 16:41:58 -07:00
Ralf Becker
1d8f2a606b integrate custom-field search in token processing
to allow to use something like: "<regluar-match-token> +<custom-field-match-token>" to return correct entries matching both
also no longer search private custom-fields not accessible by current user (gives a slower query, if private cfs exist)
2019-02-19 16:21:02 +01:00
Ralf Becker
5086e6cca3 * All apps: improved speed when searching with (many) custom-fields 2019-02-18 19:23:13 +01:00
Hadi Nategh
781700ea6d Better approach to query existing contacts 2019-02-18 14:04:53 +01:00
Hadi Nategh
3a51767b67 Try to narrow down search criteria to only email and email_home columns 2019-02-18 12:23:30 +01:00
nathangray
81ddb509a0 Etemplate - Fix initial nextmatch rows not sent to client 2019-02-15 11:53:21 -07:00
Hadi Nategh
39f937fb05 Fix letter avatar for multibyte characters 2019-02-15 17:43:34 +01:00
nathangray
fd8f69db80 Api - Fix leftover $$ when merging empty contact customfields 2019-02-14 09:32:03 -07:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
a5c1e24a78 Revert commit 34a50af358 2019-02-12 16:10:31 +01:00
Hadi Nategh
34a50af358 Fix broken mail inline links where links contains another url inside their urls. 2019-02-12 15:00:27 +01:00
Hadi Nategh
059776816a W.I.P of cats, versions or trackers categories color code:
- Fix colors in selectbox not showing up on initiation
2019-02-11 10:49:50 +01:00
Hadi Nategh
620707d4a6 W.I.P of cats, versions or trackers categories color code 2019-02-08 16:22:04 +01:00
Hadi Nategh
b668708a6d W.I.P of cats, versions or trackers categories color code 2019-02-08 15:16:15 +01:00
nathangray
ec04121692 Fix addressbook HTML customfields were stripped of their tags when merging 2019-02-07 10:02:08 -07:00
Hadi Nategh
7f57a4f4aa W.I.P of cats, versions or trackers categories color code 2019-02-06 18:39:24 +01:00
Hadi Nategh
2405d8f2d3 * Mail: fix not working sending and receiving smime signed messages where certificates have more than 1 domain registered (subjectAltName) 2019-02-06 13:49:11 +01:00
nathangray
a2189e732e Remove unneeded variable 2019-02-04 15:51:14 -07:00
Hadi Nategh
09e40c4f84 Add new icons 2019-02-04 11:01:11 +01:00
Hadi Nategh
a059628f58 * Mail: take user's cutomfields type of email into account when searching for contacts in Compose -> TO field. 2019-02-01 11:13:43 +01:00
nathangray
3dd671ad8d Changes to support accessing Samba shares with Collabora 2019-01-31 14:42:37 -07:00
Ralf Becker
75b21741b9 * LDAP/AD/UCS: fixed sending mails to groups used as distribution lists 2019-01-30 17:59:52 +01:00
Ralf Becker
685fc58564 allow to get account_id from email for LDAP backend 2019-01-30 17:28:42 +01:00
Hadi Nategh
b3f2d7b102 Revert part of commit 05ce70f1a8 because it breaks codes where result of search function expecting to be an array instead of Db2DataIterator (eg. timesheet) 2019-01-28 12:35:41 +01:00
Ralf Becker
fdfcc15c6b do NOT try to read empty contact_id
it wont find anything anyway, but gives an exception under AD, because of wrong formated GUID
2019-01-28 10:14:55 +01:00
Hadi Nategh
c5c09c4f9f Deprecate CKEDITOR and remove it from source 2019-01-25 12:41:13 +01:00
Ralf Becker
1ed0fd898f fix error: Call to undefined method calendar_ical::get_table_definitions() 2019-01-24 09:10:06 +01:00
nathangray
098fcbf918 Fix (remove) vertical scrollbar on popups with CKEDITOR 2019-01-23 16:01:50 -07:00
nathangray
05ce70f1a8 Fix missing types in admin queue and history 2019-01-23 10:41:52 -07:00
Hadi Nategh
a0a0dd1aa0 Try to send the request as POST if the url is exceeding certain number of characters. 2019-01-23 12:18:40 +01:00
nathangray
65cae1bf8d Api - Fix infinite loop in link if app2 param is not string or array of arrays 2019-01-22 11:49:45 -07:00
nathangray
4008f82be3 Mail - display multiple From addresses 2019-01-22 10:48:39 -07:00
Ralf Becker
508f3f81e2 fix SQL error when ordering by custom-field
as $order_by parameter can contain more then just order by columns, 
eg. group by clause
2019-01-22 17:14:40 +01:00
Hadi Nategh
86e9b25eef Remove hashing background from vfsPath. Add mouse_scroll cursor. 2019-01-22 16:25:53 +01:00
Hadi Nategh
b2c109ed37 Fix typo 2019-01-22 12:59:15 +01:00
Ralf Becker
de27dd3ed3 fix only-send-changed-preferences check for objects
before preference values which are objects have been always send again
trying to fix "storm" of set_preference() calls by mail splitter
2019-01-22 10:10:24 +01:00
nathangray
e97a9d991e Fix arrow keys in nextmatch do not properly scroll row into view 2019-01-21 15:26:57 -07:00
nathangray
91fffd045e * Api - Fix linking into new entries fails with SQL error 2019-01-21 11:22:21 -07:00