Commit Graph

694 Commits

Author SHA1 Message Date
nathangray
a5299abbf7 Use correct widget for attributes 2020-01-29 15:12:43 +01:00
nathangray
bd584dc991 Replace missing widgit registration 2020-01-29 15:12:43 +01:00
Hadi Nategh
fd31946f4e Fix error method generateAttributeSet does not exist 2020-01-29 15:12:43 +01:00
Hadi Nategh
1df5124246 Fix et2_dialog TS errors 2020-01-29 15:12:43 +01:00
nathangray
3cbecd5270 Return types for some functions 2020-01-29 15:12:43 +01:00
nathangray
1e39e5e654 arrayMgr to TypeScript 2020-01-29 15:12:43 +01:00
nathangray
46385aadc9 arrayMgr to TypeScript 2020-01-29 15:12:43 +01:00
nathangray
8b7be57067 Fix copy/paste error in constructors 2020-01-29 15:12:43 +01:00
nathangray
5e27866dc3 Fix copy/paste error in constructors 2020-01-29 15:12:43 +01:00
nathangray
812f6a0ef7 ts->js maps 2020-01-29 15:12:43 +01:00
nathangray
680a82cb4e Get et2 working in typescript 2020-01-29 15:11:00 +01:00
nathangray
805ac4591b Not sure where this one went 2020-01-29 15:11:00 +01:00
nathangray
9e33a168fc Getting etemplate2 sort of working 2020-01-29 15:11:00 +01:00
Hadi Nategh
5302ec5fa4 Convert et2_dialog widget to TS 2020-01-29 15:08:42 +01:00
Ralf Becker
7076f8fa3a tabbox widget 2020-01-29 15:08:42 +01:00
Ralf Becker
0205d72b53 description widget without expose 2020-01-29 15:08:42 +01:00
Hadi Nategh
fb94b13a89 Convert et2_video widget to TS 2020-01-29 15:08:42 +01:00
Ralf Becker
61a5505ec3 template widget with TS 2020-01-29 15:08:42 +01:00
Ralf Becker
e2c735ace9 textbox and button widget 2020-01-29 15:08:42 +01:00
nathangray
2377ec2090 Pass individual parameters 2020-01-29 15:08:42 +01:00
nathangray
7576742cbc TS for Box widget 2020-01-29 15:08:42 +01:00
nathangray
368f20ab5a Make labelContainer protected for subclasses 2020-01-29 15:08:42 +01:00
Ralf Becker
48ddfb1730 WIP on et2_widget_textbox 2020-01-29 15:08:42 +01:00
nathangray
3a21a5bc6b Second run at TS for valueWidget, restoring what was lost 2020-01-29 15:08:42 +01:00
nathangray
e0259fe6f2 First run at TS for valueWidget 2020-01-29 15:08:42 +01:00
nathangray
a90946a05d Some return types 2020-01-29 15:08:42 +01:00
Ralf Becker
f412b71225 inputWidget with TS 2020-01-29 15:08:42 +01:00
Ralf Becker
d9e2e26fcd some fixes for valueWidget 2020-01-29 15:08:42 +01:00
Ralf Becker
8b3f9947e6 baseWidget in TS 2020-01-29 15:08:42 +01:00
nathangray
988dbbc8da First run at TS for valueWidget 2020-01-29 15:08:42 +01:00
Ralf Becker
659c8b0e68 get et2_DOMWidget to TypeScript 2020-01-29 15:08:42 +01:00
Ralf Becker
f2b7ca4c32 move implements and instanceOf methods to inheritance 2020-01-29 15:08:42 +01:00
Ralf Becker
a4ce103d7e WIP with TypeScript 2020-01-29 15:08:42 +01:00
Ralf Becker
901825bcfa first try with TypeScript: timesheet app.js incl. new egw_app base-class 2020-01-23 09:14:58 +01:00
nathangray
3258121a15 Api: Fix some nextmatch bugs
- default columns were not properly used if there was no user preference found
- negated column preference caused problems with column order
- missing data for sorting if no column preference set yet
2020-01-07 14:37:22 -07:00
Hadi Nategh
f5ed503502 Attach relative icons with buttons used in col-selector dialog 2020-01-06 16:07:23 +01:00
Hadi Nategh
4619d55045 * File selector: implement Overwrite and Rename possibilities for saving an existing email message or attachment 2019-12-18 16:31:54 +01:00
Hadi Nategh
9902308540 * Html Editor: Add a custom paragraph into block formating in order to get paragraph lines with no line-height 2019-12-05 16:04:40 +01:00
nathangray
673327da1e Revert "Api: Nextmatch - Do not generate DOM nodes for hidden columns"
This reverts commit 0f3a1660ff.
2019-12-04 09:49:21 -07:00
Hadi Nategh
36913e0627 Fix htmlarea issue with prefs rte_toolbar values 2019-11-28 17:54:01 +01:00
nathangray
0f3a1660ff Api: Nextmatch - Do not generate DOM nodes for hidden columns 2019-11-26 11:59:37 -07:00
Hadi Nategh
3c374f7803 Fix scrolling a sorting item breaks the sorting in colSelector dialog 2019-11-25 13:37:24 +01:00
Hadi Nategh
3714cbbdf2 Set a max-height to column-selector list 2019-11-20 12:37:58 +01:00
Ralf Becker
71baa8654c fix wired CSP error after some 404 in html content 2019-11-14 15:19:58 +01:00
Hadi Nategh
7527dfb300 Add specific class for toggle_readonly mode 2019-11-11 14:09:35 +01:00
Hadi Nategh
fb20fe69dd WIP nextmatch column sorting UI:
- Give the dialog a new look
2019-11-06 16:07:48 +01:00
Hadi Nategh
2f5fa5def3 WIP nextmatch column sorting UI:
- Apply user preference after sorting saved
2019-11-06 15:12:14 +01:00
Hadi Nategh
68f7e84fa3 WIP nextmatch column sorting UI 2019-11-05 16:22:49 +01:00
Hadi Nategh
16e09a1093 Set value_class option for multi-select list 2019-11-05 11:28:34 +01:00
Ralf Becker
5c8a19ba26 correctly encode success message 2019-11-01 11:40:44 +01:00
Hadi Nategh
3b4e2e43c6 Set style tag in htmlarea widget as valid by default 2019-10-29 13:36:51 +01:00
Ralf Becker
67c9f137d2 treat "0" as false as does php, our database storage and et2_checkType() 2019-10-25 18:25:35 +02:00
nathangray
00d995b4b5 Revert "* Api: Fix bug where some links opened in the application's main tab instead of popups"
It did not take into account all apps (projectmanager & addressbook should open in main tab)

This reverts commit 474796c9bb.
2019-10-17 15:03:47 -06:00
nathangray
46ec335c42 Add attribute to turn off double click to edit editable widget 2019-10-17 10:36:21 -06:00
Hadi Nategh
85496dddb3 Fix search query for vfsSelect search box 2019-10-16 13:10:25 +02:00
nathangray
474796c9bb * Api: Fix bug where some links opened in the application's main tab instead of popups 2019-10-15 13:43:21 -06:00
Hadi Nategh
5a1fbe7049 Use letter avatar when user have no personal avatar is set in addressbook 2019-10-15 14:06:33 +02:00
Hadi Nategh
fc1e0679fb Fix htmlarea "enable features in toolbar" preference not working 2019-10-14 14:57:45 +02:00
Hadi Nategh
0303adbc35 Implement letter avatar in client-side as avatar widget's component 2019-10-14 13:42:07 +02:00
Hadi Nategh
74100f53ae Add format block as preference for pre-selecting block on editor initialization 2019-10-09 16:22:23 +02:00
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
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
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
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
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
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
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
Hadi Nategh
a7bfd5c871 Apply editable_height independent of the height attribute 2019-08-02 10:21:38 +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
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
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