Hadi Nategh
6d1674bc45
Fix egw.tooltip documentation
2022-06-03 17:11:31 +02:00
ralf
5859ce0c37
fix CRM view shown with [object Promise] instead of title
2022-06-03 11:21:09 +02:00
nathan
a7940fe4f6
Update declaration signature
2022-05-12 11:03:18 -06:00
ralf
849291889e
fix some TypeScript errors displayed by IDE in new ExposeMixing
2022-05-07 11:35:27 +02:00
ralf
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
Ralf Becker
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
Hadi Nategh
052f5f23cc
Remove framework object from import statement which would override the actual object
2021-07-07 12:31:11 +02:00
nathangray
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
Ralf Becker
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
nathangray
aad2a77666
JS quality improvement
...
- add missing declaration
2021-05-19 10:01:07 -06:00
Hadi Nategh
67fb220778
Check popup blocker for when trying to open mail compose popup from filemamanger/Collabora
2021-05-17 16:27:51 +02:00
Hadi Nategh
c370941c51
Keep private app objects if dialog gets destroyed
2021-04-20 15:30:46 +02:00
Ralf Becker
fa0e7715c1
mark context as optional parameter
2021-03-15 08:57:45 +02:00
Ralf Becker
a467bab01f
return hashed appName of opened tab eg. to set notifcation counter
2021-03-02 21:00:59 +02:00
Ralf Becker
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
Ralf Becker
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
Hadi Nategh
1f41bba904
Fix youtube API loading player after initiation
2021-02-25 13:51:20 +01:00
Hadi Nategh
dc2f80c39c
Some TypeScript definitions
2021-02-10 14:12:27 +01:00
nathangray
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
nathangray
bf615644d4
Api: Add egw.request() into egw_global.d.ts
2020-10-27 16:17:32 -06:00
Hadi Nategh
2ed186079e
Implement openTab for egw_open object and make tab attributes configurable
2020-09-24 16:19:56 +02:00
nathangray
f38f61cf1b
Correct parameters in TS
2020-09-15 09:05:48 -06:00
Hadi Nategh
1624ceae07
Return an object for egw message in order to have access to it after display
2020-07-30 15:01:50 +02:00
Ralf Becker
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
Ralf Becker
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
Ralf Becker
4dc120a6d2
making video position available and a couple of documentation updates
2020-05-10 14:53:06 +02:00
Ralf Becker
9817d25a47
move who is available via push to push class and backends
2020-04-20 13:07:58 +02:00
Hadi Nategh
0cc7ce12d0
merge master
2020-03-05 14:45:25 +01:00
Ralf Becker
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
Hadi Nategh
2cc2f198d4
Some fixes for egw_action and egw_global
2020-02-28 14:41:17 +01:00
nathangray
b03e8d167e
Update some parameter types
2020-02-27 11:44:34 -07:00
nathangray
49493a6af8
Convert etemplate2 to typescript
2020-02-24 15:16:40 -07: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
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
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
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
nathangray
4eca12001a
Mark some optional parameters
2020-01-31 09:25:11 -07:00
Ralf Becker
8b3f9947e6
baseWidget in TS
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
Ralf Becker
901825bcfa
first try with TypeScript: timesheet app.js incl. new egw_app base-class
2020-01-23 09:14:58 +01:00