Douwe Maan
f4f4a6b530
Fix specs and behavior for LFS files
2015-12-18 16:14:12 +01:00
Douwe Maan
d9c82d679f
Automatically fork a project when not allowed to edit a file.
2015-12-18 10:03:34 +01:00
Douglas Barbosa Alexandre
5afe03315d
Preserve trailing new lines at the end of file on the online editor
...
Because Haml automatically indents the HTML source code, the contents
of whitespace-sensitive tags like pre and textarea can get screwed up.
2015-12-14 18:22:28 -02:00
Douwe Maan
57d71520bd
Make tooltip less confusing
2015-12-08 22:30:40 +01:00
Douwe Maan
82ddd738b6
Show tooltip when trying to edit file when not on branch
2015-12-08 17:10:07 +01:00
Douwe Maan
51ed5225ad
Merge branch 'serve_lfs_object' into 'master'
...
Serve LFS object
Depends on gitlab-org/gitlab_git!57
See merge request !1976
2015-12-08 14:19:52 +00:00
Marin Jankovski
bf17609e2a
Rename blob helper, bump version of gitlab_git to 7.2.21.
2015-12-07 15:56:38 +01:00
Marin Jankovski
e53b350cb6
Add specs for showing lfs object in UI.
2015-12-07 15:03:50 +01:00
Marin Jankovski
ea52a81da4
Move the file serving to Raw controller, add a few ifs to view.
2015-12-03 17:08:09 +01:00
Douwe Maan
0520cd7164
Merge branch 'master' into ui/form-consistency
2015-12-03 13:21:19 +01:00
Dmitriy Zaporozhets
ca7e31c48f
Merge branch 'ui/consistency' into 'master'
...
UI: Improve consistency across the board
Depends on !1953
See the commits for more details, the messages mostly speak for themselves.
Fixes https://dev.gitlab.org/gitlab/gitlabhq/issues/2577
See merge request !1954
2015-12-02 22:17:48 +00:00
Douwe Maan
67ff47b39c
Capitalize tab titles
2015-12-02 14:53:11 +01:00
Douwe Maan
aa01b23937
Fix padding around editor path, input and select box.
2015-12-02 14:47:19 +01:00
Douwe Maan
72ab3b17d3
Use js-requires-input where appropriate
2015-12-02 14:41:56 +01:00
Douwe Maan
a70c507882
Only use input placeholders when they add value
2015-12-02 14:41:55 +01:00
Douwe Maan
b04c5b0695
Use form-actions where appropriate
2015-12-02 14:41:55 +01:00
Douwe Maan
67119e15c0
Use consistent casing for form field labels
2015-12-02 14:41:54 +01:00
Douwe Maan
ed74fa73e2
Use consistent casing for page titles
2015-12-02 14:41:54 +01:00
Douwe Maan
e945ec0280
Add "Start a new merge request" option to every commit form
2015-11-17 18:53:56 +01:00
Douwe Maan
0b540a0fad
Merge branch 'master' into dirceu/gitlab-ce-new-merge-request-from-file-edit
2015-11-17 17:01:28 +01:00
Jason Lee
18cb430f79
Replace CoffeeScript block into JavaScript in Views.
...
For example view: shared/issuable/_context
CoffeeScript: 190ms
JavaScript: 19.7ms
2015-11-10 19:17:37 +08:00
Dirceu Pereira Tiegs
3d50b99d01
Add option to create merge request when editing/creating a file
2015-10-19 20:25:35 -02:00
Douwe Maan
afb33acae6
Put grey block around blob ref switcher and breadcrumb.
2015-10-17 19:18:57 +02:00
Dmitriy Zaporozhets
a0a488ed13
Apply new design to files page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-10-13 16:41:48 +02:00
Robert Speicher
de3ff174e7
Quick Submit all the things!
...
Adds quick submit behavior to the forms for:
- Blobs ("new file")
- Commit messages
- Issuables
- Notes
- Labels
- Milestones
- Wikis
2015-10-07 15:23:42 -04:00
Stan Hu
0ab6ca93aa
Add directory feature button
...
Change "+" icon under "Files" section to have three options:
* Create file
* Upload file
* New directory
Upload file is no longer accessible from the "Create file" page.
Users can now select a target branch in upload file as well.
Closes #2799 : Fixes a bug where file modes were overwritten after a commit
Closes https://github.com/gitlabhq/gitlabhq/issues/8253 : Existing files
can no longer be overwritten in the "Create file" section.
Closes #2557
2015-10-07 04:22:55 -07:00
Douwe Maan
5faa6e75d0
Merge branch 'master' into project-header-titles
2015-09-18 10:48:06 +02:00
Stan Hu
ac855e5ed3
Move partial locals out of controller
2015-09-17 07:24:45 -07:00
Douwe Maan
d89ae7df2c
Move project header title definition to view in question.
2015-09-17 12:16:24 +02:00
Stan Hu
d9af6f79ed
Change the replace placeholder to use the filename
...
Dynamically adjust placedholder for uploads and fix Dropzone event handlers
Override error handler to prevent error messages from being inserted underneath image preview
Fix tests
Use regexp instead of startsWith for better browser compatibility
Remove duplicate code in _replace.html.haml and use one template
Remove files upon error and retain alert messages until user adds a new file
2015-09-15 13:07:32 -07:00
Robert Schilling and Stan Hu
0a8ef29b3d
Improve wording for header and placeholders
2015-09-15 13:07:32 -07:00
Dmitriy Zaporozhets and Stan Hu
e14aa19e39
Cleanup some html/css for upload feature
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-09-15 13:07:32 -07:00
Dmitriy Zaporozhets
3315e89df6
Merge branch 'ui-fixes' into 'master'
...
Improve UI for last push widget and web editor
See merge request !1296
2015-09-15 11:11:18 +00:00
Dmitriy Zaporozhets
dacff8f014
Fix UI for web editor
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-09-15 11:17:22 +02:00
liyakun
e2ece2bc35
Add "Replace" and "Upload" features
...
Refactor upload and replace functionality
Rename file and move CSS
Fix typo
Make dropzone a div
Remove unnecessary file
Change color of "upload existing one"
Add missing changes
2015-09-15 02:12:56 +02:00
Dmitriy Zaporozhets
b08c5521f5
Style blob show page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-09-10 13:25:09 +02:00
Dmitriy Zaporozhets
3e259ea8bc
Revert "Merge branch 'revert-satellites' into 'master'
"
...
This reverts commit 5daf44b7c8 , reversing
changes made to 2f706fbd23 .
2015-08-11 14:33:31 +02:00
Dmitriy Zaporozhets
9d029a05f1
Revert "Merge branch 'web-editor-rugged' into 'master'"
...
This reverts commit 5a1aa49b55 , reversing
changes made to a675bea2c1 .
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-11 13:04:38 +02:00
Dmitriy Zaporozhets
d4cfa0bf76
Revert "Refactor web editor"
...
This reverts commit dfccb06dda .
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-11 11:49:09 +02:00
ngentile
dbff6bc106
Gitlab Issue 707: Indent unfolded code 1 character
2015-07-22 09:58:17 -04:00
Dmitriy Zaporozhets
f0e1da04f0
Show last push widget on several project pages
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-07-08 23:21:35 +02: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
Robert Speicher
e3c1818a3e
Bootlint: Modals no longer need a '.hide' class
2015-06-16 13:32:33 -04:00
Robert Speicher
7400cfc114
Bootlint: Use offset grid classes instead of empty divs
2015-06-16 13:32:32 -04: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
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
Alex Connor and Jeroen van Baarsen
3c892f3554
Disabled expansion of top/bottom blobs for new file diffs
2015-05-21 09:25:07 +02:00
Jakub Jirutka
b0659c1b07
Simplify and unify helpers for rendering markup
2015-05-18 22:52:13 +02: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