Commit Graph

5939 Commits

Author SHA1 Message Date
nathan
9a770824bb Better error message for not found / expired share
German translation from Birgit
2023-08-23 09:56:22 -06:00
nathan
e3f139f2af Fix canceled close still destroyed session 2023-08-23 09:55:46 -06:00
ralf
39848c7efe * AD/LDAP: added a DN filter to the periodic import to e.g. use 2 OU with a shared base 2023-08-21 17:16:37 +02:00
ralf
809855eaa9 * AD/LDAP: fix periodic incremental import was loosing memberships to local groups for modified users 2023-08-18 11:48:08 +02:00
ralf
5e395373d9 * ActiveDirectory: fix not working ldaps connection on a non-standard port 2023-08-17 12:26:35 +02:00
ralf
a2bb65dca2 * ActiveDirectory: fix not working ldaps connection on a non-standard port 2023-08-17 12:23:35 +02:00
nathan
03587c2dc4 Fix doubled single customfields when one custom field had options from file 2023-08-16 09:30:17 -06:00
nathan
3362940b78 * Api: Store recoverable password (encrypted) for shares so you don't have to change it when you forget 2023-08-16 09:20:27 -06:00
nathan
86740d8b90 Fix up password customfield
- passwd->et2-password custom field type
- passwordToggle attribute (changed name, icon didn't change)
2023-08-16 09:20:18 -06:00
nathan
dd0780b29c Projectmanager: Fix context menu 'Project element' did not work
egw_links.js:66 Uncaught array of value needs a prefix
2023-08-16 09:16:59 -06:00
hadi
d13151aa44 Missing parts from commit f0656f280f 2023-08-16 16:58:20 +02:00
ralf
be09fe7354 fix dry-run is not counting updated or created users 2023-08-16 10:51:51 +02:00
ralf
0e3eb70fae allow to set a higher account-import log-level then "info" 2023-08-15 16:07:49 +02:00
StefanU
5c60a2c962
Add planner.svg
as replacement for png
2023-08-14 19:08:38 +02:00
ralf
2da6961dcb * Calendar/CalDAV: Thunderbird and CalDAVSynchronizer: update only participant data, instead of failing when the event was changed 2023-08-10 15:12:24 +02:00
ralf
b395e25863 be more verbose on errors and return full Sieve script text (for user/password, not for admin connection) 2023-08-09 16:49:16 +02:00
ralf
a54e6b4673 if authenticated via token we have to use the admin connection, but only for the user authenticated as 2023-08-09 16:49:16 +02:00
ralf
11a09c6269 remove add (optional) $vacation_rule return parameter as it causes a PHP Fatal error in hosting 2023-08-09 16:44:07 +02:00
ralf
c2064e1fa8 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-08-09 16:43:33 +02:00
ralf
3467763dea * Calendar/CalDAV: do NOT limit number of returned events for GET requests with download parameter 2023-08-09 15:19:53 +02:00
nathan
1178d16afd 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-08-07 17:56:15 +02:00
nathan
11fcd35d26 Api: More missing changes from SearchMixin.remoteQuery() / static options from json file 2023-08-07 16:15:32 +02:00
ralf
e6274250bc adapt Et2LinkSearch.remoteQuery() to Nathans change not run cleanSelectOptions() in Et2Select.processRemoteResults() any more
@Nathan: not sure if this needs to be applied in more places, or your change should detect it needs running ...
2023-08-07 16:15:32 +02:00
nathan
17f1e0367c Fix handling of email addresses with names
- read-only was leaving out quotes on name, failing validation
- Commas in name caused problems when adding in to existing values due to simplistic CSV splitting
2023-08-07 15:57:09 +02:00
nathan
ac061434ea Pass event along from deprecated et2_dialog to Et2Dialog 2023-08-07 15:11:49 +02:00
ralf
8dd480f710 * LDAP/AD: fix duplicate key account_lid error on import caused by mixed case in account-names not treated equal 2023-08-07 10:54:09 +02:00
ralf
71ca036f67 * LDAP/AD: fix local uploaded pictures are lost when automatic import is used 2023-08-07 10:54:09 +02:00
nathan
c403784989 Api: Include webcomponents even if they don't have variable attributes, or any event handlers get lost 2023-08-04 14:21:16 -06:00
ralf
32c0aa8555 fix TypeError if field.values is null causing some nextmatch features like search not to render 2023-08-04 14:06:54 +02:00
ralf
36c8d53eb1 convert associative array to a real array with value attribute, to preserve the order of numeric keys 2023-08-04 09:11:58 +02:00
nathan
ef910b246a Et2Dialog: Fix dialog open event was fired if a selectbox opened
Fixes flickering field in Collabora insert address dialog
2023-08-03 14:44:05 -06:00
nathan
9a121c2508 SearchMixin: If the value is changed while the search / options are open, recalculate positioning
Fixes bug where it looks like the value hasn't changed, until the dropdown closes.
2023-08-03 14:09:42 -06:00
nathan
29d896686a Api: Fix adding links did not always work after triggering a form reload 2023-08-03 09:06:13 -06:00
nathan
6c6fc48fd2 Api: Add {{share}} & {{share-files_only}} merge placeholders that create an external share link 2023-08-03 09:05:36 -06:00
nathan
3b37c0b7ae Api: make longTask (merge to email) more robust
Should continue in the face of network error
2023-08-03 08:11:32 -06:00
nathan
e021685d93 Adapt long task changes for 23.1 2023-08-02 09:04:07 -06:00
nathan
d5eb78c705 Fix insert multiple entries into email document failed at "Please wait ... loading" 2023-08-02 08:41:33 -06:00
nathan
38bd4bed1b Revert "Fix insert multiple entries into email document failed at "Please wait ... loading""
Needs to be adapted for EgwAction changes

This reverts commit ce1b244acc.
2023-08-02 08:40:21 -06:00
nathan
ce1b244acc Fix insert multiple entries into email document failed at "Please wait ... loading" 2023-08-02 08:17:20 -06:00
ralf
4a1cdee275 if download GET parameter contains a decent cache-buster, we allow caching for 10 days 2023-08-02 08:16:34 -06:00
nathan
059cbfff55 SearchMixin: Limit number of JSON search results 2023-08-02 08:16:22 -06:00
nathan
149e2fec76 Fix email tags marked as invalid 2023-08-02 08:16:12 -06:00
nathan
881d3c05c5 SearchMixin: Fix select option not having class causes JS error
Fixes addressbook edit popup does not resize
2023-08-02 08:16:03 -06:00
nathan
81a6c13010 Fix validation of CF options from json file 2023-08-02 08:15:55 -06:00
nathan
b304be3a20 SearchMixin: Move missing value check after update so select_options gets a chance to populate first
This should speed up the initialization a little, avoiding some unneeded checks
2023-08-02 08:15:45 -06:00
nathan
df2de928da Api: SearchMixin improvements to work with Et2LinkSearch more efficiently
Moving handling of missing options to overridable method so Et2LinkSearch can use its more efficient method
2023-08-02 08:15:34 -06:00
nathan
69455d725a Api: Fix Et2LinkSearch initialization with value failed, giving blank widget 2023-08-02 08:15:27 -06:00
nathan
a3ce1d4cab WIP on caching static option file and searching it client-side
Get it working in nextmatch
2023-08-02 08:15:21 -06:00
nathan
e00582b5f9 WIP on caching static option file and searching it client-side
Avoid type error in CalendarOwner
2023-08-02 08:15:13 -06:00
nathan
2c919d4318 WIP on caching static option file and searching it client-side
Still needs file caching & passing correct URL
2023-08-02 08:12:46 -06:00
nathan
9c15cdb1a5 Api: Swap sparse account array/object for simple list to fix missing options in select account widget 2023-08-02 08:06:46 -06:00
ralf
bf04a60fe3 * PostgreSQL/Mail: fix SQL error querying email avatars 2023-08-02 11:50:45 +02:00
nathan
6a172f46b1 Api: Add "search" to list of link entries sent to client
Fixes broken site-search
2023-08-01 09:47:49 -06:00
ralf
75f0cc417c Changelog for 23.1.20230728 2023-07-28 14:32:56 +02:00
ralf
d660970473 fix typo 2023-07-28 09:43:53 +02:00
ralf
26800057a3 guard against CalDAV clients wrongly sending a Content-Type or Accept header for JSON 2023-07-27 20:50:49 +02:00
ralf
eeec71fb46 fix not working auth_type=(fallback|fallbackmail2sql) as Auth::backend() calls __construct(null, null) 2023-07-27 14:09:46 +02:00
ralf
ae76eea6f3 fix lavatar shows same letters for every contact not having a photo
caused by wrongly falling back to the contact with contact_id equal to account_id of current user
2023-07-27 13:28:55 +02:00
ralf
7735c57031 fix Error: Call to undefined method calendar_bo::find_or_add_categories() when specifying categories 2023-07-26 16:31:37 +02:00
ralf
44359621a3 fix TypeError: Cannot read properties of null (reading 'trim') 2023-07-26 14:22:11 +02:00
ralf
a3bc505242 Changelog for 23.1.20230726 2023-07-26 12:28:35 +02:00
nathan
d6739afe8b Calendar: Fix group calendar could be missing events under some circumstances
Static account options added to CalendarOwner were blocking the group data needed, fixed by using sent options over account options
2023-07-26 09:06:27 +02:00
nathan
0e8e46f44e Api: Fix doubled link on open and missing link app select 2023-07-25 18:53:53 +02:00
ralf
eef211fdcd * Calendar: new REST API to read, create, modify and delete events, see https://github.com/EGroupware/egroupware/blob/master/doc/REST-CalDAV-CardDAV/Calendar.md 2023-07-25 18:38:34 +02:00
ralf
f60ee71c1c WIP Calendar REST API 2023-07-25 18:38:34 +02:00
ralf
2b323f4ceb aggregate Etemplate\Widget\Url::ajax_contact() requests and search for all of them in a single AJAX request and SQL query 2023-07-25 18:35:13 +02:00
ralf
10f8d54f46 for api.queue close session to NOT block other requests (api.queue should NOT be used for changing something in session) 2023-07-25 11:47:14 +02:00
hadi
a4109439e1 Implement onlyEmail option for UrlEmailReadonly 2023-07-25 11:42:40 +02:00
hadi
29d159ea29 Make sure to show only email when using current value as email (avoids getting duplicate name in fullEmail mode) 2023-07-25 11:42:01 +02:00
ralf
0bd9ec1cf2 fix docu, spelling and some static vs. non-static calls 2023-07-21 09:00:00 +02:00
nathan
6286679b0c * 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-18 08:20:29 -06:00
nathan
0632068664 * Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php 2023-07-18 08:20:18 -06:00
nathan
43f704f0d5 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-07-18 08:20:12 -06:00
ralf
39aa763552 * Adressbook/CardDAV: unconditionally start output-buffering to fix problems with huge multiget reports from TB110 AB 2023-07-17 21:44:16 +02:00
nathan
e1be2276c1 More indent for sub-categories 2023-07-17 10:39:09 -06:00
StefanU
90508896d3 Update calendar.svg
File optimisation, colour corrected
2023-07-14 09:24:07 -06:00
StefanU
c205be4547 Update delete.svg
Change to new EGw design
2023-07-14 09:24:01 -06:00
StefanU
ba551a27ef Update MailFolderTrash.svg
Change to new EGw design
2023-07-14 09:23:52 -06:00
ralf
61281ac778 fix not translated context menu 2023-07-14 11:30:19 +02:00
ralf
cae7ff0c01 add Promise<Et2Dialog> return type to openDialog 2023-07-14 09:08:36 +02:00
nathan
5b401feb85 Changes for opening etemplate in a dialog
- openDialog() now returns Promise<Et2Dialog>
- fixed etemplate reload
2023-07-14 09:08:35 +02:00
ralf
4bb5f9f7b2 WIP Mail REST API: fix reported problems with calendar quick add 2023-07-14 09:08:35 +02:00
nathan
e4b128408f Et2Dialog: Fix buttons could not be adopted if dialog contains only arbitrary slotted content 2023-07-14 09:08:35 +02:00
ralf
3c732b9caf WIP Mail REST API: fix closing dialog closes popup to because dialog was already removed when response was received 2023-07-14 09:08:35 +02:00
ralf
e9b054b025 WIP Mail REST API: change calendar to use new egw.openDialog():
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-14 09:08:35 +02:00
nathan
b35e26a7f3 Get calendar quick-add working with Ralf's changes to open an etemplate in a dialog (c63784d7e8), fix buttons from those etemplates weren't adopted 2023-07-14 09:08:35 +02:00
ralf
d178087b16 WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog 2023-07-14 09:08:35 +02:00
ralf
9904ca59de WIP Mail REST API: fix failed POST request to create a contact (gave 501 Not Implemented) 2023-07-14 09:08:35 +02:00
ralf
f518f61335 WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
ToDo: overwrite Framework actions in etemplate2.handle_load() to eg. close dialog, but not window, or refresh window instead of opener
2023-07-14 09:07:06 +02:00
ralf
d93aa1e91c WIP Mail REST Api: permanent log result of primary backend for fallback auth 2023-07-14 09:06:12 +02:00
ralf
f8c4d7c8e3 WIP Mail REST API: fix broken fallback auth 2023-07-14 09:06:12 +02:00
ralf
f0cb5755c4 WIP Mail REST API: missing files from last commit 2023-07-14 09:06:11 +02:00
ralf
f95aad8713 * Mail: REST API to send mails including attachments / sharing links, or open interactive compose windows
WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder
2023-07-14 09:05:02 +02:00
ralf
c5d3b58cb1 WIP REST API for mail & token auth: fix wrong namespace 2023-07-14 08:44:16 +02:00
ralf
78068ca34a * Setup/Authentication: added an authentication log and fallback authentication for all backends 2023-07-14 08:42:58 +02:00
ralf
bd700c5169 WIP REST API: show checkbox in application password to (re-)generate new token and display it 2023-07-14 08:42:13 +02:00
ralf
80fce09a2c WIP Mail Rest API: UI for application passwords/tokens for admin 2023-07-14 08:41:46 +02:00
ralf
4c981ebd44 WIP REST API: using tokens to authenticate as user or impersonate a user without the password and optional limited application rights 2023-07-14 08:41:18 +02:00
ralf
21c40e5d01 WIP Mail REST API: do NOT read attachments into memory, they might be to big 2023-07-14 08:40:53 +02:00
ralf
2858a8a599 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-07-14 08:39:58 +02:00