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

Upstream merge #54

Open
wants to merge 83 commits into
base: master
Choose a base branch
from
Open

Upstream merge #54

wants to merge 83 commits into from

Conversation

jonasbg
Copy link
Owner

@jonasbg jonasbg commented May 4, 2022

No description provided.

cos and others added 30 commits May 25, 2021 20:43
Without this commit, the calendar that gets used is undefined. With at
least some CalDAV implementation this practically means one is randomly
selected at every run. Having determinism at the small cost of required
configuration is the user expected behaviour for anyone using an account
with more than one calendar.
This commit attempts to address these two issues:

Whenever calendar-cli is run on a clean new user account lacking a
~/.config directory, configuration is lost and has to be remade. There
might be other cases for an Exception here and they are all annoying
enough to warrant a change in behaviour.

From a usability perspective, it is easy to be pressing enter a bit too
quickly to stop at the save prompt. This is especially true if merely
changing one or a couple of values while leaving the rest of them at
their old value. Reasking to require an actual answer on what to do
would be an improvement.
so the existing logic (choose the first calendar if none were specified)
usually makes sense.  Degrading the error to a warning for when there
are several calendars and none is explicitly given.
Asking about calendar_url makes it easier to realize the correct format
of caldav_url. Suggesting to read the documentation might help the more
eager-to-get-started-souls (like e.g. me) to do it earlier.
Be consistent in using the selected timezone when outputing an agenda
with a custom event template.

Also rename first use of dtstart as search_dtstart and friends in
calendar_agenda(), to reduce confusing reuse of same variable name for
different purposes in same function.
…toxic conflict, moving to OFTC seems to be a reasonable neutral move.
Get password from a file
…ould probably fix the test script to report FAILED) when the tests fail). Timezones are difficult, indeed.
(I was working on this several months ago - then I got interrupted, forgot to commit, never got time to look back)
…all the stuff calendar-cli can do, plus more.
tobixen and others added 30 commits December 30, 2022 17:26
…parate file - but I forgot to add the file
Allow 'location,' 'description,' and 'url' values to be used in template
Separate calendar-cli repository from kal repository and make documen…
Correct SOME references to kal -> plann
`parse_timespec` function has been split out to `plann` and is no
longer available.
Remove tests involving `parse_timespec`
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

Successfully merging this pull request may close these issues.

5 participants