Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update docs in line with mysql-postgresql-converter changes.remove-mysql-index-conversion-from-docs | Douwe Maan | 2015-05-12 | 1 | -51/+4 |
| | |||||
* | Merge branch 'note-role' into 'master' | Dmitriy Zaporozhets | 2015-05-12 | 3 | -9/+29 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show user roles by comments. I think it would be useful to show the user's role (Owner/Master/Developer/Reporter) by comments on GitLab.com (like GitHub does with Owner/Collaborator). That way people will know that when someone from the project's core team comments, they're not just some random user, but they're actually on the team. Currently they have the gather this from context.  On hover, the note actions replace the role:  --- Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2321. cc @sytses See merge request !639 | ||||
| * | Show user roles by comments. | Douwe Maan | 2015-05-12 | 3 | -9/+29 |
| | | |||||
* | | Fix Gemfile.lock | Dmitriy Zaporozhets | 2015-05-12 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'rs-system-note' into 'master' | Dmitriy Zaporozhets | 2015-05-12 | 13 | -729/+754 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SystemNoteService class The Note model was basically two models crammed together - one handling user-created notes (i.e., comments on things) and one handling system-created notes (i.e., references). This splits out the system-specific stuff to a new SystemNoteService class. See merge request !595 | ||||
| * | | Reorganize SystemNoteService spec a bitrs-system-note | Robert Speicher | 2015-05-11 | 1 | -13/+17 |
| | | | |||||
| * | | Refactor SystemNoteService.cross_reference_disallowed? | Robert Speicher | 2015-05-11 | 1 | -6/+13 |
| | | | |||||
| * | | Spec SystemNoteService.cross_reference_disallowed? | Robert Speicher | 2015-05-11 | 1 | -2/+26 |
| | | | |||||
| * | | Simplify Note model specs | Robert Speicher | 2015-05-11 | 2 | -215/+36 |
| | | | |||||
| * | | Check if `system` is truthy in `Note.cross_reference?` | Robert Speicher | 2015-05-11 | 1 | -1/+1 |
| | | | |||||
| * | | Update SystemNoteService method naming conventions | Robert Speicher | 2015-05-11 | 7 | -205/+202 |
| | | | | | | | | | | | | | | | Now the verb comes first, and there is no restriction on singular/plural. | ||||
| * | | Remove legacy special case for emphasized reference notes | Robert Speicher | 2015-05-11 | 2 | -49/+9 |
| | | | |||||
| * | | Add migration to convert legacy system notes | Robert Speicher | 2015-05-11 | 2 | -1/+17 |
| | | | |||||
| * | | Add a SystemNoteService class | Robert Speicher | 2015-05-11 | 11 | -479/+683 |
| | | | | | | | | | | | | | | | There's a lot of code in the Note model that only deals with creating system notes, so we're going to split that into its own class. | ||||
| * | | Simplify `Note#upvote?` and `Note#downvote?` | Robert Speicher | 2015-05-10 | 1 | -17/+11 |
| | | | |||||
| * | | Note's voting specs don't need to persist to the database | Robert Speicher | 2015-05-10 | 1 | -18/+16 |
| | | | |||||
* | | | Merge branch 'brakeman-level' | Dmitriy Zaporozhets | 2015-05-12 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: lib/tasks/brakeman.rake | ||||
| * | | | We would like to pass 'brakeman -w2' | Jacob Vosmaer | 2015-05-11 | 1 | -0/+2 |
| |/ / | |||||
* | | | Merge branch 'project-page' into 'master' | Dmitriy Zaporozhets | 2015-05-12 | 8 | -81/+94 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restructure project sidebar and add more icons. I moved the repository stuff down (including the clone bar), and the project/contribution stuff up. I also added more icons, to the sidebar and tabs on other pages. ---  See merge request !633 | ||||
| * | | | Move "Forked from" above "Version".project-page | Douwe Maan | 2015-05-12 | 1 | -8/+9 |
| | | | | |||||
| * | | | Move clone panel to bottom of project sidebar. | Douwe Maan | 2015-05-12 | 1 | -3/+3 |
| | | | | |||||
| * | | | Restructure project sidebar. | Douwe Maan | 2015-05-12 | 2 | -65/+81 |
| | | | | |||||
| * | | | Fix alignment of ref picker, breadcrumb and buttons. | Douwe Maan | 2015-05-12 | 4 | -14/+3 |
| | | | | |||||
| * | | | Add icons to more tabs. | Douwe Maan | 2015-05-12 | 2 | -1/+8 |
| | |/ | |/| | |||||
* | | | Merge branch 'fix_migration' into 'master' | Valery Sizov | 2015-05-12 | 2 | -2/+9 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make migrations reversible /cc @jacobvosmaer @marin See merge request !622 | ||||
| * | | | Make migrations reversiblefix_migration | Valery Sizov | 2015-05-07 | 2 | -2/+9 |
| | | | | |||||
* | | | | Merge branch '2fa' into 'master' | Dmitriy Zaporozhets | 2015-05-12 | 26 | -10/+566 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two-factor authentication Implement's Two-factor authentication using tokens. - [X] Authentication logic - [X] Enable/disable 2FA feature - [x] Make 2-step login process if 2FA enabled - [x] Backup codes - [x] Backup code removed after being used - [x] Check backup codes for mysql db (mention mysql limitation if applied) - [x] Add tests - [x] Test if https://github.com/tinfoil/devise-two-factor#disabling-automatic-login-after-password-resets applies, and address if so - [x] Wait for fixed version of `attr_encrypted` or fork and use forked version - https://github.com/attr-encrypted/attr_encrypted/issues/155 Fixes http://feedback.gitlab.com/forums/176466-general/suggestions/4516817-implement-two-factor-authentication-2fa See merge request !474 | ||||
| * | | | | Bump attr_encrypted | Dmitriy Zaporozhets | 2015-05-12 | 2 | -10/+4 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
| * | | | | Handle password reset for users with 2FA enabled2fa | Robert Speicher | 2015-05-11 | 3 | -2/+76 |
| | | | | | |||||
| * | | | | Remove extra `devise` call that got added by accident | Robert Speicher | 2015-05-10 | 1 | -3/+0 |
| | | | | | |||||
| * | | | | Remove unnecessary User#login accessor override | Robert Speicher | 2015-05-09 | 1 | -5/+0 |
| | | | | | |||||
| * | | | | Add CHANGELOG entry | Robert Speicher | 2015-05-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Clear all 2FA-related fields when user disables the feature | Robert Speicher | 2015-05-09 | 2 | -2/+133 |
| | | | | | |||||
| * | | | | Prevent "You are already signed in." error message upon 2FA login | Robert Speicher | 2015-05-09 | 2 | -3/+26 |
| | | | | | |||||
| * | | | | Move "invalid 2FA code" error message to the flash | Robert Speicher | 2015-05-09 | 2 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This makes it consistent with the Invalid email/password error message from the previous step. | ||||
| * | | | | Autofocus the pin field on 2FA enable form | Robert Speicher | 2015-05-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add otp_attempt to filtered parameters | Robert Speicher | 2015-05-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Generate 10 2FA backup codes instead of the default of 5 | Robert Speicher | 2015-05-09 | 2 | -3/+3 |
| | | | | | |||||
| * | | | | Add :two_factor trait to User factory | Robert Speicher | 2015-05-09 | 2 | -8/+11 |
| | | | | | |||||
| * | | | | Fix 2FA backup code removal | Robert Speicher | 2015-05-09 | 2 | -7/+8 |
| | | | | | |||||
| * | | | | Make otp_backup_codes a text field | Robert Speicher | 2015-05-09 | 2 | -1/+6 |
| | | | | | |||||
| * | | | | Quotes, icon helper in profiles/accounts/show view | Robert Speicher | 2015-05-09 | 1 | -5/+5 |
| | | | | | |||||
| * | | | | Re-annotate User model | Robert Speicher | 2015-05-09 | 2 | -0/+10 |
| | | | | | |||||
| * | | | | Add a hint on login form about using a recovery code | Robert Speicher | 2015-05-09 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Improve copy for enabling 2FA | Robert Speicher | 2015-05-09 | 2 | -4/+5 |
| | | | | | |||||
| * | | | | Update copy for generating new recovery codes | Robert Speicher | 2015-05-09 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Refactor SessionsController | Robert Speicher | 2015-05-09 | 3 | -23/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Also adds test case for providing an invalid 2FA code and then a valid one without re-entering username and password. | ||||
| * | | | | Fix nav and layout for TwoFactorAuthsController | Robert Speicher | 2015-05-09 | 2 | -2/+2 |
| | | | | | |||||
| * | | | | Add page titles for two_factor_auths views | Robert Speicher | 2015-05-09 | 3 | -0/+6 |
| | | | | | |||||
| * | | | | Make two-factor login work and add a feature spec | Robert Speicher | 2015-05-09 | 2 | -7/+106 |
| | | | | |