Commit Graph

2403 Commits

Author SHA1 Message Date
Bart Kamphorst 4f67710ed2 Remove superfluous closing div tag. Add ids to all navigation buttons. 2020-06-08 22:09:04 +02:00
Bart Kamphorst 8ec8be5db3 Merge pull request #1576 from mivok/feature/auto_save
Add auto save functionality
2020-06-08 21:26:54 +02:00
Watal M. Iwasaki 92da563211 Add quick access to diff of each commit in the history (#1555) 2020-06-08 20:49:34 +02:00
Mark Harrison 2eb5a7e4b8 Remove flash-full from the notification class list
It doesn't look right with the banner in the new position.
2020-06-05 22:59:20 -04:00
Mark Harrison 23110d5f05 Add autosave/restore for subpages too 2020-06-05 22:51:14 -04:00
Mark Harrison 18de3272e3 Move autosave message elements into the template 2020-06-05 21:34:07 -04:00
Mark Harrison 1e81c42818 Add auto save functionality
Fixes #527

This adds auto saving to gollum using local storage.
2020-06-04 22:30:40 -04:00
Dawa Ometto ef6e0e8a07 Fix gollum link tag highlighting (#1566) 2020-05-15 10:29:38 +02:00
Watal M. Iwasaki ba575b886d Simulate 'git show' when a single version is posted from /history/ (#1543) 2020-04-16 12:50:45 +02:00
Dawa Ometto c8f856109d Set environment to production when precompiling (#1554) 2020-04-14 11:50:29 +02:00
Sven Schwyn 4035c579c7 Don't uglify JS in development env (#1551) 2020-04-14 11:22:48 +02:00
Bart Kamphorst 8bab3de510 Merge pull request #1549 from yuttie/yuttie-patch-fix-data-file-path
Fix `data-file-path` in overview pages
2020-04-10 13:02:13 +02:00
Yuta Taniguchi 9ab4bbb17c Fix data-file-path
This correct the `data-file-path` attribute's value so that the value includes the ancestor directories to a file.
2020-04-09 23:51:02 +09:00
Bart Kamphorst ae024eb3b3 Merge pull request #1547 from heavywatal/flash-notice-h1
Fix a selector in flashNotice()
2020-04-08 20:16:04 +02:00
Watal M. Iwasaki db84653bf2 Fix a selector in flashNotice()
The original selector "#wiki-content h1" matches multiple times
when the page content has h1 headers, resulting in multiple notice
in a page, and what is worse, "$('#gollum-flash').fadeOut()" works
only for the first one.
2020-04-08 22:45:49 +09:00
Dawa Ometto d8ebba114f Release 5.0.1 v5.0.1 2020-04-04 13:44:00 +02:00
Dawa Ometto b9d7375dba Fix migration script when using page-file-dir (#1542) 2020-04-04 13:43:29 +02:00
Dawa Ometto 676811206d Add tests for base_path (#1540) 2020-04-03 17:12:09 +02:00
Watal M. Iwasaki ff1baf0036 Replace redirect_to() with 'redirect to()` (#1536) 2020-04-03 15:32:51 +02:00
Sam 3d12aeb8b2 Update layout.mustache (#1539)
Fix loading of MathJax when run with a base path.
2020-04-03 15:28:00 +02:00
Dawa Ometto 5a8750a975 Fix migrate script path argument. Fix gollum --version (#1538) 2020-04-02 14:08:17 +02:00
Watal M. Iwasaki 0cb303f09f Check page.nil? before page.wiki (#1535) 2020-04-02 11:07:33 +02:00
Dawa Ometto edc7d0b50b Merge pull request #1531 from repotag/check_empty_repo
Add regression test against #1530
2020-03-31 16:51:19 +02:00
Dawa Ometto 2c268a9f8c Add regression test against #1530 2020-03-31 11:56:42 +02:00
Dawa Ometto d61a09d421 Update README.md 2020-03-30 12:33:57 +02:00
Dawa Ometto 0eee014a8b Release 5.0.0 v5.0.0 2020-03-30 12:26:08 +02:00
Dawa Ometto 76f6b6e81c Merge pull request #1525 from repotag/update_assets
Update static assets
2020-03-30 11:56:40 +02:00
Dawa Ometto 40215c3da2 Update CONTRIBUTING.md 2020-03-30 11:27:19 +02:00
Dawa Ometto 1056d5cf16 Update static assets 2020-03-30 11:23:26 +02:00
Dawa Ometto f74c6c1706 Update bug_report.md 2020-03-30 11:15:51 +02:00
Dawa Ometto 821614e45a Delete ISSUE_TEMPLATE.md 2020-03-30 11:10:34 +02:00
Dawa Ometto 32e8618ed4 Merge pull request #1524 from gollum/dometto-patch-1
Update issue templates
2020-03-30 11:10:14 +02:00
Dawa Ometto e123611fed Update issue templates 2020-03-30 11:07:09 +02:00
Bart Kamphorst 5c3394c227 Merge pull request #1522 from gollum/fix_1516
Improve CSS styling on 5.x using Primer.CSS. Fixes #1515 #1516  #1518 .
2020-03-30 10:52:22 +02:00
Dawa Ometto da6708e61d Merge pull request #1517 from repotag/fix_assets
Actually package the sprockets manifest
2020-03-30 10:31:15 +02:00
Bart Kamphorst c99da8ff34 Hide the correct html elements for printing. Fixes #1516. 2020-03-30 10:16:18 +02:00
Bart Kamphorst 9ab308412c Let Primer.CSS style <hr> element. 2020-03-30 10:06:53 +02:00
Bart Kamphorst 4efcba6ceb Let Primer.CSS determine H1-H6 styling (fixes #1515). 2020-03-30 09:52:34 +02:00
Dawa Ometto ca7c708bf9 Update README.md 2020-03-30 01:40:58 +02:00
Dawa Ometto 1f70dca752 Minor 2020-03-30 01:35:56 +02:00
Dawa Ometto d32c5a88f7 Actually package the sprockets manifest. 2020-03-30 01:30:05 +02:00
Dawa Ometto b209127000 Use a precompiled jruby on Travis 2020-03-29 22:45:04 +02:00
Dawa Ometto 6e37601b25 Add therubyrhino to dependencies 2020-03-29 22:35:44 +02:00
Dawa Ometto 23b97daa84 Fix Travis 2020-03-29 22:35:28 +02:00
Dawa Ometto 7329b7595d Merge branch '5.x' 2020-03-29 22:28:50 +02:00
Dawa Ometto f0bb300e03 Update docs 2020-03-29 22:28:23 +02:00
Dawa Ometto 6a1ea82ff1 Merge branch 'master' into 5.x 2020-03-29 21:57:31 +02:00
Dawa Ometto 6011deb930 Restore --bare option (#1512) 2020-03-29 20:19:48 +02:00
Dawa Ometto 28bfe02411 Update travis 2020-03-29 20:13:09 +02:00
Dawa Ometto 862c6d5d2e Restore --bare option 2020-03-29 20:04:45 +02:00