Commit Graph

2618 Commits

Author SHA1 Message Date
Hadi Nategh
38ebca1a24 * Html Editor: Add 9pt, 9px, 11pt and 11px into Html editor's font options 2020-02-11 16:58:55 +01:00
Hadi Nategh
f7e75af9a5 * Html Editor: Add 9pt, 9px, 11pt and 11px into Html editor's font options 2020-02-11 16:54:44 +01:00
nathangray
6c0102e7e7 Fix nextmatch column select dialog 2020-02-10 16:00:14 -07:00
nathangray
64844fc97d Fix selectAccount_ro did not display 2020-02-10 15:59:45 -07:00
nathangray
4ef2b0b401 - Fix doubled format string in readonly duration
- Fix format displayed when duration is 0
2020-02-10 15:32:31 -07:00
nathangray
b5af403238 Fix template namespace 2020-02-10 14:14:17 -07:00
nathangray
444f98fe34 Fix first repeating row had no widgets 2020-02-10 14:13:46 -07:00
nathangray
39590368bf Hopefully last attribute inheritance bug fix, solves a lot of the console warnings.
Just swapping the function parameter order, since we called the function from every constructor.
2020-02-10 11:41:40 -07:00
Hadi Nategh
81b12cf9ee Convert et2_widget_favorites to TS 2020-02-10 16:48:15 +01:00
Hadi Nategh
44ed664f7a Convert et2_widget_entry to TS 2020-02-10 15:29:27 +01:00
Hadi Nategh
b98ce00079 Convert et2_widget_taglist to TS 2020-02-10 15:17:09 +01:00
Hadi Nategh
e0ec34493b Convert et2_widget_progress to TS 2020-02-10 15:00:48 +01:00
Hadi Nategh
c19ea5a8ec Convert et2_widget_iframe to TS 2020-02-10 14:50:57 +01:00
Hadi Nategh
c7e7346584 Convert et2_widget_hrule to TS 2020-02-10 14:36:09 +01:00
Hadi Nategh
a1bf3f345b Convert et2_widget_groupbox to TS 2020-02-10 14:33:15 +01:00
Hadi Nategh
5dd310c254 Convert et2_widget_taglist to TS 2020-02-10 13:12:38 +01:00
Ralf Becker
d053a72a17 some fixes on the TS interface of client-side api and TS conversation tool 2020-02-10 10:02:04 +01:00
Ralf Becker
fc48878558 added (generated) TS declarations for egw_action 2020-02-10 10:00:35 +01:00
Ralf Becker
6ec5c7bab6 generated TS declaration for framwork objects 2020-02-10 10:00:12 +01:00
Ralf Becker
f15d047e9d generated TS declaration for framwork objects 2020-02-09 13:38:23 +01:00
Ralf Becker
362063e542 added (generated) TS declarations for egw_action 2020-02-09 13:09:11 +01:00
Ralf Becker
8dd03e3d07 some fixes on the TS interface of client-side api and TS conversation tool 2020-02-09 12:27:39 +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
Ralf Becker
90c55e013d try "PLAIN" first, in case IMAP wrongly reports some digest, it does not (correctly) implement 2020-02-05 10:58:34 +01:00
Ralf Becker
9cc0eaccd4 try "PLAIN" first, in case IMAP wrongly reports some digest, it does not (correctly) implement 2020-02-05 10:51: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
Ralf Becker
025b2cc431 moving webserverUrl property to IegwGlobal interface from global egw object 2020-02-04 18:32:58 +01:00
Ralf Becker
8b2f04607e moving webserverUrl property to IegwGlobal interface from global egw object 2020-02-04 18:30:37 +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
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