Commit Graph

541 Commits

Author SHA1 Message Date
Christoph Wurst ead3fac8aa
Merge pull request #3001 from tchernobog/feature/default-reminder-setting
Allow user to set default reminder duration for new events
2021-05-07 17:24:53 +02:00
Christoph Wurst 3259dbcb81
Merge pull request #3025 from nextcloud/bug/2983/fix-timeselector
Fix compatibility with latest versions of DateTimePicker not showing time panel
2021-04-27 16:05:44 +02:00
Thomas Citharel d354dcddb7
Fix compatibility with latest versions of DateTimePicker not showing
time panel

- Closes #2983
  It seems the `format` prop is required to have `HH:mm` to display the
timepanel…for some reason

- Note: The `first-day-of-week` seems unused, it should probably
  override the setting in `lang`
- Remove obsolete props `not-before` and `not-after` which are replaced
  by a `disabled-date` function prop in vue2-datepicker 3.0.0

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 11:11:19 +02:00
Valdnet 181a6027b2
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-04-12 10:37:33 +02:00
Valdnet 09cb0ad2f5
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-04-12 10:35:42 +02:00
Valdnet eec6beed20
l10n: Correct spelling
Unify the spelling in applications.
2021-04-09 12:51:51 +02:00
Valdnet 3d412cee14
l10n: Correct spelling
Unify the spelling in applications.
2021-04-09 12:48:52 +02:00
Matteo Settenvini 9e6b1c7536 Add user default reminder to new events
Take the value from the saved settings for the default reminder,
and if it is a valid amount of seconds, add a new alarm
to newly created events.

Signed-off-by: Matteo Settenvini <matteo@member.fsf.org>
2021-04-08 12:43:08 +02:00
Matteo Settenvini bea17a7109 Add defaultReminder setting
Add a setting to the app state that can be reused
when creating new events to set a default alarm / reminder.

Signed-off-by: Matteo Settenvini <matteo@member.fsf.org>
2021-04-08 12:42:50 +02:00
Matteo Settenvini 222a02564f Add label to slotDuration setting
Add a label to slotDuration so that the user is not left
wondering what the setting refers to. I remember being
puzzled myself the first time I saw it.

Signed-off-by: Matteo Settenvini <matteo@member.fsf.org>
2021-03-31 22:50:14 +02:00
Louis Markert f28eefd987 [WIP]: Keyboard shortcut for List View (Translations needed) Closes #2717.
Signed-off-by: Louis Markert <louismarkert1@gmail.com>
2021-03-30 16:48:14 +02:00
Christoph Wurst 69952ecd98
Merge pull request #2962 from timonsky/fix/illustration.js
Fix: illustration.js
2021-03-29 09:04:48 +02:00
timonsky 869822f4d3 Update illustration.js
Signed-off-by: timonsky <81168204+timonsky@users.noreply.github.com>
2021-03-24 20:35:05 +01:00
timonsky 90ebe942c0 Fix: illustration.js
removed duplicate entry for 'Party' and 'Celebration'
removed ambiguous terms 'Game' and 'Play' from matching with illustration of gaming controller [ game could also refer to any sports match, play could also be in a title for a theater play ]
added string 'Bike' to match with bicycle illustration

Signed-off-by: timonsky <81168204+timonsky@users.noreply.github.com>
2021-03-24 20:35:05 +01:00
Thomas Citharel 5adf768e7f
Fix SCSS lint with ::v-deep
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-23 09:10:46 +01:00
Christoph Wurst 7daeacb087
Add a date picker to the free/busy UI
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-23 08:40:21 +01:00
timonsky a61662dfd0
Update illustration.js
reasigning the "greek-freak" illustration to the basketball string from baseball
2021-03-22 14:14:50 +01:00
Christoph Wurst e0ceafc2be
Improve free/busy colors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-11 16:08:23 +01:00
Christoph Wurst 237fd737ec
Fix sorting of free/busy resources
Fullcalendar sorts resources by their ID. In our app that is the
attendee's email address. For the fake blocking event that shows the
current time slot we need to know the first and last resource to show a
special border on top/bottom. In some scenarios that didn't work before,
now it seems more reliable.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-26 08:59:08 +01:00
Azul e268b8b027 minor: remove `updateTodayJob` from main Calendar.vue
The calendar grid was moved into its own component in
3a076313a6
.

`updateTodayJob` and `updateTodayJobPreviousDate` were moved with it.

