Commit Graph

28 Commits

Author SHA1 Message Date
Jonas Heinrich df2d51b666 feat: Ability to invite circles
This commit adds support for adding circles as attendees to a calendar event.
The relationship between the imported group and members will be compliant with
the iCal specification.

A circle with the title "testcircle" will be added as an attendee with iCal
attributes "CUTYPE=GROUP` and uri "mailto:circle+CIRCLEID@CIRCLE_INSTANCE".

Members of the circle will be imported as standard attendees. Each member gets
assigned to the circle group entry by assigning them to the group uri using the
iCal member property: "MEMBER='mailto:circle+CIRCLEID@CIRCLE_INSTANCE'".

Searching for circles is only enabled if the circles app is activated.

Circles added to the list of attendees get imported only once and are not
synced yet. While adding a circle, a notice about this is shown to the user.
Only members of local circles which are local users get imported.

Rendering groups in the frontend is done in a separate PR
https://github.com/nextcloud/calendar/pull/5396

Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
2023-12-04 18:33:36 +01:00
Anna Larch eae6deada2 revert: Augment the category menu by system tags and already used categories
Ref b3af4c3

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-28 17:15:32 +02:00
Richard Steinmetz 814980e9f3
chore(tests): harden assertions in view controllers
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-01 18:11:30 +02:00
Christoph Wurst 49e6bd2a97
chore: Set up static analysis
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-29 15:36:28 +02:00
Claus-Justus Heine b3af4c3507
Augment the category menu by system tags and already used categories.
This commit add all available "collaborative tags" and all already used
categories into option groups of the tags-menu of the side-bar editor.

This commit addresses and is a related to a couple of open issues:

nextcloud/calendar#3735 Calendar Categories: Propose Categories already used

- this should be fixed by this commit

nextcloud/calendar#1644 Add own categories, delete default ones

- this is partly fixed in the sense that collaboritive tags are now also
  proposed as calendar categories.
- still default categories cannot be deleted
- however, using option groups one at least has some sort of overview
  about the origin of the proposed category

nextcloud/server#29950 Save VEVENT CATEGORIES as vcategory

- this issue is totally "ignored" by this commit as the proposed
  solution there is not needed (the categories are already there in the
  oc_calendarobject_props table)
- that would have to be discussed there: but my impression that the
  tables and classed mentioned there are obsolete and no longer used.

Co-authored-by: Anna <anna@nextcloud.com>
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-06-28 15:34:11 +02:00
Richard Steinmetz b28ab94c1b
chore: composer run cs:fix
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-04-19 10:18:28 +02:00
Mikhail Sazanov 9d964452e5 Add attachments to events
Signed-off-by: Mikhail Sazanov <m@sazanof.ru>
2023-02-15 18:45:53 +03:00
Daniel Kesselberg 040e66154b
chore!: drop support for PHP 7.4
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-02 21:40:18 +01:00
Julien Veyssier 97681912d3 implement IButtonWidget and IIconWidget
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-10-17 13:02:49 +02:00
Christoph Wurst dfa5e8fa18
Allow admins to force an event type
Any other value set by another client still shows up. This only
"enforces" the alarm type for those who only use the Calendar app.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-03-03 18:08:43 +01:00
Christoph Wurst 6bf4d07a3c
Allow admins to hide event exports
occ config:app:set calendar hide_event_download --value=yes

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-03-03 17:13:07 +01:00
Richard Steinmetz ea317651e3
Implement CRUD UI for appointment configs
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-11-25 16:06:30 +01:00
Joas Schilling c28f61c63f
Fix Talk conversation creation with NC22
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 20:15:07 +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
Christoph Wurst 8db55b6710
Test against php8
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-14 16:13:24 +01:00
Georg Ehrke 32c1e9e95a
Add tasks_enabled to Initial State Service
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-04-16 17:53:30 +02:00
Boris Fritscher 4de349503c
add show_tasks to php test
Signed-off-by: Boris Fritscher <boris@fritscher.ch>
2020-04-16 10:18:07 +02:00
Georg Ehrke 5402ea8949
Automatic code-style fix
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-04-15 13:06:37 +02:00
Georg Ehrke 953d4220eb
Add slotDuration to ConfigController and ViewControllers
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-02-28 16:04:21 +01:00
Georg Ehrke 109c7cf7e5
Add eventLimit option in View and ConfigController
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-02-24 14:12:59 +01:00
Georg Ehrke cc171a31ce
fixes #1759: Use InitialState service
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-02-24 13:40:41 +01:00
Georg Ehrke d5bcb558a7
replace old views in case migration didn't run correctly
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-17 19:00:39 +01:00
Georg Ehrke babcc11d13
Allow to override defaults of calendar-app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-15 11:01:29 +01:00
Georg Ehrke 7a8f32d124
Allow to create talk rooms from calendar
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-06 11:44:50 +01:00
Georg Ehrke 051df990d1
Test on PHP7.4, remove Firefox as dependency
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-02 15:10:00 +01:00
Georg Ehrke 9dbb2c43e0
Enforce strict types in PHP
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-11-22 10:49:30 +01:00
Georg Ehrke 766b92731c
Reimplement public sharing and embedding
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-10-19 14:31:20 +02:00
Georg Ehrke 4af3e95da1
Update PHP Unit tests
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-10-19 14:30:15 +02:00