summaryrefslogtreecommitdiff
path: root/db/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Version 7.10.0.rc5v7.10.0.rc5Job van der Voort2015-04-21143-1717/+0
|
* Merge branch 'revert-username-period' into 'master'Dmitriy Zaporozhets2015-04-201-76/+0
| | | | | | | | Revert disallowing usernames to end in period. cc @JobV @jacobvosmaer See merge request !545
* Merge branch 'google-code-import-performance' into 'master'Dmitriy Zaporozhets2015-04-172-0/+13
| | | | | | | | 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-5/+5
|
* Merge branch 'invitation' into 'master'Dmitriy Zaporozhets2015-04-151-0/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 invite data to member.Douwe Maan2015-04-141-0/+12
| |
* | Merge branch 'google-code-import' into 'master'Douwe Maan2015-04-151-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+5
| | |
* | | Remove unnecessary semicolonsJacob Vosmaer2015-04-141-2/+2
| | | | | | | | | | | | I could not help myself
* | | Use different queries for MySQL and PostgresJacob Vosmaer2015-04-141-1/+14
| | | | | | | | | | | | | | | I could not find a query that worked on both; these two queries look very similar and seem to do the same thing.
* | | Allow user to choose which email to be publicSenorsen2015-04-141-0/+5
| |/ |/| | | | | | | This commit allows user to show one of their emails in profile page, or don't show email in this page.
* | Merge branch 'ldap_migration'Dmitriy Zaporozhets2015-04-131-0/+32
|\ \ | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: db/schema.rb
| * | Also ldap_group_links where provider='ldap'Jacob Vosmaer2015-04-131-1/+1
| | |
| * | Merge branch 'ldap_migration' of dev.gitlab.org:gitlab/gitlabhq into ↵Jacob Vosmaer2015-04-131-1/+1
| |\ \ | | | | | | | | | | | | ldap_migration
| | * | Check for table instead of classDmitriy Zaporozhets2015-04-131-2/+2
| | | |
| * | | Make migration work if LDAP is disabledJacob Vosmaer2015-04-131-2/+7
| |/ /
| * | Try to explain what we are doingJacob Vosmaer2015-04-131-0/+9
| | |
| * | Change migration to SQLDmitriy Zaporozhets2015-04-131-4/+6
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | fix ldap identitiesValery Sizov2015-04-111-0/+16
| |/
* | Merge branch 'public-deploy-keys' into 'master'Dmitriy Zaporozhets2015-04-131-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Allow admin to create public deploy keys that are accessible to any project.Douwe Maan2015-04-031-0/+5
| |/
* | Add migration to rename BuildboxService to BuildkiteServiceRobert Speicher2015-04-111-0/+9
|/
* Merge branch 'configurable-attachment-size' into 'master'Douwe Maan2015-04-031-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support configurable attachment size in Application Settings page ### What does this MR do? This MR provides the ability to configure the maximum size of an attachment inside a note. A parameter has been added to the Application Settings page. ### Are there points in the code the reviewer needs to double check? What should be done with the legacy note attachment validation? I added code to make the validation work with the configurable setting. I could see an issue where an admin lowers the limit from 10 megabytes to 5 megabytes, which could cause an existing model to be invalid. ### Why was this MR needed? We often have attachments that exceed 10 MB, and it would be nice to be able to override the defaults. ### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)? See Issue #1258 ### Screenshots Before: ![Screen_Shot_2015-03-29_at_3.06.53_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/6013a1dbc8cf61a63e93744149937fa0/Screen_Shot_2015-03-29_at_3.06.53_PM.png) After: ![Screen_Shot_2015-03-29_at_3.12.34_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/f3518af7e8653ba40f0a3579456da6ad/Screen_Shot_2015-03-29_at_3.12.34_PM.png) See merge request !407
| * Support configurable attachment size via Application SettingsStan Hu2015-04-021-0/+5
| | | | | | | | | | | | Fix bug where error messages from Dropzone would not be displayed on the issues page Closes #1258
* | Fix migration SQL.username-periodDouwe Maan2015-03-311-1/+1
| |
* | Move files for moved namespaces.Douwe Maan2015-03-311-2/+39
| |
* | Don't allow username to end in period.Douwe Maan2015-03-271-0/+39
|/
* Add migration.unset-assigneeDouwe Maan2015-03-241-0/+6
|
* Add location to user profileDmitriy Zaporozhets2015-03-201-0/+5
|
* Merge branch 'issue_subscription' into 'master'Dmitriy Zaporozhets2015-03-171-0/+16
|\ | | | | | | | | | | | | | | | | | | | | | | Subscription to issue/mr Fixes #1911 and #1909 ![joxi_screenshot_1426601822159](https://dev.gitlab.org/gitlab/gitlabhq/uploads/53021bc5783271322ab2dfba7598eaa3/joxi_screenshot_1426601822159.png) ![joxi_screenshot_1426601836423](https://dev.gitlab.org/gitlab/gitlabhq/uploads/244ff360fbd6f30980f8dad699400814/joxi_screenshot_1426601836423.png) See merge request !1702
| * testsValery Sizov2015-03-161-1/+4
| |
| * rename table subscribe; make it polymorficValery Sizov2015-03-162-16/+13
| |
| * code folding fixValery Sizov2015-03-161-0/+4
| |
| * SubscriptionValery Sizov2015-03-151-0/+12
| |
* | Merge branch 'master' into fix-restricted-visibilityVinnie Okada2015-03-142-0/+30
|\ \ | |/ | | | | | | Conflicts: db/schema.rb
| * remove duplicationValery Sizov2015-03-102-2/+23
| |
| * Fix importers with OCCValery Sizov2015-03-101-0/+9
| |
* | Move restricted visibility settings to the UIVinnie Okada2015-03-071-0/+5
|/ | | | | Add checkboxes to the application settings page for restricted visibility levels, and remove those settings from gitlab.yml.
* Added comment notification events to HipChat and Slack services.Stan Hu2015-03-061-0/+5
| | | | | | | | | Supports four different event types all bundled under the "note" event type: - comments on a commit - comments on an issue - comments on a merge request - comments on a code snippet
* Issue #595: Support Slack notifications upon issue and merge request eventsStan Hu2015-03-031-0/+8
| | | | | | | | | | | 1) Adds a DB migration for all services to toggle on push, issue, and merge events. 2) Upon an issue or merge request event, fire service hooks. 3) Slack service supports custom messages for each of these events. Other services not supported at the moment. 4) Label merge request hooks with their corresponding actions.
* No need to block db:rollback for safe migrationDmitriy Zaporozhets2015-02-251-1/+0
|
* Merge branch 'fix-another-migration' into 'master'Dmitriy Zaporozhets2015-02-261-1/+1
|\ | | | | | | | | | | | | | | | | | | Prevent another migration from failing due to indirect use of model columns not yet created See https://github.com/gitlabhq/gitlabhq/issues/8817#issuecomment-76007077 cc @marin See merge request !1597
| * Prevent another migration from failing.Douwe Maan2015-02-251-1/+1
| |
* | Merge branch 'bitbucket-import'Dmitriy Zaporozhets2015-02-251-0/+6
|\ \ | |/ |/| | | | | | | Conflicts: app/views/import/gitorious/status.html.haml db/schema.rb
| * Add Bitbucket importer.Douwe Maan2015-02-241-0/+6
| |
* | Merge branch 'mwessel/gitlab-ce-set-last-activity-at' into 'master'Dmitriy Zaporozhets2015-02-241-0/+9
|\ \ | |/ |/| | | | | | | | | | | Give last_activity_at a default value so it will always be set For https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/345 See merge request !1589
| * Give last_activity_at a default value so it will always be setMarco Wessel2015-02-231-0/+9
| |
* | Make services migration more reliableDmitriy Zaporozhets2015-02-231-9/+15
|/
* Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets2015-02-191-19/+0
| | | | This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
* Fix broken access control and refactor avatar uploadHannes Rosenögger2015-02-161-0/+19
| | | | | | | | | | | This commit moves the note folder from /public/uploads/note to /uploads/note and changes the uploader accordingly. Now it's no longer possible to avoid the access control by modifing the url. The Avatar upload has been refactored to use an own uploader as well to cleanly seperate the two upload types.