Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Calendar URL #51

Open
dmitryrck opened this issue Mar 10, 2022 · 0 comments
Open

Create Calendar URL #51

dmitryrck opened this issue Mar 10, 2022 · 0 comments

Comments

@dmitryrck
Copy link
Owner

dmitryrck commented Mar 10, 2022

Create calendar URL to subscribe using Google Calendar or macos Calendar.

ics file format: https://en.wikipedia.org/wiki/ICalendar .

Ideally this URL should be protected with a random hash, something like:

https://example.com/calendars/qgTrNgkr8kVlLGCWUClN9fL.ics

Ideas:

  • Create a CRUD to "export" calendars, in this CRUD we can choose the accounts
    • Within /admin/calendars it uses the regular serial id
    • But /calendar/XXX is only accessible with that random key
    • Fields: id, account_ids (postgres array of ids), access_key (random generated, users can change), active (boolean)
  • Export all calendars, but receive that random string from ENV var
    • Only export if that ENV var is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant