Commit Graph

707 Commits

Author SHA1 Message Date
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
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
Hadi Nategh
39135d8d42 Fix Application column selection for admin queue and history 2019-03-13 10:55:48 +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
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
Hadi Nategh
1206bc1987 Add new application setup status for running an application in background 2019-03-11 12:06:41 +01:00
Hadi Nategh
1ec869538d Allow style tag in content of main/login messages 2019-03-05 14:08:19 +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
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
nathangray
e4d865aed2 Merge branch 'master' into feature/server-side-diff 2019-02-28 15:27:12 -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
nathangray
d4f614e3af Adapt diff widget to new display library 2019-02-27 16:09:45 -07:00
nathangray
ea9a2def40 Use new diff visualization library 2019-02-27 10:48:57 -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
Hadi Nategh
b4d5584fe7 Make editableWidget to set height when in edit mode 2019-02-27 11:01:15 +01: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
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
Hadi Nategh
fe64572ec9 Fix window name gets changed not intentionally to template name after et2 load 2019-02-22 13:58:28 +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
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
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
nathangray
a3ac0bd638 Merge branch 'master' into changable_column_order 2019-02-08 09:55:07 -07:00
Hadi Nategh
b668708a6d W.I.P of cats, versions or trackers categories color code 2019-02-08 15:16:15 +01:00
nathangray
d28c63c12e Sort nextmatch columns according to order of column selection preference 2019-02-07 15:48:34 -07:00
Hadi Nategh
7f57a4f4aa W.I.P of cats, versions or trackers categories color code 2019-02-06 18:39:24 +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
nathangray
098fcbf918 Fix (remove) vertical scrollbar on popups with CKEDITOR 2019-01-23 16:01:50 -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
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
Hadi Nategh
3769b14378 Fix scrolling of vfsPath doesn't work in FF. Additionally, make its scrolling rate consistence cross browsers. 2019-01-21 12:34:49 +01:00
Hadi Nategh
de154ed152 Add mobile theme for tinyMCE 2019-01-18 16:27:19 +01:00
Hadi Nategh
f6ee1e47fa Update tinyMCE with RC 5.0:
- Add missing langs and skins
2019-01-18 10:49:41 +01:00
Hadi Nategh
1729a9dda2 Update tinyMCE with RC 5.0:
- Fix hitting enter after column char insert symbol instead of new line
- Fix tab focus stocks within toolbars
2019-01-18 10:27:12 +01:00
Ralf Becker
218af30b7c allow space in CF selectbox values and warn about other not supported values 2019-01-17 18:09:51 +01:00
Hadi Nategh
07c768e732 Make vfsPath scrolling available 2019-01-16 13:05:17 +01:00
Hadi Nategh
8ee2e719de Add noicon option to vfsPath 2019-01-16 10:13:37 +01:00
Ralf Becker
5531844c0d use correct window of includeJS and alert, also fixed in wrong order included first JS file 2019-01-15 14:34:52 +01:00
Hadi Nategh
8b661df737 Remember recently used folders in vfs select 2019-01-14 17:43:43 +01:00
Hadi Nategh
ada528bff6 Fix tinyMCE editor not respecting preferred font size/family. 2019-01-14 10:37:07 +01:00
nathangray
43d226b646 Add missing encoding 2019-01-11 13:26:14 -07:00
nathangray
0d75e05369 Fix accountData failed if a request for a different field is made while waiting for the server 2019-01-11 10:22:29 -07:00
nathangray
01dfdd9b1d Handle javascript as a link registry type target 2019-01-10 14:58:40 -07:00
nathangray
511b2c2b20 Return the promise if available 2019-01-10 14:21:31 -07:00
nathangray
00ea499559 Calendar - open add into a dialog widget 2019-01-09 16:48:04 -07:00
Hadi Nategh
1d11aad2b2 Fix broken styling in vfs list 2019-01-09 15:27:59 +01:00
nathangray
fc4f6f6398 * Filemanager - clickable folders in the path 2019-01-07 15:05:14 -07:00
Hadi Nategh
844730a870 Fix inline images no longer working with tinyMCE 2018-12-20 12:38:13 +01:00
nathangray
6892c4508e Keep a queue of callbacks for the same account and call them all back when we get it 2018-12-19 15:31:44 -07:00
Ralf Becker
339819f406 fixing sometimes too small files caused by last chunk being bigger then other chunks 2018-12-14 16:21:12 +01:00
Ralf Becker
fc2cd455ca setting a bigger chunkSize for resumable to improve upload speed (has to be 2^N!) 2018-12-14 15:16:15 +01:00
Hadi Nategh
feac8a1e80 Make sure data is available before using it 2018-12-13 15:29:31 +01:00
Hadi Nategh
bde724d29f Fix timestamper widget to deal with tinyMCE 2018-12-13 15:15:11 +01:00
Hadi Nategh
486f8e0b4b Fix broken extended mode in htmlarea widget 2018-12-13 15:13:56 +01:00
Hadi Nategh
d7b17e27b9 Add some more tools into simple mode 2018-12-13 12:52:10 +01:00
nathangray
e089093b89 User data request has to be synchronous or we can get many identical requests 2018-12-12 16:37:48 -07:00
nathangray
8ea0be0abf Add editableWidget to make HTML widget editable on double click 2018-12-12 15:23:13 -07:00
nathangray
33759f0cd9 Queue all concurrent server requests, but discard the earliest pending requests if the queue gets full 2018-12-12 09:32:44 -07:00
nathangray
9b61ac58c5 Limit concurrent server requests from nextmatch to 5, wait others until the pending ones get answered 2018-12-11 14:16:37 -07:00
Hadi Nategh
a25f8ece13 W.I.P. of modern theme with SVG icons enabled:
- add application specific id to tabs
2018-12-11 17:02:13 +01:00
Hadi Nategh
d437852fe2 Fix broken width in show_dialog 2018-12-10 11:39:58 +01:00
Hadi Nategh
80fb0315d4 Make hover_action available for none detached description 2018-12-07 11:16:14 +01:00
nathangray
ab76966e02 Fix taglist doesn't always show current value on load 2018-12-05 16:04:46 -07:00
Ralf Becker
dc073f858a fix tabs added by code where not reported and sometimes missing clickable class for image buttons 2018-12-04 17:05:39 +01:00
nathangray
87ea099f05 Calendar - fix selecting 'Select all' did not consistently set select_all in calendar listview 2018-12-03 15:31:12 -07:00
Hadi Nategh
579b4f6923 Remove rte_features from preferences 2018-11-28 18:06:38 +01:00
Hadi Nategh
fd36f854a3 W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu
- Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all
- Adopt addressbook Mail VCard menu
2018-11-27 15:22:50 +01:00
Hadi Nategh
f3ebfacc57 Introduce new action attribute to disable EPL actions via action system 2018-11-27 11:50:23 +01:00
Hadi Nategh
8d359ee39f Fix nextmatch rendering issue when it's inside an inactive tab 2018-11-23 10:44:50 +01:00
Hadi Nategh
ce20aaaba8 Fix typo for previous commit 2018-11-22 16:48:32 +01:00
Hadi Nategh
b6e0cc7fcc Fix tinymce steals focus from already focused element after executing a command 2018-11-22 15:42:14 +01:00
nathangray
bc5c3c161c Etemplate - for value widget sums, treat empty fields as 0 2018-11-21 15:10:43 -07:00
nathangray
38939f1f38 Improvements for entry widget for robustness, includes automatic server side tests. 2018-11-15 11:15:35 -07:00
nathangray
2bf7e14477 Etemplate - add custom field sub-fields for app-entry widgets
- add regex & regex_replace attributes to change value around
2018-11-13 14:11:26 -07:00
Hadi Nategh
48ad4f6d25 Make sure value is set before using it 2018-11-06 16:31:17 +01:00
Hadi Nategh
bb60ddd040 * Api: fix radiobox not return current selected value but the first value 2018-11-06 14:32:15 +01:00
nathangray
78752738d2 Fix Select All sometimes misses rows if there's between 50 and 1000 and you scroll down 2018-11-05 15:54:26 -07:00
Hadi Nategh
7089489db9 Hide editor statusbar from compose dialog 2018-11-05 15:35:13 +01:00
nathangray
5c03107500 Fix Select All sometimes misses rows if there's between 50 and 1000 2018-11-02 14:54:13 -06:00
Hadi Nategh
b86e2e2e6f Try to pass context on when binding events because there might be some other plugins using those events too. Fix broken avatar cropper. 2018-11-02 10:00:08 +01:00
nathangray
4f111e69d3 Etemplate - change default empty label for multiple user/group selection to more appropriate 'Select user or group' 2018-11-01 11:54:50 -06:00
Ralf Becker
2f1333a116 return and show in browser JSON parsing errors maybe caused by network problems
server sends HTTP status "400 Bad Request" with JSON payload with "error" and "errno" attributes.
error is json_last_error_msg() prefixed with "JSON ".
Not yet implemented is resending the request (max. twice) for JSON parsing errors to try to work around network problems
2018-11-01 12:00:08 +01:00
Hadi Nategh
a635ac34b4 Fix wrong constructed src url 2018-10-31 14:41:36 +01:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
Hadi Nategh
e6735f635d W.I.P. migration of mainscreen to et2:
- Fix extra space added when save the entry
- Fix htmlarea not getting a right height when is in inactive tab
2018-10-30 12:02:55 +01:00
Hadi Nategh
9c08c4cee7 Fix et2_htmlarea disabled not working 2018-10-29 15:11:32 +01:00
Hadi Nategh
16fe435de4 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix language setting
- Update TinyMCE
2018-10-25 18:18:47 +02:00
Hadi Nategh
b0891483cc W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add language packages
2018-10-25 10:54:31 +02:00
Hadi Nategh
7e25284816 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add configurable toolbar as preference
- Do not load CkEditor until it's used
2018-10-24 14:48:19 +02:00
Hadi Nategh
44ef6a0a30 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix CKEditor widget
- Fix editor doesn't work if no imageUpload is set
2018-10-23 17:10:33 +02:00
Hadi Nategh
345c3c2611 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add d-n-d image upload
2018-10-23 15:50:55 +02:00
Hadi Nategh
f62c5d8ea5 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Implement vfs file selector
- Add/remove more actions from toolbar
2018-10-23 13:04:20 +02:00
Hadi Nategh
987727f5fa W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add code plugin in order to be able to edit html script
2018-10-23 10:28:13 +02:00
Hadi Nategh
236006b795 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Keep editor toolbar in one line at least for mail compose
- Add a preference to enable/disable menubar at the top of editor
- Respects mode preference
2018-10-22 12:37:45 +02:00
Hadi Nategh
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +02:00
Hadi Nategh
b39bcc8c36 Remove unintentional commited part from commit a9a303a 2018-10-19 14:59:20 +02:00
nathangray
289e6079f7 Last / Next date
- Fix list title back to just date
- Link leads to actual recurrence for recurring events
2018-10-12 10:51:46 -06:00
Hadi Nategh
01a54413a2 Unbind events after widget gets cleared from DOM to avoid calling events like onchange for second time (eg. infolog projectmanager selection) 2018-10-12 11:29:21 +02:00
nathangray
117b559a5e Entry share changes
- Writable share is now a checkbox
- Add Sharing -> Merge entry into email template, share gets selected options
- Add {{share}} placeholder which creates (by default) read only share
2018-10-11 12:54:17 -06:00
Hadi Nategh
970fb80675 Respect async flag with set false value 2018-10-11 14:14:21 +02:00
Hadi Nategh
c3c887da98 Fix set_account_data turns into an infinite loop because of async ajax call 2018-10-09 17:41:38 +02:00
nathangray
c197d15a28 Explicitly set async to false for user list 2018-10-04 16:09:42 -06:00
nathangray
20956c4966 Explicitly set async to false for user list 2018-10-04 16:01:44 -06:00
nathangray
590446a701 Use framework tooltips for toolbar button tooltips instead of browser titles
Avoids Firefox actually changing the title text sometimes
2018-10-04 15:21:03 -06:00
Hadi Nategh
cceba01f87 Change default value for async json_request to true 2018-10-04 17:48:13 +02:00
Hadi Nategh
577850cfd0 * Api: change default submit to async call and try to block user interfering with submitted popup until the response 2018-10-04 17:23:30 +02:00
Hadi Nategh
d022e555d5 Fix xhr url in Offline options 2018-10-02 10:12:40 +02:00
Hadi Nategh
54cafd15d7 Implement Online/Offline connection indicator 2018-10-01 15:54:42 +02:00
nathangray
3daa25ca1a Only set taglist empty label for editable widgets 2018-09-28 10:49:12 -06:00
nathangray
92e818f429 Explicitly set taglist empty label 'Select some options' when missing so it can be translated 2018-09-27 11:46:29 -06:00
Hadi Nategh
13f3cc5260 Fix some issues with select-country widget:
- Country selection in preferences does not respect selected value
- Fix missing empty labels in country selection in preferences
- Remove flag image from empty labels
2018-09-25 11:24:22 +02:00
Hadi Nategh
2010850c16 Fix couple of issues regarding AB country and region selections:
- Use taglist-state widget for US state selector
- Make sure falg class only gets added for select-country widget
- Fix some styling
2018-09-24 13:48:24 +02:00
Hadi Nategh
6c4cc97a5f Implement new taglist widget to represent list of regions of a selected country 2018-09-19 16:43:19 +02:00
Hadi Nategh
cdae6c4b01 Fix country-select does not set flag when switching between countries 2018-09-18 16:05:32 +02:00
Hadi Nategh
82065b51c3 Fix unwanted autocomplete showing up for country-select widget 2018-09-18 15:16:51 +02:00
Hadi Nategh
6e94639b0a Implement flags indication for country-select widget:
- Migrate AB country selector to select-country tags
- Migrate Country selector in preferences to use select-country tags
2018-09-18 10:46:36 +02:00
nathangray
cabbacf229 Missing translations from Stefan Unverricht 2018-09-13 14:26:54 -06:00
nathangray
4bafc12326 Remove doubled taglist header 2018-09-13 11:17:30 -06:00
nathangray
075c7851db Translate taglist option labels 2018-09-13 11:16:20 -06:00
nathangray
be34f95723 Add template fetch fallback using egw.link() if template_base_url fails 2018-08-24 12:03:19 -06:00
nathangray
e4308f3d27 Fix positioning to center after template is loaded 2018-08-23 15:41:14 -06:00
Hadi Nategh
08b9138ae6 Fix tutorials json feed and PGP Installation tutorial video 2018-08-23 14:54:37 +02:00
Hadi Nategh
36a6efe837 Fix missing translations for PGP Back/restore feature 2018-08-23 13:47:04 +02:00
Hadi Nategh
698e77e0cb Implement reset user preferences for admin toolbar actions 2018-08-21 17:22:58 +02:00
Hadi Nategh
d7c462149a W.I.P. of toolbar admin default prefs:
- Set default preference by admin
- Consider default preference for the first time login users
2018-08-16 16:52:20 +02:00
Hadi Nategh
2ebbf89b0c Set a placeholder icon if nothing found 2018-08-16 16:49:54 +02:00