Comments (9)
vdirsyncer could figure out by itself if the server wants basic or digest auth, removing that config option or at least make it optional (user's often don't know what their CalDAV server wants). Most other clients don't need any information on that, making it not very far spread knowledge.
Also it should be rather easy to implemenet as the server sends WWW-Authenticate: Digest [...]
or WWW-Authenticate: Basic [...]
.
from vdirsyncer.
I thought this could actually be a neat feature for requests, so i filed it there: https://github.com/kennethreitz/requests/issues/2006
from vdirsyncer.
Great, I'll keep an eye on that one.
from vdirsyncer.
A relevant pull-request has been merged into requests-toolbelt
at requests/toolbelt#28. The question is: Should we start to depend on requests-toolbelt
for this, or just inline the relevant code? I don't think depending on a not very popular library is really justified if we only need such a small portion of its functionality, but OTOH it is less maintenance for me.
from vdirsyncer.
Thinking another ten seconds about it i came to the conclusion that depending on that package is better as it uses some lower-level parts of request's API which i am not comfortable dealing with.
from vdirsyncer.
@untitaker also, the toolbelt is (unfortunately for my free time) more popular than you might think.
from vdirsyncer.
I meant, relative to the other dependencies of vdirsyncer: requests, lxml...
from vdirsyncer.
Well, leif is not popular at all, but i am using 100% of its code, so it's okay. icalendar contains logic i don't ever want to maintain, so that's okay too.
from vdirsyncer.
Done, last related commit in 308ac53.
from vdirsyncer.
Related Issues (20)
- Nextcloud imported calendar not found HOT 1
- Feature request: add a no_delete option to the storage configuration HOT 4
- Issue aggregating multiple iCalendars feeds into a single CalDAV calendar HOT 2
- Changes to the order of VTIMEZONE components in an .ics file cause sync conflicts against calDAV HOT 2
- Request mechanism to debug "multiple items with the same UID" HOT 3
- Cannot update to latest version (ubuntu/jammy) HOT 3
- unknown error occurred in prepare_new_status HOT 3
- warning: Skipping identical href : Possible to synchronize anyway?
- Make verify_fingerprint work with auth_cert
- When syncing with Google Calendar, if the GCal side is empty, vdirsyncer errors with "Storage was completely emptied" (on local side)
- Sync aborted after a single error HOT 2
- Invalid ICS files (missing `END:VEVENT`s and `END:VCALENDAR`) are silently ignored HOT 1
- contacts.html: Link "contact the author directly" broken
- Add a `pre_deletion_hook`
- Sync fails randomly with Nextcloud's "Contact birthdays" calendar.
- Failed to discover collections for google_contacts HOT 1
- Support higher version of aiostream HOT 3
- Unknown error unable to open database file HOT 1
- better default vdir storage path using $XDG_DATA_HOME HOT 2
- Finding no collections when trying to sync shared icloud calendar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vdirsyncer.