Commit Graph

1393 Commits

Author SHA1 Message Date
ralf
65c1233ced WIP timesheet timer: allow to start timer as alternative to add a timesheet directly
timesheet will be added on stopping the timer
2022-10-09 15:30:46 +02:00
nathan
e3bed10045 Fix missing "Use default" / "No default" option for default category 2022-07-19 10:37:38 -06:00
ralf
f79c57f048 fix InfoLog preferences shows wired looking categories --> fixed by using a select-cat 2022-07-19 18:28:44 +02:00
ralf
40a42ed1c8 fix broken file-access cache after a917293 (fix smallPART file-access depending on full path)
fix wrong condition when storing an attachment, either the file or it's directory must be writable
2022-05-12 15:16:55 +02:00
nathan
245fbb2d82 Infolog: Make sure to use the current user as set in Tracking, rather than $GLOBALS[egw_info']['user']['ccount_id'] when getting reply_to because we change the GLOBALS user when generating the notification. 2022-05-05 14:08:26 -06:00
ralf
f4622f7811 fix PHP 8.x TypeError: htmlentities(): Argument #1 ($string) must be of type string, array given 2022-04-27 17:48:09 +02:00
ralf
a74bd82dde next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-26 21:04:16 +02:00
ralf
e77dfb4bde * InfoLog: set replyTo for async notification to owner of InfoLog, otherwise the user causing the change 2022-03-28 19:38:15 +03:00
ralf
879f882ef1 * InfoLog: fix saving an InfoLog twice gave error that entry was modified, if user timezone was different from server 2022-03-09 15:42:29 +02:00
nathan
e718af5f3c Fix infolog edit was not displaying 'None' when no category was set 2022-03-03 15:17:23 -07:00
nathan
1893a2c7fe Fix duration in infolog list 2022-03-03 14:14:26 -07:00
Ralf Becker
cb65460b5f * InfoLog: fix not working overwrite check (optimistic locking) plus incrementing etag 2021-11-22 17:54:24 +01:00
nathan
241d3181c9 Infolog: Fix save conflict was still overwriting 2021-11-22 09:11:13 -07:00
Ralf Becker
5aed6918bd fix PHP 8.0 TypeError: implode(): Argument #1 ($pieces) must be of type array, string given 2021-11-20 08:36:35 +01:00
Ralf Becker
2406fe0fad fix PHP 8.0 TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given 2021-11-13 17:45:25 +01:00
Ralf Becker
db88ad9c0d fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-11 09:21:53 +01:00
Ralf Becker
2944a00e02 fix PHP 8.0 TypeError: Cannot access offset of type string on string, when iCal exporting a GEO attributes 2021-11-10 16:59:47 +01:00
Ralf Becker
f74b3be7a8 fix PHP 8.0 TypeError: Illegal offset type in Api\Categories::id2name() 2021-11-10 12:56:04 +01:00
nathan
3d2502c630 Infolog: Fix could not change project after b125e1b2fd 2021-11-09 14:02:10 -07:00
nathan
b125e1b2fd Infolog: Fix linking a second project will remove one project after a second save
With test.
2021-11-05 10:45:27 -06:00
Ralf Becker
723db2c004 fix PHP 8.0 error: array_intersect(): Argument #2 must be of type array, string given 2021-10-25 16:04:28 +02:00
Ralf Becker
b1af39be37 fix big chunk of PHP 8.0 warnings 2021-10-21 10:39:57 +02:00
nathan
9861c9a0b3 Fix copy / paste error 2021-10-15 09:37:27 -06:00
nathan
33fcb4e657 Infolog: Avoid errors adding app replacements if incorrect parameters given 2021-10-15 09:09:53 -06:00
nathan
62aeccbb0f Infolog: Avoid changing contact or project links if user has no write permission 2021-10-15 09:05:15 -06:00
nathan
bcfcc51398 Hide parent & contact in parent placeholder list 2021-10-12 15:50:37 -06:00
nathan
9e2bb05ded Placeholders list common UI
Should reduce maintenance by using a common UI to show placeholders based on the placeholder list
2021-10-12 14:18:18 -06:00
nathan
d43c27a31b Fix nested placeholders (customfields from other apps) were not being displayed properly 2021-10-07 14:51:16 -06:00
nathan
da6a16e62d - Add generation target path preference to all apps
- Use common method to get merge preferences to reduce duplication
2021-10-07 10:22:45 -06:00
Ralf Becker
91bd7c7aeb an other chunk of fixed PHP 8.0 Warnings 2021-10-07 10:14:43 +02:00
nathan
45f039da95 * Add preference to set the filename of merged documents using placeholders 2021-10-06 11:59:29 -06:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
nathan
6126bc2ac9 Placeholder dialog: Placeholder groups can now have groups
References (info_contact)/ customfields to other apps are expanded so all their placeholders are available as well
2021-10-04 14:45:57 -06:00
Ralf Becker
4458954af3 fix PHP 8.0 error: array_intersect() does not accept unknown named parameters 2021-10-04 13:15:33 +02:00
nathan
7f930a6221 Placeholder dialog: Support for other apps, starting with Infolog 2021-09-27 14:46:41 -06:00
Ralf Becker
90f1d9ea37 always show deleted filter and set deleted status in calendar
see #29778
2021-07-07 11:21:45 +02:00
nathangray
9be653e226 Adapt app-specific merges to 186e03671a 2021-06-23 11:31:47 -06:00
nathangray
6993d82abf Infolog: Use infolog owner as sender of notifications
(cherry picked from commit c9c9f28851)
2021-06-11 13:14:39 -06:00
Hadi Nategh
c7d80123ce Fix error key(): Argument #1 ($array) must be of type array, null given 2021-06-01 16:35:34 +02:00
Ralf Becker
e43331e48b fix not applied blur on initial load and also disable optimization for CRM-view and the like 2021-05-31 17:11:58 +02:00
Ralf Becker
0a9e61f6fa * InfoLog: allow to limit list to last N month in site-configuration, if ordered by last modified 2021-05-31 10:38:44 +02:00
nathangray
a261ce8556 Avoid some PHP warnings about doing things to arrays that aren't arrays 2021-05-25 11:35:40 -06:00
Ralf Becker
b02936dddb fix Class 'Accounts' not found 2021-05-20 09:11:21 +02:00
Ralf Becker
87be62ce63 remove config allowing to immediately delete InfoLog entries (as it's required for sync) 2021-05-18 14:14:21 +02:00
nathangray
e3442d3db0 Document info_owner/... placeholder in list 2021-05-07 10:18:43 -06:00
nathangray
23130ea078 * Infolog: Add info_owner/... merge placeholders 2021-05-07 10:15:05 -06:00
nathangray
74a7d6ee8b Use Merge number formatting instead of export formatting. It takes export file type into consideration. 2021-04-21 13:29:09 -06:00
nathangray
f89c8cfb03 Add hrules to sidebox menus 2021-04-19 16:02:41 -06:00
nathangray
06ceeb54e3 Infolog: Add project as export filter 2021-04-13 10:57:54 -06:00
nathangray
0628c5d54a Fix typo 2021-04-13 10:16:45 -06:00
nathangray
aff06ec4cc Import/export fixes
- Fix for missing floats by Jürgen Dlugi
- Fix broken timesheet export was always 0 results
2021-04-08 16:53:06 -06:00
Ralf Becker
37e5e12c3c PHP 8 fix: adding explicit cast for comparing DB-version to a float major number 2021-03-31 13:31:42 +02:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
nathangray
723e776b9d Add application-specific actions to kanban cards 2021-03-23 16:30:39 -06:00
Ralf Becker
84845d05b5 Fix PHP 8.0 Fatal error: Unparenthesized a ? b : c ?: d is not supported 2021-03-21 21:46:10 +01:00
Ralf Becker
58ae23c74c allow "app.<appname>.<method>" in link registry and use it to open CRM view 2021-03-04 11:50:13 +02:00
Ralf Becker
7c7445cea5 fix Call to protected method admin_cmd_config::exec() from context infolog_customfields 2021-03-02 17:35:48 +02:00
nathangray
8c078ea23f Remove debug 2020-12-11 09:08:13 -07:00
nathangray
c158707718 Add some debug into infolog csv import 2020-12-04 10:20:34 -07:00
nathangray
c3ae524ed6 Infolog: When importing into info_contact or info_from, try to find & link the contact 2020-12-01 11:14:15 -07:00
nathangray
f85e08b942 Infolog: When importing into info_contact, try to find & link the contact 2020-11-27 10:50:46 -07:00
Hadi Nategh
dd95002b8b Let the framework takes care of domId 2020-11-02 16:25:22 +01:00
nathangray
ce05572461 * Infolog: Responsible user in a different timezone would adjust the due date when saving
After clicking 'Apply' responsible user could be given fully editable dialog in some cases (due to notifications)
2020-10-19 10:41:58 -06:00
nathangray
a0065835a6 Update infolog & projectmanager on client when you add a timesheet entry 2020-10-13 10:28:36 -06:00
Ralf Becker
4886583cc1 change sharing to allow mounting shared into existing user sessions
without the need to destroy the session, if the sharee is a different user

This is accomplished by keeping the sharee in the stream context / attribute of the vfs class(es) instead of static Vfs::$user.
Later is still used for the current user - identical to egw_info[user][account_id].

This commit / merge of the vfs-context feature branch also added the abilty to mount WebDAV sources, eg. a sharing link from an other EGroupware instance
or any WebDAV server
2020-10-08 11:24:34 +02:00
nathangray
151889b39c Api: Move list of common merge placeholders into parent class to reduce duplication, add link/<format> options 2020-10-06 10:56:08 -06:00
Ralf Becker
f73b8731e0 use json instead of php serialization 2020-09-16 17:01:51 +02:00
nathangray
d6eade2f75 Filter push updates for CRM entries on all linked contacts, not just primary 2020-09-04 09:37:07 -06:00
nathangray
2dc5616b96 Separate CRM list from infolog list so push updates don't conflict 2020-09-03 09:58:27 -06:00
Ralf Becker
6567e39668 fix NM refresh call returned all rows not just requested ones
broken by 29b22e3 Fix CRM view did not add new infolog entries on push
2020-08-08 11:30:52 +02:00
nathangray
bec67d63ee Etemplate: Change how nextmatch handles update & refresh push messages 2020-08-07 09:19:15 -06:00
nathangray
29b22e336e Fix CRM view did not add new infolog entries on push 2020-08-06 12:49:33 -06:00
Ralf Becker
3ee29ccacb disable autorefresh in infolog and timesheet 2020-08-06 10:07:26 +02:00
nathangray
9b5c1d20ba * Infolog: Fix exporting search results failed if a contact filter was used 2020-08-03 09:41:02 -06:00
Ralf Becker
6d4aaade1b avoid second full refresh by sending delete action via ajax 2020-07-24 14:47:50 +02:00
nathangray
56dbbf406f Infolog: Put refresh_opener() calls back
It gives double updates, but people with no push server still get to see their changes.
2020-07-23 14:03:13 -06:00
nathangray
6d2af76576 * Infolog: Push updates 2020-07-23 13:34:08 -06:00
nathangray
a90acac0f4 Infolog: Export filtering with info_contact 2020-07-14 15:26:02 -06:00
nathangray
13842ffb79 * Infolog: Add filter by contact to export filters 2020-07-10 13:13:04 -06:00
nathangray
82215f292d Api: Fix some favorite widget bugs
- Infolog preferred favorite was not loaded
- Fixed vertical alignment of widget 'Add current' icon
2020-05-22 10:50:58 -06:00
nathangray
2e3f163e60 * Infolog: Add 'None' option for Infolog types to sync preference 2020-05-20 11:40:08 -06:00
nathangray
80e96fce6c * Infolog: Fix context menu 'Schedule appointment' action opened in calendar tab instead of a popup 2019-10-15 10:19:02 -06:00
nathangray
11e145967e Remove unused preferred export definition preference 2019-08-02 10:17:16 -06:00
nathangray
c7f31ab815 Infolog - Missing translations in site configuration 2019-06-18 15:22:30 -06:00
Ralf Becker
75403eea94 * CalDAV/CardDAV: allow removing categories 2019-05-28 18:48:14 +02:00
Ralf Becker
5b7281ed5c Revert "some chars also require encoding for iCal 2+ or vCard 3+"
This reverts commit f75b9e93f4.
2019-05-28 16:27:50 +02:00
Ralf Becker
038caabd72 some chars also require encoding for iCal 2+ or vCard 3+ 2019-05-27 17:00:40 +02:00
Ralf Becker
1338090a84 * CalDAV/CardDAV: encoding VT (vertical tab) as it stalls Outlook (CalDav Synchronizer) 2019-05-24 15:11:07 +02:00
nathangray
e62e27b179 Fix some missing translations found by Stefan Unverricht 2019-05-23 11:25:06 -06:00
nathangray
befac35e0b Add category override for addressbook vcard & infolog ical import 2019-04-23 16:17:12 -06:00
nathangray
be556fc1d7 Fix bug where editing custom status for one type lost statuses for other types 2019-04-23 09:44:53 -06:00
Ralf Becker
ff69b8abd7 fix Unsupported operand types error: no stati available for a custom type
Currently stati are not saved for custom types, need to be fixed
2019-04-23 12:43:10 +02:00
nathangray
557353e7df Log infolog custom type & status to command log 2019-04-09 15:36:54 -06:00
nathangray
2185f35bba Partially revert 3dfdcee193 as not needed 2019-03-26 12:00:43 -06:00
nathangray
3dfdcee193 Reset bo object data before each import to fix imports without ID went to the same object 2019-03-26 11:26:41 -06:00
nathangray
c96831adc3 Add 'confirm_mass_selection' action attribute to either provide or require a confirmation prompt on checkbox actions with more than 20 selections 2019-03-12 11:33:31 -06:00
nathangray
e43c8f8f19 Infolog - add ability to clear description history 2019-03-11 14:15:28 -06:00
nathangray
8230686a1b Import/Export - add definition setting to force a certain category
- update tracker to extend importexport_basic_import_csv
2019-03-07 15:52:48 -07:00
Ralf Becker
5086e6cca3 * All apps: improved speed when searching with (many) custom-fields 2019-02-18 19:23:13 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00