Commit Graph

196 Commits

Author SHA1 Message Date
nathangray
b6036de8e2 * 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.
2021-01-07 11:19:09 -07:00
nathangray
c731ee1a38 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.
2021-01-07 11:15:42 -07:00
nathangray
cd667e01ec Api: Clear sorting with 'No filters' favorite 2020-11-30 11:59:08 -07:00
Hadi Nategh
2b03dcfe98 Make sure the params exists before addressing it 2020-11-03 11:48:41 +01:00
Hadi Nategh
f55fae6a3b * Addressbook: Open CRM views into individual tabs 2020-10-30 17:21:55 +01:00
Ralf Becker
8bda698954 try to fix race-condition in reconnecting a "lost" websocket connection 2020-10-27 14:19:45 +01:00
Ralf Becker
ed9062d839 try to fix race-condition in reconnecting a "lost" websocket connection 2020-10-27 14:16:40 +01:00
Ralf Becker
3ce3c47299 * SmallPART: fix not working LTI launch after last maintenance release
checking if we are about to load required files, before redirecting to cd=popup to load them
2020-10-22 10:00:51 +02:00
Hadi Nategh
0b3f2699f4 Fix error message still remains even after connection is up again 2020-10-21 11:56:47 +02:00
Ralf Becker
121008379b closing websocket explicit, before reopening it, to not end up with multiple connections and doublicated messages 2020-10-16 13:35:14 +02:00
Ralf Becker
2dc2a18fc6 fix TypeError this.openWebSocket() is not a function 2020-10-16 13:35:14 +02:00
Ralf Becker
4fd44a45c1 * Swoolepush: periodically pinging server from browser to detect lost websocket connection and reconnect 2020-10-16 13:35:14 +02:00
Ralf Becker
301966a6ca login page does NOT need client-side api and redirect with cd=popup shows as message 2020-10-16 09:47:05 +02:00
Ralf Becker
b9cb563eb6 * Api: detect if framework data is missing for popups too and redirect to cd=popup to load it 2020-10-16 09:47:05 +02:00
Ralf Becker
1ec5e962be * Admin: push server test to diagnose problems and improved recovery from failed requests / network problems 2020-10-03 13:40:02 +02:00
nathangray
0704150ca2 Correct parameters in TS 2020-09-28 08:50:04 -06:00
nathangray
0fbcb5c928 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-02 08:47:39 -06:00
nathangray
2341ecd7d3 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-09-01 20:43:14 +02:00
nathangray
20cd1cf802 Etemplate: Change how nextmatch handles update & refresh push messages 2020-08-09 18:50:19 +02:00
Hadi Nategh
18289ecd9d Do not show close button on success message and dismiss it on container click handler 2020-08-07 13:31:22 +02:00
Ralf Becker
5a5575ace2 improve fix not updated number of nextmatch rows on push type "delete" 2020-08-05 18:49:03 +02:00
Ralf Becker
0c1b92f029 fix not updated number of nextmatch rows on push type "delete" 2020-08-05 18:27:09 +02:00
Hadi Nategh
7b6b72ea6b Fix errors happening in mobile framework 2020-08-03 15:48:34 +02:00
Ralf Becker
c4bb5c3caf * Preferences: use push to ask every affected client to reload preferences, if affected 2020-07-31 09:49:29 +02:00
Hadi Nategh
e120bdb189 Return an object for egw message in order to have access to it after display 2020-07-30 15:29:45 +02:00
Hadi Nategh
8f13e3516d Do not include egw message in print 2020-07-29 15:47:34 +02:00
Ralf Becker
35edb2b49e * Mail: replying to a mail should only update icon, not move it to top of list 2020-07-29 13:59:42 +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