- 05 Dec, 2015 1 commit
-
-
Stan Hu authored
Two issues: 1. The constraints in the resources were incorrect. Here's what it was before: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` In this case, id is actually the title of the milestone, which can be anything at the moment. After: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[^\/]+/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` 2. `parameterize` would strip all Unicode characters, leaving a blank string. Rails would report something like: ActionView::Template::Error (No route matches {:action=>"show", :controller=>"groups/milestones", :group_id=>#<Group id: 48, name: "ops-dev", path: "ops-dev", owner_id: nil, created_at: "2015-11-15 08:55:30", updated_at: "2015-12-02 06:23:26", type: "Group", description: "", avatar: "sha1.c71e73d51af1865c1bbbf6208e10044d46c9bb93.png", public: false>, :id=>"", :title=>"肯定不是中文的问题"} missing required keys: [:id]): This change uses the babosa library to create a better slug, which surprisingly isn't actually used by the global milestone controllers. Instead, they use the title passed as a query string for some reason. Closes https://github.com/gitlabhq/gitlabhq/issues/9881 Fix constraints
-
- 04 Dec, 2015 20 commits
-
-
Robert Speicher authored
Recognize issue/MR/snippet/commit links as references. Fixes #3744 and #3745 See merge request !1933
-
Robert Speicher authored
[ci skip]
-
Dmitriy Zaporozhets authored
Ensure "Remove Source Branch" button is not shown when branch is being deleted. Given the merging of the Merge Request happens in the background, sometimes when the client JS code reloads the page the source branch is not still gone. This fix appends a new query string parameter that is checked in the view before rendering the `Remove Source Branch` button. Closes #3583 See merge request !1897
-
Dmitriy Zaporozhets authored
Fix application settings cache not expiring after changes cache_key is an instance method that relies on updated_at. When changes were made, the time-dependent key was being used instead of X.application_setting.last. Closes #3609 See merge request !1972
-
Douwe Maan authored
Make current user the first user in assignee dropdown in issues detail page Closes #3679 See merge request !1913
-
Rubén Dávila authored
-
Stan Hu authored
Closes #3679
-
Stan Hu authored
cache_key is an instance method that relies on updated_at. When changes were made, the time-dependent key was being used instead of X.application_setting.last. Closes #3609
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
Add API endpoint to fetch merge request commits list Fixes #3748 See merge request !1984
-
Marin Jankovski authored
Fix mailers queue The `mailer` queue can be removed. See merge request !1975
-
Dmitriy Zaporozhets authored
* add note to Events API * add author section to Events API * add noteable_id and noteable_type to Notes API Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
UI: Sidebar & header tweaks and fixes Depends on !1953 See the commits for more details, the messages mostly speak for themselves. ![Logo](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ba088150165bb0a0aea1e894f3443f43/logo_tooltip.png) ![Sidebar](https://gitlab.com/gitlab-org/gitlab-ce/uploads/c1e8c09ac3bf489cdb9531eebea18c90/sidebar_tooltips.png) Fixes #2928, #2071, https://dev.gitlab.org/gitlab/gitlabhq/issues/2575, and https://dev.gitlab.org/gitlab/gitlabhq/issues/2573 See merge request !1958
-
Dmitriy Zaporozhets authored
UI: Improve form consistency Depends on !1953 See the commits for more details, the messages mostly speak for themselves. # Highlights ## Tag form Before: ![tag_before](/uploads/ee5ba6ef405749013f9e5717ebcf72f3/tag_before.png) After: ![tag_after](/uploads/71bb543553190d91c03fd706cce35923/tag_after.png) See merge request !1955
-
Dmitriy Zaporozhets authored
Fix background and padding of login and error pages Was gray, is white again. See merge request !1978
-
Achilleas Pipinellis authored
Correction of markdown in SSH docs Correction of broken markdown in SSH docs See merge request !1900
-
- 03 Dec, 2015 19 commits
-
-
Robert Speicher authored
Don't show project fork event as imported See merge request !1949
-
Robert Speicher authored
Add authorization to new branch/tag pages. The create actions have authorization, the new actions didn't, so no-one unauthorized could actually do anything, but it was wrong(TM). See merge request !1979
-
Robert Speicher authored
Update .ruby-version to 2.1.7 Fixes #3835 See merge request !1980
-
Kamil Trzciński authored
fixes #3263 slashes are replaced with two underscores See merge request !1981
-
Kevin Pankonen authored
-
Robert Schilling authored
-
Drew Blessing authored
Fixed invalid link on starred projects dashboard. Fixes #3468 The MR fixes 'Project' links on a dashboard pages headers. See the issue for the details. This MR does not include tests since the change is rather trivial and there are no (as far as I have seen) existing tests for checking links validity. In case tests are required I would like to get some guidance on the implementation first. At least I would like to know what should be covered: changed links, all header links, all navigation? See merge request !1926
-
Dmitriy Zaporozhets authored
UI: Use new style for wiki Depends on !1953 See the commits for more details, the messages mostly speak for themselves. # Highlights ## Wiki Page Before: ![Screen_Shot_2015-12-02_at_17.48.45](/uploads/aa53f768b8760f2e15d765e06d5ff773/Screen_Shot_2015-12-02_at_17.48.45.png) After: ![Screen_Shot_2015-12-02_at_17.48.16](/uploads/f8a376651aff9c8de82621578aaeb002/Screen_Shot_2015-12-02_at_17.48.16.png) ## Edit Wiki Page Before: ![Screen_Shot_2015-12-02_at_17.48.59](/uploads/c9ffddaca3156046b99cba11bdb0ea4f/Screen_Shot_2015-12-02_at_17.48.59.png) After: ![Screen_Shot_2015-12-02_at_17.48.26](/uploads/1aa62049f120c91436ed68fd7441c156/Screen_Shot_2015-12-02_at_17.48.26.png) See merge request !1967
-
Dmitriy Zaporozhets authored
UI: New Project form tweaks Depends on !1953 See the commits for more details, the messages mostly speak for themselves. Before: ![Screen_Shot_2015-12-02_at_17.43.23](/uploads/302e734f6796a85a9f4be9c2f494869d/Screen_Shot_2015-12-02_at_17.43.23.png) After: ![Screen_Shot_2015-12-02_at_17.44.11](/uploads/411980e53a4f87cf0a04e5bcb7329f82/Screen_Shot_2015-12-02_at_17.44.11.png) See merge request !1964
-
Dmitriy Zaporozhets authored
UI: Issuable filter tweaks Depends on !1953 See the commits for more details, the messages mostly speak for themselves. # Highlights ## Filter bar Before: ![filter_before](/uploads/b061be7521c6d5babb77c7d12e77f65e/filter_before.png) After: ![filter_after](/uploads/aadfbcd77caf1b49fde8ca6d781f1004/filter_after.png) ## Bulk edit bar Before: ![bulk_before](/uploads/849c98224e1f335c65c0de5616bbcdae/bulk_before.png) After: ![bulk_after](/uploads/185d29116663f9f663acab76d328096f/bulk_after.png) See merge request !1963
-
Dmitriy Zaporozhets authored
Touch project when toggling stars to update cache This is a fix for gitlab-org/gitlab-ce#3513. When a star toggle event happens, we touch project to clear cache key. This will trigger a new "updated_at" at the project model. If it's undesirable, please let me know and I will try to solve it in a different way. See merge request !1970
-
Anton Baklanov authored
Fixes #3468
-
Douwe Maan authored
-
Gabriel Mazetto authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-