Dmitriy Zaporozhets
6d679fc347
Fix closed merge request scope at milestone page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 15:44:19 +02:00
Dmitriy Zaporozhets
8c54237020
Revert merge request states renaming
...
Replaced:
* "Accepted" with "Merged"
* "Rejected" with "Closed"
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 15:44:06 +02:00
Stan Hu
f7efd26575
Disable changing of target branch in new merge request page when a branch has already been specified
...
Closes #1830
2015-06-20 05:46:20 -07:00
Dmitriy Zaporozhets
f92d6e2423
Merge branch 'remove-activity-feed-text' into 'master'
...
Remove text since rss is now to prominent.
See merge request !1855
2015-06-12 10:41:50 +00:00
Sytse Sijbrandij
91ab3849bd
Remove text since rss is now to prominent.
2015-06-12 11:58:18 +02:00
Dmitriy Zaporozhets
21a62bb995
Merge branch 'refactor-mr-widget' into 'master'
...
Refactor accept merge request widget
* make each case a simple view
* separate merge request JS from merge request accept widget JS
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
See merge request !799
2015-06-12 08:22:13 +00:00
Dmitriy Zaporozhets
15cfa5ca20
Fix automerge
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 18:49:34 +02:00
Dmitriy Zaporozhets
946b4ceda3
Improve variables in mr widget
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 18:45:12 +02:00
Dmitriy Zaporozhets
00600a592b
Extract merge request widget JS to separate class
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 18:27:03 +02:00
Dmitriy Zaporozhets
d2d8037b1a
Refactor merge request widget step 2
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 15:14:50 +02:00
Dmitriy Zaporozhets
644b6ba993
Refactor accept merge request widget
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 09:40:26 +02:00
Robert Speicher
42ca87ebf7
Add negative tabindex to Markdown Write and Preview tabs
...
Closes #1757
2015-06-10 16:34:51 -04:00
Dmitriy Zaporozhets
3620849018
Improve project edit form
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-10 17:01:06 +02:00
Dmitriy Zaporozhets
d46d6fc17b
Improve UI for phones
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-08 16:54:39 +02:00
Dmitriy Zaporozhets
8641cda4a5
Dont use fixed pixel size if form controls - its bad for mobile devices
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-08 16:34:58 +02:00
Dmitriy Zaporozhets
9b77a4baf9
Dont truncate issue/mr title
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-08 16:33:33 +02:00
Dmitriy Zaporozhets
87f9c475db
Merge branch 'refactor-web-editor' into 'master'
...
Refactor web editor
* fix problem with editing non-master branch
* before commit make sure branch exists
* dont allow user change file in one branch and commit to another existing branch
* remove a lot of code duplication
* remove outdated statellite errors
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Fixes #1761
See merge request !773
2015-06-05 16:14:34 +00:00
Dmitriy Zaporozhets
5a026152b7
Merge branch 'warn-about-referenced-users' into 'master'
...
Show warning when a comment will add 10 or more people to the discussion.
Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2054
New issue:

New comment:

See merge request !754
2015-06-05 13:37:08 +00:00
Dmitriy Zaporozhets
dfccb06dda
Refactor web editor
...
* fix problem with editing non-master branch
* before commit make sure branch exists
* dont allow user change file in one branch and commit to another existing branch
* remove a lot of code duplication
* remove outdated statellite errors
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-05 15:01:38 +02:00
Douwe Maan
bdfd163aa1
Add info about WIP merge requests to docs.
2015-06-05 13:12:55 +02:00
Douwe Maan
5256b5cc06
Prefer jQuery on to bind, and don't use .js class.
2015-06-05 12:13:02 +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
Dmitriy Zaporozhets
ef3e0931b9
Merge branch 'fix-no-labels-page' into 'master'
...
Omit link to generate labels if user does not have access to create them
On a project that has no labels, a user was provided a link to create labels on the "Labels" tab, resulting in a 404. This MR changes the next to "No labels created" if the user lands on this page but does not have permission to add a label.
Screenshot:

