summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis
Commit message (Collapse)AuthorAgeFilesLines
* Updated all GFM forms to use new GLForm classPhil Hughes2016-04-141-2/+2
|
* Standardize the way we check for and display form errorsrs-form_errorsRobert Speicher2016-04-041-5/+1
| | | | | | | | | | | | - Some views had a "Close" button. We've removed this, because we don't want users accidentally hiding the validation errors and not knowing what needs to be fixed. - Some views used `li`, some used `p`, some used `span`. We've standardized on `li`. - Some views only showed the first error. We've standardized on showing all of them. - Some views added an `#error_explanation` div, which we've made standard.
* Change `js-quick-submit` behavior to expect the class on the formRobert Speicher2016-03-021-2/+2
| | | | | Now it will work on any field inside that form, and it's easier to scope new behavior, which is what we're adding next!
* Update tests to match new wiki headerDmitriy Zaporozhets2016-02-091-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Set of small improvements to wiki frontendDmitriy Zaporozhets2016-02-077-46/+51
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use top-area component for top page navigation for pages that contains list ↵Dmitriy Zaporozhets2016-02-031-9/+9
| | | | | | of items Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix css mess around git clone panel. Align it properlyDmitriy Zaporozhets2016-01-141-7/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Relax constraints for wiki slugDouglas Barbosa Alexandre2016-01-141-7/+4
| | | | | | | | | | | Since GitHub doesn’t apply these constraints to theirs wiki slug allowing characters like `,`, `:`, `*`, etc, we need to relax our constraints or some wiki pages will not be available after they were imported. For an example the Devise project have a wiki page with the following slug: “How To: Add sign_in, sign_out, and sign_up links to your layout template”
* Replace all navigation menu with nav-links classDmitriy Zaporozhets2016-01-131-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use new style for wikiDouwe Maan2015-12-028-51/+50
|
* Render same markdown hint for issue, merge request, wiki and comment formsmarkdown-form-hintDmitriy Zaporozhets2015-11-071-3/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make tables full width.Douwe Maan2015-10-191-24/+25
|
* Add "New Page" button to Wiki Pages tabStan Hu2015-10-121-0/+1
| | | | Closes #2998
* Quick Submit all the things!Robert Speicher2015-10-071-1/+1
| | | | | | | | | | | | Adds quick submit behavior to the forms for: - Blobs ("new file") - Commit messages - Issuables - Notes - Labels - Milestones - Wikis
* Tweak remaining CSS for Markdown previewStan Hu2015-09-211-1/+1
| | | | Missed a few items in !1378
* Move project header title definition to view in question.Douwe Maan2015-09-177-2/+15
|
* Merge branch 'mr-xss' into 'master' Robert Speicher2015-09-081-1/+1
|\ | | | | | | | | Escape user-provided content in preserved HAML sections See merge request !1927
| * Escape user-provided content in preserved HAML sectionsDouwe Maan2015-09-081-1/+1
| |
* | Style wiki pagesDmitriy Zaporozhets2015-09-086-33/+35
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix broken Wiki Page HistoryStan Hu2015-09-013-5/+5
| | | | | | | | | | Closes #2104 Closes #1751 Closes #1592 Closes https://github.com/gitlabhq/gitlabhq/issues/9399
* Added a timestamp to the wikis page just below the titletimestamp-wikisDarby2015-07-271-1/+5
|
* Rename abilities to correspond contoller/model action namesrename-abilitiesDmitriy Zaporozhets2015-06-262-2/+2
| | | | | | | | | | | | | | | | | 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>
* Bootlint: Modals no longer need a '.hide' classRobert Speicher2015-06-161-1/+1
|
* Bootlint: Use offset grid classes instead of empty divsRobert Speicher2015-06-161-2/+1
|
* Show warning when a comment will add 10 or more people to the discussion.Douwe Maan2015-06-051-3/+0
|
* Validate wiki page creationJeroen van Baarsen2015-05-261-0/+2
| | | | | | | | | | | | | | | | | | | | **What does this do?** It adds validation to the creation of a wiki page, that way the user gets real feedback instead of just a 404 page if the name of the wiki page was invalid **Why is this needed?** There are a lot of characters that are not allowed in the creation of a wiki page, there is even a small text that is saying: Please don't use spaces. Although we have that text there, we don't actually validate on this. This commit adds validation on the title and gives the user actual feedback. **What issues does this fix?** Fixes http://github.com/gitlabhq/gitlabhq/issues/5357 Fixes https://github.com/gitlabhq/gitlabhq/issues/8565 Fixes https://github.com/gitlabhq/gitlabhq/issues/3913 Fixes https://github.com/gitlabhq/gitlabhq/issues/8166 Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Capitalize "Git Access" in page title.Douwe Maan2015-04-301-1/+1
|
* Add a page title to every page.Douwe Maan2015-04-306-0/+6
|
* Refactor buttonsDmitriy Zaporozhets2015-03-141-1/+1
|
* Merge branch 'master' into extend_markdown_uploadDouwe Maan2015-02-248-16/+14
|\ | | | | | | | | | | | | | | | | | | | | | | # 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
| * Merge branch 'master' into rails-4.1.9Vinnie Okada2015-02-191-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Upgrade to Rails 4.1.9Vinnie Okada2015-02-148-14/+14
| | | | | | | | | | | | | | | | | | 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.
* | | Refactor.Douwe Maan2015-02-171-1/+1
| | |
* | | Generalize the image upload in markdownHannes Rosenögger2015-02-171-2/+3
| |/ |/| | | | | | | This commit generalizes the image upload via drag and drop so it supports all files. It also adds access control for these files.
* | Make sure Markdown previews always use the same styling as the eventual ↵Douwe Maan2015-02-171-1/+1
|/ | | | destination.
* Replace highlight.js with rouge-fork rugmentsStefan Tatschner2015-01-151-1/+1
| | | | | | | | | | I decided to create a fork of rouge as rouge lacks a HTML formatter with the required options such as wrapping a line with <span> tags. Furthermore I was not really convinced about the clarity of rouge's source code. Rugments 1.0.0beta3 for now only includes some basic linting and a new HTML formatter. Everything else should behave the same.
* First entry in wiki history leads to newest revision.yglukhov2015-01-131-2/+3
|
* Markdown preview in wikiyglukhov2014-12-291-5/+7
|
* Use short_id instead of [0..N] for short version of commit shaDmitriy Zaporozhets2014-10-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix fa-download iconSullivan SENECHAL2014-10-041-1/+1
|
* Upgrade to Font Awesome v4.2Sullivan SENECHAL2014-10-032-3/+3
|
* Apply ZEN mode to all GFM formsRobert Schilling2014-10-021-2/+2
|
* Search for 'div-dropzone' correctlyfix_selecting_them_uploadRobert Schilling2014-10-011-1/+1
|
* Fix wikiuse-more-ruggedDmitriy Zaporozhets2014-09-253-5/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Revert "Implements and refactors clipboard feature for markdown."Dmitriy Zaporozhets2014-06-031-2/+2
| | | | | | | | | | | | | | This reverts commit 2273234653924b731f9ef01432e392481ee1d4e2. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 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
* Replace existing links to help pages with the new ones.Marin Jankovski2014-05-291-2/+1
|
* Implements and refactors clipboard feature for markdown.erbunao2014-05-281-1/+2
|
* Implements drag and drop upload in creating issuesEarle Bunao & Neil Calabroso2014-05-231-3/+10
|
* Fix UI for wiki error messageDmitriy Zaporozhets2014-05-201-3/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Allow nested files in wiki.Marin Jankovski2014-04-281-1/+1
|