Watal M. Iwasaki
e49758334f
Replace base_url with page_route()
2020-06-14 23:11:07 +09:00
Watal M. Iwasaki
580068212d
Remove base_url from search.mustache
2020-06-14 23:11:07 +09:00
Watal M. Iwasaki
504278d9ba
Move full_url_path from HasPage to Page
...
so that page_route() is accessible via Layout
2020-06-14 23:11:07 +09:00
Watal M. Iwasaki
214056a88a
Refactor regex in clean_url()
2020-06-14 23:11:07 +09:00
Watal M. Iwasaki
e310f76030
Enhance RouteHelpers
...
- page_route() accepts nil and return base_url
- clean_url() accepts multiple args and join them
2020-06-14 23:11:07 +09:00
Peter Holloway
83abe62125
Use GET for compare methods
...
POST requests are blocked when running in --no-edit mode so using POST
prevents compare being available (see #1546 ).
Change the history view form to use "get" as the form method and change
the routing in app to accept get requests for both forms of compare. The
order of the compare routes is switched to make the more specific form
checked first to prevent all requests being handled by the less specific
form.
2020-06-10 23:27:48 +01:00
Bart Kamphorst
8e7a714991
Merge pull request #1577 from gollum/fix_1571
...
Remove superfluous closing div tag. Add ids to all navigation buttons.
2020-06-09 09:30:27 +02:00
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