Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QQ provider #86

Open
wants to merge 116 commits into
base: master
Choose a base branch
from
Open

Add QQ provider #86

wants to merge 116 commits into from

Commits on Sep 25, 2017

  1. add qq provider

    bealking committed Sep 25, 2017
    Configuration menu
    Copy the full SHA
    e8f10bf View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2017

  1. bug fix

    bealking committed Oct 7, 2017
    Configuration menu
    Copy the full SHA
    fd95db0 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2017

  1. Configuration menu
    Copy the full SHA
    e2ca095 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Sorcery#88 from 284km/update_travis

    CI against Ruby 2.2.8/2.3.5/2.4.2
    kyuden authored Oct 24, 2017
    Configuration menu
    Copy the full SHA
    a873231 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2017

  1. Configuration menu
    Copy the full SHA
    aaa62a6 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Ch4s3 authored Nov 28, 2017
    Configuration menu
    Copy the full SHA
    da32359 View commit details
    Browse the repository at this point in the history
  3. add new ArgumentError for not defined user_class in config (Sorcery#82)

    * add new ArgumentError for not defined user_class in config
    
    * updated grammar
    X1ting authored and Ch4s3 committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    fc8f128 View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG.md

    Ch4s3 authored Nov 28, 2017
    Configuration menu
    Copy the full SHA
    7672938 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3206288 View commit details
    Browse the repository at this point in the history
  6. Update CHANGELOG.md

    Ch4s3 authored Nov 28, 2017
    Configuration menu
    Copy the full SHA
    dc1c34f View commit details
    Browse the repository at this point in the history
  7. Set user.stretches to 1 in test env by default (Sorcery#81)

    Most users use BCrypt and don't change defaults, which means that the default value would be 10. That makes tests run slowly.
    
    Setting the number of stretches in test env to 1 can decrease the test suite up to 2x times (although BCrypt minimal cost is 4, we can use 1 for SHA algorithms).
    palkan authored and Ch4s3 committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    958d62d View commit details
    Browse the repository at this point in the history
  8. Update CHANGELOG.md

    Ch4s3 authored Nov 28, 2017
    Configuration menu
    Copy the full SHA
    172659f View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Add tests to the magic login submodule (Sorcery#95)

    * Add magic login feature
    
    * Use `.nil?` instead of `== nil`
    
    * Prepare for setting up database
    
    - create a migration file for spec
    - create a spec to be run and a shared_expmple file
    
    * Add configration tests
    
    change the default of `@magic_login_mailer_disabled` into true because
     the default breaks the tests
    
    * Change the configuration key, magic_login_mailer into magic_login_mailer_class
    
    * Add specs of `.generate_magic_login_token`
    
    * Add specs of `.clear_magic_login_token`
    
    * Add faliure case specs of `.magic_login_email`
    
    * Add success case specs of `.magic_login_email`
    
    * Refactoring: split the success case of the `.generate_magic_login_token` spec into two
    
    * Fix posix compliance offence: No newline at end of file
    ebihara99999 authored and Ch4s3 committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    5f05584 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Ch4s3 authored Nov 29, 2017
    Configuration menu
    Copy the full SHA
    f8a7c94 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. Make #update_attributes behavior identical to #update (Sorcery#98)

    Another choice of implemention is like this:
    
    ```
    @model.class.find_by(:"#{primary_key}" =>
    @model.send(:"#{primary_key}")).update(attrs)
    ```
    
    but for some reasons I don't adopt it.
    First it makes 2 queries instead of one.
    Secondly it has potential risk to race conditions.
    ebihara99999 authored and Ch4s3 committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    be614ba View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Ch4s3 authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    986ebdd View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. Configuration menu
    Copy the full SHA
    a5fdfd2 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Ch4s3 authored Jan 5, 2018
    2 Configuration menu
    Copy the full SHA
    44c5a68 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Configuration menu
    Copy the full SHA
    6aa57e7 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Added PR Sorcery#99 and removed duplicate entry for PR Sorcery#100
    joshbuker authored Jan 9, 2018
    Configuration menu
    Copy the full SHA
    30fe4fc View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. Add rubocop config and todo (Sorcery#107)

    * Add rubocop config and todo
    
    * Update changelog.md
    joshbuker authored Feb 7, 2018
    Configuration menu
    Copy the full SHA
    996fa61 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. Add required version parameter when requesting user information from … (

    Sorcery#109)
    
    * Add required version parameter when requesting user information from vk provider
    [fix Sorcery#108]
    
    Seems like now vk provider requires v (version) parameter to be present when calling their API:
    
    ```
    curl -XGET https://api.vk.com/method/getProfiles\?user_id\=1
    => {"error":{"error_code":8,"error_msg":"Invalid request: v (version) is required","request_params":[{"key":"oauth","value":"1"},{"key":"method","value":"getProfiles"},{"key":"user_id","value":"1"}]}}
    
    curl -XGET https://api.vk.com/method/getProfiles\?user_id\=1\&v\=5.71
    {"response":[{"id":1,"first_name":"Павел","last_name":"Дуров"}]}
    ```
    
    * Developer can specify vk API version in sorcery config
    [Sorcery#108]
    
    * Fix indentation
    
    * Extract authorize with vk request stub into a method
    
    * Add VK api version to the sorcery initializer template
    [Sorcery#108]
    
    * Update changelog.md
    Hirurg103 authored and joshbuker committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    5862b96 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2018

  1. Configuration menu
    Copy the full SHA
    cf469b2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Sorcery#111 from nicolasleger/patch-1

    [CI] Test against Ruby 2.5
    kyuden authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    341c7ea View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2018

  1. Fix issue Sorcery#40 (Sorcery#56)

    * Add access_count_to_reset_password_page to migration/reset_password.rb
    
    * Add #increment_password_reset_page_access_counter and #reset_password_reset_page_access_counter.
    
    * Add #increment_password_reset_page_access_counter and #reset_password_reset_page_access_counter
    
    * Add test suites related to #increment_password_reset_page_access_counter and #reset_password_reset_page_access_counter.
    
    * Refactor `#increment_password_reset_page_access_counter`
    
    Change manual increment into using
    Sorcery::Adapters::ActiveRecordAdapter.increment.
    ebihara99999 authored and joshbuker committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    82a31d5 View commit details
    Browse the repository at this point in the history
  2. Add the request spec helper method, #login_user. (Sorcery#57)

    * Add the request spec helper method, #login_user.
    
    * Fix codacy failure because of `Redundant `self` detected.`
    ebihara99999 authored and joshbuker committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    d7d468a View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    Add CHANGELOG entries for Sorcery#56 and Sorcery#57
    joshbuker authored Apr 12, 2018
    Configuration menu
    Copy the full SHA
    ddb73b5 View commit details
    Browse the repository at this point in the history
  4. Update Gem dependencies

    Rails 5.2 appears to have deprecations that break our test suite, and solving
    the issue would take more time than I have available currently. Updating to
    5.1 for now.
    joshbuker committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    7b24a92 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2018

  1. Release 0.12.0

    joshbuker committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    ba45f18 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2018

  1. Rails 5.2 support (Sorcery#129)

    * Rails 5.2 support
    
    * Fix specs for Rails 4
    akhiln authored and Ch4s3 committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    8f3cb2d View commit details
    Browse the repository at this point in the history
  2. Guard clause for top-level constant, ActiveRecord (Sorcery#128)

    Sorcery::Generators::InstallGenerator::ActiveRecord is not defined
    and the purpose of this guard is to know whether orm is ActiveRecord or not.
    Therefore, return early when top-level ActiveRecord is not defined.
    hkdnet authored and Ch4s3 committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    cc18629 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2018

  1. Support injecting helpers into ActionController::API (Sorcery#133)

    Rails API apps use the lighter alternative to ActionController::Base.
    This adds support for injecting these helpers into either action
    controller base class that the consuming application happens to inherit
    from.
    andrewhood125 authored and Ch4s3 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    2fea1d7 View commit details
    Browse the repository at this point in the history
  2. send activation email after the commit in transactional databases (So…

    …rcery#130)
    
    * send activation email after the commit in transactional databases
    
    * extract callback_name to separate method
    
    * fix typo in parameter
    
    * disable transactional fixtures to be able to test after_commit
    
    * Raise on failure when change_password!
    anaumov authored and Ch4s3 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    8959f8c View commit details
    Browse the repository at this point in the history
  3. Add an opt in invalidate_active_sessions! method to session timeout (S…

    …orcery#110)
    
    * Add an opt in invalidate_activate_sessions!  method to session timeout
    
    Spike on adding a configurable `invalid_active_sessions! method to the session_timeouts module. Configurable, but expects an `invalidate_sessions_before` timestamp column on user. Does not invalidate the session if `invalidate_sessions_before` is not set meaning that if it is deployed it won't log out currently logged in users.
    
    * Add a test that you can login after calling `invalidate_active_sessions!`
    
    There was concern that because `invalidate_sessions_before` is never cleared, there may be an issue where sessions would be cleared immediately after login. Add a spec to verify that sessions logged in after the `invalidate_sessions_before` timestamp can login and make additional requests without being cleared.
    
    * Update the RREADME to document `invalidate_acitve_sessions!` method
    
    * Move `invalidate_active_sessions!` method to no longer be protected
    
    This method never should have been private as it was meant to be part of the public API if enabled
    
    * Make the time check to invalidate the session more defensive
    
    This would throw an error if session login_time and last_action_time were not set, be more defensive and default to current time if those values aren't set.
    fangbyte authored and Ch4s3 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    cc7c46f View commit details
    Browse the repository at this point in the history
  4. Namespace class method #encrypt. (Sorcery#77)

    This fixes a conflict with attr_encrypted, making both gems work
    in the same model.
    ppostma authored and Ch4s3 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    ff46dc5 View commit details
    Browse the repository at this point in the history
  5. Revert "Namespace class method #encrypt. (Sorcery#77)" (Sorcery#135)

    This reverts commit ff46dc5.
    joshbuker authored and Ch4s3 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    fcd7140 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2018

  1. Pass along remember_me to #auto_login (Sorcery#136)

    When overriding the `#auto_login` method when implementing our own
    session handling we never got passed the `should_remember` value from
    the `#login` method.
    
    The `Sorcery::Controller::Submodules::RememberMe` never used the value
    of the `should_remember` arguments passed to the `#auto_login` method
    and instead relied on a callback being executed.
    
    This commits removes the callback and instead calls the `#remember_me!`
    method from the `#auto_login` method instead.
    bzf authored and Ch4s3 committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    1a3c399 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2018

  1. Register login time for session on login from cookie (Sorcery#102)

    Before, an unlimited session was created on login from cookie (remember me)
    even if the SessionTimeout submodule was active. Logging in via the remember
    me function will now correctly set the session timeout.
    tiii authored and Ch4s3 committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    eea7a1c View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. demodulize added on authentication class name association name fetch (S…

    …orcery#147)
    
    * demodulize added on authentication class name association name fetch
    
    * changelog entry added for PR Sorcery#147
    
    * Add missing `#` to changelog entry
    hugogilmar authored and joshbuker committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    12ccd64 View commit details
    Browse the repository at this point in the history
  2. Remove gemnasium badge (Sorcery#140)

    * Remove gemnasium badge
    
    * Add changelog.md entry
    biow0lf authored and joshbuker committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    f4f08f8 View commit details
    Browse the repository at this point in the history
  3. Fix changelog entries (Sorcery#148)

    * Move changelog entries for recent pulls to HEAD instead of v0.12.0
    
    * Add missing changelog entries for PRs since v0.12.0
    joshbuker authored Sep 20, 2018
    Configuration menu
    Copy the full SHA
    f9e159f View commit details
    Browse the repository at this point in the history
  4. Add Instagram Provider (Sorcery#51)

    * Add Instagram Provider
    
    * Changed how scope is set
    
    * Code style for unused method argument
    
    * changed parse attr to read/write
    
    * add facebook.parse to config
    
    * Add changelog entry
    Waynenabors authored and joshbuker committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    0e21ede View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2018

  1. Remove publish_actions permission for facebook (Sorcery#139)

    * Remove `publish_actions` permission from template
    
    * Add a change log entry for PR Sorcery#139
    satoakick authored and joshbuker committed Sep 21, 2018
    Configuration menu
    Copy the full SHA
    ee532c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2018

  1. Fix rails injection (Sorcery#150)

    * fix rails injection
    
    * only add helper_methods to ActionController::Base
    tiii authored and Ch4s3 committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    e3045a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. Prepare for 1.0.0 (Sorcery#157)

    * Remove jruby references
    
    jruby was added previously, but never fully supported. Removing for now, pending
    proper support.
    
    * Match min ruby requirement with lowest tested ruby version
    
    * Add maintainer to gemspec author list
    
    * Update license to md format
    
    * Remove excess whitespace
    
    * Update rubocop ruby lock and regen TODO list
    
    * Disable rubocop for migration files (breaks)
    
    * Fix Bundler/OrderedGems
    
    * Fix rails 6 deprecation warning
    
    * Add missing newline
    
    * Fix Gemspec/OrderedDependencies
    
    * Fix Gemspec/RequiredRubyVersion and regen TODO
    
    * Fix Layout/AlignHash
    
    * Fix Layout/ClosingParenthesisIndentation
    
    * Fix Layout/EmptyLineAfterGuardClause
    
    * Fix Layout/EmptyLineBetweenDefs
    
    * Fix Layout/EmptyLines
    
    Fixed by last commit
    
    * Fix Layout/EmptyLinesAroundArguments
    
    * Fix Layout/EmptyLinesAroundBlockBody
    
    * Fix Layout/EmptyLinesAroundClassBody
    
    * Fixed Layout/EmptyLinesAroundModuleBody on previous commit
    
    * Fix Layout/EndAlignment
    
    * Fix Layout/ExtraSpacing
    
    * Fix Layout/FirstParameterIndentation
    
    * Fix Layout/IndentHash
    
    * Fix Layout/MultilineMethodCallBraceLayout
    
    * Fix Layout/MultilineMethodCallIndentation
    
    * Fix Layout/MultilineOperationIndentation
    
    * Fix Layout/SpaceAfterComma
    
    * Fix Layout/SpaceAroundEqualsInParameterDefault
    
    * Fix Layout/SpaceAroundOperators
    
    * Fix Layout/SpaceBeforeBlockBraces
    
    * Fix Layout/SpaceInsideBlockBraces
    
    * Fix Layout/SpaceInsideHashLiteralBraces
    
    * Fix Layout/TrailingBlankLines
    
    * Fix Layout/TrailingWhitespace
    
    * Fix Lint/AmbiguousBlockAssociation
    
    * Fix Lint/AssignmentInCondition
    
    * Fix Lint/DuplicateMethods
    
    * Add rubocop to development dependencies
    
    * Rails 4.1 has been released, remove rescue statement
    
    * Fix Lint/HandleExceptions
    
    * Fix Lint/NonLocalExitFromIterator
    
    * Fix Lint/ParenthesesAsGroupedExpression
    
    * Fix Lint/UnderscorePrefixedVariableName
    
    * Fix Lint/UselessAssignment
    
    * Fix Lint/Void - Found potentially broken specs for remember_me functionality
    
    * Fix Naming/FileName
    
    * Fix Style/AndOr
    
    * Fix Style/BracesAroundHashParameters
    
    * Add Github issue template
    
    * Fix Style/TrailingCommaInHashLiteral
    
    * Fix Style/TrailingCommaInArguments
    
    * Fix Style/SymbolArray
    
    * Fix Style/StringLiterals
    
    * Fix Style/RescueStandardError
    
    * Fix Style/RegexpLiteral
    
    * Fix Style/RedundantSelf
    
    * Fix Style/RedundantReturn
    
    * Fix Style/RedundantParentheses
    
    * Move harder to solve rubocop issues to prepare for 1.0.0
    
    * Naming conventions will be fixed by rewrite in 1.0.0
    
    * Fix Naming/MemoizedInstanceVariableName
    
    * Naming conventions will be fixed by rewrite in 1.0.0
    
    * Fix Style/PercentLiteralDelimiters
    
    * Fix Style/ParenthesesAroundCondition
    
    Fixed by previous commit
    
    * Fix Style/NumericLiterals
    
    * Fix Style/MutableConstant
    
    * Fix Style/MultipleComparison
    
    * Fix Style/IfUnlessModifier
    
    Fixed on previous commit
    
    * Fix Style/HashSyntax
    
    * Fix Style/GuardClause
    
    * Fix Style/FormatString
    
    * Fix Style/ExpandPathArguments
    
    * Fix Style/EvalWithLocation
    
    * Fix Style/EmptyLiteral
    
    * Disable Style/DoubleNegation
    
    * Documentation will be fixed by rewrite in 1.0.0
    
    * Fix Style/Dir
    
    * Fix Style/ConditionalAssignment
    
    Fixed by previous commit
    
    * Fix Style/ClassAndModuleChildren
    
    * Regenerate rubocop TODO
    
    * Add maintainer to gemspec email list
    joshbuker authored Nov 8, 2018
    Configuration menu
    Copy the full SHA
    6c155be View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2018

  1. Configuration menu
    Copy the full SHA
    ae83ac3 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2018

  1. Add Auth0 as external provider (Sorcery#160)

    * Add Auth0 provider to external
    
    Used github/google providers as reference, as well as the Omniauth/Auth0
    strategy.
    
    * Add Auth0 initializer template
    
    * Require new auth0 provider file
    
    * Add specs for Auth0 provider
    
    * Update Auth0 to use sub instead of user_id
    
    https://community.auth0.com/t/authentication-api-userinfo-missing-the-user-id/8747/3
    
    * Add 'sub' to spec hash to fix Auth0 specs
    
    * Update changelog
    joshbuker authored Nov 29, 2018
    Configuration menu
    Copy the full SHA
    11ca7f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a7e351 View commit details
    Browse the repository at this point in the history
  3. Release 0.13.0

    joshbuker committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    88181d3 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2019

  1. Remove before_install entirely from travis.yml per @BanzaiMan feedback (

    Sorcery#171)
    
    * Remove before_install entirely from travis.yml per @BanzaiMan feedback
    
    * Fix version conflict with Rails 4 gemfiles
    
    Rails 4 requires bundler <2.0, but Rails 4 is on the way out,
    and Rails 6 is on the horizon. I think it makes sense to drop support
    rather than fight the TravisCI configuration between versions.
    
    * Update CHANGELOG.md
    joshbuker authored Jan 25, 2019
    Configuration menu
    Copy the full SHA
    250fd60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebb483a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

  1. update_failed_logins_count is called twice when login failed (Sorcery…

    …#163)
    
    * Fix engine initializer
    
    * Update controller callbacks to safeguard against double inclusion
    
    * Update sqlite3 dependency per TravisCI error
    kissrobber authored and joshbuker committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    012172f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a87c069 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c668047 View commit details
    Browse the repository at this point in the history
  4. Clean up initializer comments (Sorcery#153)

    * Add magic_login to initializer comments
    
    * Clean up initializer comments
    Valentine C authored and joshbuker committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    283f023 View commit details
    Browse the repository at this point in the history
  5. Add #change_password method to reset_password module. (Sorcery#165)

    * Add #change_password method to reset_password module.
    
    Serves the same function as `#change_password!` but without raising exceptions on save. Useful for returning validation errors back to the view, for example, when `:password_confirmation` did not match `:password`.
    
    * Update documentation.
    
    * Rework tests per review comments.
    
    * Clarify what's happening with save methods in specs.
    SeriouslyAwesome authored and joshbuker committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    fb70165 View commit details
    Browse the repository at this point in the history
  6. allow BCrypt to have app-specific secret token (Sorcery#173)

    * Introduce pepper option (currently available with BCrypt)
    
    Before this change, config option 'salt_join_token' has been ignored
    when BCrypt is chosen as crypto-provider (default).
    This patch introduces its alternative option that allows users to add
    app-specific secret token with BCrypt.
    To ensure compatibility, this change only takes place when the new
    option 'pepper' is provided, and does NOT affect on those who have
    already set salt_join_token.
    
    * fix typos and remove an unnecessary block
    
    * add test to describe behaviors with empty-string pepper
    fursich authored and joshbuker committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    ae02d2e View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Support the LINE login auth (Sorcery#80)

    * line provider
    * require line provider
    * spec
    * fix response params
    * set state
    * fix spec
    sho ishihara authored and joshbuker committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    ae4141e View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Update LinkedIn to use OAuth 2 (Sorcery#189)

    * Update changelog
    
    * Update LinkedIn provider to use OAuth2 per v1 deprecation
    
    * Update changelog
    Josh Buker authored May 22, 2019
    Configuration menu
    Copy the full SHA
    cd6cffd View commit details
    Browse the repository at this point in the history
  2. Release 0.14.0

    joshbuker committed May 22, 2019
    Configuration menu
    Copy the full SHA
    26ad5a8 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2019

  1. Allow for custom providers with multi-word class names. (Sorcery#190)

    * Allow for custom providers with multi-word class names.
    
    Currently sorcery will not handle custom providers with names like: ExampleProvider. config.example_provider would search for a class called Example_provider rather than ExampleProvider. Using .classify rather than .capitalize will fix this.
    
    I've added an example provider implementation under the spec/support directory, and have a test that ensures that it is loaded properly via config. The existing tests for existing providers are also coming back with successes.
    
    * Add spec to cover single-word custom providers
    mvandenbeuken authored and Josh Buker committed May 28, 2019
    Configuration menu
    Copy the full SHA
    e6b78f1 View commit details
    Browse the repository at this point in the history
  2. ignore cookies when undefined cookies (Sorcery#187)

    Ryusuke Tomita authored and Josh Buker committed May 28, 2019
    Configuration menu
    Copy the full SHA
    f67b989 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2019

  1. Fix email scope for LinkedIn Provider (Sorcery#191)

    * Used user email address from LinkedIn
    
    * Update example user_info_mapping in initializer
    
    * Force r_emailaddress in @scope in linkedin provider
    
    * Load email only if r_emailaddress is in scope
    
    * Adjust initializers Linkedin comment
    JakubSzajna authored and Josh Buker committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    4bda5a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Don't :return_to JSON requests after login. (Sorcery#197)

    (previous code skipped XHR requests, but not all JSON requests are XHR)
    kevin-smartpatients authored and Josh Buker committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    5c7933c View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. Use id instead of uid for VK provider (Sorcery#199)

    * Use id instead of uid for VK provider
    
    * fix specs
    anaumov authored and Josh Buker committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    8d2d0a5 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Remove MySQL database creation call (Sorcery#214)

    * Remove MySQL database creation call
    
    * Add missing manifest.js file
    
    * Wrong config folder...
    Josh Buker authored Nov 27, 2019
    Configuration menu
    Copy the full SHA
    deb8a46 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Add discord provider (Sorcery#185)

    * add discord provider
    * add initializer comment
    * add discord spec
    t-tonchim authored and Josh Buker committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    dd03140 View commit details
    Browse the repository at this point in the history
  2. Add ruby 2.6.5 to the travis build (Sorcery#215)

    mladenilic authored and Josh Buker committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    a973ae4 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Fix deprecation warnings in Rails 6 (Sorcery#209)

    * Calling ActionController::Base causes deprecation warnings due to autoloading.
    
    ActionController::Base is autoloaded by Rails when called from the initializer in engine.rb which causes Rails 6 to raise deprecation warnings.
    
    * Added an empty manifest.js for specs
    
    The latest version of sprockets (4.0.0) now requires a manifest.js file in ‘app/assets/config/‘ or else an Exception is raised.
    
    * Deprecate Ruby Versions <= 2.3.x
    
    Per the following article, ruby versions 2.3 and below are deprecated:
    
    https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
    
    Ruby 2.4 will also be deprecated and should be removed by March 31, 2020.
    
    * Update Ruby 2.5.x to latest version (2.5.7)
    tobyaherbert authored and Josh Buker committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    26dd64b View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Fix typo (Sorcery#219)

    * Fix typo
    
    * Fix 'an' to 'a'
    mingrammer authored and Josh Buker committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    16bb809 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. In generic_send_email, check if mail object responds to delivery me…

    …thod instead of checking inheritance from `ActionMailer` (Sorcery#211)
    
    * Check if mail object responds to delivery method
    
    Instead of checking for an inheritance of ActionMailer::Base,
    just see if the conffigure mailer and method respond to the configured
    delivery method.
    
    Since both the mailer and the willingniess to automatically send out
    messages can be configured, the message should be send if it is
    sendable, regardless of which Class the configured mailer inherits
    from.
    
    * Add empty mainifest.js to rails_app
    
    Not having a manifest was causing issues running `bundle exec rake`
    with sprockets 4.
    Plsr authored Feb 24, 2020
    Configuration menu
    Copy the full SHA
    f87d14e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c30cefa View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. 8 Configuration menu
    Copy the full SHA
    6b72ca3 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2020

  1. Fix brute force vuln due to callbacks not being ran (Sorcery#235)

    The authenticate method previously would return before callbacks executed if an
    invalid password was provided, which causes the brute force protection to only
    work for the first lockout period, and only resets after a successful login.
    
    Fixes Sorcery#231
    joshbuker authored May 2, 2020
    Configuration menu
    Copy the full SHA
    0f116d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eee5653 View commit details
    Browse the repository at this point in the history
  3. Release 0.15.0

    joshbuker committed May 2, 2020
    Configuration menu
    Copy the full SHA
    e81c64c View commit details
    Browse the repository at this point in the history
  4. Add pull request template

    joshbuker committed May 2, 2020
    Configuration menu
    Copy the full SHA
    b6f7012 View commit details
    Browse the repository at this point in the history
  5. Use Set to ensure unique arrays (Sorcery#233)

    Signed-off-by: Steven Hoffman <[email protected]>
    Fustrate authored May 2, 2020
    Configuration menu
    Copy the full SHA
    6ba63a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2020

  1. Create SECURITY.md

    joshbuker authored Jun 11, 2020
    Configuration menu
    Copy the full SHA
    65065ef View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Fix keyword arguments warnings on Ruby 2.7 (Sorcery#241)

    * CI against Ruby 2.7
    
    * Fix keyword arguments warnings on Ruby 2.7
    
    It fixes codes to match method signatures in rails and bcrypt.
    
    ## See also
    
    - https://github.com/rails/rails/blob/v6.0.3/activerecord/lib/active_record/persistence.rb#L469
    - https://github.com/rails/rails/blob/v6.0.3/activemodel/lib/active_model/callbacks.rb
    - https://github.com/codahale/bcrypt-ruby/blob/v3.1.13/lib/bcrypt/password.rb#L43
    
    * Update CHANGELOG.md
    
    Co-authored-by: Josh Buker <[email protected]>
    sinsoku and joshbuker authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    f2c4fcf View commit details
    Browse the repository at this point in the history
  2. Add support for Rails 6 (Sorcery#238)

    * Cache bundler on Travis
    
    * Add support for Rails 6
    
    Since the usage of `MigrationContext` was changed in rails/rails#36439,
    adds a branch to MigrationHelper.
    
    We are loading 'rails/all' in our test code, it implicitly load action_text from Rails 6.
    ActionText requires ApplicationController, adds it.
    ref: https://github.com/rails/rails/blob/v6.0.3/actiontext/lib/action_text/engine.rb#L50
    
    * Exclude Ruby 2.4 for Rails 6
    
    Rails 6 does't support Ruby 2.4.
    ref: rails/rails#34754
    sinsoku authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    31a055b View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. Configuration menu
    Copy the full SHA
    1780791 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5c2cce View commit details
    Browse the repository at this point in the history
  3. Update contact details

    joshbuker committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    28d0884 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. Updated the generators to allow namespaced models to be passed in, su…

    …ch as "ExampleNameSpace::User" parametere which will generate a table migration with "example_name_space_user" as the table name (Sorcery#237)
    crimson-knight authored Jul 5, 2020
    Configuration menu
    Copy the full SHA
    54ec819 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    a6cef7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d4c2d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Update README.md

    Remove issue notice, solid plan is in place now.
    joshbuker authored Jul 15, 2020
    Configuration menu
    Copy the full SHA
    569c35f View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. Add CODE_OF_CONDUCT.md

    This is essentially 1:1 with Rubocop's Code of Conduct, which itself uses Ruby's
    Code of Conduct as a base. It's minimal and easy to understand, which mirrors
    the ethos of the Sorcery library itself.
    joshbuker committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    a02c124 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2020

  1. Add Battlenet Provider (Sorcery#260)

    * Add BattleNet Provider
    * Add Changelog Info for BattleNet Provider
    * Add  BattleNet Tests
    * Fix Errors
    * Fix Typo in Battlenet Provider
    * Add Site config to initializer
    * Fix Typo
    * Remove conditional set of code arg
    jojoa authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    d16fffa View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2021

  1. Create ruby.yml

    joshbuker authored Jan 2, 2021
    Configuration menu
    Copy the full SHA
    a939ca9 View commit details
    Browse the repository at this point in the history
  2. Update rubocop todo

    joshbuker committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    93eff2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    443e614 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Release 0.16.0

    joshbuker committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    43efa33 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    404862d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Update github action to test against version matrix (Sorcery#267)

    * Test against ruby 3
    
    * Switch from Travis to GH Workflows
    
    * Add metastep for simplified require GH checks
    
    * Fix typo in matrix
    
    * Remove TravisCI config
    
    * Exclude rails 5.2 from ruby 3, deprecation conflicts
    
    Co-authored-by: Josh Buker <[email protected]>
    driv3r and joshbuker authored Mar 17, 2021
    Configuration menu
    Copy the full SHA
    bf6eb58 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Configuration menu
    Copy the full SHA
    58ff4ac View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Configuration menu
    Copy the full SHA
    6fdc703 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2021

  1. Configuration menu
    Copy the full SHA
    a26ed98 View commit details
    Browse the repository at this point in the history
  2. Fix rake not including the rubocop task

    Honestly, I don't know if I want to even bother with rubocop in the legacy
    codebase. The styling is being closely monitored in the rework, and code style
    isn't really critical when it comes to security patches and bug fixes.
    
    All to say, I may just disable the rubocop job for the legacy code again at some
    point, if it gets annoying.
    joshbuker committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    5d95834 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Remove random whitespace

    joshbuker committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    0783e42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fae86f View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2021

  1. Add sponsor button

    joshbuker committed Apr 24, 2021
    Configuration menu
    Copy the full SHA
    40fc1d0 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Configuration menu
    Copy the full SHA
    5f17be1 View commit details
    Browse the repository at this point in the history
  2. Release v0.15.1

    joshbuker committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    9cc74ea View commit details
    Browse the repository at this point in the history
  3. Merge branch '0.15.X'

    joshbuker committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    6164c21 View commit details
    Browse the repository at this point in the history
  4. Release v0.16.1

    joshbuker committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    c460403 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2021

  1. Configuration menu
    Copy the full SHA
    107a547 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    829683b View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. Configuration menu
    Copy the full SHA
    8f1064f View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2021

  1. Fix MongoID adapter breaking on save (Sorcery#284)

    * Update mongoid adapter to use splat operator for options
    
    * Add changelog entry
    joshbuker authored Jun 20, 2021
    Configuration menu
    Copy the full SHA
    4f7ea0b View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2021

  1. add qq provider

    bealking committed Aug 21, 2021
    Configuration menu
    Copy the full SHA
    2e2d0fe View commit details
    Browse the repository at this point in the history
  2. bug fix

    bealking committed Aug 21, 2021
    Configuration menu
    Copy the full SHA
    9e466cf View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Merge branch 'master' of github.com:bealking/sorcery

    # Conflicts:
    #	lib/generators/sorcery/templates/initializer.rb
    #	spec/controllers/controller_oauth2_spec.rb
    bealking committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    ce38c58 View commit details
    Browse the repository at this point in the history
  2. solve conflict

    bealking committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    4a7cd0e View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    2299885 View commit details
    Browse the repository at this point in the history