Commit Graph

55 Commits

Author SHA1 Message Date
b1f20ddbb8 Api: Fix favorites with non-ascii names could overlap 2024-03-04 15:12:54 -07:00
b1a4a45bb1 add Promise<Et2Dialog> return type to openDialog 2023-07-14 08:54:07 +02:00
efaa3ae386 WIP Mail REST API: fix reported problems with calendar quick add 2023-07-13 18:44:00 +02:00
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
b95cdcb3c0 also declare and export app and framework 2023-03-17 08:52:52 +01:00
0117c4bde3 Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year) 2023-02-27 15:15:36 -07:00
e756962f86 Change egw.accounts() to always return a Promise 2022-12-15 10:22:19 -07:00
05b316f7ff move egw_get_file_editor_prefered_mimes() to egw.file_editor_prefered_mimes() as everything in old jsapi.js is deprecated and should be removed
.
2022-10-18 08:30:15 +02:00
6d1674bc45 Fix egw.tooltip documentation 2022-06-03 17:11:31 +02:00
5859ce0c37 fix CRM view shown with [object Promise] instead of title 2022-06-03 11:21:09 +02:00
a7940fe4f6 Update declaration signature 2022-05-12 11:03:18 -06:00
849291889e fix some TypeScript errors displayed by IDE in new ExposeMixing 2022-05-07 11:35:27 +02:00
3eaed09185 fix not working et2-date-since and rename et2-date-time_today to et2-date-time-today
create a new method egw.getTimezoneOffset() return current offset according to user preferences on server-side, like (new Date).getTimezoneOffset()
2022-05-05 11:38:48 +02:00
a5ad691757 deprecated egw.includeJS() in favor of es6 import statement
with egw composition happening in main window the used import statement happens in that context and NOT in the window (eg. popup or iframe) this module is instantiated for!
2021-07-09 17:27:22 +02:00
052f5f23cc Remove framework object from import statement which would override the actual object 2021-07-07 12:31:11 +02:00
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
bfea641321 fix async loading caused app.js not being loaded before et2.load() tried to instantiate it 2021-06-08 17:13:30 +02:00
aad2a77666 JS quality improvement
- add missing declaration
2021-05-19 10:01:07 -06:00
67fb220778 Check popup blocker for when trying to open mail compose popup from filemamanger/Collabora 2021-05-17 16:27:51 +02:00
c370941c51 Keep private app objects if dialog gets destroyed 2021-04-20 15:30:46 +02:00
fa0e7715c1 mark context as optional parameter 2021-03-15 08:57:45 +02:00
a467bab01f return hashed appName of opened tab eg. to set notifcation counter 2021-03-02 21:00:59 +02:00
7a060b205b not overwriting call and apply method of egw function/object using callFunc and applyFunc instead, fixes several problems 2021-03-02 12:16:47 +02:00
e36c6c4cec move global et2_call function to egw.call and egw.apply methods, ensuring app.js is loaded, if not yet loaded, also using that as apply plugin for egw.json 2021-03-01 11:50:41 +02:00
1f41bba904 Fix youtube API loading player after initiation 2021-02-25 13:51:20 +01:00
dc2f80c39c Some TypeScript definitions 2021-02-10 14:12:27 +01:00
6af3e37bed * Etemplate: Add context menu action on linked files to copy them somewhere else
Also, update vfsSelect to use request(), so it processes the additional stuff in response so we can have a success message.
2020-12-21 13:53:24 -07:00
bf615644d4 Api: Add egw.request() into egw_global.d.ts 2020-10-27 16:17:32 -06:00
2ed186079e Implement openTab for egw_open object and make tab attributes configurable 2020-09-24 16:19:56 +02:00
f38f61cf1b Correct parameters in TS 2020-09-15 09:05:48 -06:00
1624ceae07 Return an object for egw message in order to have access to it after display 2020-07-30 15:01:50 +02:00
08acad038c * Mail: replying to a mail should only update icon, not move it to top of list 2020-07-29 13:58:15 +02:00
588cd10043 track top EGroupware window in egw object to be used as egw.top instead of window.top, which can throw a security exception 2020-05-18 20:55:57 +02:00
4dc120a6d2 making video position available and a couple of documentation updates 2020-05-10 14:53:06 +02:00
9817d25a47 move who is available via push to push class and backends 2020-04-20 13:07:58 +02:00
0cc7ce12d0 merge master 2020-03-05 14:45:25 +01:00
65294a3e19 fix error on window closing in Chrome 80+
caused by Chrome 80+ no longer allowing to send a synchronious ajax request from beforeunload handler, using sendBeacon (async request with keepalive=true) instead
2020-03-02 10:43:19 +01:00
2cc2f198d4 Some fixes for egw_action and egw_global 2020-02-28 14:41:17 +01:00
b03e8d167e Update some parameter types 2020-02-27 11:44:34 -07:00
49493a6af8 Convert etemplate2 to typescript 2020-02-24 15:16:40 -07:00
d053a72a17 some fixes on the TS interface of client-side api and TS conversation tool 2020-02-10 10:02:04 +01:00
fc48878558 added (generated) TS declarations for egw_action 2020-02-10 10:00:35 +01:00
362063e542 added (generated) TS declarations for egw_action 2020-02-09 13:09:11 +01:00
8dd03e3d07 some fixes on the TS interface of client-side api and TS conversation tool 2020-02-09 12:27:39 +01:00
d88854b467 Convert et2_widget_file, et2_widget_vfs and fixes couple of definitions in other widgets 2020-02-07 17:41:51 +01:00
025b2cc431 moving webserverUrl property to IegwGlobal interface from global egw object 2020-02-04 18:32:58 +01:00
8b2f04607e moving webserverUrl property to IegwGlobal interface from global egw object 2020-02-04 18:30:37 +01:00
2fc0666762 merged master into typescript 2020-02-03 15:16:51 +00:00
e0f38dfb94 migrated infolog app.js to typescript 2020-02-03 16:05:40 +01:00
4eca12001a Mark some optional parameters 2020-01-31 09:25:11 -07:00