Commit Graph

747 Commits

Author SHA1 Message Date
Hadi Nategh
5dd310c254 Convert et2_widget_taglist to TS 2020-02-10 13:12:38 +01:00
Hadi Nategh
d88854b467 Convert et2_widget_file, et2_widget_vfs and fixes couple of definitions in other widgets 2020-02-07 17:41:51 +01:00
nathangray
4adff37f6f Fix missing / not set attributes 2020-02-07 09:31:10 -07:00
nathangray
0249c1604b Fix duration display format caused error 2020-02-07 09:30:43 -07:00
nathangray
d8345d2178 Fix bugs in attribute inheritance 2020-02-07 09:25:53 -07:00
Hadi Nategh
5e80a05cd1 Convert et2_widget_checkbox to TS 2020-02-07 10:52:45 +01:00
Hadi Nategh
1d69d52d32 Convert et2_widget_html to TS 2020-02-06 16:47:08 +01:00
Hadi Nategh
91119891cd Convert et2_widget_split to TS 2020-02-06 16:26:37 +01:00
Hadi Nategh
7d01281fa0 Convert et2_core_editableWidget and et2_widget_htmlarea to TS 2020-02-06 14:30:22 +01:00
Hadi Nategh
edf95a4bdf Convert et2_widget_url to TS 2020-02-06 12:10:57 +01:00
nathangray
06341552cf Get select account working 2020-02-05 15:30:24 -07:00
nathangray
f69ebe44bc Get link widget working 2020-02-05 15:27:24 -07:00
nathangray
8dc41fd07a Get nextmatch-entryheader working 2020-02-05 13:48:50 -07:00
Hadi Nategh
458137851d Add missing files from previous commit 2020-02-05 12:58:27 +01:00
Hadi Nategh
c280207de1 Convert et2_widget_image.js to TS and fixes types for show_dialog 2020-02-05 12:55:38 +01:00
nathangray
e0bc769315 - Fix attribute inheritance didn't work properly
- Get nextmatch filterheader working
2020-02-04 16:07:50 -07:00
Hadi Nategh
12eb1dec61 Fix TS type errors on widget number 2020-02-04 18:58:59 +01:00
Hadi Nategh
5617b6c33d Fix TS errors on dialog widget 2020-02-04 18:35:46 +01:00
Hadi Nategh
b45a74ac36 Merge branch 'master' into typescript 2020-02-04 16:45:24 +01:00
Hadi Nategh
491d17bc08 * Collabora: Fix issue of inserting an image into document pops a rename dialog 2020-02-04 13:27:55 +01:00
Ralf Becker
2fc0666762 merged master into typescript 2020-02-03 15:16:51 +00:00
Ralf Becker
e0f38dfb94 migrated infolog app.js to typescript 2020-02-03 16:05:40 +01:00
nathangray
3f8bd1b494 Get nextmatch rendering, sort of 2020-01-31 13:07:27 -07:00
Hadi Nategh
65bca4c025 Fix missing parts from merge commit 2020-01-30 14:48:20 +01:00
Ralf Becker
1776215ada use interface to get autocompletion and types for client-side API 2020-01-30 08:40:11 +00:00
nathangray
49f3014037 Work on getting nextmatch loading 2020-01-29 16:05:01 -07:00
nathangray
926415795a Fix namespaces were not processed 2020-01-29 14:29:38 -07:00
nathangray
b6e87f0887 Fix namespaces were not processed 2020-01-29 14:29:06 -07:00
Hadi Nategh
ffae3f2e17 Remove all map files 2020-01-29 17:14:32 +01:00
nathangray
6094cdd822 Get less errors for nextmatch 2020-01-29 15:12:44 +01:00
nathangray
95a06b3f10 Support legacyOptions 2020-01-29 15:12:44 +01:00
Hadi Nategh
addc4d8935 Convert et2_toolbar to TS 2020-01-29 15:12:44 +01:00
nathangray
0ba4d68baa Fix undefined error looking up cell content 2020-01-29 15:12:44 +01:00
nathangray
97337b6729 Get at least the nm header showing up 2020-01-29 15:12:44 +01:00
nathangray
28ad7abe97 Work on getting nextmatch going 2020-01-29 15:12:44 +01:00
nathangray
a9c4919c55 Fix compiled expressions could not be found 2020-01-29 15:12:44 +01:00
nathangray
0945d9e686 Temporary work around for legacyOptions issue 2020-01-29 15:12:44 +01:00
Hadi Nategh
9958c93c13 Check if the et2_hbox is attached before calling its child getDOMNode cause it's might not be set yet 2020-01-29 15:12:44 +01:00
Hadi Nategh
d889443e70 Convert et2_dropdown_button to TS 2020-01-29 15:12:44 +01:00
Hadi Nategh
c7b04a666c Convert et2_radiobox to TS 2020-01-29 15:12:44 +01:00
Hadi Nategh
00086e37b2 Convert et2_number to TS 2020-01-29 15:12:44 +01:00
nathangray
605a587bca Type parameter is optional 2020-01-29 15:12:44 +01:00
nathangray
43a9100c91 - Add some more parameter types
- Solve the uninitialized attribute issue (for insertChild() called from constructor at least)
2020-01-29 15:12:44 +01:00
Ralf Becker
0b50545cc1 missing generated .js and .map files, until we generate them via Grunt 2020-01-29 15:12:44 +01:00
Ralf Becker
ec7f8931b2 selectbox widget and some fixes 2020-01-29 15:12:44 +01:00
Ralf Becker
05b92c97f2 fix wrong class-name for attributes in constructor call 2020-01-29 15:12:44 +01:00
Hadi Nategh
313693a42c fix attributes in super call 2020-01-29 15:12:44 +01:00
nathangray
aaa4c3ae9e Fix some visibility issues, export the et2_action_object_impl 2020-01-29 15:12:44 +01:00
nathangray
50a0bb6157 Grid to TS 2020-01-29 15:12:44 +01:00
Ralf Becker
9e006797c9 date-widgets and friends for TS 2020-01-29 15:12:44 +01:00
Hadi Nategh
3b51264882 Convert et2_hbox to TS 2020-01-29 15:12:44 +01:00
Hadi Nategh
e1cd652183 Use destroy instead of free 2020-01-29 15:12:43 +01:00
Hadi Nategh
28e4e81478 Fix missing options in et2_dialog 2020-01-29 15:12:43 +01:00
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