[openstreetmap/openstreetmap-website] Drop support for OAuth 1 (PR #5058)

Tom Hughes notifications at github.com
Wed Aug 7 18:00:14 UTC 2024


I don't know if we're ready to pull this trigger yet so I'll open this as draft for now but this is the proposed removal of the OAuth 1 code.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5058

-- Commit Summary --

  * Drop support for OAuth 1

-- File Changes --

    M Gemfile (2)
    M Gemfile.lock (7)
    M app/abilities/ability.rb (3)
    M app/controllers/accounts_controller.rb (4)
    M app/controllers/api/notes_controller.rb (2)
    M app/controllers/api/permissions_controller.rb (4)
    M app/controllers/api_controller.rb (11)
    M app/controllers/application_controller.rb (11)
    D app/controllers/oauth_clients_controller.rb (75)
    D app/controllers/oauth_controller.rb (80)
    D app/models/access_token.rb (57)
    D app/models/client_application.rb (109)
    D app/models/oauth2_token.rb (58)
    D app/models/oauth2_verifier.rb (72)
    D app/models/oauth_nonce.rb (31)
    D app/models/oauth_token.rb (72)
    D app/models/request_token.rb (82)
    M app/models/user.rb (10)
    M app/views/application/_settings_menu.html.erb (3)
    D app/views/oauth/authorize.html.erb (18)
    D app/views/oauth/authorize_failure.html.erb (5)
    D app/views/oauth/authorize_success.html.erb (9)
    D app/views/oauth_clients/_form.html.erb (11)
    D app/views/oauth_clients/edit.html.erb (9)
    D app/views/oauth_clients/index.html.erb (47)
    D app/views/oauth_clients/new.html.erb (9)
    D app/views/oauth_clients/not_found.erb (1)
    D app/views/oauth_clients/show.html.erb (33)
    D config/initializers/oauth.rb (90)
    M config/locales/en.yml (65)
    M config/routes.rb (11)
    M config/settings.yml (6)
    A db/migrate/20240724194738_drop_oauth1_tables.rb (7)
    M db/structure.sql (231)
    M script/cleanup (4)
    M test/controllers/api/permissions_controller_test.rb (27)
    M test/controllers/api/users_controller_test.rb (206)
    D test/controllers/oauth_clients_controller_test.rb (204)
    D test/controllers/oauth_controller_test.rb (48)
    D test/factories/client_applications.rb (8)
    D test/integration/client_applications_test.rb (91)
    D test/integration/oauth_test.rb (421)
    D test/models/client_application_test.rb (54)
    D test/models/oauth_nonce_test.rb (29)
    D test/models/oauth_token_test.rb (23)
    D test/models/request_token_test.rb (10)
    M test/models/user_test.rb (12)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5058.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5058.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5058
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5058 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240807/183b524b/attachment.htm>


More information about the rails-dev mailing list