Signed-off-by: Azul <azul@riseup.net>
2021-02-23 20:33:42 +01:00
Christoph Wurst 95dbc84a4d
Catch invalid calendar objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-19 11:52:03 +01:00
Christoph Wurst 568bdbd990
Fix fullcalendar v5 options for background events
`rendering` was used in v4, in v5 `display` changes the way how events
are rendered. This caused blocks in the UI that then made the free/busy
schedule grow vertically and so became less useful.

Ref https://fullcalendar.io/docs/upgrading-from-v4
Ref https://fullcalendar.io/docs/background-events

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-12 12:07:26 +01:00
Christoph Wurst e163592ee4
Show the name of the day in the free/busy view
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-10 16:05:59 +01:00
Christoph Wurst 2ac4f31c81
Search DAV for principal as display name OR email
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-09 19:01:02 +01:00
Robert Spencer 57763ea988 Vary illustration when multiple images match
Randomly select an illustration from the images that match the
title of the event.  The illustration is chosen on a hash of the
event title so is the same for the same event every time.

Signed-off-by: Robert Spencer <general@robertandrewspencer.com>
2021-02-01 14:38:17 +02:00
Thomas Citharel 6d8154401e
Change String#replaceAll with Stringreplace# and the g switch
So that we don't need to call polyfills for nothing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-17 17:24:07 +01:00
Thomas Citharel 00be056cf0
Hide the AppNavigation and the CalendarGrid components when calendar not found
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-14 18:05:08 +01:00
Georg Ehrke 7bf9fa2d3b
Use standardized EmptyContent component
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2021-01-14 17:59:03 +01:00
Christoph Wurst 188b961410
Merge pull request #2728 from JannikLapp/fix-Upcoming-events-button-Create-new-event-button-is-not-44px-min
'Create new event' spacing is now like 'Set up an account'
2021-01-14 17:46:11 +01:00
Thomas Citharel a9b6c69d27
Hide cancelled events on dashboard
Closes #2634

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-14 17:39:37 +01:00
dependabot[bot] f7ed445be1
Bump @nextcloud/vue-dashboard from 0.1.8 to 1.0.1
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 0.1.8 to 1.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v0.1.8...v1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-11 14:07:01 +01:00
dependabot[bot] 6bc665828f
Bump @nextcloud/dialogs from 2.0.1 to 3.1.1
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 2.0.1 to 3.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v2.0.1...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-11 13:58:05 +01:00
dependabot[bot] 7d372b32eb
Bump @nextcloud/vue from 2.6.5 to 2.9.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.5 to 2.9.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.5...v2.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-11 12:17:55 +01:00
Julius Härtl 2112efeb6b
Emit event to allow other apps registering their own open handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-30 08:04:22 +01:00
胡玮文 382f3b0092 Fix calendar rendering with complex locale
E.g. Locales contain script code (zh_Hans_CN)

Fixes: #2633
Signed-off-by: 胡玮文 <huww98@outlook.com>
2020-12-14 03:11:32 +08:00
Jannik-PC a7b3740c95
fixed indentation of tabs
Signed-off-by: Jannik-PC <jannik.lapp@mni.thm.de>
2020-12-03 13:33:47 +01:00
Arthur Schiwon 7318f2f3ab
fixes encoded display of names that contain a special character
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-02 20:05:59 +01:00
Julius Härtl 8055db2d61
Merge pull request #2620 from nextcloud/fix-blank-page-on-browsers-without-support-for-resizeobserver
Fix blank page on browsers without support for ResizeObserver
2020-11-24 08:47:48 +01:00
Jannik-PC fdd566cd36
'Create new event' spacing is now like 'Set up an account'
Signed-off-by: Jannik-PC <jannik.lapp@mni.thm.de>
2020-11-23 13:03:30 +01:00
s3lph 721fe7a114 Fix #2675: RRULE UNTIL must be in UTC if DTSTART is timezone-aware
Signed-off-by: s3lph <5564491+s3lph@users.noreply.github.com>
2020-11-19 21:59:00 +01:00
Daniel Calviño Sánchez 8130c29cc6 Fix blank page on browsers without support for ResizeObserver
ResizeObserver was used unconditionally, which caused the Calendar to
fail to load and show a blank page on some older browsers without
support for it. Now ResizeObserver is used only when supported.

