Commit Graph

986 Commits

Author SHA1 Message Date
nathangray
4eca12001a Mark some optional parameters 2020-01-31 09:25:11 -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
Hadi Nategh
c8da07b460 Rebase onto Master 2020-01-29 15:31:57 +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
9f574b4a38 some egw object interface changes and using it in app.ts base object 2020-01-27 13:43:13 +01:00
Ralf Becker
5b5c2a6cff full TypeScript Interface for client-side API 2020-01-26 13:58:10 +01:00
nathangray
185ea88613 Get less errors for nextmatch 2020-01-24 06:43:08 -07:00
nathangray
7230ed138c Support legacyOptions 2020-01-24 06:41:37 -07:00
Hadi Nategh
d4afbf149f Convert et2_toolbar to TS 2020-01-24 14:08:09 +01:00
nathangray
d8fb0c8bee Fix undefined error looking up cell content 2020-01-24 05:58:15 -07:00
nathangray
7bd1f9f986 Get at least the nm header showing up 2020-01-24 05:57:05 -07:00
Ralf Becker
e9c4d3f07e complete push implementation for timesheet incl. ACL check 2020-01-24 13:31:56 +01:00
nathangray
22780e5629 Work on getting nextmatch going 2020-01-24 04:14:08 -07:00
nathangray
3b2f3e50de Fix compiled expressions could not be found 2020-01-24 02:27:01 -07:00
nathangray
71ea795a0a Temporary work around for legacyOptions issue 2020-01-24 02:12:14 -07:00
nathangray
76a5793a0a New push method, with base implementation of delete client side 2020-01-23 11:03:29 -07:00
nathangray
ff50df67d0 Use correct refresh methods for delete so app can handle it 2020-01-23 09:21:41 -07:00
Hadi Nategh
b1272bb204 Check if the et2_hbox is attached before calling its child getDOMNode cause it's might not be set yet 2020-01-23 16:33:32 +01:00
Hadi Nategh
b0bcadf3fa Convert et2_dropdown_button to TS 2020-01-23 16:24:53 +01:00
Hadi Nategh
5d2600ddbd Convert et2_radiobox to TS 2020-01-23 15:14:46 +01:00
Hadi Nategh
5e81f94aec Convert et2_number to TS 2020-01-23 14:25:02 +01:00
Ralf Becker
6e0936bd98 first take on pushing app-changes to all clients 2020-01-23 11:26:44 +01:00
nathangray
24d5b06ebb Type parameter is optional 2020-01-23 03:17:33 -07:00
nathangray
d14f94aaa7 - Add some more parameter types
- Solve the uninitialized attribute issue (for insertChild() called from constructor at least)
2020-01-23 03:17:33 -07: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
Ralf Becker
0f0112a3ad missing generated .js and .map files, until we generate them via Grunt 2020-01-23 08:53:13 +01:00
Ralf Becker
b3698df3f7 selectbox widget and some fixes 2020-01-22 20:12:55 +01:00
Ralf Becker
5d786a6a36 fix wrong class-name for attributes in constructor call 2020-01-22 18:38:51 +01:00
Hadi Nategh
abb25821a8 fix attributes in super call 2020-01-22 18:24:34 +01:00
nathangray
7f4db7949f Fix some visibility issues, export the et2_action_object_impl 2020-01-22 10:16:39 -07:00
nathangray
504c11b87f Grid to TS 2020-01-22 10:13:10 -07:00
Ralf Becker
9fa82c7173 date-widgets and friends for TS 2020-01-22 17:59:10 +01:00
Hadi Nategh
e1c4613a4d Convert et2_hbox to TS 2020-01-22 17:15:43 +01:00
Hadi Nategh
df9e708b55 Use destroy instead of free 2020-01-22 16:21:29 +01:00
Hadi Nategh
11b661c726 Fix missing options in et2_dialog 2020-01-22 16:08:46 +01:00
nathangray
202faf54ec Use correct widget for attributes 2020-01-22 07:57:46 -07:00
nathangray
a845237b79 Replace missing widgit registration 2020-01-22 07:56:12 -07:00
Hadi Nategh
b4113f92d4 Fix error method generateAttributeSet does not exist 2020-01-22 11:50:58 +01:00
Hadi Nategh
1ef0353728 Fix et2_dialog TS errors 2020-01-22 11:46:45 +01:00
nathangray
da9072f769 Return types for some functions 2020-01-22 03:42:41 -07:00
nathangray
9e458c8968 arrayMgr to TypeScript 2020-01-22 03:42:08 -07:00
nathangray
e0c32a1899 arrayMgr to TypeScript 2020-01-22 03:40:55 -07:00
nathangray
3cd1bd134b Fix copy/paste error in constructors 2020-01-22 02:23:43 -07:00
nathangray
5693ca42e8 Fix copy/paste error in constructors 2020-01-22 02:23:24 -07:00
nathangray
b1c094ca47 ts->js maps 2020-01-22 02:04:45 -07:00
nathangray
1ef562c1bd Get et2 working in typescript 2020-01-22 01:58:43 -07:00
nathangray
e01ab12ee3 Not sure where this one went 2020-01-21 11:50:14 -07:00
nathangray
bdc0c16212 Merge branch 'typescript' of github.com:EGroupware/egroupware into typescript 2020-01-21 11:48:07 -07:00
nathangray
5c5d1dd39d Getting etemplate2 sort of working 2020-01-21 11:45:21 -07:00
Hadi Nategh
b251396fba Convert et2_dialog widget to TS 2020-01-21 19:23:26 +01:00
Ralf Becker
703b6a3cf8 tabbox widget 2020-01-21 17:51:59 +01:00
Ralf Becker
8e38bf8958 description widget without expose 2020-01-21 17:09:08 +01:00
Hadi Nategh
6758895ae2 Convert et2_video widget to TS 2020-01-21 16:14:45 +01:00
Ralf Becker
af6afdcffe template widget with TS 2020-01-21 16:11:08 +01:00
Ralf Becker
5c6f73a26e textbox and button widget 2020-01-21 15:54:37 +01:00
nathangray
487cebc56d Pass individual parameters 2020-01-21 07:43:04 -07:00
nathangray
f7bdd798d4 TS for Box widget 2020-01-21 07:36:45 -07:00
nathangray
13313cae6c Make labelContainer protected for subclasses 2020-01-21 07:19:39 -07:00
Ralf Becker
96a9ab7211 WIP on et2_widget_textbox 2020-01-21 15:12:45 +01:00
nathangray
9f4cd98787 Second run at TS for valueWidget, restoring what was lost 2020-01-21 07:06:34 -07:00
nathangray
29809e2395 First run at TS for valueWidget 2020-01-21 07:01:43 -07:00
nathangray
af1e62b178 Some return types 2020-01-21 06:55:07 -07:00
Ralf Becker
87270d97ed inputWidget with TS 2020-01-21 14:18:15 +01:00
Ralf Becker
372d439087 some fixes for valueWidget 2020-01-21 12:48:48 +01:00
Ralf Becker
630797f127 baseWidget in TS 2020-01-21 12:22:41 +01:00
nathangray
a28dffd5cc First run at TS for valueWidget 2020-01-21 04:15:46 -07:00
Ralf Becker
e8d6f41e05 get et2_DOMWidget to TypeScript 2020-01-21 11:47:49 +01:00
Ralf Becker
7141ac3fd6 move implements and instanceOf methods to inheritance 2020-01-21 10:36:02 +01:00
Ralf Becker
68f9d4c0cf WIP with TypeScript 2020-01-21 10:12:39 +01:00
Ralf Becker
8d5893d515 a couple of small fixes from the conversation to TypeScript 2020-01-15 08:52:49 +01:00
Ralf Becker
55ae9c1c7b first try with TypeScript: timesheet app.js incl. new egw_app base-class 2020-01-15 08:47:33 +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
Ralf Becker
7b30bb7b0d * Admin: optional session-action column in access-log and sessions
also no longer update access-log in session-class destructor, as it fails with skipping permanent logging for WebDAV and others
2019-12-14 13:09:22 +02:00
Hadi Nategh
4276ebbe5f * Mobile theme: fix mobile theme sidebar not showing notifications 2019-12-10 14:18:05 +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
6e43453714 Introduce Progressive Web App feature to EGroupware 2019-12-04 15:00:59 +01: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
f3b11295b0 Update tinymce translation files, thanks to Stefan Unverricht 2019-11-26 13:12:18 +01: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
edd8be4355 * All apps favorites: fix issue add favorites popup dialog no longer works after add/remove columns from list 2019-11-13 11:50:30 +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