Commit Graph

5234 Commits

Author SHA1 Message Date
nathan
924bea48e5 Calendar: Fix some kanban problems
- CalendarOwner webcomponent lacked et2- prefix
- Make sure CalendarOwner TS code is loaded when component is used
- Fix status filter was in changeable fields
- Fix Priority filter was missing options
2022-08-25 10:07:39 -06:00
nathan
81378fe3a5 Calendar: Fix recurring event prompt did not have labels or icons on buttons 2022-08-23 08:54:31 -06:00
nathan
a73fa72764 Calendar: Fix incorrect week view header 2022-08-22 16:03:40 -06:00
nathan
1b32b124c4 Calendar: Changing date using buttons in toolbar did not update sidemenu calendar to match 2022-08-22 15:04:14 -06:00
Hadi Nategh
54cd616b2c WIP Mobile view: get the nm search boxes the right size 2022-08-22 13:33:55 +02:00
nathan
3038ebcefd Calendar: Fix inserting event into document using context menu 2022-08-18 15:41:05 -06:00
nathan
4aa8bbeef9 Calendar: Fix weekend toggle hid more than just the weekend
Bad date logic
2022-08-15 08:45:21 -06:00
ralf
8b45483c68 fix not working "use enddate" in edit or quickadd
also fix not displayed month in header and add translation of month or week-day names
2022-08-12 11:38:15 +02:00
Hadi Nategh
b226f46014 Fix calendar's header margins 2022-08-11 11:23:11 +02:00
Hadi Nategh
6471396192 Fix calendar's description field 2022-08-10 10:37:40 +02:00
ralf
90cb916d32 fix PHP Fatal error: Declaration of calendar_owner_etemplate_widget::ajax_search($search_text, $search_options = []) must be compatible with EGroupware\Api\Etemplate\Widget\Taglist::ajax_search($search_text = null, array $search_options = []) 2022-08-09 15:42:12 +02:00
ralf
1ab53dec86 fix JS error 2022-08-05 18:59:30 +02:00
Hadi Nategh
3fe7398b18 Fix some of calendar's toolbar actions not having icon or caption 2022-08-05 13:03:59 +02:00
nathan
e689d0c49d Improve styling of nm header row and widgets inside 2022-08-03 10:14:52 -06:00
Hadi Nategh
417851b7b6 Fix some of the styling issues regarding Et2Switch used in calendar toolbar 2022-08-03 17:26:14 +02:00
ralf
5d1ccb55a0 fix some more missing images in calendar 2022-08-02 14:03:52 +02:00
ralf
8da571cdc1 fix a couple of broken image urls, after moving images from pixelegg to api/default 2022-08-02 09:28:43 +02:00
ralf
bcff7ab4dc fixing pixelegg less/css files to address images in default/images
remove no longer necessary pixelegg/images symlink to default/images
revert hint.png as the pixelegg one was never used
2022-07-31 10:49:35 +02:00
ralf
125a8abf61 only call widget.resize() if it's a function:
- web-components do not implement it
- et2-textarea / SlTextarea uses resize as a property name
--> we can postpone the decision, if we need an explicit resize handler for our web-components, or using flex is sufficient, for now
2022-07-29 15:29:51 +02:00
ralf
0113a93ffd move images from pixelegg to default and drop png or gif, if we have an svg 2022-07-28 17:56:34 +02:00
ralf
737311d829 fix lost owner 2022-07-26 17:37:13 +02:00
ralf
6afd07da03 * Calendar/Mail: allow every participant to apply changes from extern organizer and warn if sender is not identical to iCal organizer or participant 2022-07-26 14:13:31 +02:00
nathan
1a4badfabd Calendar: Fix some webcomponent sidebox / filter issues
- category could not be cleared
- webcomponents did not always reflect state values
2022-07-25 11:11:51 -06:00
nathan
35178fec62 Fix some sizing issues 2022-07-22 13:31:13 -06:00
nathan
4880a5ae74 Fix adding calendar participants did not give correct values due to missing type indicator 2022-07-22 13:25:38 -06:00
nathan
3e83c5bb1c Only validate that the free entries are email addresses on calendarowner, not every value 2022-07-15 13:31:15 -06:00
nathan
9a40db5e51 Calendar: Fix event category colors 2022-07-12 09:42:48 -06:00
nathan
71d43b125e CalendarOwner: Any free entries must be emails so validator added. 2022-07-07 14:15:00 -06:00
nathan
c6ef3b3a8d Switch calendar owner to web component 2022-07-05 10:18:12 -06:00
nathan
173eb4e110 Calendar: Fix all-day events in a different timezone could slide by a day
Ex: 1977-04-29 created in CET (+1) on a server in UTC would change to the 28th after a few years (1980)
Fixed by staying in server timezone for the recurrence calculations.
2022-06-08 07:57:36 -06:00
ralf
ae167995eb change select-cat empty_label to placeholder to display it for multiple="true" 2022-06-07 22:34:57 +02:00
nathan
29a46999f8 Calendar: Fix daylight savings time causes extra / missing days in the week 2022-06-07 17:11:02 +02:00
nathan
e0477c1db4 Calendar: Fix sidemenu date does not update when changing year 2022-06-07 17:07:56 +02:00
nathan
0e1aa738eb Calendar: Fix unable to create events by clicking a time 2022-06-03 08:49:34 -06:00
ralf
583ac1c6d6 queue requests for full calendar data
can NOT be backported to 21.1, as jsonq is not returning a promise in 21.1!
2022-06-03 09:59:10 +02:00
ralf
8db07c9a34 allow to use $skip_notify="NOPUSH" for calendar_bo::(update|set_status|update_status|delete) to NOT send push updates
this can and should be used for massive calendar updates to avoid a hugh wave of push messages and responses from clients/browsers to request full calendar data (which is not pushed)
2022-06-03 09:57:33 +02:00
Hadi Nategh
73e6cf2570 Replace jquery-ui swipe with tapandswipe 2022-05-30 16:05:59 +02:00
ralf
b87667237f comment out calls to no longer included TouchSwipe plugin 2022-05-29 10:09:07 +02:00
nathan
af34ab9f8c I think thats all the drag / resize stuff and a few other bugs too 2022-05-25 16:09:25 -06:00
nathan
12d2a65466 Swap jQueryUI for interact.js for resizing events in planner view 2022-05-24 16:52:16 -06:00
nathan
ece3813459 Remove jQueryUI for moving events in timegrid view 2022-05-24 14:53:49 -06:00
nathan
526c549788 Swap jQueryUI for interact.js for resizing events in timegrid view
(not planner)
2022-05-24 14:53:49 -06:00
Hadi Nategh
a8bcdd88b0 Get rid of jQuery.Color from jquery-ui 2022-05-05 15:55:49 +02:00
Hadi Nategh
2442e80cea Make sorting enable if we are in 4days view and view is not consolidated 2022-05-05 10:34:35 +02:00
Hadi Nategh
2d656802b5 Replce jqueryui sortable used in calendar with Sortablejs 2022-05-04 16:37:53 +02:00
nathan
b0a57a05fd Calendar refactors:
- Remove some more jQueryUI.datepicker usages
2022-05-02 15:23:03 -06:00
nathan
1de2a89eeb Fix calendar events off by 1 minute 2022-05-02 14:10:59 -06:00
nathan
8ef591279d - Don't highlight birthdays in date picker (calendar & regular) though tooltip remains
- Un-highlight weeks when mouse moves off week number
2022-05-02 13:46:55 -06:00
Hadi Nategh
b4dd66b80f * Calendar/Mobile view: Add a date indicator for all views in mobile theme 2022-05-02 14:45:07 +02:00
ralf
e4c2432f4c replace jQuery.ui.keyCode.X with EGW_KEY_X 2022-04-30 10:33:07 +02:00
nathan
813cd6924e Calendar refactors:
- date_helper, which was an et2_date_widget, now just a function that can handle all the different date formats in calendar
 - holiday fetch & cache moved into its own file, useable from anywhere
