- 10 Jun, 2016 3 commits
-
-
Rémy Coutable authored
Based on the feedback from reviewers. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rui Anderson authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Douwe Maan authored
-
- 08 Jun, 2016 2 commits
-
-
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.
-
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.
-
- 06 Jun, 2016 2 commits
-
-
Douwe Maan authored
-
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.
-
- 03 Jun, 2016 4 commits
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Grzegorz Bizon authored
See #17478
-
- 02 Jun, 2016 3 commits
-
-
Sean McGivern authored
-
Kamil Trzcinski authored
-
Jacob Vosmaer authored
-
- 01 Jun, 2016 2 commits
-
-
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.
-
Z.J. van de Weg authored
-
- 31 May, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 30 May, 2016 2 commits
-
-
Grzegorz Bizon authored
See #17478
-
Grzegorz Bizon authored
See #17478
-
- 25 May, 2016 1 commit
-
-
Stan Hu authored
Closes #17496
-
- 23 May, 2016 1 commit
-
-
Robert Speicher authored
-
- 20 May, 2016 2 commits
-
-
Alfredo Sumaran authored
-
Zeger-Jan van de Weg authored
-
- 19 May, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 18 May, 2016 1 commit
-
-
Felipe Artur authored
-
- 16 May, 2016 1 commit
-
-
Felipe Artur authored
-
- 13 May, 2016 3 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Gabriel Mazetto authored
-
- 12 May, 2016 1 commit
-
-
Ahmad Sherif authored
Closes #15638
-
- 11 May, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 10 May, 2016 3 commits
-
-
Felipe Artur authored
-
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.
-
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: Rémy Coutable <remy@rymai.me>
-
- 09 May, 2016 6 commits
-
-
Felipe Artur authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
This reverts commit 0a280158.
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
cnam-dep authored
-