Giter VIP home page Giter VIP logo

ckanext-opensearch's Issues

Create documentation

  • How to install
  • How to manage namespaces and parameters
  • How to define response elements

`beta` branch: restricting access breaks tests

Restricting access for the beta like we do on the beta branch breaks the tests. Because of the way the test runner injects its own user into the test, the user's about field will be empty unless we make changes to specify a value, which is not so easily done, IIRC.

However, it's only the tests that break. Instead of returning XML, get_xml() only returns the HTML access denied page, since the test runner's user doesn't meet the condition c.userobj.about == "true". The changes to the beta branch don't affect the responses that an authorized user would receive (they're still the same as those that passed the tests earlier). And the access denied response that is causing the tests to fail is the correct response to an unauthorized user.

We can try to update the tests so that we can control the value of the user's about field, but it may be better to just ignore the failing tests for now since the restricted access beta shouldn't last long.

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.