2022-04-29 14:37:52 -06:00
nathan
b44f4ea30d Move holidays to its own file, show holidays in all date selection calendars 2022-04-29 14:37:52 -06:00
nathan
991a53c5d6 Calendar: Fix holidays in sidemenu calendar off by 1 day 2022-04-29 09:14:51 -06:00
nathan
f5619e52c8 Calendar: Sidemenu calendar CSS adjustments
- smaller font size
- better sizing for header
- re-align header contents to match jQueryUI version
2022-04-28 15:46:39 -06:00
nathan
b5f66c6cd8 CSS / Layout cleanup - use row hover variable for calendar sidebox 2022-04-27 10:55:31 -06:00
nathan
9dd6f44715 Calendar: Sidemenu calendar CSS adjustments 2022-04-27 09:53:19 -06:00
nathan
1c42668a97 Change sidebox calendar from jQuery to webcomponent / flatpickr 2022-04-26 15:27:49 -06: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
d92c5a94a6 fix PHP 8.1 Deprecated by adding return type declarations 2022-04-24 18:15:47 +02:00
nathan
43f7a3b649 Calendar: Fix calendar tab could not be closed
Uncaught ReferenceError: egw_unregisterGlobalShortcut is not defined
2022-04-22 11:01:31 -06:00
nathan
2755d19d2f Calendar: Fix planner by user only showed one user
Fixed a few other planner bugs too:
- Not all properties were being set (owner, group_by, show_weekend)
- header was incorrectly sized
2022-04-12 11:25:33 -06:00
Ralf Becker
76e76a9e18 pending changes from our translation server 2022-04-04 13:26:38 +02:00
nathan
db44e0b754 Calendar: Quick add improvements
- Set slot attribute to make sure dialog adopts the preference checkbox too
- Make sure template winds up alone in the dialog (remove default content)
2022-03-24 11:24:00 -06:00
nathan
046599af2f Calendar: Switch from et2_dialog to Et2Dialog 2022-03-18 13:59:45 -06:00
ralf
940e1b12c1 Implement expand_multiple_rows attribute for Et2Select using Et2InvokerMixin 2022-03-12 14:49:25 +02:00
nathan
5f997299e5 * Calendar: New preference so default alarm can be for current user or all participants 2022-03-10 11:01:18 -07:00
ralf
801398e69b fix TypeError undefined function date 2022-03-09 22:01:55 +02:00
ralf
0507872493 using window.fetch() and promises to load holidays 2022-03-09 22:01:01 +02:00
nathan
3c656701f5 Calendar: Fix TypeError: Cannot read properties of null (reading 'getValue')
Thrown when creating a new event via quick add or changing the start date
2022-03-07 13:45:58 -07:00
nathan
0eaae8e5f1 Calendar: Set new ID to fix missing links to CF fields on new events 2022-03-07 10:15:50 -07:00
nathan
e3bcd06e77 Calendar: Remove static sizing, spacing & padding on edit dialog actions selectbox 2022-02-18 14:03:21 -07:00
nathan
d2020727fe Fix some missing translation problems 2022-02-11 13:02:21 -07:00
Ralf Becker
3c5bea23ef * Calendar/CalDAV: ignore Outlook CalDAV Synchronizer setting participant status back to unknown/needs-action (other status will be updated) 2022-02-09 14:19:57 +02:00
nathan
0ba0d746da Calendar: Fix planner causes app tabs to show when printing 2022-02-08 11:39:53 -07:00
nathan
410f882cb7 Calendar: Fix status notification sometimes had wrong user in $$fullname$$ placeholder 2022-01-18 14:26:08 -07:00
nathan
c68437c908 Calendar: If we don't have a sidebox to check parent, just accept it
Fixes missing events in group calendars on home
2022-01-18 13:00:25 -07:00
nathan
c9d5eb50db Calendar: Fix double encoded ><& characters in event tooltip description 2022-01-17 09:33:50 -07:00
Hadi Nategh
dd8140397a Fix error Argument #2 must be of type array, null given 2022-01-14 14:02:56 +01:00
nathan
55b4b28f29 Calendar: Make sure projectmanager integration (filter) refreshes actual data faster, fix events don't come back when turning integration (filter) off 2022-01-13 13:48:18 -07:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
nathan
f6a7a63feb Calendar: Avoid error if $userid is not numeric 2021-12-15 14:50:43 -07:00
Hadi Nategh
d2cd36656a Fix error Unsupported operand types: int + stringPHP 2021-12-13 10:43:00 +01:00
Hadi Nategh
85de53b2eb Fix calendar category report throws error "Undefined constant active" 2021-12-13 10:07:39 +01:00
nathan
d6cca90dbf Calendar: Remove drag to create event placeholder when edit dialog is opened 2021-12-08 13:41:35 -07:00
nathan
4c2e5ba853 Calendar: Remove drag to create event placeholder when popup is closed 2021-12-08 11:58:17 -07:00
nathan
bf2482104a Calendar: Add notification placeholders $$date$$ and $$fullname$$ to preference help hover 2021-12-08 11:10:39 -07:00
nathan
4c3c28a05f Calendar: Fix missing notification placeholders $$date$$ and $$fullname$$ 2021-12-08 10:59:18 -07:00
nathan
8968ef9204 Fix access to internal (widget.input.focus()) causing JS error in calendar quick add, which breaks the rest of the JS called after 2021-12-08 09:06:59 -07:00
Ralf Becker
057c5bf6f7 fix PHP 8.0 TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given 2021-12-07 08:33:12 +02:00
Ralf Becker
af08ee1495 pending translations from our translation server 2021-12-04 15:44:14 +01:00
Ralf Becker
c10ca6fc5b fix PHP 7.3 syntax error / PHP 7.4 syntax, as 21.1 still supported PHP 7.3 2021-12-02 21:41:13 +02:00
nathan
26595b4cba * Projectmanager: Add calendar integration so projects can be shown as events in calendar 2021-12-01 10:32:32 -07:00
nathan
bff73eb0b6 Calendar: Make sure we don't accidentally double the integrated app in the list 2021-12-01 10:25:27 -07:00
nathan
ceb014200f Calendar: If an event moves from the past to the future, send notifications according to preferences
Previously we ignored all notifications, because the event _was_ in the past.
2021-11-24 09:23:07 -07:00
nathan
86c9b97e47 Calendar: Update merge to use changes introduced with 707c57e 2021-11-23 15:50:10 -07:00
Ralf Becker
8020301a84 fix PHP 8.0 TypeError: Unsupported operand types: int | array 2021-11-20 08:40:35 +01:00
Ralf Becker
4f78f557bb fix PHP 8.0 TypeError: calendar_tracking::track(): Argument #2 ($old) must be of type ?array, bool given 2021-11-18 17:35:26 +01:00
Ralf Becker
a50139fa24 fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-16 08:34:51 +01:00
Ralf Becker
ba5c7fdf17 fix PHP 8.0 TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given 2021-11-16 08:10:39 +01:00
Ralf Becker
b84136cff8 fix PHP 8.0 TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given 2021-11-15 14:53:35 +01:00
Ralf Becker
efa66b72fc fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-11-15 11:55:24 +01:00
Ralf Becker
65ebea136e fixing/improving condition of last commit 2021-11-15 08:26:06 +01:00
Ralf Becker
c32bb61e1c fix PHP 8.0 TypeError: Unsupported operand types: bool + array 2021-11-15 08:08:42 +01:00
Ralf Becker
b07d08a235 fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-15 08:00:14 +01:00
Ralf Becker
5de3115500 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given 2021-11-14 10:32:22 +01:00
Ralf Becker
7cd6284f0c fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-11-13 17:12:14 +01:00
nathan
029664ac1d Calendar: Fix validation error when setting ical export timezone preference 2021-11-12 13:08:48 -07:00
Hadi Nategh
77aa807036 Fix php8.0 (TypeError): Cannot access offset of type string on string 2021-11-12 15:09:19 +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
3534ed9040 fix PHP 8.0 TypeError: calendar_tracking::track(): Argument #1 ($data) must be of type array, null given 2021-11-10 13:00:59 +01:00
Ralf Becker
2d7da57e60 fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-10 11:54:18 +01:00
Ralf Becker
7b042f7259 fix PHP 8.0 TypeError: key(): Argument #1 ($array) must be of type array, null given 2021-11-10 11:44:42 +01:00
Ralf Becker
a7e796a66b fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - EGroupware\Api\DateTime 2021-11-10 11:22:58 +01:00
Hadi Nategh
968774d829 Update jQuery-ui to 1.13.0 2021-11-09 11:06:17 +01:00
Ralf Becker
1e6bffc4e5 fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-09 08:46:35 +01:00
Ralf Becker
16dc367b1e fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - EGroupware\Api\DateTime 2021-11-09 08:39:21 +01:00
Ralf Becker
a34c13fd94 fix PHP 8.0 error: Illegal offset type
when PUTint an all-day series
2021-11-08 18:01:18 +01:00
Ralf Becker
d343203c20 fix PHP 8.0 Unsupported operand types: EGroupware\Api\DateTime + int 2021-11-08 13:45:37 +01:00
Ralf Becker
a7796d8f27 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime + int 2021-11-08 10:55:45 +01:00
Ralf Becker
dba803fff5 fix PHP 8.0 error: count(): Argument #1 ($value) must be of type Countable|array, null given
plus some more IDE "errors"
2021-11-08 10:31:17 +01:00
Ralf Becker
6b8f8c6473 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - int 2021-11-05 14:58:38 +01:00
Ralf Becker
108d077ccd fix PHP 8.0 TypeError: json_decode(): Argument #1 ($json) must be of type string, array given 2021-11-05 14:23:03 +01:00
Ralf Becker
42d45131e6 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - int 2021-11-05 13:52:20 +01:00
Ralf Becker
7ac13da96f fix PHP 8.0 error: calendar_boupdate::update(): Argument #6 ($messages) cannot be passed by reference 2021-11-05 11:22:49 +01:00
Ralf Becker
b3116e09e5 fix PHP 8.0 error: Undefined constant "filter" 2021-11-05 11:09:27 +01:00
nathan
14e1e59d7d Calendar: Sort similar length all day events alphabetically 2021-10-29 09:49:06 -06:00
nathan
32cd80d331 Calendar: Enable filtering by customfield in list view 2021-10-28 16:07:25 -06:00
nathan
76e1e326f3 Calendar: Fix PHP 8 error "array_key_exists(): Argument #2 ($array) must be of type array, null given" 2021-10-22 10:12:23 -06:00
Ralf Becker
f6d756a0c1 closing/commiting the session to speed up calendar loading 2021-10-20 13:53:41 +02:00
nathan
2343bd62b7 Calendar: fix planner view wasn't working due to rollup issues
et2_calendar_owner was throwing errors due to being loaded twice
et2_calendar_planner was left out of the bundle
view updaters were not being called
2021-10-19 16:32:54 -06:00
Ralf Becker
3ad98840c1 fix PHP 8.0 error: Illegal offset type 2021-10-19 09:18:00 +02:00
nathan
149cdaeae0 Calendar: Avoid type error if old_event was not loaded 2021-10-18 10:18:27 -06:00
Hadi Nategh
fe9c7dd372 Fix type error happens when trying to save an event. 2021-10-18 15:41:22 +02:00
nathan
c01df39342 * Calendar: Fix changing the recurrence end date did not add/remove the events in the UI 2021-10-15 14:04:18 -06:00
Ralf Becker
809e718f1a fix wired PHP 8.0 error stalling calendar-multiget REPORT from CalDAV
str_replace() returns "Array" as value, if a multidimensional array given as 3rd parameter: https://3v4l.org/budKH
2021-10-12 13:09:30 +02:00
Ralf Becker
8604fc3181 fix PHP 8.0 TypeError:
- array_combine(): Argument #1 ($keys) must be of type array, null given
- count(): Argument #1 ($value) must be of type Countable|array, null given
2021-10-12 11:44:24 +02:00
Ralf Becker
3e17b79d5c fix an other PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically 2021-10-11 13:23:26 +02:00
Ralf Becker
c3fb7eda8e fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-10-11 13:19:46 +02:00
Ralf Becker
b7ef766ebb fix PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically 2021-10-11 13:15:34 +02:00
Ralf Becker
edf8e68189 fix PHP 8.0 Error: calendar_boupdate::update(): Argument #6 ($messages) cannot be passed by reference 2021-10-11 12:36:58 +02:00
Ralf Becker
88f76e4bc1 fix PHP 8.0 error: array_keys(): Argument #1 ($array) must be of type array, null given 2021-10-08 14:58:45 +02:00
nathan
c73a7beac8 Add placeholder list for calendar & filemanager 2021-10-07 13:47:14 -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
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
Ralf Becker
ddddc5ba05 next big chunk of fixed PHP 8.0 Warnings 2021-10-05 14:11:11 +02:00
Ralf Becker
e2ac0ab7b6 fix PHP 8.0 error: Api\Vfs::lock(): Argument #5 ($scope) cannot be passed by reference 2021-10-05 12:01:16 +02:00
Ralf Becker
9239b86cd9 pending translations from our translation server 2021-09-22 14:57:11 +02:00
Ralf Becker
1e1b5ce935 fix function signature for put_response_headers 2021-09-20 18:50:51 +02:00
Ralf Becker
e20cea757a pending translations from our translation server 2021-09-10 10:19:57 +02:00
Hadi Nategh
6268bad881 Fix broken calendar mobile theme caused by wrongly compiled calc css 2021-08-24 12:23:19 +02:00