Hadi Nategh
a8c136f1cc
No longer need to send ajax=true at the end of url
2020-10-20 16:04:32 +02:00
nathangray
38ff63f778
Api: New JavaScript API method egw.request(menuaction : string, parameters : any[]) : Promise
...
Does an AJAX request, and resolves the returned Promise with just the data (no piggybacks) when it arrives from the server. Any registered data handlers are run before resolving the Promise.
2020-10-16 10:33:13 -06:00
Ralf Becker
83eabe4d8e
login page does NOT need client-side api and redirect with cd=popup shows as message
2020-10-16 09:45:30 +02:00
Ralf Becker
1ef16c9c55
closing websocket explicit, before reopening it, to not end up with multiple connections and doublicated messages
2020-10-15 18:17:31 +02:00
Ralf Becker
663816769e
fix TypeError this.openWebSocket() is not a function
2020-10-14 22:28:32 +02:00
Ralf Becker
313a378539
* Swoolepush: periodically pinging server from browser to detect lost websocket connection and reconnect
2020-10-14 20:16:13 +02:00
Ralf Becker
175d94f3e3
* Api: detect if framework data is missing for popups too and redirect to cd=popup to load it
2020-10-14 17:31:36 +02:00
nathangray
857943720e
Api: Make sure we don't add any unwanted data to account store
...
Push fallback can piggy-back some data, we don't want it
2020-10-05 10:55:34 -06:00
Ralf Becker
7db25dce5e
* Admin: push server test to diagnose problems and improved recovery from failed requests / network problems
2020-10-02 20:28:02 +02:00
Hadi Nategh
2ed186079e
Implement openTab for egw_open object and make tab attributes configurable
2020-09-24 16:19:56 +02:00
Hadi Nategh
4bf65486ef
WIP of framework's multitab implementation
2020-09-23 16:55:35 +02:00
Hadi Nategh
c01beef108
We can't use let in js files as we still supporting old devices with es5 only
2020-09-17 15:36:02 +02:00
nathangray
f38f61cf1b
Correct parameters in TS
2020-09-15 09:05:48 -06:00
nathangray
210c54b689
Etemplate: More fixes for row count when updating / adding
...
Now fixed the situation where 1 row was updated & 1 added, but the added one did not match filter and was not returned when server was asked. Now removed blank row waiting for it, and keeping row count consistent
2020-09-01 14:49:06 -06:00
nathangray
b43f51b52e
Api: Handle refreshing multiple UIDs but not getting them all back.
...
Previously we were assuming only 1 was requested, now properly handling multiple UIDs in a single request and not all of them being returned (eg ACL or doesn't match filters)
2020-08-31 14:57:22 -06:00
nathangray
bec67d63ee
Etemplate: Change how nextmatch handles update & refresh push messages
2020-08-07 09:19:15 -06:00
Hadi Nategh
c43d0684cc
Do not show close button on success message and dismiss it on container click handler
2020-08-07 13:29:30 +02:00
Ralf Becker
3b4d8071e9
improve fix not updated number of nextmatch rows on push type "delete"
2020-08-05 18:48:35 +02:00
Ralf Becker
321cd60fb5
fix not updated number of nextmatch rows on push type "delete"
2020-08-05 18:26:40 +02:00
Hadi Nategh
70e8a1b3ae
Fix errors happening in mobile framework
2020-08-03 15:21:11 +02:00
Ralf Becker
33e88d25ae
* Preferences: use push to ask every affected client to reload preferences, if affected
2020-07-31 09:47:49 +02: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
Hadi Nategh
14c908de78
Do not include egw message in print
2020-07-29 15:45:25 +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
Hadi Nategh
7900bfd9cd
Avoid outputting same message multiple times if it's still alive
2020-07-24 12:46:29 +02:00
nathangray
6d2af76576
* Infolog: Push updates
2020-07-23 13:34:08 -06:00
nathangray
a6688ab3f8
Etemplate: Allow app to specify a new row index for updated rows as well.
2020-07-22 12:00:01 -06:00
nathangray
f0b924008b
Etemplate: Add a callback so apps can decide where to put new push rows
2020-07-21 15:32:22 -06:00
nathangray
69420c19ad
Api: Handle add push messages in the nextmatch list
2020-07-20 13:43:26 -06:00
Ralf Becker
bf44ee753a
WIP push for mail (currently only Dovecot with further configuration!)
2020-07-20 12:09:08 +02:00
Hadi Nategh
1f066dee26
Implement new egw messaging (keeps not deliberately dismissed messages)
2020-07-17 14:09:37 +02:00
Ralf Becker
ab1e59c0df
register and deregister old JavaScript based app objects with new TypeScript registry to receive observer and push calls
2020-07-15 19:15:54 +02:00
Ralf Becker
808313c121
set grants if given for push
2020-07-13 19:26:05 +02:00
nathangray
ce393e0803
Remove et2_types
2020-05-29 11:21:17 -06:00
nathangray
b5dceda99c
Fix js packaging by switching from uglify-es to terser
2020-05-28 11:48:44 -06: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
nathangray
4cf185ce7e
Avoid JS error by making sure we have a date format
2020-05-15 14:42:31 -06:00
nathangray
242d435252
Fix a few remaining usages of free(), which was removed as part of the TypeScript conversion
2020-05-15 09:50:38 -06:00
Ralf Becker
4dc120a6d2
making video position available and a couple of documentation updates
2020-05-10 14:53:06 +02:00
nathangray
7f99b750b0
Fix missing appname in check
...
(see 444babdbc8
)
2020-04-29 11:28:17 -06:00
nathangray
444babdbc8
Api: Take care of private app.js instances, make sure they're included in iteration.
...
Iterate over all app.js instances (public & private) using:
for (var app_obj of window.EgwApp) {...}
2020-04-21 15:36:17 -06: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
be7d045e1d
Add requireInteraction option into notification class
2020-04-06 17:24:48 +02:00
nathangray
d24c6f2b7d
Avoid error if extra parameter is not set
2020-03-31 10:21:26 -06:00
Ralf Becker
038c1c811c
fix not closed spinner for application names with a dot
2020-03-31 13:03:31 +02:00
nathangray
7163acfe1d
* Add action to share filemanager folder (readonly) with hidden upload folder
2020-03-24 20:34:04 -06:00
nathangray
34ec346821
Fix favourites (& probably some more inherited stuff) broken by TypeScript conversion
...
Note that any properties declared in a sub-class aren't generally available until after the super() call is done, i.e. in the super constructor they're undefined.
2020-03-20 11:38:38 -06:00
Hadi Nategh
d6c2a4aa0b
Convert tracker app.js to TS
2020-03-09 16:12:49 +01: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