-
- Downloads
Allow moving wiki pages from the UI
Showing
- Gemfile 4 additions, 0 deletionsGemfile
- app/assets/stylesheets/pages/wiki.scss 8 additions, 0 deletionsapp/assets/stylesheets/pages/wiki.scss
- app/controllers/projects/wikis_controller.rb 2 additions, 2 deletionsapp/controllers/projects/wikis_controller.rb
- app/helpers/wiki_helper.rb 18 additions, 0 deletionsapp/helpers/wiki_helper.rb
- app/models/project_wiki.rb 4 additions, 0 deletionsapp/models/project_wiki.rb
- app/models/wiki_page.rb 54 additions, 12 deletionsapp/models/wiki_page.rb
- app/views/projects/wikis/_form.html.haml 7 additions, 1 deletionapp/views/projects/wikis/_form.html.haml
- app/views/projects/wikis/edit.html.haml 1 addition, 4 deletionsapp/views/projects/wikis/edit.html.haml
- changelogs/unreleased/fj-37273-moving-wiki-pages-from-the-ui.yml 5 additions, 0 deletions...ogs/unreleased/fj-37273-moving-wiki-pages-from-the-ui.yml
- config/initializers/gollum.rb 82 additions, 0 deletionsconfig/initializers/gollum.rb
- doc/user/project/wiki/img/wiki_move_page_1.png 0 additions, 0 deletionsdoc/user/project/wiki/img/wiki_move_page_1.png
- doc/user/project/wiki/img/wiki_move_page_2.png 0 additions, 0 deletionsdoc/user/project/wiki/img/wiki_move_page_2.png
- doc/user/project/wiki/index.md 12 additions, 0 deletionsdoc/user/project/wiki/index.md
- lib/gitlab/git/wiki.rb 19 additions, 5 deletionslib/gitlab/git/wiki.rb
- locale/gitlab.pot 124 additions, 11 deletionslocale/gitlab.pot
- spec/features/projects/wiki/user_updates_wiki_page_spec.rb 73 additions, 1 deletionspec/features/projects/wiki/user_updates_wiki_page_spec.rb
- spec/features/projects/wiki/user_views_wiki_page_spec.rb 2 additions, 1 deletionspec/features/projects/wiki/user_views_wiki_page_spec.rb
- spec/lib/gitlab/git/wiki_spec.rb 36 additions, 0 deletionsspec/lib/gitlab/git/wiki_spec.rb
- spec/models/wiki_page_spec.rb 116 additions, 4 deletionsspec/models/wiki_page_spec.rb
Loading
| Loading
| @@ -69,6 +69,10 @@ gem 'net-ldap' |
# Git Wiki | ||
# Required manually in config/initializers/gollum.rb to control load order | ||
# Before updating this gem, check if | ||
# https://github.com/gollum/gollum-lib/pull/292 has been merged. | ||
# If it has, then remove the monkey patch for update_page, rename_page and raw_data_in_committer | ||
# in config/initializers/gollum.rb | ||
gem 'gollum-lib', '~> 4.2', require: false | ||
# Before updating this gem, check if | ||
Loading
| Loading
|
53.3 KiB
32.7 KiB
spec/lib/gitlab/git/wiki_spec.rb
0 → 100644