Commit Graph

2621 Commits

Author SHA1 Message Date
Ralf Becker
3575f06501 fix JS error from cropper, stalling eTemplate with minified JS 2020-02-02 10:32:12 +01:00
Ralf Becker
abd6f7d669 allow to specify the root for lang-files 2020-02-01 17:50:56 +01:00
nathangray
3f8bd1b494 Get nextmatch rendering, sort of 2020-01-31 13:07:27 -07:00
nathangray
4eca12001a Mark some optional parameters 2020-01-31 09:25:11 -07:00
Hadi Nategh
faca76f6a9 Do not run restrict validation check for type taglist-account if free entries are allowed 2020-01-31 16:13:45 +01:00
Ralf Becker
214f4c5ede Changelog for 19.1.20200130 2020-01-30 19:50:49 +01:00
Hadi Nategh
a27f0952f6 Merge branch 'master' into typescript 2020-01-30 14:52:16 +01:00
Hadi Nategh
65bca4c025 Fix missing parts from merge commit 2020-01-30 14:48:20 +01:00
Ralf Becker
4447e1a618 pending translations from our translation server 2020-01-30 13:47:32 +01:00
Ralf Becker
1559b017d7 validate IP address in X-Forwarded-For header 2020-01-30 13:21:56 +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
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
Ralf Becker
2df0095579 fix typo 2019-12-05 08:57:26 +02: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
9885a6960d Add missing install icon 2019-12-04 15:05:45 +01:00
Hadi Nategh
6e43453714 Introduce Progressive Web App feature to EGroupware 2019-12-04 15:00:59 +01:00
Hadi Nategh
cf2d626bca Fix replying to some mails with broken pre tags would cause infinite loop 2019-12-03 14:34:32 +01:00
Ralf Becker
e305ba1d23 ignore logging of session dla only for max. of 15 min, so session status is displayed correct 2019-12-02 16:27:17 +02: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
2e43fecd66 Commit new translations from translation server 2019-11-25 16:44:58 +01:00
Hadi Nategh
3c374f7803 Fix scrolling a sorting item breaks the sorting in colSelector dialog 2019-11-25 13:37:24 +01:00
nathangray
83e2d70222 Mail: Fix bullet & number to text conversion failed with non-ascii characters 2019-11-22 09:44:27 -07:00
Hadi Nategh
3714cbbdf2 Set a max-height to column-selector list 2019-11-20 12:37:58 +01:00
nathangray
8b503dbae3 Admin: change delete user filemanager hook to move home dir, but only search /home for other files
- Translation from Birgit
2019-11-19 10:19:04 -07:00
Hadi Nategh
091ce6dea7 Keep the excessive height of column-selector dialog within the nm 2019-11-19 18:03:16 +01:00
Hadi Nategh
6ac50f2be3 Give more hight to column-selector dialog 2019-11-19 17:32:08 +01:00
Ralf Becker
93b1c7f1ab fix namespace issues 2019-11-19 14:02:37 +02:00
Ralf Becker
19b6683c73 Changelog for 19.1.20191119 2019-11-19 11:07:40 +02:00
nathangray
a39d257eac Admin: change delete user home directory back to special case, getting actual file count takes way too long. 2019-11-18 14:02:38 -07:00
Ralf Becker
7cd4169768 * all apps: fixing serveral cases of wrong Url when proxying and terminating TLS on the proxy 2019-11-15 13:54:34 +01:00
Ralf Becker
71baa8654c fix wired CSP error after some 404 in html content 2019-11-14 15:19:58 +01:00
Ralf Becker
056e5c053a use hostname from setup, only if webserver-url starts with a slash, closer to previous behavior 2019-11-13 18:28:33 +01:00
Ralf Becker
2fcdcb5afe * CalDAV/Calendar: iOS also no longer allowed to accept/reject invitations
now we skip encoding href attributes with mailto: urls independent of user-agent
2019-11-13 16:12:50 +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
Ralf Becker
302800b414 new class Api\Header\Http to handle X-Forwarded-Host and -Schema headers
also kope now with multiple comma-separated host-names in X-Forwarded-Host header happening with multiple proxys
2019-11-12 20:13:24 +01:00
Ralf Becker
c768c9cbf7 * CalDAV/Calendar: Lightning 68 no longer allowed to accept/reject invitations
Caused by calendar-user-address-set in principal had url encoded @ in email
--> now using a minimal url-encoding for Lightning, to not encode @
2019-11-11 18:02:20 +01:00
Hadi Nategh
7527dfb300 Add specific class for toggle_readonly mode 2019-11-11 14:09:35 +01:00
nathangray
5acd287e8d * Mail: keep number & bullet lists when converting to plain text 2019-11-08 11:42:25 -07:00
nathangray
d8faef3503 Admin: Extend Vfs::deleteAccount hook to all the files it can find, not just home dir. 2019-11-07 13:46:14 -07: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
bf844b7598 support for new Swoole push server 2019-11-04 09:29:49 +01:00
nathangray
28dd877952 Move favorite delete button in a little 2019-11-01 15:32:12 -06:00