Commit Graph

2556 Commits

Author SHA1 Message Date
Hadi Nategh
874be7777b Merge branch 'master' into typescript 2020-01-29 16:45:40 +01:00
Ralf Becker
39be6e0b89 * Sharing: temporary disable cleaning of deleted files, causing all shares to get deleted 2020-01-29 16:30:22 +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
b65b21fe9c allow images and media in mail via http: and https:, but remove object tags (already forbiden via CSP) 2020-01-29 14:40:30 +01:00
Ralf Becker
cdab5914c2 translation for "Request could not be processed ..." 2020-01-29 11:57:25 +01:00
Ralf Becker
cc8258cb3c use random_bytes(32) which throws for not enought entropy 2020-01-29 11:12:21 +01:00
Ralf Becker
d95894d530 use etemplate-exec-id as CSRF token for ajax requests 2020-01-29 11:08:44 +01:00
nathangray
2045c08e54 * Api: Fix SQL error from doubled table name in group statement
"Unknown column 'egw_tracker.egw_tracker.tr_id' in 'group statement'"
2020-01-28 14:05:44 -07:00
Ralf Becker
ec31d93af2 do NOT load categories.php?app=phpgw for login page
It gives an error as no user is logged in, which is served as text/html, which then gives an error in browser, as it conflicts with X-Content-Type-Options: nosniff
2020-01-28 18:56:54 +01:00
Ralf Becker
57ab6f667c adding CSP frame-ancestors 'self' policy to mitigate clickjacking 2020-01-28 18:19:40 +01:00
Ralf Becker
2ea9549dcf stricter CSP policy for mail body 2020-01-28 17:45:36 +01:00
Ralf Becker
d8289ef29d stricter CSP policy 2020-01-28 17:14:51 +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
Ralf Becker
2bae92f066 ALL and SESSION constants for push 2020-01-23 16:05:32 +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
nathangray
c88bf3c4a0 Fix typo 2020-01-15 08:14:04 -07: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
Ralf Becker
f7c653832f add an iterator for objects with a get_rows method 2020-01-13 14:41:46 +01:00
Ralf Becker
257fa50a1f fix PHP Warning: Use of undefined constant EGW_ACL_READ - assumed 'EGW_ACL_READ' 2020-01-09 14:41:07 +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
Ralf Becker
9101e7736f Changelog for 19.1.20191220 2019-12-20 10:18:26 +02:00
Ralf Becker
e3aeb0487c pending changes from our translation server 2019-12-20 08:42:01 +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
20766607f5 Make avatars size similar to status avatars 2019-12-12 14:42:02 +01:00
Hadi Nategh
4276ebbe5f * Mobile theme: fix mobile theme sidebar not showing notifications 2019-12-10 14:18:05 +01:00
nathangray
1064759020 Fix /apps/projectmanager threw SQL error Unknown column 'hash' in 'order clause' 2019-12-09 14:11:55 -07: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