Closes https://github.com/gitlabhq/gitlabhq/issues/8353
See merge request !752
2015-06-04 15:56:13 +00:00
Robert Speicher
793d9799b6
Show key fingerprint on DeployKeys#index
...
Also style all key fingerprints consistently across the app.
2015-06-03 18:03:04 -04:00
Robert Speicher
6e5473f930
Remove show actions from Admin and Project DeployKeys
2015-06-03 18:03:04 -04:00
Robert Speicher
4560954404
Move jQuery enable/disable extensions to extensions/jquery
...
Removes redundant enableButton/disableButton extensions, and adds specs
for the jQuery extensions.
2015-06-02 20:32:07 -04:00
Robert Speicher
023dd2907b
Add a pipeline context option for SanitizationFilter
...
When this option is `:description`, we use a more restrictive whitelist.
This is used for Project and Group description fields.
2015-06-02 13:04:10 -04:00
Robert Speicher
2a5c963b7c
Render Group and Project descriptions with our Markdown pipeline
2015-06-02 13:04:10 -04:00
Stan Hu
cf7707b4fe
Omit link to generate labels if user does not have access to create them
...
Closes https://github.com/gitlabhq/gitlabhq/issues/8353
2015-06-01 22:42:53 -07:00
Dmitriy Zaporozhets
d9d9c7d7bc
Allow base64 for edit blobs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-01 23:43:08 +02:00
Dmitriy Zaporozhets
38bac5d7ae
Show avatars in merge widget and fix mr download button overflow
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-01 12:17:55 +02:00
Dmitriy Zaporozhets
467d7f6720
Improve UI of project sidebar
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-05-29 18:12:31 +02:00
Dmitriy Zaporozhets
a3b60982e5
Merge branch 'leave-project' into 'master'
...
Add ability to leave project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
See merge request !744
2015-05-29 15:10:46 +00:00
Dmitriy Zaporozhets
a1c45338f3
Merge branch 'support-edit-target-branch-in-mr' into 'master'
...
Support editing target branch of merge request
### What does this MR do?
This MR makes it possible to edit the target branch of a merge request and adds a system note when this happens.
### Why was this MR needed?
Because lots of people requested this feature. :)
### Screenshots
**Edit MR page**

**New MR page**

**System note**

### What are the relevant issue numbers?
* Closes https://github.com/gitlabhq/gitlabhq/issues/7105
* See: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/130 !
See merge request !738
2015-05-29 15:01:54 +00:00
Dmitriy Zaporozhets
7815f9ddac
Make leave buttons more explicit
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-05-29 16:34:26 +02:00
Dmitriy Zaporozhets
2afa5fcb52
Add ability to leave project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-05-29 16:23:36 +02:00
Stan Hu
5e4384ec9b
Support editing target branch of merge request
...
Closes https://github.com/gitlabhq/gitlabhq/issues/7105
See: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/130
2015-05-29 04:08:08 -07:00
Douwe Maan
d5b1c58e26
Shorten merge request WIP text.
2015-05-29 11:37:12 +02:00
Dmitriy Zaporozhets
e11e042d89
Fix diff header with submodule change
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-05-29 11:01:40 +02:00
Robert Speicher
3f156ed482
Improve MergeRequest tab-persisting behavior
...
Now uses the path instead of the hash.
See discussion in #728 .
2015-05-29 00:27:56 -04:00
Dmitriy Zaporozhets
a01737ac78
Use panels instead of well for widgets in project sidebar
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-05-28 17:30:05 +02:00
Douwe Maan
06250eef2e
Merge branch 'fix-git-blame-syntax-highlighting' into 'master'
...
Fix git blame syntax highlighting when different commits break up lines
### What does this MR do?
This MR fixes a bug where syntax highlighting would not work properly in certain lines when doing a `git blame` view of a file. Also, this MR reuses the Rugments lexer and formatter for each `git blame` commit block, which should make things faster and reduce overhead.
### Why was this MR needed?
When doing a `git blame`, GitLab feeds the Rugments lexer/formatter blocks of code based on the latest commit for each line. However, this can cause lexer to fail because the state is cleared between each block of code, which causes `highlight` to fallback to the plaintext lexer. For example, notice this unhighlighted line in [this file](https://gitlab.common-lisp.net/cmucl/cmucl/blame/master/src/assembly/assemfile.lisp ):

The fixed version looks like this:

This MR requires a patch to rugments to allow the `continue` option to be passed to the lexer.
* https://github.com/rumpelsepp/rugments/pull/24
* https://github.com/rumpelsepp/rugments/pull/23
* Also submitted to rouge: https://github.com/jneen/rouge/pull/267
### What are the relevant issue numbers?
Closes #1521
See merge request !697
2015-05-28 09:40:00 +00:00
Jeroen van Baarsen
5322099464
Merge pull request #9184 from rumpelsepp/english
...
Some language improvements
2015-05-28 10:43:41 +02:00
Robert Speicher
5c52eaa9d2
Persist current merge request tab selection via URL
...
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2350
2015-05-27 22:39:11 -04:00
Stan Hu
0cd73885e6
Fix git blame syntax highlighting when different commits break up lines
...
Closes #1521
2015-05-27 14:10:58 -07:00
Stefan Tatschner
2fa3af047e
Some language improvements
2015-05-27 21:44:04 +02:00
Douwe Maan
511791014e
Fix milestone "Browse Issues" button.
2015-05-27 14:23:04 +02:00
Douwe Maan
45e4727f97
Set milestone on new issue when creating issue from index with milestone filter active.
2015-05-27 14:22:11 +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
Jeroen van Baarsen
aa36a19613
Merge pull request #9319 from jvanbaarsen/validate-wiki-page-creation
...
Validate wiki page creation
2015-05-26 20:05:25 +02:00