Commit Graph

40742 Commits

Author SHA1 Message Date
nathan
23f0b6faaf * Api: Restrict customfield options read from a file to only JSON files. Files should contain an array of options.
ex:
[
  { "value": "Α", "label": "α alpha" },
  { "value": "Β", "label": "β beta" }
]
2023-07-10 14:43:32 -06:00
nathan
24e9f794ef Calendar: Fix month view did not show overflown event block 2023-07-10 13:57:34 -06:00
nathan
0c050ad9f3 Api: Add a timeout for form submit
If a submit takes more than 30s, give a warning and hide the loader so the user can try to salvage their changes.
2023-07-10 09:07:22 -06:00
milan
2de5326f53 Merge remote-tracking branch 'origin/master' 2023-07-10 16:54:43 +02:00
milan
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
hadi
03745becf2 Fix mail compose editor not visible in mobile template 2023-07-10 16:42:13 +02:00
ralf
2f56677cc8 WIP Mail REST Api: permanent log result of primary backend for fallback auth 2023-07-07 16:17:36 +02:00
nathan
3f05f73339 importexport: Better error message if contact can't be opened for update 2023-07-07 08:10:59 -06:00
ralf
9a559c5000 WIP Mail REST API: fix broken fallback auth 2023-07-07 16:02:02 +02:00
ralf
18b60c1638 WIP Mail REST API: fix token auth templates and translation 2023-07-07 13:59:04 +02:00
ralf
8115a92a6a WIP Mail REST API: missing files from last commit 2023-07-07 12:25:45 +02:00
ralf
2bd5fd5601 WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder 2023-07-07 12:22:15 +02:00
ralf
d46f8f4a4e WIP REST API for mail & token auth: fix wrong namespace 2023-07-07 09:34:04 +02:00
nathan
961bc79885 Use correct type; no_lang should be boolean 2023-07-06 08:42:54 -06:00
nathan
186a7d46dd Handle parsing number into boolean expression 2023-07-06 08:29:30 -06:00
nathan
bd93964de3 Mail: Let browser deal with text area sizing in compose for plaintext too 2023-07-06 08:15:32 -06:00
ralf
1a0660a6cc * Setup/Authentication: added an authentication log and fallback authentication for all backends 2023-07-06 15:50:53 +02:00
nathan
47f9f80e61 Importexport: Hide preview when import complete or aborted due to errors 2023-07-05 14:25:48 -06:00
nathan
6ace2c1fbc Mail: Let browser deal with text area sizing in compose
Fixes bug where toolbar can get hidden when editing certain emails
2023-07-05 11:23:28 -06:00
nathan
1b3ce756f9 Api: Pre-select opened mail dialog if add email address preference is not set 2023-07-05 08:12:44 -06:00
nathan
5c112f471b Fix wrong account type 2023-07-04 10:02:13 -06:00
nathan
0e6f74da02 * Api: When clicking an email address, ask if user wants to add email to existing compose window or start a new mail 2023-07-04 08:27:59 -06:00
ralf
333750587c WIP REST API: show checkbox in application password to (re-)generate new token and display it 2023-07-04 11:22:49 +02:00
ralf
ec664540fd WIP Mail REST API: application password fixes and translation 2023-07-04 10:39:23 +02:00
ralf
07300704bc WIP Mail Rest API: UI for application passwords/tokens for admin 2023-07-03 17:09:26 +02:00
ralf
e210d4b3c6 do not show classes not extending Api\Auth\Backend or interfaces as auth backends 2023-07-02 07:34:22 +02:00
ralf
9359e3eee5 WIP REST API: using tokens to authenticate as user or impersonate a user without the password and optional limited application rights 2023-06-30 20:45:45 +02:00
nathan
f4699543c3 Et2Dialog fixes
- Fix noCloseButton attribute was not implemented
- Fix hideOnExcape=false still allowed closing on escape
- Fix using Et2Dialog.BUTTONS_OK showed no buttons
2023-06-30 11:02:04 -06:00
ralf
65b239ca2c WIP Mail REST API: do NOT read attachments into memory, they might be to big 2023-06-30 17:13:42 +02:00
ralf
8a3fd670ee WIP REST API for mail: non-interactive direct sending of mails 2023-06-30 16:33:28 +02:00
ralf
4616fb03d0 * mailto: fix wrong URL registered for on premise installation (you need to delete it in the browser first!)
Chrome: Datenschutz und Sicherheit > Website-Einstellungen > Zusätzliche-Berechtigungen (aufklappen!) > Protokoll-Handler
2023-06-30 11:19:18 +02:00
ralf
59854cfe3c if no charset found in DB stay with default utf-8 2023-06-30 10:12:32 +02:00
ralf
95ba35bfeb fix restoring 1.8 database gave "Duplicate entry" error by mapping that (again) to InvalidSql exception (was changed due to PHP 8) 2023-06-30 10:01:01 +02:00
nathan
3cfdca0ae9 * Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php 2023-06-29 13:36:28 -06:00
nathan
85cc2a33cd If customfields has a label and only 1 field, use the label for the widget
This lets us use " " as label to hide the custom field's label
2023-06-29 10:52:20 -06:00
nathan
649b0bfd59 Use code 204 instead of 404 to avoid browser treating it like an error 2023-06-29 09:48:30 -06:00
nathan
08445f2857 Calendar: Improve videoconference link for recurring events to include recurrence date 2023-06-29 07:55:52 -06:00
ralf
dfef4ce0c5 WIP REST API for mail
currently we can launch (interactive) compose windows, if user is online
ToDo:
- send mails for a user
- authentication as arbitrary user with an API token
2023-06-29 12:50:04 +02:00
nathan
26027796b3 Calendar: Fix extra timegrids sometimes visible in Firefox 2023-06-28 09:25:37 -06:00
ralf
5bb1d3c888 needs ungreedy, to not include quotes 2023-06-28 07:48:51 +02:00
ralf
acfcebce4a fix regular expression 2023-06-28 07:29:38 +02:00
nathan
d994f3f92e Api: Fix avatar images were not loaded 2023-06-27 09:46:30 -06:00
ralf
23895c94be WIP improve avatar loading in mail app
currently ET2Avatar is NOT correctly handling contactId=email:<email>
2023-06-27 08:59:59 +02:00
nathan
325fdcb02c Api: User selection = none fixes
- Fix display was 'false' instead of blank
- Fix widget type check was not preserving original value
2023-06-26 10:49:25 -06:00
nathan
faa1e17460 Mail: Fix event detection in multipart mixed mails
Meeting form was not presented, just request content
2023-06-26 08:43:29 -06:00
nathan
cfcd56fd00 Projectmanager: Fix hoursPerDay was not properly considered for durations 2023-06-23 14:35:04 -06:00
nathan
ab4d9a1446 Timesheet: Give category selectbox more space 2023-06-23 10:43:07 -06:00
hadi
28a6ad1b62 Fix reply as forced HTML break plain text pseudo tags 2023-06-23 15:08:10 +02:00
ralf
8aca24e520 * Calendar: freebusy.php uses .vfb extension for better Outlook compatibility and fix using "cred" GET parameter with base64 encoded credentials 2023-06-23 14:55:31 +02:00
ralf
742c067740 * ActiveDirectory: implement fail over for multiple AD controllers (failed controllers are blacklisted for 5min) 2023-06-23 09:46:59 +02:00