summaryrefslogtreecommitdiff
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix-label-color-input' into 'master'Dmitriy Zaporozhets2015-04-201-0/+2
| | | | | | | | | | Fix label color input. Because `value` was set, every label color would render as purple in the form. Introduced by 83b5a9ae2bfb594bcb5a9a931d6781ba05c9b9ef between 7.9 and 7.10, so no changelog item. See merge request !538
* Merge branch 'google-code-import-performance' into 'master'Dmitriy Zaporozhets2015-04-172-5/+22
| | | | | | | | Decrease memory use and increase performance of Google Code importer. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2241. See merge request !536
* Fix username period migration to preserve uniqueness of names and paths.Douwe Maan2015-04-171-0/+1
|
* Fix merge request comments on files with multiple commitsDominik Sander2015-04-151-1/+5
| | | | | | | | | | | | | | | | Having a merge request with a comments on a line which is then changed in a later commit prevented new comments from properly showing up in the merge request show page. * `Note#set_diff` do not use stored the diff when creating a new note in merge requests (we can not be sure the diff did not changed since the last comment on that line) * Do not rely just on `outdated?` of the first note when displaying comments of a MR in the discussion tab, but partition the active/outdated notes and display them all * In the inline changes tab just select the active notes, so an outdated note does not prevent an active one from being rendered * Just show active comments in the side-by-side changes tab
* Merge branch 'sstanovnik-openssh_fix' into 'master'Dmitriy Zaporozhets2015-04-151-16/+4
|\ | | | | | | | | | | | | | | | | | | | | | | Fix generating SSH key fingerprints with OpenSSH 6.8. Replaces https://github.com/gitlabhq/gitlabhq/pull/9008. Fixes gitlab-org/gitlab-ce#1289. cc @jacobvosmaer See merge request !519
| * Refactor key fingerprint generation.Douwe Maan2015-04-141-40/+4
| |
| * The new fingerprint format wis incompatible with the previous regex.Sašo Stanovnik2015-03-241-4/+11
| |
| * Use 2 spaces for indentation, not 4.Sašo Stanovnik2015-03-241-1/+1
| |
| * Fixed generating SSH key fingerprints in OpenSSH 6.8.Sašo Stanovnik2015-03-241-1/+18
| |
* | Merge branch 'emailsonpush-hellip' into 'master'Dmitriy Zaporozhets2015-04-151-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use HTML ellipsis in EmailsOnPush subject truncated commit message. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2229. Since the page is encoded as UTF-8, we don't need HTML entities anymore and can just use the character. See merge request !521
| * | Don't use HTML ellipsis in EmailsOnPush subject truncated commit message.emailsonpush-hellipDouwe Maan2015-04-141-2/+2
| | |
* | | Merge branch 'invitation' into 'master'Dmitriy Zaporozhets2015-04-156-66/+222
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow users to be invited. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2058. The "Add members" panes for both Group Members and Project Members have gained a line of text by the People field. ![Screen_Shot_2015-04-10_at_14.14.32](https://gitlab.com/gitlab-org/gitlab-ce/uploads/fe990e65eccd9203d7324b492941362b/Screen_Shot_2015-04-10_at_14.14.32.png) Entering an email address that is not already a member will give you the option to invite them. ![Screen_Shot_2015-04-10_at_14.14.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/d6b0d4571ea90f2a2e4af8f5b336e8e1/Screen_Shot_2015-04-10_at_14.14.48.png) Choosing the option will add them to the People field. This works the right way (TM) in combination with adding existing users as members. ![Screen_Shot_2015-04-10_at_14.15.09](https://gitlab.com/gitlab-org/gitlab-ce/uploads/a618e5ec292d79578b16400dca6d4cfe/Screen_Shot_2015-04-10_at_14.15.09.png) The invited member will be shown in the members list as such. The access level can be changed, and the invite can be revoked by deleting the member. ![Screen_Shot_2015-04-10_at_14.15.19](https://gitlab.com/gitlab-org/gitlab-ce/uploads/3695b9a6778d367b275115747579b46e/Screen_Shot_2015-04-10_at_14.15.19.png) The invited user will receive an email with an "Accept invitation" link. ![Screen_Shot_2015-04-10_at_14.17.52](https://gitlab.com/gitlab-org/gitlab-ce/uploads/730121888153117d83c3cd0e4f5c90f6/Screen_Shot_2015-04-10_at_14.17.52.png) If they're not already logged in, clicking this link will redirect them to the sign in/up page with a helpful notice. ![Screen_Shot_2015-04-10_at_14.18.12](https://gitlab.com/gitlab-org/gitlab-ce/uploads/1a26a5fa13321e7ef77ed8b538c8557d/Screen_Shot_2015-04-10_at_14.18.12.png) Signing in or signing up will redirect them back to the invite detail page, where they can actually accept the invitation, which will update the member record in question to point to the user in question. ![Screen_Shot_2015-04-10_at_14.18.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/7ac33085463a99b8cfa6baa13bfa1235/Screen_Shot_2015-04-10_at_14.18.48.png) Accepting the invitation will redirect them to the group (or project) with an appropriate notice. ![Screen_Shot_2015-04-10_at_14.18.58](https://gitlab.com/gitlab-org/gitlab-ce/uploads/7bf02a2e3bea589a11df401c23e68648/Screen_Shot_2015-04-10_at_14.18.58.png) As currently, they will also receive this information by email. ![Screen_Shot_2015-04-10_at_14.24.00](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b44a342068433a268c0a06ed9e791ffa/Screen_Shot_2015-04-10_at_14.24.00.png) At the same time, the person who initially invited the email address is sent a notification as well, so they know of the new member and to tell them what name the user signed up with. ![Screen_Shot_2015-04-10_at_14.19.07](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b29fea128186f938ec76bd7dec016b83/Screen_Shot_2015-04-10_at_14.19.07.png) The member row on the Members page will now have been updated with the new user account. ![Screen_Shot_2015-04-10_at_14.19.23](https://gitlab.com/gitlab-org/gitlab-ce/uploads/cf503d3d1679614e03acec2e946a28c3/Screen_Shot_2015-04-10_at_14.19.23.png) See merge request !500
| * | | Add spinach tests around accepting and declining invitations.Douwe Maan2015-04-141-0/+2
| | | |
| * | | Follow newline guidelines.Douwe Maan2015-04-141-0/+1
| | | |
| * | | Remove duplication between Group and ProjectMember.Douwe Maan2015-04-143-39/+37
| | | |
| * | | Let invites be declined.Douwe Maan2015-04-143-0/+26
| | | |
| * | | Correctly import invited members.Douwe Maan2015-04-141-1/+1
| | | |
| * | | Let members be invited from Add members pane.Douwe Maan2015-04-142-6/+36
| | | |
| * | | Add emails around invitation.Douwe Maan2015-04-142-0/+24
| | | |
| * | | Add invites controller.Douwe Maan2015-04-141-0/+7
| | | |
| * | | Add invite logic to Member.Douwe Maan2015-04-143-38/+100
| | | |
| * | | Track who created a group or project member.Douwe Maan2015-04-144-23/+29
| | | |
| * | | Rename manage_group ability to admin_group for consistency with project.Douwe Maan2015-04-141-6/+6
| | | |
* | | | Merge branch 'fix-stuck-mr' into 'master'Douwe Maan2015-04-151-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix stuck mr If `locked?` & `locked_at.nil?` is nil return that the merge has been locked long enough and those are old merges stuck in locked state. Fixes #348. Related to 6487419364fa9c179e24028d85b2be10d574067f. Replaces !517. /cc @DouweM See merge request !526
| * | | | fix stuck mrBen Bodenmiller2015-04-141-1/+3
| | | | | | | | | | | | | | | | | | | | fixes #348. related to 6487419364fa9c179e24028d85b2be10d574067f.
* | | | | Merge branch 'google-code-import' into 'master'Douwe Maan2015-04-151-0/+9
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import projects from Google Code. Resolves #1257. Issue import logic almost entirely taken from https://gitlab.com/o9000/google-code-to-gitlab ( :hearts: @o9000). ### To do - [x] List projects from Google Takeout file - [x] Import Git repository - [x] Import issues - [x] Link to correct attachment URL (https://code.google.com/p/support-tools/issues/detail?id=50) - [x] Handle deleted attachments - [x] Handle blockedOn attribute - [x] Add directions on how to get data from Google Takeout ### Import instructions ![Screen_Shot_2015-04-03_at_16.02.21](https://gitlab.com/gitlab-org/gitlab-ce/uploads/4a87038035fbad9441cf613b8cdcc690/Screen_Shot_2015-04-03_at_16.02.21.png) ### Imported issue ![Screen_Shot_2015-04-03_at_16.25.49](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b2c2eaf5ecfcf57b3c48511eb5d26db4/Screen_Shot_2015-04-03_at_16.25.49.png) See merge request !471
| * | | | Allow projects to be imported from Google Code.Douwe Maan2015-04-031-0/+9
| | | | |
* | | | | Allow user to choose which email to be publicSenorsen2015-04-141-0/+9
| |_|/ / |/| | | | | | | | | | | | | | | This commit allows user to show one of their emails in profile page, or don't show email in this page.
* | | | Revert "Merge branch 'fix-stuck-mr' into 'master'"Douwe Maan2015-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 79b4d0b0c0682fc31d794d8b42d02b3d1bb5b9dc, reversing changes made to a1e147ce223ee52066e7f0ce77ece82eb2dc6bbe.
* | | | fix stuck MRBen Bodenmiller2015-04-141-1/+1
| |/ / |/| | | | | | | | fixes #348. related to 6487419364fa9c179e24028d85b2be10d574067f.
* | | Merge branch 'ldap_migration'Dmitriy Zaporozhets2015-04-131-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: db/schema.rb
| * | | fix ldap identitiesValery Sizov2015-04-111-0/+1
| | | |
* | | | Merge branch 'reference-access-control' into 'master'Dmitriy Zaporozhets2015-04-134-35/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only allow users to reference groups, projects, issues, MRs, commits they have access to. Addresses https://dev.gitlab.org/gitlab/gitlabhq/issues/2183. See merge request !1742
| * | | | Refactor ClosingIssueExtractor.Douwe Maan2015-04-032-3/+3
| | | | |
| * | | | Fix errors.Douwe Maan2015-04-021-1/+1
| | | | |
| * | | | Only allow users to cross-reference and close issues they have access to.Douwe Maan2015-04-023-8/+8
| | | | |
| * | | | Only allow user to see participants from groups they have access to.Douwe Maan2015-04-022-6/+6
| | | | |
| * | | | Add Commit#author and #committer.Douwe Maan2015-04-021-0/+8
| | | | |
| * | | | Slightly refactor getting note notification recipients.Douwe Maan2015-04-021-1/+1
| | | | |
| * | | | Refactor Mentionable mentioned users to use ReferenceExtractor.Douwe Maan2015-04-021-17/+6
| | | | |
| * | | | Slightly refactor ReferenceExtractor.Douwe Maan2015-04-021-5/+3
| | | | |
* | | | | Merge pull request #9104 from jdsn/fix-issue9098-clean_pathDmitriy Zaporozhets2015-04-131-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Fix issue9098 clean path
| * | | | | clean_path should drop all leading dashes, not just oneJ. Daniel Schmidt2015-04-081-1/+1
| | | | | |
| * | | | | clean_path should drop all trailing dots, not just oneJ. Daniel Schmidt2015-04-081-1/+1
| | | | | |
| * | | | | clean_path should not drop the last characterJ. Daniel Schmidt2015-04-081-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | Fixes https://github.com/gitlabhq/gitlabhq/issues/9098
* | | | | Merge branch 'public-deploy-keys' into 'master'Dmitriy Zaporozhets2015-04-133-2/+30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow admin to create public deploy keys that are accessible to any project. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/1774. Project settings: ![Screen_Shot_2015-03-27_at_14.46.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/01799ff912671ba6db3f828ea1aca1a6/Screen_Shot_2015-03-27_at_14.46.48.png) The "Public deploy keys" section is only shown when there are any. If there are public deploy keys but no project deploy keys, only public deploy keys are shown. If there are no public deploy keys and no project deploy keys, the current "Deploy keys from projects you have access to will be displayed here" placeholder is shown. The list of projects below the public key has been changed to only show projects the user has access to. "Public deploy key" seems to be repeated on the left, but the first is just the title. The label is always visible for public deploy keys. Admin index: ![Screen_Shot_2015-03-27_at_14.47.06](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ea889d274cfd3f0694d47d602f4f3e94/Screen_Shot_2015-03-27_at_14.47.06.png) Admin detail page: ![Screen_Shot_2015-03-27_at_14.47.16](https://gitlab.com/gitlab-org/gitlab-ce/uploads/8c8475e05bf6b497da3b9f1bc102329f/Screen_Shot_2015-03-27_at_14.47.16.png) Projects using the deploy key are listed on the left and can be disabled easily. See merge request !469
| * | | | | Clean up code.Douwe Maan2015-04-032-5/+14
| | | | | |
| * | | | | Allow admin to create public deploy keys that are accessible to any project.Douwe Maan2015-04-033-2/+21
| |/ / / /
* | | | | Merge branch 'arbitrary-local-repo-import' into 'master'Dmitriy Zaporozhets2015-04-126-6/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent arbitary local repos from being imported. Fixes gitlab/gitlab-ee#263. See merge request !1763
| * | | | | Don't use URI.regexp to validate since it doens't have start/end anchors.Douwe Maan2015-04-115-5/+5
| | | | | |