BigW Consortium Gitlab

  1. 10 Jun, 2016 3 commits
  2. 08 Jun, 2016 2 commits
    • Allow custom text on 'almost there' page · 40b6d906
      Sean McGivern authored
      Add a new application setting, after_sign_up_text. This is text to be
      rendered as Markdown and shown on the 'almost there' page after a user
      signs up, but before they've confirmed their account.
      
      Tweak the styles for that page so that centered lists look reasonable.
    • Fix pseudo n+1 queries with Note and Note Authors in issuables APIs · fade1a4c
      Alejandro Rodríguez authored
      This was not a clear cut n+1 query, given that if you're directly subscribed to all issues
      that the API is returning you never really need to check for the notes. However, if you're
      subscribed to _all_ of them, then for each issuable you need to go once to `notes`, and
      once to `users` (for the authors). By preemtively loading notes and authors, at worst you have
      1 extra query, and at best you saved 2n extra queries. We also took advantage of this preloading
      of notes when counting user notes.
  3. 06 Jun, 2016 2 commits
    • Add workhorse controller and API helpers · 8c3ba8d6
      Douwe Maan authored
    • Add a `U2fRegistrations` table/model. · 791cc913
      Timothy Andrew authored
      - To hold registrations from U2F devices, and to authenticate them.
      - Previously, `User#two_factor_enabled` was aliased to the
        `otp_required_for_login` column on `users`.
      - This commit changes things a bit:
          - `User#two_factor_enabled` is not a method anymore
          - `User#two_factor_enabled?` checks both the
            `otp_required_for_login` column, as well as `U2fRegistration`s
          - Change all instances of `User#two_factor_enabled` to
            `User#two_factor_enabled?`
      - Add the `u2f` gem, and implement registration/authentication at the
        model level.
  4. 03 Jun, 2016 4 commits
  5. 02 Jun, 2016 3 commits
  6. 01 Jun, 2016 2 commits
    • Add `sha` parameter to MR accept API · d863d86a
      Sean McGivern authored
      The `sha` parameter is optional, and when present, must match the
      current HEAD SHA of the source branch. Otherwise, the API call fails
      with a 409 Conflict and a message containing the current HEAD for the
      source branch.
      
      Also tidy up some doc wording.
    • Incorportate feedback · 91a7b933
      Z.J. van de Weg authored
  7. 31 May, 2016 1 commit
  8. 30 May, 2016 2 commits
  9. 25 May, 2016 1 commit
  10. 23 May, 2016 1 commit
  11. 20 May, 2016 2 commits
  12. 19 May, 2016 1 commit
  13. 18 May, 2016 1 commit
  14. 16 May, 2016 1 commit
  15. 13 May, 2016 3 commits
  16. 12 May, 2016 1 commit
  17. 11 May, 2016 1 commit
  18. 10 May, 2016 3 commits
    • Fix notes API calls symbol convertions · 93ca5c99
      Felipe Artur authored
    • Restrict starred projects to viewable ones · 97424ea5
      Sean McGivern authored
      `User#starred_projects` doesn't perform any visibility checks. This has
      a couple of problems:
      
      1. It assumes a user can always view all of their starred projects in
         perpetuity (project not changed to private, access revoked, etc.).
      2. It assumes that we'll only ever allow a user to star a project they
         can view. This is currently the case, but bugs happen.
      
      Add `User#viewable_starred_projects` to filter the starred projects by
      those the user either has explicit access to, or are public or
      internal. Then use that in all places where we list the user's starred
      projects.
    • Fix a few places where autoloading would fail · 5589dcf8
      Rémy Coutable authored
      - Fix naming of API::CommitStatuses
      - Ensure we use require_dependency instead of require
      - Ensure the namespace is right in lib/api/api.rb, otherwise, we
        might require Grape::API::Helpers which defines the `#params` method.
        This is to avoid requiring a file multiple times and getting an "Already
        initialized constant" error.
      Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
  19. 09 May, 2016 6 commits