Skip to content
Snippets Groups Projects
  1. Sep 30, 2015
  2. Sep 20, 2015
  3. Sep 18, 2015
  4. Sep 17, 2015
  5. Sep 16, 2015
  6. Sep 14, 2015
  7. Sep 09, 2015
  8. Sep 03, 2015
  9. Sep 01, 2015
  10. Aug 27, 2015
  11. Aug 26, 2015
  12. Aug 23, 2015
    • Stan Hu's avatar
      Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLab · ed1d4fa4
      Stan Hu authored
      and request them each session. Pass these tokens to the project import data.
      
      This prevents the need to encrypt these tokens and clear them in case they
      expire or get revoked.
      
      For example, if you deleted and re-created OAuth2 keys for Bitbucket, you would get
      an Error 500 with no way to recover:
      
      ```
      Started GET "/import/bitbucket/status" for x.x.x.x at 2015-08-07 05:24:10 +0000
      Processing by Import::BitbucketController#status as HTML
      Completed 500 Internal Server Error in 607ms (ActiveRecord: 2.3ms)
      
      NameError (uninitialized constant Import::BitbucketController::Unauthorized):
        app/controllers/import/bitbucket_controller.rb:77:in `rescue in go_to_bitbucket_for_permissions'
        app/controllers/import/bitbucket_controller.rb:74:in `go_to_bitbucket_for_permissions'
        app/controllers/import/bitbucket_controller.rb:86:in `bitbucket_unauthorized'
      ```
      
      Closes #1871
      ed1d4fa4
  13. Aug 21, 2015
  14. Aug 20, 2015
  15. Aug 18, 2015
  16. Aug 06, 2015
  17. Jul 31, 2015
  18. Jul 30, 2015
  19. Jul 19, 2015
  20. Jul 17, 2015
  21. Jul 13, 2015
  22. Jul 10, 2015
  23. Jul 08, 2015
  24. Jul 07, 2015
  25. Jul 06, 2015
  26. Jun 20, 2015
  27. Jun 13, 2015
  28. Jun 11, 2015
  29. Jun 09, 2015
  30. Jun 05, 2015
Loading