Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-18Its time for 7.10.0.preDmitriy Zaporozhets
2015-03-17Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets
2015-03-17Merge branch 'last-deploy-key' into 'master'Dmitriy Zaporozhets
Delete deploy key when last connection to a project is destroyed. Addresses #1959. See merge request !1710
2015-03-17Merge branch 'issue_subscription' into 'master'Dmitriy Zaporozhets
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
2015-03-17Delete deploy key when last connection to a project is destroyed.Douwe Maan
2015-03-17Fix changelog.Douwe Maan
2015-03-17Merge branch 'atom-xhtml-squashed' into 'master'Douwe Maan
Fix invalid Atom feeds when using emoji, horizontal rules, or images This is a fix for issues #880, #723, #1113. Markdown must be rendered to XHTML, not HTML, when generating summary content for Atom feeds. Otherwise, content-less tags like *img* and *hr* are not terminated and make the Atom XML invalid. Such tags are generated when issue descriptions, merge request descriptions, comments, or commit messages use emoji, horizontal rules, or images. To pass this option through from the relevant Haml templates to the proper place in the `gfm()` method, a new method `gfm_with_options()` is introduced. It reuses the options dictionary passed to `markdown()` and interprets options `xhtml` and `parse_tasks` from it (the latter was a convenient replacement for `gfm_with_tasks()`). `xhtml` is already interpreted by Redcarpet::Render::HTML, but that alone was not sufficient, because the post-processing in `gfm()` would convert its XHTML tags back to HTML. I found no way of passing additional optional options to the existing `gfm()` method without requiring updates to existing callers and without getting in the way of the existing optional arguments, but maybe someone who knows more about Ruby than I can think of one. Thorough review appreciated since this is the first time I have used Ruby. See merge request !344
2015-03-17Revert "Merge branch 'backup-permissions' into 'master'"Dmitriy Zaporozhets
This reverts commit c42262b43b009af990e5769840391862d64a1c2d, reversing changes made to c6586b1283a94c8f08bc669f4d8a9384b263073e.
2015-03-17Merge branch 'backup-permissions' into 'master'Dmitriy Zaporozhets
Change permissions on backup files Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files. See #1894. Now the backup task recursively `chmod`s the `db/`, `uploads/`, and `repositories/` folders with 0700 permissions, and the tar file is created as 0600. cc @sytse See merge request !1703
2015-03-17Fix invalid Atom feeds when using emoji, horizontal rules, or images.Christian Walther
Fixes issues #880, #723, #1113: Markdown must be rendered to XHTML, not HTML, when generating summary content for Atom feeds. Otherwise, content-less tags like <img> and <hr>, generated when issue descriptions, merge request descriptions, comments, or commit messages use emoji, horizontal rules, or images, are not terminated and make the Atom XML invalid.
2015-03-16Merge branch 'post-receive-base64' into 'master'Dmitriy Zaporozhets
Prevent gitlab-shell character encoding issues by receiving its changes as raw data. Depends on gitlab/gitlab-shell!65. Fixes: - https://github.com/gitlabhq/gitlabhq/issues/7486 - https://gitlab.com/gitlab-org/gitlab-ce/issues/858 - https://gitlab.com/gitlab-org/gitlab-ce/issues/877 - https://gitlab.com/gitlab-org/gitlab-ce/issues/965 See merge request !1701
2015-03-16Merge branch 'fix-restricted-visibility' into 'master'Dmitriy Zaporozhets
Restricted visibility levels - bug fix and new feature This allows admin users to override restricted visibility settings when creating and updating projects and snippets, and moves the restricted visibility configuration from gitlab.yml to the web UI. See #1903. ## Move configuration location I added a new section to the application settings page for restricted visibility levels. Each level has a checkbox, styled with Bootstrap to look like a toggle button. A checked box means that the level is restricted. I added a glowing text shadow and changed the background color for checked buttons because the default styles made it hard to distinguish between checked and unchecked. This image shows the new section with the "Public" box checked: ![restricted_visibility_settings](https://dev.gitlab.org/Okada/gitlabhq/uploads/629562e4313f89b795e81c3bb0f95893/restricted_visibility_settings.png) ## Allow admins to override To allow admin users to override the restricted visibility levels, I had to remove the `visibility_level` validation from the `Project` class. The model doesn't know about the `current_user`, which should determine whether the restrictions can be overridden. We could use the creator in the validation, but that wouldn't work correctly for projects where a non-admin user is the creator and an admin tries to change the project to a restricted visibility level. The `Project::UpdateService` and `Project::CreateService` classes already had code to determine whether the current user is allowed to use a given visibility level; now all visibility level validation is done in those classes. Currently, when a non-admin tries to create or update a project using a restricted level, these classes silently set the visibility level to the global default (create) or the project's existing value (update). I changed this behavior to be more like an Active Model validation, where using a restricted level causes the entire request to be rejected. Project and personal snippets didn't have service classes, and restricted visibility levels weren't being enforced in the model or the controllers. The UI disabled radio buttons for restricted levels, but that wouldn't be difficult to circumvent. I created the `CreateSnippetService` and `UpdateSnippetService` classes to do the same restricted visibility check that the project classes do. And since I was dealing with snippet visibility levels, I updated the API endpoints for project snippets to allow users to set and update the visibility level. ## TODO * [x] Add more tests for restricted visibility functionality cc @sytse @dzaporozhets See merge request !1655
2015-03-16Fix typo in CHANGELOG and add creditStan Hu
2015-03-16Merge branch 'add-hipchat-doc' into 'master'Hannes Rosenögger
Add documentation for HipChat integration This was a source of confusion here: https://github.com/gitlabhq/gitlabhq/issues/7373 See merge request !393
2015-03-16Add HipChat integration documentation as this was a source of confusionStan Hu
2015-03-16Let the server fix unconfigured gitZeger-Jan van de Weg
2015-03-16update changelogValery Sizov
2015-03-15Change permissions on backup filesVinnie Okada
Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files.
2015-03-15Prevent gitlab-shell character encoding issues by receiving its changes as ↵Douwe Maan
raw data.
2015-03-15Add changelog item.Douwe Maan
2015-03-14Use pre-wrap for diff code in discussion viewVinnie Okada
2015-03-14Merge branch 'master' into fix-restricted-visibilityVinnie Okada
Conflicts: db/schema.rb
2015-03-14Update changelog with change to unicorn workers number recommendation.Marin Jankovski
2015-03-14Merge branch 'master' of github.com:gitlabhq/gitlabhqMarin Jankovski
2015-03-14Merge branch 'ldap-unblock-user' into 'master'Dmitriy Zaporozhets
Unblock user if they were unblocked in AD. Fixes problem with !1687. See merge request !1694
2015-03-14Unblock user if they were unblocked in AD.Douwe Maan
2015-03-13Fix typo in CHANGELOG.mdAndrea Ruggiero
2015-03-13Merge branch 'tag-branch-hooks' into 'master'Dmitriy Zaporozhets
Execute hooks and services when branch or tag is created or deleted through web interface. Fixes #2095. Split up into commits to make it easier to see why what was changed :) See merge request !1692
2015-03-13Merge branch 'ldap-form' into 'master'Dmitriy Zaporozhets
Use custom LDAP label in LDAP signin form. Addresses https://dev.gitlab.org/gitlab/gitlab-ee/issues/238 ![Screen_Shot_2015-03-13_at_15.43.19](https://dev.gitlab.org/gitlab/gitlabhq/uploads/e9f0d1ed7238701ecdbaa54d4f538d89/Screen_Shot_2015-03-13_at_15.43.19.png) See merge request !1693
2015-03-13Merge branch 'import-options-dup' into 'master'Dmitriy Zaporozhets
Fix import pages not working after first load. Fixes #2102. `OAuth2::Client` was deleting keys from the options hash in place, which made it incomplete the next time the import page was loaded. We dup it so this no longer happens. See merge request !1691
2015-03-13Add changelog item.Douwe Maan
2015-03-13Update documentation for object_kind field in Webhook push and tag push WebhooksStan Hu
2015-03-13Use custom LDAP label in LDAP signin form.Douwe Maan
2015-03-13Fix import pages not working after first load.Douwe Maan
2015-03-13Merge branch 'master' into mr-filter-by-titleDmitriy Zaporozhets
Conflicts: app/controllers/projects/merge_requests_controller.rb
2015-03-13Implement merge requests searchDmitriy Zaporozhets
It is same search like we have at issues page. It allows to quickly filter merge requests based on title or desription. I copy-pasted some js code from Issues.js. In future search (filtering) logic should be refactoed into one class for merge requests and issues
2015-03-12Block user if he/she was blocked in Active DirectoryDmitriy Zaporozhets
2015-03-12Merge branch 'fix_email_images' into 'master'Douwe Maan
Fix email images ## Dependencies: This MR Depends on gitlab-org/html-pipeline-gitlab!4 being **merged and published** to rubygems.org ## What does this MR do? This MR fixes the broken images in emails that occured scince we introduced access control for all attachments in 7.8. The access control lead to broken images, because the user usually isn't logged into gitlab when opening the email in his mail client. The solution to fix this, is to replace all images that were uploaded to gitlab as attachemnts with inline images in emails. I only added one test for images in notes, because all notes share the same view. If it works fine for a note on a commit, then it'll also work the same for notes on a MR or on issues. @DouweM can you review this please? Closes #1161 See merge request !373
2015-03-12Add items into changelogDmitriy Zaporozhets
2015-03-12Merge branch 'github-org-repos' into 'master'Dmitriy Zaporozhets
Fix missing GitHub organisation repositories on import page. Private repositories belonging to organizations rather than users can't be imported because `client.repos(org.login)` was requesting `/users/:org_login/repos` (which only returns public org repo's), while we need `/orgs/:org_login/repos` (which includes both public and private). The `client.org_repos` method does this. cc @marin This is a bug in 7.8.x, but I'm not sure if it needs a minor release now or if it can go in 7.9. See merge request !1683
2015-03-12Merge branch 'emoji_cheatsheet_fix' into 'master'Marin Jankovski
Emoji cheatsheet fix Worked through the help text for emoji to properly reference and use EmojiOne tags. Removed the ninja and reworked the first sentence a bit, as ninja isn't supported by EmojiOne. Should resolve ticket #953. See merge request !384
2015-03-12Updated help documentation to properly reference EmojiOne. [ci skip]Cameron Banga
2015-03-12Fix missing GitHub organisation repositories on import page.Douwe Maan
2015-03-12replace images in emails with inline imagesHannes Rosenögger
This adds the functionality of replacing all images that were uploaded to gitlab with inline images(base64) in emails. This change fixes the broken images in emails that 7.8 introduced
2015-03-12Merge branch 'markdown-smb-link' into 'master'Dmitriy Zaporozhets
Allow smb:// links in Markdown text. As requested by Sam McLeod at https://gitlab.com/gitlab-org/gitlab-ce/issues/1184 See merge request !1669
2015-03-12Fix tests for emojioneDmitriy Zaporozhets
2015-03-11Update changelog for 7.8.4.Marin Jankovski
2015-03-11Merge branch 'fix-code-preview' into 'master'Marin Jankovski
Fix code preview theme setting for comments, issues, merge requests, and snippets User color scheme was not being used: default white color scheme was always chosen. Also, default background for code in notes was always overriding the user color scheme. Closes #1139 See merge request !357
2015-03-11Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets
2015-03-11Merge branch 'ldap-filter-eq' into 'master'Dmitriy Zaporozhets
Escape wildcards when searching LDAP by username. Addresses https://dev.gitlab.org/gitlab/gitlabhq/issues/2086. Also see https://dev.gitlab.org/gitlab/gitlab-ee/merge_requests/344 and https://dev.gitlab.org/gitlab/omniauth-ldap/merge_requests/2. See merge request !1644