WIP: compare deuxfleurs to master #1

Draft
lx wants to merge 5 commits from deuxfleurs into master
Owner
No description provided.
lx added 14 commits 2022-12-06 15:10:32 +00:00
9553724c82 Show notice & error code on failed login
Upon failed login, this patch sets the status code to 401 and provides a
Notice to show in login.html
f4523b51af carddav: fix accidental shadowing of variables
The statement changed here creates new variables, whereas it means to
assign values to the previously declared `ao` to be used outside of the
if statement. This lead to PUT requests always being sent to a URL
containing a new UUID, causing problems with some CardDAV servers.
1dfcf61f63 Upgrade go-webdav dependency
This commit upgrades go-webdav to what is currently the master branch.
The go-webdav client implementation gained some features with regards to
service discovery that alps can benefit from.

With this change, one can pass e.g. the following upstream URL:

   carddav+insecure://example.com/.well-known/carddav

This URL is defined in [RFC 6764, section 6][1]. If the server supports
it, it will respond with a redirect to the currently authenticated
user's principal URL. In the version used so far, the go-webdav client
does not handle this redirect well.

[1]: https://datatracker.ietf.org/doc/html/rfc6764#section-6

See also: https://github.com/emersion/go-webdav/commit/0363312
9cb23b0997 themes/sourcehut: fix calender event URLs
This makes calendar events viewable in the sourcehut theme.
lx added 1 commit 2022-12-06 15:12:34 +00:00
This pull request is marked as a work in progress.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b deuxfleurs master
git pull origin deuxfleurs

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff deuxfleurs
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/alps#1
No description provided.