Commit Graph

37 Commits

Author SHA1 Message Date
Brian Porter 7517389072 Allow for overriding only specific Mustache templates/partials. (#1719)
* Allow for overriding only specific templates/partials. Resolves  #1450.
2021-09-07 17:32:46 +02:00
Nikita Ivanov bb207f43d0 Fix binary diffs unable to be viewed in history. Resolves #1650 (#1649)
* Fix binary diffs cause error when viewed
* Change color of git lines to #000000a0
* Update assets
2021-01-10 13:54:30 +01:00
Dawa Ometto d5970d6274 Tag compatibility. Resolves #1487 (#1492)
* Add --global-tag-lookup

* Add bin/gollum-migrate-tags

* Add migration tests (not on Travis)
2020-03-22 17:40:13 +01:00
Dawa Ometto 6d4f97fdc4 Add custom.css and custom.js files to example repo 2018-10-02 23:56:16 +02:00
Dawa Ometto cabe9f353b Fix tests 2017-04-13 00:24:06 +02:00
Nathan Lowe a650c0eab8 Sort /pages alphabetically
Previously, the 'All Pages' view was not sorted alphabetically. We need
to sort on the lowercase version of the page names so that lowercase
names do not end up at the bottom of the list and are instead mixed in
alphabetically, as they should be.

Patches test/test_latest_changes_view.rb to include changes needed to
test alphabetical sorting.
2015-01-12 19:04:07 -05:00
Charles Pence 2a4517ced4 Add basic support for symbolic links. 2013-03-16 21:07:05 -04:00
James Dabbs e3acef0e91 Add test for custom markup engine
This required adding a file to the example repo, so some of the tests'
expected hash values changed accordingly.
2013-02-25 21:06:00 -05:00
Daniel Kimsey 8fd8a56893 New and Rename buttons now support directories
* Also fixes renaming a file from a subdirectory moves it to the root.
  * Add context info option to dialog, used in the new dialog
  * Added CSS to support new context option for dialogs
  * Fix /pages view messing up directory creation in new
  * Removed the Edit and Rename buttons from historic view
2013-01-30 11:03:00 -05:00
Daniel Kimsey 2783257f06 Added page.meta_data to tests 2012-11-09 18:25:33 -05:00
Darren Oakley 19325930a2 Add a new file and sub-directory - 'Rivendell/Elrond.md' so we can test Sidebar/Header/Footer inheritance from parent directory. 2012-07-09 11:50:08 +01:00
kristi eb92e4413a Add header files and TOC test files 2012-05-14 01:28:03 -07:00
bootstraponline 7fa6708483 Add _Header.md to revert.git. 2012-05-07 14:17:15 -06:00
Corey Donohoe aa544f03fb Merge pull request #166 from arr2036/mediawiki_compat
Gollum doesn't play nice with un-canonicalized filenames, and breaks offsite links when replacing mediawiki
2012-04-10 16:04:09 -07:00
Arran Cudbard-Bell 7c799323a5 Add additional tests to verify that existing filenames are processed properly and not cannonicalized 2011-11-24 11:07:27 +01:00
Joshua Peek 50de79171a Rebuild empty.git fixture 2011-09-27 14:01:58 -05:00
Joshua Peek 39b1177ba0 Check in empty directories 2011-09-27 13:43:52 -05:00
Mihail Minkov b8ce2b251d The first page in an empty repository can now be previewed. 2011-09-27 18:52:51 +03:00
rick e77cba96fd add git test fixture for page_file_dir tests 2011-01-17 10:08:58 -08:00
rick 1875eef8f6 update frontend tests to use sample 'revert' repo 2010-12-09 17:00:52 -08:00
rick d436f5f112 cleanliness is next to godliness 2010-12-08 15:40:57 -08:00
rick 25a56725f9 add ability to revert wiki pages 2010-12-08 14:57:29 -08:00
rick 5bb7417495 unnecessary test files 2010-12-08 08:48:38 -08:00
rick 2cbe3957cf add Page _Sidebars 2010-12-02 18:16:37 -08:00
Hiroshi Saito dc7693dbd0 FIX: Sanitize.clean raise Encoding::CompatibilityError if a page contains non ASCII-7 characters 2010-10-08 23:39:18 +09:00
rick dd7dddddcf Revert "Gollum::Wiki#pages come back sorted by title, not permalink or the default ordering from git ls-tree."
This reverts commit e37a8b9da4.
2010-10-06 13:17:47 -07:00
rick e37a8b9da4 Gollum::Wiki#pages come back sorted by title, not permalink or the default ordering from git ls-tree. 2010-09-16 09:16:42 -07:00
rick 1e96ce6e1e Track a page's versions across renames 2010-08-04 15:57:37 -07:00
Tom Preston-Werner 2bc9b2ec86 Implement Page#footer and display footer in frontend. 2010-07-26 16:33:19 -07:00
Tom Preston-Werner 1af9898b4d Implement Page#title. 2010-07-22 15:31:58 -07:00
Tom Preston-Werner 2e49f2c9e7 Minimal working frontend. 2010-07-07 00:29:51 -07:00
Tom Preston-Werner 0580c61f0a add some objects to lotr.git test repo 2010-04-13 14:59:12 -04:00
Tom Preston-Werner 2e328e6a83 implement File finding 2010-04-11 13:08:16 -06:00
Tom Preston-Werner e3772b1879 compute directory path of pages 2010-04-11 12:03:31 -06:00
Tom Preston-Werner 0a30b2ffc9 test extension match 2010-04-08 16:35:15 -07:00
Tom Preston-Werner 6c4e343b0c make example test wiki a git repo and test it 2010-04-07 13:36:48 -07:00
Tom Preston-Werner acae4686e0 add test example wiki files 2010-04-07 00:53:02 -07:00