Skip to content

Conversation

@bdunogier
Copy link
Contributor

Required by wallabag's site login support.

Adds new settings that cover login to a site.

Settings

  • requires_login: boolean, indicates if the site requires login or not (default: false)
  • not_logged_in_xpath: string, xpath query for an element in articles pages indicating that login is needed
  • login_uri: string, the uri to which login data must be POSTed
  • login_username_field: string, name of the username field in the form
  • login_password_field: string, name of the password field in the form
  • login_extra_fields: hash of form field => field value to POST with the login form

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a comment about how to use them? Like with a short example

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added description of each setting to the PR. I'll add them to the code, but let me know if you'd like to optimize/change some things first :-)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Description looks good to me 👍

@j0k3r
Copy link
Owner

j0k3r commented Dec 30, 2015

I've relaunched the build and it's OK now.

@bdunogier
Copy link
Contributor Author

Is the coverage decrease a blocker ?

@j0k3r
Copy link
Owner

j0k3r commented Jan 10, 2016

Nope

j0k3r added a commit that referenced this pull request Jan 10, 2016
@j0k3r j0k3r merged commit 22c3eae into j0k3r:master Jan 10, 2016
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.

2 participants