Commit Graph

2642 Commits

Author SHA1 Message Date
ralf
2a87ebdbe6 do NOT fail with TypeError, if order_by is NULL, it's harmless ;) 2024-07-01 10:26:53 +02:00
ralf
0c6e9ac77f * Mail: make sure to create a valid Message-ID header, even if SERVER_NAME is set to "_"
happens e.g. under Univention
2024-06-29 17:51:21 +02:00
nathan
02e35d609f Api: Remove disused ajax-select customfield type 2024-06-25 15:14:32 -06:00
ralf
eda6e26017 show upload error for TinyMCE images by pushing it as error-message to client and also show it instead of the URL 2024-06-25 13:46:26 +02:00
ralf
fbab8cfea1 * Mail: fix broken PDF attachments which were quoted-printable encoded 2024-06-24 09:42:25 +02:00
ralf
b86a558a4f allow numbers in table- and column-names 2024-06-24 09:06:04 +02:00
ralf
4d0a967647 allow to switch sanitizing off and account for space after comma 2024-06-20 20:14:09 +02:00
ralf
abf5c00923 * Mail: do not stall (quick-)preview on mails without text-part e.g. PDF only 2024-06-20 15:01:50 +02:00
ralf
bd0818b7e1 * Filemanager: automatic shorten too long filenames and replace 4-byte utf-8 characters, which gave an error when trying to store VFS 2024-06-20 12:29:13 +02:00
ralf
230f3953a6 fix reported problems 2024-06-20 11:12:09 +02:00
milan
5dc07b36c6 Merge remote-tracking branch 'origin/master' into upstream_master
# Conflicts:
#	api/js/jsapi/egw_app.ts
2024-06-13 16:55:50 +02:00
milan
fc40ff11ca AcSelect Widget and integration into the Testwidget 2024-06-13 16:51:55 +02:00
ralf
e0d4a9fce8 * Mail: allow to edit/fix mail account if no session password is available e.g. SAML or OpenIdConnect SSO login 2024-06-07 11:54:16 +02:00
ralf
be1224276b fix one problem if all recurrences of an event with explicit recurrences were overwritten/exceptions 2024-06-04 16:44:59 +02:00
nathan
20da951b59 Merge changes
- Disable individual checkbox when only one entry is selected
- One entry + email document opens compose with other documents attached instead of sending directly
- Download button gives emails too
2024-05-23 14:39:19 -06:00
nathan
7858ed8fae Fix multi-merge into email did not save to VFS 2024-05-22 10:36:29 -06:00
nathan
aeec9263ef Merge document fixes
- Give some feedback for single document
- Fix line breaks in long task messages
- Fix link merged document to entries
2024-05-21 15:10:29 -06:00
nathan
ff94af1f7d * Api: Add some options to merge: merge individually, merge & link, merge & email, download 2024-05-17 15:57:09 -06:00
ralf
5f795a4379 WIP ViDoTeach REST API: fix not working unsetting in PATCH requests with null value 2024-05-17 15:59:49 +02:00
ralf
a5796c8b41 add missing @type: Card(Group) in Addressbook REST API 2024-05-15 19:52:37 +02:00
ralf
a69142946c WIP ViDoTeach REST API 2024-05-14 18:40:08 +02:00
nathan
24e265ef6e Framework WIP:
- Fix template_set preference was ignored
- Move top-level etemplate elements with slot to be direct children of EgwFrameworkApp element
2024-05-14 08:17:20 -06:00
ralf
8864d6ed49 * CalDAV/CardDAV/REST API: fix not working limited result
(since using generator instead of iterator)
2024-05-13 19:18:59 +02:00
ralf
972a05bd56 WIP vidoteach/smallpart REST API 2024-05-10 16:28:51 +02:00
nathan
7ec41f1ca0 Get calendar sidemenu loading into kdots left slot 2024-05-09 13:14:43 -06:00
ralf
e3d66c2cc6 fix PHP error in tracking, if no links given (e.g. in filemanager notifications) 2024-05-08 08:36:43 +02:00
ralf
b7f740c50d display OpenIDConnect errors and problem on the login page, do NOT fail silently 2024-05-07 11:28:12 +02:00
ralf
c54c127d05 * InfoLog: now fully supported by REST API 2024-05-06 17:32:47 +02:00
ralf
636cb10cab WIP InfoLog REST API 2024-05-06 12:20:41 +02:00
ralf
37ebc4b8e3 WIP InfoLog REST API 2024-05-03 19:56:01 +02:00
ralf
3cb0779e62 some Windows AD seem to get confused by using ldap_get_entries together with ldap_(first|next)_entry
check if we got the requested number of entries ($start[1]) back and only continue in that case
2024-05-03 15:17:35 +02:00
ralf
3be8edc44a fix Handler::etag(): Argument #1 ($entry) must be of type array, null given 2024-05-02 11:10:55 +02:00
ralf
bd6a4c310d fix error in filemanager notifications: notifications::set_popupdata(): Argument #1 ($_appname) must be of type string, null given 2024-05-02 10:20:47 +02:00
ralf
3ac7b858e4 fix error "Bad search filter" when accessing the calendar 2024-05-02 09:15:56 +02:00
nathan
d60d667bd3 Performance improvements for customfields where we have just 1 field, not the whole list 2024-04-29 13:57:06 -06:00
ralf
c63f465eb8 fix PHP 8.3 Error: Cannot create dynamic property DateMalformedStringException::$details 2024-04-29 12:23:28 +02:00
nathan
0bcb402b2e Add new framework WIP 2024-04-26 10:13:30 -06:00
ralf
6fb316a4fe * AD/LDAP Import: import could potentially deactivate or delete users if the connection to LDAP server failed 2024-04-25 10:39:50 +02:00
ralf
e9dec0d5fc * AD Import: import was not correctly taking into account primaryGroup of users 2024-04-25 10:38:02 +02:00
ralf
8acfc4ed27 add NM-filter-header for type, entry-type and tab to custom-fields list
currently header is somehow readonly
2024-04-23 10:42:00 +02:00
ralf
834e4f7824 fix changing entry-type (with automatic submit) did not change custom-field tabs and displayed fields 2024-04-23 09:45:30 +02:00
ralf
4b683b38ea * Notifications: fixed deleting and grouping of popup notifications by app-name and -id and show full total independent of max. 100 shown entries 2024-04-16 18:54:07 +02:00
ralf
16b98ce4d1 fix downloads via WebDAV of backups stored in S3, caused by slightly wrong Content-Size header, due to encryption of backups 2024-04-15 18:59:17 +02:00
ralf
4e247403af fix error in Calendar REST APi for participants of a private event series, which were only in some recurrences and not the series itself 2024-04-12 20:14:52 +02:00
ralf
d0d3326974 fix some docu typos and code static analyser of the IDE did not understand/marked as error 2024-04-10 14:19:42 +02:00
ralf
f250efdd73 improving/fixing for case of multiple default accounts depending on memberships 2024-04-10 12:29:13 +02:00
ralf
6d62f6b1d0 fix mass activation of mail-accounts to cope with (multiple) default accounts, different from the one of the current admin-user 2024-04-10 11:58:53 +02:00
ralf
8d4134f683 fix caching in browser, if iCal holiday url get set or changed 2024-04-10 10:46:01 +02:00
ralf
7321354bcf * Mail: revert to use first and second part of full rfc822 mail address outside angle brackets as first and last name 2024-04-08 12:21:50 +02:00
ralf
13d68e2e07 fix TypeError on InfoLog notification 2024-04-05 14:39:32 +02:00
ralf
2ac4c382b5 fix CF widget of type filemanager to NOT require filemanager run-rights 2024-04-05 12:01:29 +02:00
ralf
76d6f179c6 fix double encoding of tree items 2024-04-05 10:44:49 +02:00
ralf
7b815e4338 fixing the fix: must NOT prepend backup dir for $name===null 2024-04-04 14:23:48 +02:00
ralf
2a822ea0a8 * Api: allow to upload and use custom web-fonts for EGroupware and the rich-text editor (TinyMCE) 2024-04-04 13:27:13 +02:00
ralf
13c68e92df fix specifying a condition, can NOT use "value", as it gets used as the widgets value, using "last" now 2024-04-04 08:56:35 +02:00
ralf
5853afd7ff fix not working installation from backup through setup 2024-04-04 08:22:38 +02:00
ralf
1cc266467d allow to specify conditions, when the serial number get generated, use
value=<start/format>
<name>=<value>
2024-04-03 21:12:31 +02:00
ralf
f9545835fa fix registered account was lacking owner=0 and some missing translations 2024-04-03 15:14:25 +02:00
ralf
30604b9d67 fix Argument #2 ($old) must be of type ?array, bool given 2024-04-03 10:37:16 +02:00
ralf
b04318a099 WIP allow to place custom-fields in tabs: adding cfDisabled="true" to disable automatic adding of custom-fields, e.g. for templates not showing an entry 2024-04-01 12:42:56 +02:00
ralf
79b3085ac1 remove no longer used dhtmlxtree files 2024-03-30 11:53:52 +02:00
ralf
cb5665acd0 * All apps: new custom-field type serial allowing to generate incremented serial number with a given format e.g. "RE2024-0001"
WIP allow to place custom-fields in tabs:
2024-03-30 11:37:34 +02:00
ralf
143bfce59b fix/allow searching, reading and updating own account for account-selection preference "none" or "groupmembers" 2024-03-30 09:10:06 +02:00
ralf
c8fefbf573 WIP allow to place custom-fields in tabs: new cf type serial uses values for the start-value / no array 2024-03-30 08:59:52 +02:00
ralf
254fdc0fa3 WIP allow to place custom-fields in tabs: 2 new custom-field types:
- header: (like label with a bigger font and bold)
- serial: auto-incremented serial number
2024-03-27 17:07:02 +02:00
ralf
44db5c68b5 WIP allow to place custom-fields in tabs: fix automatic extension and use name not label
name for filename type cf is a relative path, optionally ending in a / to create a directory with all files the user uploads preserving their name
2024-03-27 14:53:08 +02:00
ralf
470216d165 WIP allow to place custom-fields in tabs: fix not working saving of preferences, because namespace / content attribute was not passed to template 2024-03-27 11:21:47 +02:00
ralf
fd77467b9c WIP allow to place custom-fields in tabs: fix type-filter was not used 2024-03-25 19:52:21 +02:00
ralf
c8e968ba1e WIP allow to place custom-fields in tabs: fix boolean values for cfPrepend attribute 2024-03-25 17:15:22 +02:00
ralf
dedaa29204 WIP allow to place custom-fields in tabs: cfExclude option to et2-tabs to exclude cfs from the tabs e.g. to place them separate into the template 2024-03-25 17:01:51 +02:00
ralf
2e37f9bd34 WIP allow to place custom-fields in specified tabs and automatic tab generation
- no more need to add custom-field tabs to the template, if a et2-tabs is used
- new custom-field options for et2-tabs:
  + cfTypeFilter propagated to type_filter of customfields widget
  + cfPrivateTab use an extra tab for private cfs
  + cfPrepend where to add cf tabs, default before history tab or at the end, if no history tab
