1. 13 Dec, 2020 1 commit
    • Georges Racinet's avatar
      Bitbucket import: removed most of the code · fdb960fc35b5
      Georges Racinet authored
      There aren't Mercurial repositories to import from Bitbucket
      any more: our divergence with upstream on this is now just a
      drag.
      
      Removal is partial in order not to jeopardize the installation
      of 0.18.0rc1 on foss.h.n (second OAuth, worker queue registration
      etc.). In all cases, behaviour on such configurations will be
      tested and adjusted before release.
      
      --HG--
      branch : heptapod
      fdb960fc35b5
  2. 23 Apr, 2020 1 commit
    • Georges Racinet's avatar
      Bitbucket: inner facilities for attachment import · 4817f4547a89
      Georges Racinet authored
      An attachment is described by a Bitbucket API full URL, which itself
      will redirect to their AWS S3 storage, with auth done by the
      query string.
      
      Therefore we need:
      
      - to be able to load URLs in full form
      - to stop using the OAuth2 client once it's not on Bitbucket
      - to load the final URL
      
      --HG--
      branch : heptapod-stable
      4817f4547a89
  3. 21 Jan, 2020 1 commit
    • Georges Racinet's avatar
      Bitbucket import: provider defaulting to `bitbucket` · 188e9f9d08b6
      Georges Racinet authored
      With this, if the `bitbucket_import` provider doesn't exist, the
      import will use the `bitbucket` one.
      
      In other words, this restores backwards compatibility after
      introduction of `bitbucket_import`
      
      --HG--
      branch : heptapod
      188e9f9d08b6
  4. 20 Jan, 2020 1 commit
    • Georges Racinet's avatar
      Bitbucket import: changing the OAuth provider name · f21e3f072abd
      Georges Racinet authored
      All Bitbucket imports now use a specific OAuth provider,
      `bitbucket_import`, solving #156.
      
      Simple SSO operations (sign-up/sign-in) are not affected:
      they still work with the `bitbucket` provider.
      Users will probably want to exclude `bitbucket_import`
      from SSO options on the sign-in page (can be done in
      the application settings page).
      
      --HG--
      branch : heptapod
      f21e3f072abd
  5. 17 Oct, 2019 1 commit
    • Georges Racinet's avatar
      lib/bitbucket: backported up to f155cc9034f2 from GitLab · 875a89c436fa
      Georges Racinet authored
      This notably solves the username issue (#102)
      by using nickname everywhere.
      
      Did not include the filtering, would need to check the
      consequences in app/ and notably views, but could be
      done as a follow-up.
      
      It should also be less memory-hungry thanks to the
      freezing of litterals.
      
      
      commit f155cc9034f2247c5d368f9b0212ad44248b0c5e
      Author: GitLab Bot <gitlab-bot@gitlab.com>
      Date:   Wed Oct 16 03:06:12 2019 +0000
      
          Add latest changes from gitlab-org/gitlab@master
      
      commit e66d6781ef36e39d15b1b9bc84cc30e87969edad
      Author: GitLab Bot <gitlab-bot@gitlab.com>
      Date:   Thu Sep 26 18:06:29 2019 +0000
      
          Add latest changes from gitlab-org/gitlab@master
      
      commit 736b5908da637cbb35eb5fd1a10790c2ee17fcde
      Author: Dinesh Panda <dineshpanda92@gmail.com>
      Date:   Tue Sep 10 08:11:43 2019 +0000
      
          Avoid calling freeze on already frozen strings in lib
      
      commit 5ba77a49997221cc646f158d56c86a636b42e735
      Author: George Koltsov <gkoltsov@gitlab.com>
      Date:   Wed Aug 7 14:01:18 2019 +0100
      
          Add author lines to project import comments
      
      commit d598e4fd937797a7f7778f5b4158ebf73139ce7f
      Author: gfyoung <gfyoung17@gmail.com>
      Date:   Sat Oct 6 16:10:08 2018 -0700
      
          Enable more frozen string in lib/**/*.rb
      
          Enables frozen for the following:
      
          * lib/*.rb
          * lib/banzai/**/*.rb
          * lib/bitbucket/**/*.rb
          * lib/constraints/**/*.rb
          * lib/container_registry/**/*.rb
          * lib/declarative_policy/**/*.rb
      
          Partially addresses #47424.
      
      --HG--
      branch : heptapod-0-6-stable
      875a89c436fa
  6. 10 Sep, 2019 1 commit
  7. 07 Oct, 2018 1 commit
    • gfyoung's avatar
      Enable more frozen string in lib/**/*.rb · 2b18511b0e6f
      gfyoung authored
      Enables frozen for the following:
      
      * lib/*.rb
      * lib/banzai/**/*.rb
      * lib/bitbucket/**/*.rb
      * lib/constraints/**/*.rb
      * lib/container_registry/**/*.rb
      * lib/declarative_policy/**/*.rb
      
      Partially addresses #47424.
      2b18511b0e6f
  8. 28 Feb, 2018 1 commit
  9. 23 Feb, 2017 2 commits
  10. 15 Dec, 2016 1 commit
  11. 12 Dec, 2016 1 commit
  12. 07 Dec, 2016 1 commit
  13. 06 Dec, 2016 1 commit
  14. 22 Nov, 2016 4 commits