Coder Social home page Coder Social logo

davclient.js's People

Contributors

deepdiver1975 avatar dependabot[bot] avatar evert avatar fschade avatar georgehrke avatar lukasreschke avatar pvince81 avatar rullzer avatar virtualevan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

davclient.js's Issues

Parse body when exception is returned

Currently we only get the body as string.

Would be nice to have it automatically parsed (or have a helper method) to make it possible to get the actual error message.

parseUrl does not handle underscores in URLs

I wasn't able to use the webinterface to my calendars in my local nextcloud instance, because of an underscore in the url.

parseurl

Changing the line to:
var parts = url.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z\_]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/); did fix the issue.

I added a "\_" to the hostname-part of the regex.

parseUrl fails on url having underscore

Steps to reproduce

  1. create an owncloud instance accepting a domain with _ (for example test_123.thismycooldomain.org
  2. Install calendar app
  3. try to create new calendar --> Uncaught (in promise) TypeError: Cannot read property '0' of null in Chrome debugger console

var parts = url.match(/^(?:([A-Za-z]+):)?(/{0,3})([0-9.-A-Za-z]+)(?::(\d+))?(?:/([^?#]))?(?:?([^#]))?(?:#(.*))?$/);

should be

var parts = url.match(/^(?:([A-Za-z]+):)?(/{0,3})([0-9.-A-Za-z_]+)(?::(\d+))?(?:/([^?#]))?(?:?([^#]))?(?:#(.*))?$/);

Project take over

Hi @PVince81 ,

I thought I would contact you through a github issue. You are the number 1 contributer to this project, doubling my own contributions.

How would you feel about officially taking over this project? I don't think I will take it anywhere, any time soon. Even if you don't spend a lot of time on this, I feel this project is in better hands with you instead of me. How would you feel about this? If you are interested, let me know how you want to deal with this repo.

I can transfer ownership to your account, I can add it to the fruux org, I can keep it under my account or place it anywhere else you'd like.

Lemme know!

Evert

package.json not matching tag version

@evert bower complains that the tag 0.1.0 doesn't match package.json which you forgot to update.

If you have no objection I'm going to make a 0.1.1 tag with the matching package.json update.
(unless you want to reposition the tag, but usually that's not good practice)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.