ResizeObserver ensures that the calendar grid is properly sized when the
navigation bar and sidebar are opened and closed. It also ensures that
the text areas are properly sized when shown in the sidebar.

Given that they are mostly "cosmetic" issues and that they should not
affect many users no fallback was added for those browsers without
support for ResizeObserver.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-30 21:30:07 +02:00
Julius Härtl 17b1eca957
Fix reminder input positioning
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 12:23:33 +02:00
Julius Härtl ac304656a0
Prevent click on edit button to toggle the edit mode twice through click outside
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 12:12:01 +02:00
Georg Ehrke 4fb4196f23
Merge pull request #2578 from nextcloud/bugfix/noid/fix_opening_events_from_search
Fix opening events from search
2020-09-11 15:43:52 +02:00
Georg Ehrke 6226ee4a85
Dashboard: include all-day events from today
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-11 14:48:03 +02:00
Georg Ehrke 4e423203c2
Merge pull request #2575 from nextcloud/bugfix/noid/filter_events_that_started_in_past
Dashboard: Filter events before now
2020-09-11 13:31:30 +02:00
Georg Ehrke 232736d8da
Fix opening events from search
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-11 13:22:43 +02:00
Georg Ehrke d8c8b82d51
Dashboard: Filter events before now
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-11 09:51:37 +02:00
Georg Ehrke cfdac0eca5
Do not shrink caledar-dot in dashboard view
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-11 09:20:53 +02:00
Georg Ehrke d2f46f23ac
Add better No Events Screen
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-03 16:04:09 +02:00
Georg Ehrke c8125f08df
Change name and icon List (month) -> List
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-03 16:04:09 +02:00
Georg Ehrke bf855750c7
Hide extra description with CSS
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-03 16:04:09 +02:00
Jean-Guilhem Rouel 1a8cc8fd79
Add list views per week and month
Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Translation of buttons for list views

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Show location in list views when available

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Remove unneeded code per https://github.com/nextcloud/calendar/pull/2476#discussion_r479793226

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Fix location, parent class changed

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Show start of description in list views, if available.

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Add start of description if available in list view

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>

Remove week list view

