Commit Graph

600 Commits

Author SHA1 Message Date
nathangray
cdcf2b1494 Change clickable VFS path to trigger normal change function instead of directly opening.
Fixes loading full UI when clicking path in a share.
2019-06-17 11:18:47 -06:00
nathangray
c2f7e2ab97 Try to fix tracker comments with not enough height 2019-06-05 10:48:38 -06:00
nathangray
f5b1b68e20 Fix missing translation on combined column titles 2019-06-05 09:15:40 -06:00
Hadi Nategh
797d396a4a Make sure we can submit before setting the loading prompt 2019-06-05 15:47:12 +02:00
Ralf Becker
ea2e9775ea support for data: urls 2019-06-05 14:43:57 +02:00
nathangray
0041c248ad Fix historylog multi-part widgets where child widgets have options 2019-05-24 11:45:43 -06:00
nathangray
e62e27b179 Fix some missing translations found by Stefan Unverricht 2019-05-23 11:25:06 -06:00
nathangray
edfd5fd24d Etemplate - also submit action data 2019-05-14 16:43:15 -06:00
nathangray
9daa2fe8b6 Etemplate - add new attributes to URL widget
allow_path: Allow a path instead of a URL, must start with /
	trailing_slash: Require or forbid that the URL ends with /
2019-05-10 14:53:00 -06:00
nathangray
b8a03cb6f1 Fix error if a parent key gets set as null 2019-05-03 16:09:50 -06:00
nathangray
a1419530cc Make sure we don't error when readonly 2019-05-02 10:28:29 -06:00
nathangray
b5762a6337 Unify timestamper formatting 2019-05-02 10:17:32 -06:00
nathangray
383b602c67 Etemplate - even better formatting for display of linked files in sub-directories
Now looks good for multiple files in the same sub-dir, not just one file per sub-dir
2019-04-25 11:57:42 -06:00
nathangray
64a0ec9c02 Etemplate - better formatting for display of linked files in sub-directories 2019-04-25 11:37:39 -06:00
nathangray
e93f212d4f Documentation fix 2019-04-23 15:44:24 -06:00
Ralf Becker
aad4db1617 allow statustext to contain multiple translated sub-strings eg: {Firstname}.{Lastname}
as we do for options already.
This allows to preserve existing translations, while adding further stuff
2019-04-19 10:17:26 +02:00
nathangray
b9470e8594 Get historylog to better fit its tab's full height 2019-04-18 14:12:16 -06:00
nathangray
e67e8672df Check to see if a history (list of) widget has matching select options before trying to use it as a list of widgets for a multi-part value. Should fix history problems with select options where one option is a widget name. 2019-04-18 11:42:06 -06:00
nathangray
8de13c5bba Get radioboxes to understand {value: ..., label: ...} option format 2019-04-17 12:43:27 -06:00
nathangray
afd1923851 Avoid error if dataStorePrefix & get_rows are not set 2019-04-17 11:34:38 -06:00
Hadi Nategh
c52ef308d3 Fix editing a textarea is not possible because of click handler 2019-04-15 12:35:34 +02:00
nathangray
d2bac9d654 Etemplate - allow trees to be readonly 2019-04-10 10:54:00 -06:00
nathangray
93647a034f Etemplate - add ability to give history log a different data source 2019-04-09 11:46:54 -06:00
nathangray
5ca06d432d Break print dialog creation out into its own function 2019-04-05 10:21:41 -06:00
Hadi Nategh
f33ed6b100 Show mouse scroll icon if only there's scroll left-right available on vfsPath container 2019-04-04 16:40:13 +02:00
nathangray
b21b905cb4 If nextmatch is on a tab, add the tab name to the print column selection dialog 2019-04-03 15:13:19 -06:00
nathangray
a462f30f9c Add a function to get information about the tab a widget is on 2019-04-03 15:12:40 -06:00
Hadi Nategh
0312d67b67 Make the code compatible with es5 2019-04-02 14:29:22 +02:00
nathangray
bec4eb8cf1 Better way to avoid JS errors if nextmatch is disabled 2019-04-01 16:49:28 -06:00
nathangray
eb45eea505 Avoid JS errors if nextmatch is disabled 2019-04-01 16:30:53 -06:00
nathangray
b7605e2b3b Get nextmatch to render a little more nicely on a tab when it's not on the first tab 2019-04-01 16:08:39 -06:00
nathangray
1b8ce9ac33 Get nextmatch to render a little more nicely on a tab 2019-04-01 11:34:23 -06:00
Ralf Becker
f28ff69e91 fix values like 0, null, false, used server-side for no account selected 2019-04-01 13:10:27 +02:00
Ralf Becker
be8a1ca991 fix taglist-account failed to dynamic load all accounts not already cached client-side
(everything worked before, if all accounts are cached client-side!)
2019-04-01 12:35:17 +02:00
nathangray
832f105982 Remove debug code
Thanks, scrutinizer
2019-03-29 09:46:23 -06:00
nathangray
1c8db476f3 Missing or not translated phrases from Stefan Unverricht 2019-03-29 09:22:06 -06:00
Ralf Becker
f9429b7c86 restyle lettersearch: margin to column-headers and lighter border 2019-03-29 10:56:56 +01:00
Ralf Becker
582231ecfc * All apps: fix custom-field display for date-time and custom data_format like YmdHi 2019-03-28 19:12:51 +01:00
nathangray
566f853900 Etemplate - fix undefined error if historylog was not initialized (usually due to no record ID) 2019-03-28 11:10:59 -06:00
nathangray
31b9c529b8 Etemplate - fix nextmatch only fetched data when it was at top level namespace 2019-03-28 11:08:32 -06: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
Ralf Becker
4b5379d61b * Filemanager/WebDAV: handle url-special chars like %, # and ? correctly 2019-03-21 12:36:25 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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