2024-03-25 16:03:48 +02:00
ralf
b429434010 WIP dynamic CF tabs: if app already specifed extraTabs (like e.g. Addressbook), we need to add to them not overwrite them 2024-03-21 17:29:02 +02:00
ralf
9322eb681e WIP CF tabs: need to set addTabs explicit to not replace/remove the existing tabs as default is false 2024-03-21 12:46:02 +02:00
ralf
5352972e2a WIP allowing to speard custom fields optionally to dynamic generated tabs 2024-03-21 10:28:27 +02:00
nathan
91f70e354d Stop using hardcoded default of 100 for search
Now using max of maxmatches preference and 100
2024-03-20 16:50:52 -06:00
nathan
f4cb19bea6 Fix default Customfields load excluded any cf with tab specified, then cached it for the instance 2024-03-20 15:16:05 -06:00
ralf
8b59c76150 WIP allow cfs in extra tabs 2024-03-20 22:53:15 +02:00
ralf
7e9b2f3687 WIP allow to specify an optional tab-name for a cf, to create additional tab(s) and show the cfs in them
currently an extra namespace prevents storing and reading these cfs
2024-03-20 21:49:09 +02:00
ralf
ee9c657fb6 UI and schema update for CF tab and readonly 2024-03-20 15:05:40 +02:00
ralf
2ed34a39c6 * Mail: fix forwarding and reply to mail with just a PDF or image was showing it and not opening a compose window 2024-03-20 12:51:39 +02:00
ralf
1f18ef0a36 fix total <= 0 returned for get_rows call with given UIDs, stalling refresh of queued push updated in mail app 2024-03-20 10:44:21 +02:00
ralf
dbf77cb004 fix required validation for <et2-select multiple and it's custom-field equivalent 2024-03-15 13:26:50 +02:00
nathan
303ab4a9c9 Get merge dialog working for CRM view 2024-03-13 15:15:23 -06:00
ralf
a8222ed710 fix PHP TypeError: Cannot use object of type EGroupware\Stylite\Link\Sharing as array 2024-03-13 13:53:18 +02:00
ralf
d7e9a093b7 * Addressbook/Mail: new value "Hide groups without email" for preference "Hide user groups as distribution list" 2024-03-11 11:35:49 +02:00
nathan
d24ca39d09 * Api: Use file selection dialog for selecting target merge document instead of nested menus 2024-03-08 16:34:19 -07:00
ralf
78f261619d only rollback_lock() if we locked rows 2024-03-08 15:52:06 +02:00
ralf
1535887d70 fixing the fix: forwarded messages containing just a PDF were now unreadable again 2024-03-08 14:41:47 +02:00
ralf
f9f6700f8a fix for mails containing only a PDF but with a correct Content-Transfer-Encoding: base64 2024-03-08 13:19:21 +02:00
ralf
46a5581d2b fix some PHP Warnings 2024-03-06 20:34:13 +02:00
ralf
9412a3df55 asyncservice must be protected so __get() instantiates it automatically 2024-03-06 11:41:40 +02:00
ralf
db0488d9d0 Fix some PHP Deprecated or Warnings 2024-03-06 10:58:10 +02:00
ralf
39d2b0aa54 fixing the fix, only set binary, if it has not content-transfer-encoding header with value base64 2024-03-05 20:03:18 +02:00
ralf
858eebd527 if we have no text body, but only a PDF or an image, set binary, as it's already base64 transfer-encoded, when recreating the mail with a different subject 2024-03-05 18:01:09 +02:00
ralf
c44e3f08fa * eSync: fix syncing forwarded and replied flags to client incl. push using highestmodseq, if supported by IMAP server 2024-03-05 14:54:51 +02:00
ralf
1d7ca88a1d * LDAP: fix error creating a new group without a description 2024-02-29 13:41:37 +02:00
ralf
df166d4f43 allow notification to set sender different from current user / async-job owner 2024-02-29 09:56:40 +02:00
ralf
e1cf90169b fix one more undefined warning 2024-02-29 09:22:08 +02:00
nathan
7fc73f4c38 Et2TreeDropdownCategory: Get category colors working 2024-02-28 14:59:39 -07:00
ralf
1709bcf40c * ActiveDirectory: fix import was not detecting members removed from groups
as for AD always the full import is used for groups and setting/removing members was skipped for the full/initial import
2024-02-28 16:30:42 +02:00
ralf
e42716dd37 fix mail with just PDF / no body or multipart, to fix regular PDF attachments broken after initial fix 2024-02-28 11:27:15 +02:00
ralf
88dc76be3a * LDAP/ADS: fix sync was not converting numeric ID of primary group, it case it is different in SQL 2024-02-28 10:49:40 +02:00
ralf
c931ab2a8f * Mail: display messages containing just a PDF (and no body part) 2024-02-27 22:27:13 +02:00
nathan
4234afd453 Fix Et2TreeDropdownCategory server-side validation 2024-02-27 10:01:01 -07:00
nathan
2c664f7f78 Vfs Dialog: Fix "count(): Argument #1 ($value) must be of type Countable|array, null given" from favourites 2024-02-27 08:49:17 -07:00
ralf
37a9711b19 also handle and fix directories connected to itself like unconnected ones --> move to /lost+found 2024-02-27 15:41:44 +02:00
ralf
ac54652c33 * EPL: add S3 check to FSCK to delete files not in egw_sqlfs table or empty files from S3 buckets 2024-02-27 14:54:57 +02:00
nathan
11f9196b42 Use new VFS Select in customfield type application-filemanager 2024-02-26 14:26:14 -07:00
nathan
a9a26ffe39 Implement local search in SearchMixin & for Et2TreeDropdown
Add ability for SearchResult to have children
2024-02-23 10:49:16 -07:00
nathan
a8389d4286 Switch VfsSelectDialog to new SearchMixin 2024-02-22 16:21:28 -07:00
nathan
b0e8666ecb Implement searching in Et2TreeDropdown 2024-02-22 14:33:22 -07:00
nathan
83732e75d4 Et2TreeDropdownCategory: Fix missing sort order 2024-02-22 09:51:23 -07:00
nathan
b5179cac22 Et2VfsSelectDialog: Include total results and "# more..." indicator 2024-02-21 12:55:02 -07:00
ralf
158f683e69 * REST API: fix PATCHing of custom-fields 2024-02-21 17:28:04 +02:00
ralf
1c608ac6a5 * Notifications/Async service: fix caching in mail account always used sender from first notification 2024-02-21 09:04:23 +02:00
ralf
c8c3e55a72 ignore / never delete anonymous user, which is required for EGroupware to function properly 2024-02-20 18:44:06 +02:00
ralf
8f323deef8 if we have a user and group context, use the shared base of both 2024-02-20 18:14:29 +02:00
ralf
b5342170c9 fix now "Position" named former "Title" field in placeholder list (and other places) 2024-02-16 10:33:20 +02:00
ralf
ad1fb7edf2 remove html-entity-encoding from global-cat marker (diamond) 2024-02-16 10:14:48 +02:00
nathan
9e1f474f24 Don't trigger a PHP Warning: Undefined index 2024-02-15 16:04:34 -07:00
ralf
b0cf9bd70f fixing the fix ;) using both, the old and the new condition is necessary to correctly saving all preferences 2024-02-15 20:29:16 +02:00
ralf
c76ca96b5d * AD/LDAP: periodic import calls addaccount hook for existing account when email was just set, to activate mail account 2024-02-15 20:18:56 +02:00
nathan
a60299e114 Get category icons working 2024-02-15 10:41:40 -07:00
nathan
bebd121b60 Show leaf path as title/tooltip 2024-02-15 10:35:06 -07:00
nathan
8b21d21291 Et2TreeDropdown: server round-trip working 2024-02-14 10:43:05 -07:00
ralf
f913f2f890 fix array_diff_assoc(): Argument #1 ($array) must be of type array, null given 2024-02-14 10:55:36 +02:00
nathan
62d9c222b6 Just get it working WIP
- Fix category tree structure
- Switch on tree multiple
probably lots of bugs still, looks like we may have to do click on tree = add / remove and not show the value after all
2024-02-13 17:15:23 -07:00
Ralf Becker
0946a5c8bb adapt for <et2-tree(-cat)(-multiple) --> <tree(-cat) multiple="..." 2024-02-13 10:56:49 -07:00
nathan
94a32d2800 Et2TreeDropdown WIP
Initial commit.  Sort of works.
2024-02-13 10:32:36 -07:00
ralf
c4541f75a2 fix default-alarm(s) in calendar could not be removed:
- et2-date-duration with emptyNot0 attribute set, was still regarding "" as 0
- preferences class was not recognising change from 0.0 to "" (Array comparison with == vs. array_diff_assoc())
- preferences_settings was not updating $GLOBALS[egw_info][user][preferences], which was used in calendar settings hook
2024-02-13 10:32:01 +02:00
nathan
63083ee811 Et2VfsSelectDialog: Get add directory button responding to current path permissions 2024-02-12 08:09:26 -07:00
ralf
8fae3edc8c allow to instantiate Mail class with $acc_id belonging to another user ($called_for parameter) 2024-02-12 15:05:53 +02:00
ralf
bb1b408388 allow to specify number of digits for Vfs:hsize() 2024-02-11 10:53:11 +02:00
ralf
dc375f8e02 fix regular expression stopping Mail REST API when trying to send mails 2024-02-08 13:39:56 +02:00
ralf
83a2729cf0 another big chunk of PHP Warnings 2024-02-08 12:30:39 +02:00
nathan
1ba476ef6f Et2VfsSelectDialog WIP
- Handle server giving us a different path
- Key handlers
2024-02-06 16:16:00 -07:00
ralf
7c50457e2c fix a ton of Undefined warnings filling up eSync logs 2024-02-06 21:46:43 +02:00
ralf
d472c267b2 fix setting InfoLog primary link 2024-02-06 21:24:15 +02:00
ralf
087e969f9f * Timesheet: new REST API to query, update and delete timesheets https://github.com/EGroupware/egroupware/blob/master/doc/REST-CalDAV-CardDAV/Timesheet.md 2024-02-06 16:39:12 +02:00
ralf
59619f83a9 allow to use "/timesheet/?filters[owner]=0" to query all timesheets the current user has access too 2024-02-06 12:52:02 +02:00
ralf
07d242e705 * REST API: new links collection allowing to link application entries with each other or attach files 2024-02-05 21:06:18 +02:00
nathan
2e553911b0 Further work on Et2VfsSelect
- Button opens dialog & handles action
- Button shows feedback while processing
- Fix dialog flex spacing
- Fix dialog re-use was not clean
2024-02-02 15:20:33 -07:00
ralf
b5dfe12669 nicer formatting (injecting nl, tab and space) in JSON for application/pretty+json only 2024-02-02 09:33:36 +02:00
ralf
ca443060f4 WIP timesheet REST API 2024-02-01 22:16:36 +02:00
ralf
4ce3298241 * Mail REST Api: respect user preference to compose in HTML and convert plain body from REST Api call to HTML (bodyHtml attribute forces HTML) 2024-02-01 13:37:11 +02:00
ralf
b175b14294 try fixing race-condition: Call to a member function exists() on null 2024-02-01 11:00:42 +02:00
ralf
964a71f6d3 try fixing race-condition: Call to a member function exists() on null 2024-02-01 09:45:27 +02:00
ralf
22a0ae2563 fix Error: Call to a member function id2name() on null 2024-01-30 16:54:10 +02:00
ralf
85fbfe3e63 fix not updated jpegphoto, if changed in AD 2024-01-30 16:18:42 +02:00
ralf
951ce7cb9f changes to allow mounting ftp into vfs via an URL like "ftp(s)://<ftp-user>:<ftp-pass>@<ftp-host>/<path>?mode=0750&user=sysop&group=Default" 2024-01-30 15:36:41 +02:00