Signed-off-by: Jean-Guilhem Rouel <jean-gui@w3.org>
2020-09-03 15:55:19 +02:00
Georg Ehrke c90dff705e
Merge pull request #2520 from nextcloud/bugfix/noid/stop_highlighting_weekends
Remove highlighting of weekends
2020-09-02 19:51:53 +02:00
Georg Ehrke 8178f14122
Merge pull request #2528 from nextcloud/bugfix/2459/sidebar_loading_error_handling
Improve loading routine of editors
2020-09-02 19:50:24 +02:00
Georg Ehrke a77df0c11b
Add proper error messages to Editor
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-02 19:45:18 +02:00
Georg Ehrke a0ba13e010
Merge pull request #2523 from nextcloud/bugfix/noid/fix_saving_current_view
Fix saving current view
2020-09-02 19:38:00 +02:00
Georg Ehrke 59519d2f42
Add ResizeObserver to autosize directive
This assures that the textarea will always have the correct size,
even when used in the appsidebar.

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-31 13:48:10 +02:00
Georg Ehrke e66a1832d0
Fix saving current view
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 21:10:23 +02:00
Georg Ehrke 0a57dea010
Remove highlighting of weekends
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 19:39:30 +02:00
Julius Härtl eb1c1aab7b
Implement Calendar Dashboard Widget
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-28 18:53:14 +02:00
Georg Ehrke 78132a974e
Use a resize-observer to handle app-navigation and app-sidebar toggles
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:33:04 +02:00
Georg Ehrke f04bb97e6f
Show colored checkbox for Reminders with a timed due time
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:33:04 +02:00
Georg Ehrke d6a2973ea8
Add IconFont with checkboxes
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:33:04 +02:00
Georg Ehrke 43b53ee466
Migrate Free/Busy Modal to FullCalendar 5
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:20:38 +02:00
Georg Ehrke ba76437f46
Adapt our handlers / plugins to FC 5
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:20:37 +02:00
Georg Ehrke 3a076313a6
Move CalendarGrid to its dedicated component
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:20:37 +02:00
Georg Ehrke 5c6aeda0e2
Replace fc locales with our own moment adapter
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 15:20:37 +02:00
Georg Ehrke 20bac588ce
Restructure src/fullcalendar
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-28 09:01:30 +02:00
Georg Ehrke 84b2d4b052
Merge pull request #2505 from nextcloud/bugfix/noid/fix_nc_vue_2.6_regressions
Fix issues introduced with nc/vue 2.6
2020-08-25 13:36:57 +02:00
Georg Ehrke dbe480f057
Update popover styles and fix opening sidebar
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-25 12:42:21 +02:00
Georg Ehrke fae389cb8a
Merge pull request #2496 from nextcloud/bugfix/noid/fix_public_calendars
Fix regression in public sharing page
2020-08-25 10:51:21 +02:00
Georg Ehrke 974c367572
Merge pull request #2497 from nextcloud/bugfix/noid/event_source_readonly_regression
Fix read-only property of fullcalendar event sources
2020-08-25 10:51:15 +02:00
Georg Ehrke 85ebfe861d
Merge pull request #2503 from nextcloud/bugfix/noid/handle_vtodos_no_dtstart
Gracefully handle cases where a VToDo does not have a dtstart
2020-08-25 10:51:07 +02:00
Georg Ehrke 56d9de23ee
Cancelled -> Canceled
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-22 22:37:31 +02:00
Georg Ehrke cc60af795a
Gracefully handle cases where a VToDo does not have a dtstart
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-22 19:47:23 +02:00
Georg Ehrke ec69fa3db5
Fix read-only property of fullcalendar event sources
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-22 12:10:54 +02:00
Georg Ehrke fcf80cd1f9
Fix regression in public sharing page
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-22 11:38:56 +02:00
Georg Ehrke a699f6b862
Add routes to allow creating / editing events from outside
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-21 14:43:16 +02:00
Georg Ehrke f2a37ac921
Use required slots for AppNavigation
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-13 12:07:06 +02:00
Georg Ehrke 4d0962a458
Merge pull request #2278 from nextcloud/tests/store/settings
Add unit-tests for certain stores.
2020-06-22 08:12:35 +02:00
Georg Ehrke aaf03651ff
Merge pull request #2244 from nextcloud/feature/9/sortable_calendar_list
Make calendar-list sortable
2020-06-22 08:12:23 +02:00
Julius Härtl 096f4f4f20
Also mark tasks as done when STATUS is set to COMPLETED
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-14 11:14:51 +02:00
Georg Ehrke e2237b6ba0
Cleanup and tests for some Stores
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-06-11 15:33:04 +02:00
Georg Ehrke ffddfac58b
Make calendar-list sortable
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-06-10 14:17:06 +02:00
Georg Ehrke 0d8878c6a0
Do not mix $t and $n for the same strings
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-06-09 11:10:28 +02:00
Georg Ehrke d09beb5821
Fix handling of long calendar names in calendar-picker
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-06-09 09:49:29 +02:00
Georg Ehrke 9c5f806131
Fix Datepicker localization
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-06-05 07:20:55 +02:00
Thomas Citharel c37f76282b
Fix timezone names
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-05-29 21:49:14 +02:00
Georg Ehrke eedb991965
Remove id for CalendarListItemSharingSearch component
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-27 10:26:50 +02:00
Georg Ehrke fead5b7fac
Move calendar-picker above time-picker
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-25 08:58:56 +02:00
Georg Ehrke faaab73b3d
Fixes regression, open timepicker on selecting date
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-18 17:09:08 +02:00
Georg Ehrke 71729bcb7a
Make links in read-only version of location and description clickable
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-18 15:33:37 +02:00
Georg Ehrke b7325dff45
Add linkify directive
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-18 14:46:18 +02:00
Georg Ehrke d57b254f5e
Use nc/dialogs instead of ocp.toast
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-05 11:52:07 +02:00
Georg Ehrke c6c13e3ad5
Merge pull request #2240 from nextcloud/feature/2218/lunch-illustration
Add dedicated illustration for lunch
2020-05-05 09:59:30 +02:00
Georg Ehrke f82e2f81be
Merge pull request #2239 from nextcloud/feature/2217/conference-call-illustration
Add conference call as illustration
2020-05-04 21:28:17 +02:00
Georg Ehrke 4a30c0f1af
Add dedicated illustration for lunch
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-04 21:25:51 +02:00
Georg Ehrke d9e6a0e98a
Add conference call as illustration
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-04 21:12:00 +02:00
Georg Ehrke 931b9b94c2
Enabling WebCal Caching on CalDAV requests
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-04 21:03:46 +02:00