Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -3107,6 +3107,35 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-----------------------------------------------------------------------------

Package: github.com/teambition/rrule-go
Version: v1.8.2
License: MIT
Source: https://github.com/teambition/rrule-go/blob/v1.8.2/LICENSE

MIT License

Copyright (c) 2017-2023 Teambition

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

-----------------------------------------------------------------------------

Package: github.com/tuna-os/ccleft
Version: v0.0.0-20260924201033-b243120bfda2
License: Apache-2.0
Expand Down
1 change: 1 addition & 0 deletions changelog.d/added-18394-meetings-calendar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Meetings Calendar: schedule meetings for hive to join (it joins a minute before each starts, with daily, weekday, weekly or monthly repeats), approve or decline ones read-write users add, skip or cancel, in a new Calendar section after Inbox; the top bar shows when hive is in a meeting.
294 changes: 294 additions & 0 deletions dashboard/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,300 @@
}
}
},
"/api/meetings/schedule": {
"get": {
"tags": [
"Meetings"
],
"summary": "List scheduled meetings",
"description": "The Calendar section: upcoming events (scheduled, awaiting approval, live) and finished ones from the last 14 days, newest first, plus attendee_name for the in-a-meeting indicator. Owner or read-write.",
"responses": {
"200": {
"description": "The schedule",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"upcoming": {
"type": "array",
"items": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
},
"recent": {
"type": "array",
"items": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
},
"attendee_name": {
"type": "string"
}
}
}
}
}
},
"403": {
"description": "Owner or read-write access required"
},
"503": {
"description": "Meetings are not enabled on this hive"
}
}
},
"post": {
"tags": [
"Meetings"
],
"summary": "Schedule a meeting",
"description": "Manual add: a Google Meet, Teams or Zoom link (platform detected from the link) and an RFC 3339 start, optionally an end, a title and an RFC 5545 recurrence rule expanded in timezone. The owner's adds are scheduled; a read-write user's add awaits the owner's approval. Audited as meeting_schedule_add.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"url",
"start"
],
"properties": {
"url": {
"type": "string"
},
"start": {
"type": "string",
"format": "date-time"
},
"end": {
"type": "string",
"format": "date-time"
},
"title": {
"type": "string"
},
"rrule": {
"type": "string"
},
"timezone": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "The scheduled event",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
}
}
},
"400": {
"description": "Invalid link, time, recurrence or timezone, or the meeting already ended"
},
"403": {
"description": "Owner or read-write access required"
},
"409": {
"description": "The schedule is full"
},
"503": {
"description": "Meetings are not enabled on this hive"
}
}
}
},
"/api/meetings/schedule/{eid}/approve": {
"post": {
"tags": [
"Meetings"
],
"summary": "Approve a scheduled meeting",
"description": "Schedules an event awaiting approval; hive joins it before it starts. Owner only. Audited as meeting_schedule_approve.",
"parameters": [
{
"name": "eid",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "Schedule event id"
}
],
"responses": {
"200": {
"description": "The event",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
}
}
},
"403": {
"description": "Owner access required"
},
"404": {
"description": "Unknown event"
},
"409": {
"description": "The event is not in a state that allows this"
},
"503": {
"description": "Meetings are not enabled on this hive"
}
}
}
},
"/api/meetings/schedule/{eid}/decline": {
"post": {
"tags": [
"Meetings"
],
"summary": "Decline a scheduled meeting",
"description": "Declines an event awaiting approval; later updates of the same invite stay declined. Owner only. Audited as meeting_schedule_decline.",
"parameters": [
{
"name": "eid",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "Schedule event id"
}
],
"responses": {
"200": {
"description": "The event",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
}
}
},
"403": {
"description": "Owner access required"
},
"404": {
"description": "Unknown event"
},
"409": {
"description": "The event is not in a state that allows this"
},
"503": {
"description": "Meetings are not enabled on this hive"
}
}
}
},
"/api/meetings/schedule/{eid}/cancel": {
"post": {
"tags": [
"Meetings"
],
"summary": "Cancel a scheduled meeting",
"description": "Stops hive joining the event (every occurrence of a series). A meeting already live is not left. Owner only. Audited as meeting_schedule_cancel.",
"parameters": [
{
"name": "eid",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "Schedule event id"
}
],
"responses": {
"200": {
"description": "The event",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
}
}
},
"403": {
"description": "Owner access required"
},
"404": {
"description": "Unknown event"
},
"409": {
"description": "The event is not in a state that allows this"
},
"503": {
"description": "Meetings are not enabled on this hive"
}
}
}
},
"/api/meetings/schedule/{eid}/skip": {
"post": {
"tags": [
"Meetings"
],
"summary": "Skip the next occurrence",
"description": "Skips the next occurrence hive has not joined: a single meeting becomes skipped, a series moves on to the following occurrence. Owner only. Audited as meeting_schedule_skip.",
"parameters": [
{
"name": "eid",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "Schedule event id"
}
],
"responses": {
"200": {
"description": "The event",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Scheduled meeting event: id, uid, recurrence_id, sequence, method, summary, organizer, attendees, start, end, tzid, rrule, exdates, next_occurrences, join_url, platform, native_meeting_id, passcode (\"set\" when present, never the value), source, status, status_reason, invited_by, approved_by, skipped, joined_occurrence, meeting_id, history, created_at, updated_at"
}
}
}
},
"403": {
"description": "Owner access required"
},
"404": {
"description": "Unknown event"
},
"409": {
"description": "The event is not in a state that allows this"
},
"503": {
"description": "Meetings are not enabled on this hive"
}
}
}
},
"/api/integration-orchestration": {
"get": {
"tags": ["System"],
Expand Down
5 changes: 5 additions & 0 deletions src/cmd/hive/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3598,6 +3598,11 @@ func (b *boot) bootDashboardAPIWith(deps bootDashboardAPIDeps) {
}
// Owner API, live panel and /api/events frames (#18292).
b.dashSrv.SetMeetingsService(&meetingsDashboard{mgr: mgr, live: b.meetingsLive})
// Scheduled meetings and the Calendar section (#18394).
if svc, stop := wireMeetingsSchedule(b.cfg, mgr, b.logger); svc != nil {
b.cleanup.push(stop)
b.dashSrv.SetMeetingsScheduleService(svc)
}
// Ended meetings become inbox items; transcripts are purged
// after meetings.retention_days (#18293).
b.wireMeetingsInbox(mgr, store)
Expand Down
Loading
Loading