Commit Graph

818 Commits

Author SHA1 Message Date
nathangray
c51108b71b Fix singe fields attribute (as string) did not work 2019-10-07 14:14:39 -06:00
nathangray
3f483478cd Different Download as ZIP url, some had errors with the previous
#37061
2019-10-04 10:24:29 -06:00
Hadi Nategh
798823ab6e Make sure excluded mime types are type of string before splitting them, avoid js error "Uncaught typeError: ex_mime.split is not a function" 2019-10-02 13:52:48 +02:00
Hadi Nategh
7914168502 Remove drag enter/leave counter as it will break dragover class in FF 2019-10-01 16:53:09 +02:00
Hadi Nategh
a69d24ee66 * Api: Enable d-n-d into HtmlArea 2019-09-30 17:22:18 +02:00
nathangray
efc29d0631 Etemplate: Reduce some sizing issues in historylog 2019-09-25 09:20:38 -06:00
nathangray
6ce32d3e85 Etemplate: Better calculation for all fixed width columns to properly fit given width
This one avoids potential overflow due to rounding
2019-09-25 09:20:38 -06:00
Hadi Nategh
9b4f6a8349 Improve toolbar admin sections 2019-09-25 11:17:55 +02:00
Hadi Nategh
ff9b3c1c03 * UiUx: Implement applications list up/down scroll buttons (as an user preference feature) 2019-09-24 11:41:18 +02:00
nathangray
d602ec6677 Etemplate: More robust checking in get_tab_info() to handle tab template not fully loaded yet 2019-09-23 16:33:20 -06:00
nathangray
5b545e24ec Etemplate: Fix sizing and layout for diffs when they're part of a multipart entry 2019-09-19 11:30:34 -06:00
nathangray
62299b8a15 Etemplate: historylog - get diff to work as part of multi-part entries 2019-09-17 15:19:55 -06:00
nathangray
0e8b0e0562 Etemplate: Fix unable to clear color picker 2019-09-17 09:11:29 -06:00
nathangray
ca76e377cd Etemplate - avoid JS errors if unloading a nextmatch that didn't get properly initialized.
This can happen if the nm is set disabled via server-side modification
2019-09-16 09:46:57 -06:00
nathangray
2f1dfcc3d8 Calendar - Fix another case of group events not showing properly 2019-09-11 13:29:07 -06:00
nathangray
a6a3cb9a0f Etemplate - make sure dialog is wide enough if there is no title 2019-09-10 09:51:35 -06:00
Hadi Nategh
8506bf5e5f * Mail: fix drag-n-drop files from desktop no longer works on htmlarea as expected 2019-08-28 16:16:36 +02:00
Hadi Nategh
5877f3d0f1 Fix dragover class flickering issue 2019-08-28 16:14:53 +02:00
Hadi Nategh
12f3e9defd Remove not used files 2019-08-28 14:10:35 +02:00
Hadi Nategh
50bcfa593b Update resumable js library 2019-08-28 14:09:05 +02:00
nathangray
b064760e0f Etemplate - Make sure dialog is wide enough for the title 2019-08-27 14:09:13 -06:00
nathangray
c07a0509ce Fix missing translations reported by Stefan Unverricht 2019-08-27 12:04:06 -06:00
Hadi Nategh
74d6322414 Fix modify mail subject action's title 2019-08-26 17:01:37 +02:00
nathangray
a49e3a3c15 Api - Add a Share filemanager directory context menu action 2019-08-22 15:18:40 -06:00
nathangray
3e8f2274f2 Etemplate - make editableWidget a submitListener, so if someone submits while editing, the edit is still saved. 2019-08-22 14:22:31 -06:00
Hadi Nategh
0564e61c50 * Mail: add format selector into compose htmltext editor's toolbar 2019-08-20 15:55:53 +02:00
Hadi Nategh
768eb99113 Fix last visible tab wrongly set to closable 2019-08-20 14:01:09 +02:00
Hadi Nategh
70fd9a6529 Set correct appname when updating actions 2019-08-14 15:49:36 +02:00
Hadi Nategh
ae3db1bc28 * Mobile theme: fix broken html editor in mobile view (e.g. mail compose) 2019-08-14 10:05:28 +02:00
nathangray
be6325a68c Etemplate - fully implement label widget's "for" attribute 2019-08-13 13:28:56 -06:00
Ralf Becker
97953fab45 adding Github and Discoure (forum) to login page 2019-08-09 16:59:28 +02:00
Hadi Nategh
11d4aaf7c1 Some UI/UX improvements:
- Fix tabs headers alignment and resize
- Implement a loading page to obscure actual DOM rendering from user's view
2019-08-06 10:00:53 +02:00
Hadi Nategh
a7bfd5c871 Apply editable_height independent of the height attribute 2019-08-02 10:21:38 +02:00
nathangray
ed01dfad0a Fix partial HTML broke label in context menu Copy "..." action 2019-07-31 11:21:36 -06:00
nathangray
890cd4e4a4 Api - give error if share path is missing 2019-07-31 10:31:13 -06:00
Hadi Nategh
33aa092453 Add descriptive tooltip for avatar status 2019-07-31 11:45:39 +02:00
Hadi Nategh
824537068d Fix icon for select-file dialog 2019-07-30 15:57:19 +02:00
Hadi Nategh
a68f9f54b7 Fix search method in vfsSelect dialog 2019-07-30 12:26:26 +02:00
Hadi Nategh
16ec15573c Fix avatar edit dialog 2019-07-29 15:28:50 +02:00
Hadi Nategh
da0175a44c Add height attribute 2019-07-29 15:28:05 +02:00
nathangray
be2e632a9d Api - Don't print the show/hide sidemenu button 2019-07-26 13:44:31 -06:00
nathangray
2194808244 Etemplate - fix bug where context menu actions only worked the first time 2019-07-26 10:25:28 -06:00
Hadi Nategh
c8151c6f30 WIP search in vfsSelect dialog:
Implement search query for file lists
2019-07-26 17:26:53 +02:00
Hadi Nategh
d5b8242b19 Merge branch 'changable_column_order' 2019-07-22 11:55:15 +02:00
nathangray
4d858234ab Etemplate - color widget - use white as an empty value instead of showing black 2019-07-19 11:27:53 -06:00
nathangray
feedce26c3 Etemplate - remove jPicker, now using browser's color picker for color widget 2019-07-18 16:16:43 -06:00
nathangray
0731731e27 Admin - fix missing/incorrect filter options in user export definition 2019-07-10 15:50:31 -06:00
nathangray
daffc427f9 Another attempt to solve the tracker comment height issue 2019-06-19 11:08:05 -06:00
nathangray
5fce8985b8 Missing translations from Stefan Unverricht 2019-06-18 11:43:37 -06:00
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
Hadi Nategh
016cfc79ef Revert reset width on sidebar active header 2019-06-03 15:27:24 +02:00
Hadi Nategh
f424b1cdb6 WIP new framework style:
- Fix tab's close buttons jump while hovering
- Add search menu into info menu
- Add notifications as info menu and style it nicely
- Toggle avatar top menu by clicking away on body
- Fix notifications popup message alignment
2019-05-27 17:12:40 +02:00
nathangray
0041c248ad Fix historylog multi-part widgets where child widgets have options 2019-05-24 11:45:43 -06:00
Hadi Nategh
b1f4b2cb5d WIP framework new style 2019-05-24 16:11:37 +02: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
07773ded32 Etemplate - add ability to toggle row selection with spacebar 2019-05-14 10:33:59 -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
Hadi Nategh
3ea645f8e5 Fix regexp not matching the given popup id because of invalid regexp 2019-04-24 15:14:44 +02: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
Hadi Nategh
8d7ec84a80 Make active header fixed inside sidebox while scrolling 2019-04-02 12:02:28 +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
1f861f7650 align text and arrow in choosen (selectbox search="true") with regular selectboxes 2019-03-29 11:12:47 +01: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
672c407804 egw.(de|en)codePath to correctly encode % and # 2019-03-21 12:46:22 +01: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
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