Stan Hu
df2bb60f90
Add support for destroying project milestones
...
Closes https://github.com/gitlabhq/gitlabhq/issues/1504
2015-07-17 06:54:32 -07:00
Robert Speicher
f6503f71f9
Remove disableButtonIf[Any]EmptyField calls from forms
...
These have been replaced by the "requiresInput" behavior.
2015-06-26 22:07:59 -04:00
Dmitriy Zaporozhets
342d553709
Rename abilities to correspond contoller/model action names
...
write_ was renamed to create_
modify_ was renamed to update_
So now in update action we have next code
def create
can?(current_user, :create_issue, @issue)
end
def update
can?(current_user, :update_issue, @issue)
end
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-26 15:55:56 +02:00
Dmitriy Zaporozhets
eb972b71d0
Fix closed merge request scope at milestone page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 12:10:52 +02:00
Dmitriy Zaporozhets
7524d7c082
Revert merge request states renaming
...
Replaced:
* "Accepted" with "Merged"
* "Rejected" with "Closed"
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-19 17:09:50 +02:00
Douwe Maan
4ae67fcaef
Show warning when a comment will add 10 or more people to the discussion.
2015-06-05 12:07:13 +02:00
Douwe Maan
511791014e
Fix milestone "Browse Issues" button.
2015-05-27 14:23:04 +02:00
Dmitriy Zaporozhets
9eec0d5436
Merge branch 'accepted-rejected-mrs' into 'master'
...
Add Accepted and Rejected tabs to MR lists.
Before, MRs were referred to as Merged or Closed, but the Merge button on the MR page read "Accept Merge Request", the activity feed even read "X accepted merge request Y", and the Closed tab on the MR index included both Merged _and_ Closed MRs. I've changed every occurrence to consistently refer to MRs as either Accepted or Rejected, which is less technical and more clearly two opposites.



Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2201 .
See merge request !702
2015-05-27 11:40:36 +00:00
Stan Hu
9bcd36396b
Refactor permission checks to use can? instead of issues_enabled and merge_requests_enabled
2015-05-25 16:51:04 -07:00
Douwe Maan
ebe9c89082
Consistently refer to MRs as either Accepted or Rejected.
2015-05-25 17:01:14 +02:00
Stan Hu
a7d8a7bd3d
Disable "New Issue" and "New Merge Request" buttons when features are disabled in project settings
...
Closes #1676
2015-05-25 06:16:33 -04:00
Douwe Maan
ae09c2a6db
Capitalize "X" in "New X".
2015-04-30 21:33:02 +02:00
Douwe Maan
26ad250989
Add a page title to every page.
2015-04-30 19:12:15 +02:00
Jason Blanchard
f543f1c3dd
Remove truncation from issue titles on milestone page
2015-04-14 09:17:57 -04:00
Sven Strickroth
57c2a9f03d
Explicitly set image alt to prevent graphical glitches
...
Rails image_tag sets the alt-attribute to the filename which causes graphical glitches if the file could not be loaded.
Fixes https://github.com/gitlabhq/gitlabhq/issues/6036 .
Signed-off-by: Sven Strickroth <email@cs-ware.de >
2015-04-13 21:07:42 +02:00
Dmitriy Zaporozhets
6a790b7963
Better looking milestone lists
2015-04-01 02:45:47 +03:00
Marin Jankovski
bbf6019dd8
Milestones and labels can be used even when issues are disabled.
2015-03-24 15:18:27 -07:00
Dmitriy Zaporozhets
30ca451fd4
Refactor buttons
2015-03-14 00:29:32 -07:00
Dmitriy Zaporozhets
c6b2421127
Render milestone progress with one helper method
2015-03-09 15:20:32 -07:00
Douwe Maan
be94e13552
Add assignee icon to milestone merge requests.
2015-03-06 14:08:40 +01:00
Dmitriy Zaporozhets
1da71cc520
Introduce shortcuts for routing helpers
2015-02-25 19:34:16 -08:00
Douwe Maan
0283fff591
Merge branch 'master' into extend_markdown_upload
...
# Conflicts:
# app/views/projects/issues/_form.html.haml
# app/views/projects/merge_requests/_form.html.haml
# app/views/projects/merge_requests/_new_submit.html.haml
# app/views/projects/milestones/_form.html.haml
# app/views/projects/notes/_form.html.haml
# app/views/projects/wikis/_form.html.haml
# config/routes.rb
# spec/controllers/projects_controller_spec.rb
2015-02-24 14:54:39 +01:00
Douwe Maan
218283b368
Merge branch 'extend_markdown_upload' into generic-uploads
...
# Conflicts:
# app/controllers/files_controller.rb
# app/controllers/projects/uploads_controller.rb
# app/uploaders/attachment_uploader.rb
2015-02-20 15:37:37 +01:00
Vinnie Okada
9e9ce95d62
Merge branch 'master' into rails-4.1.9
...
Conflicts:
app/views/dashboard/_project.html.haml
app/views/events/event/_common.html.haml
app/views/explore/projects/_project.html.haml
app/views/groups/_projects.html.haml
app/views/projects/_home_panel.html.haml
app/views/projects/_issues_nav.html.haml
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_issues.html.haml
app/views/projects/issues/show.html.haml
app/views/projects/merge_requests/_discussion.html.haml
app/views/projects/merge_requests/_show.html.haml
app/views/projects/milestones/index.html.haml
app/views/projects/notes/_edit_form.html.haml
app/views/shared/_issuable_filter.html.haml
2015-02-19 20:53:05 -07:00
Dmitriy Zaporozhets
4511bc1f3d
Prettify milestones page
2015-02-19 15:56:23 -08:00
Dmitriy Zaporozhets
6177256033
Move labels/milestones tabs to side navigation
2015-02-19 15:46:48 -08:00
Douwe Maan
d2ebdf664b
Refactor.
2015-02-17 22:23:31 +01:00
Hannes Rosenögger and Douwe Maan
9bf8480b4a
Generalize the image upload in markdown
...
This commit generalizes the image upload via drag and drop so it supports all files.
It also adds access control for these files.
2015-02-17 22:20:44 +01:00
Douwe Maan
080449f8af
Make sure Markdown previews always use the same styling as the eventual destination.
2015-02-17 17:58:08 +01:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
4165426725
Restyle and refactor milestones filter
2015-01-06 12:32:04 -08:00
Dmitriy Zaporozhets
4adc033761
Improve UI for group milestone and project milestone pages
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-27 16:03:02 +02:00
Dmitriy Zaporozhets
e45e6ba2c3
Merge branch 'master' into sidebar-nav
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/views/layouts/group.html.haml
2014-12-21 01:20:51 +02:00
Dmitriy Zaporozhets
b667a45942
Restyle issue/mr/milestone to new layout
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-18 17:22:10 +02:00
Vinnie Okada
742e6eeed2
Merge branch 'upstream-master' into markdown-preview
...
Conflicts:
spec/routing/project_routing_spec.rb
2014-12-07 20:25:58 -07:00
Valery Sizov
e683d9c087
Possibility to create Milestones or Labels when Issues are disabled
2014-11-20 18:18:16 +02:00
Vinnie Okada
5700842ba8
Add Markdown preview to more forms
...
Enable Markdown previews when creating and editing issues, merge
requests, and milestones, and when editing notes.
2014-10-15 23:52:33 -05:00
Sullivan SENECHAL
5d8be4438a
Upgrade to Font Awesome v4.2
2014-10-03 12:19:24 +02:00
Robert Schilling
093c2c6a01
Apply ZEN mode to all GFM forms
2014-10-02 09:59:01 +02:00
Robert Schilling
dae670bd69
Search for 'div-dropzone' correctly
2014-10-01 17:30:40 +02:00
Robert Schilling
68c87a2de3
Show percentage status on milestone detail page, fixes #485
2014-08-17 21:15:22 +02:00
Gregoire Daussin
cc6edc416e
Fix milestones description's max length
2014-07-15 09:34:05 +02:00
Dmitriy Zaporozhets
3decd46269
Better UI for closed/reopen buttons
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-02 20:05:36 +03:00
Marin Jankovski
815fbbbf91
Add title html option to issue and mr links in milestones to show title on hover.
2014-07-01 14:16:37 +02:00
Dmitriy Zaporozhets
8d240fb0e7
Show/hide issue assignee avatar depends on drag-n-drop column in milestone view
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-16 12:17:34 +03:00
Dmitriy Zaporozhets
dbb7610365
Merge branch 'responsive-sidebar' into 'master'
...
Responsive sidebar fixes
This fixes two major issues with the responsive sidebar
1. Overlapping content by the label:
The label and sidebar is now always on the right side of the screen. This makes it always easy to find (better UX) and prevents it from overlapping most content. Additionally, on xs screens, instead of the side-attached label, for some pages it will show an extra button in the head instead of a buttons that overlaps.
2. Pop up of sidebar on changing pages.
2014-06-15 06:02:12 +00:00
Job van der Voort
204fee4f41
move all sidebars to one side for improved UX; add button in head of projects/issues and milestones instead of tab on side of screen to prevent overlapping of content
2014-06-14 22:44:23 +02:00
Dmitriy Zaporozhets
1555146adf
Merge branch 'responsive-sidebar' into 'master'
...
Responsive sidebar
Puts the sidebar on the dashboard in a off-screen sidebar that can be called by pressing a button with a fixed position.
Any sidebar with the .responsive-sidebar class will follow this behavior. Button must be added manually.
2014-06-14 13:50:30 +00:00
Job van der Voort
9c843041fa
add responsive sidebar to issues, milestones and MRs
2014-06-14 14:32:41 +02:00
Dmitriy Zaporozhets
d3d0775acd
Exclude info rows from milestone sorting items
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 15:18:23 +03:00