Commit Graph

1251 Commits

Author SHA1 Message Date
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
Hadi Nategh
744d7cbfd7 Make blockquotes breakable in html editor 2021-01-06 14:08:03 +01:00
nathangray
c0072bc0eb Etemplate: Fix read-only selectAccount would always add new values causing doubles 2020-12-16 08:31:06 -07:00
Nathan Gray
2056b811a0
Merge pull request #99 from asig2016/20.1_add_tooltip_tomultiselect_widget
Added tooltip in multiselect selectbox widget
2020-12-10 09:01:41 -07:00
Alexandros Sigalas
fa683b5e31 Added tooltip in multiselect selectbox widget 2020-12-09 22:51:21 +02:00
Hadi Nategh
4499b054dc Add Segoe font family into HTMLEditor 2020-12-09 16:42:10 +01:00
Hadi Nategh
b251fde23b * Addressbook: fix 'undefined' title shown for some contact links opened in CRM view tabs 2020-12-08 10:54:40 +01:00
nathangray
6f6df9b489 Etemplate: Queue refresh() calls made while nextmatch is hidden.
Queue is limited in length, after too many refresh() calls, we throw away the queue and refresh the whole thing when nextmatch is visible again.
2020-12-07 09:07:55 -07:00
Hadi Nategh
2b56102123 Implement an alarm callback for countdown widget 2020-12-03 15:59:40 +01:00
Hadi Nategh
35a7d41704 Add new option to countdown widget inorder to hide empty values 2020-12-03 15:59:27 +01:00
Hadi Nategh
56cc940eb0 Add onFinish callback to countdown widget and style it 2020-12-03 15:58:45 +01:00
Hadi Nategh
cdc6c6f86f Implement widget countdown timer 2020-12-03 15:58:29 +01:00
nathangray
078ab2cb1a Etemplate: Apply sort order (to UI) if server sends it 2020-11-30 11:59:16 -07:00
nathangray
cd667e01ec Api: Clear sorting with 'No filters' favorite 2020-11-30 11:59:08 -07:00
nathangray
b78971a5c5 Etemplate: Don't try to expand src if it is empty 2020-11-24 10:27:23 -07:00
Ralf Becker
bd85f19c5e give explicit select-options priority over querying accounts via link-widget, fixes not displayed addressbook for sharing 2020-11-19 09:42:22 +01:00
nathangray
c33a6d002d Etemplate: Fix nextmatch controller destroy() left some references
AJAX responses would then try to use them after the etemplate was destroyed, and fail.
2020-11-09 09:46:15 -07:00
Hadi Nategh
f3ac970be2 Use replace() instead of replaceAll() as it's not supported in older browser versions 2020-11-09 11:14:13 +01:00
Hadi Nategh
a19780cf94 Purify framework tab appname used as dom id 2020-11-03 15:48:35 +01: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
06c40e1f1f only return "" for blur-value, if browser does not support html5 placeholder 2020-10-29 11:01:10 +01:00
Ralf Becker
9fe09ef09b * Addressbook: allow to configure sending fax via email by replacing the number with an email address 2020-10-28 13:32:30 +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
nathangray
2b12ec47b4 Etemplate: Fix auto-refresh mixed up new rows 2020-10-23 11:35:15 +02: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
nathangray
dd4e437d5b Etemplate: Fix flipping between 2 nextmatch filter values stopped updating results after 2 changes 2020-10-20 09:26:43 +02:00
Hadi Nategh
6f2ec6f33a Make sure sender object is there before using it 2020-10-19 16:06:59 +02:00
Ralf Becker
cb49caaad0 manifest scope need a tailing slash eg. "/egroupware/" 2020-10-19 13:43:31 +02:00
Hadi Nategh
936983d4fe * Filemanager: fix drag and drop a file no longer working from outside of browser into the list 2020-10-19 12:56:21 +02:00
Ralf Becker
3686279b70 fix a couple of errors stalling file uploades 2020-10-19 11:48:19 +02:00
Ralf Becker
03a5877d24 * Rocket.Chat: fix not working login with newer desktop clients
there were two problems:
1. Whatever URL you specify, the client removes the path and queries just /, our index.php now detects Rocket.Chat User-Agent header and redirects to /rocketchat/ in that case
2. our manifest.json an webworker registration was not using the individual webserver-URL but as static path
2020-10-19 10:31:44 +02:00
nathangray
b74e44ca6f Etemplate: Fix multi-select / tags value sometimes got lost if we had to fetch options from the server 2020-10-16 08:36:28 -06: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
nathangray
905f086218 Etemplate: Fix printing ruined scrolling in nextmatch 2020-10-15 10:12:25 -06:00
nathangray
ee97092520 Etemplate: Fix extra rows stayed hidden after printing 2020-10-14 11:51:27 -06:00
nathangray
27fd45c9ab Etemplate: Fix drag and drop linking made the rows involved disappear 2020-10-14 10:51:24 -06:00
Hadi Nategh
aec60b5c19 Add table into toolbar list 2020-10-14 11:39:15 +02:00
Hadi Nategh
612889c3c7 * Api: Add table button into html editor's toolbar 2020-10-14 11:20:27 +02:00
Hadi Nategh
b42a4c097b Updates tinymce to 5.5.1 and implements toolbar_mode option for htmlarea 2020-10-14 11:18:13 +02:00
Ralf Becker
cf7b817237 fix Uncaught (in promise) TypeError: this.context.getManager is not a function, causing empty status bar 2020-10-13 08:44:07 -06:00
nathangray
632c932035 Etemplate: Fix push add to an empty nextmatch would leave the 'No matches found' and throw errors for row actions 2020-10-13 08:43:54 -06:00
nathangray
20a48d2fe4 Fix methods in hidden app objects could not be used as action handlers
Now nextmatch sets the etemplate's EgwApp object as context for the action manager.  Actions now check and will use the set context instead of global when binding to handlers
2020-10-13 08:43:09 -06:00
nathangray
4b9d561bbe CRM: Fix some list bugs
- Adding an infolog did not show up
- CRM.ts got disconnected if infolog list got reloaded
2020-10-13 08:43:02 -06:00