benjamin wil
1980e39876
Remove unused _layout.scss file ( #1661 )
2021-02-13 17:25:54 +01:00
Garet Robertson
2b949014b8
Add JS polyfill for IE compatibility ( #1664 ). ( #1667 )
2021-02-13 17:11:40 +01:00
Dawa Ometto
b399496ec2
Update gems ( #1637 )
2021-02-13 16:48:28 +01:00
Sam
8433327926
contrib/automation/gollum-post: A script to post files to Gollum in an automated way. ( #1608 )
2021-02-13 16:48:11 +01: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
Nikita Ivanov
333af9b76c
Add redirect to rename commit ( #1648 )
...
This PR ensures that changes to `REDIRECTS_FILE` are committed with the commit responsible for the corresponding git rename.
2021-01-08 14:36:54 +01:00
Dawa Ometto
18a16665cc
Don't add base path to file url for deletion. Resolves https://github.com/gollum/gollum/pull/1620 ( #1639 )
...
* Add regression test
2021-01-04 11:29:45 +01:00
Bart Kamphorst
6c0796733d
Filter _Template content. Resolves #1603 and #1640 . ( #1612 )
...
* Filter _Template content. Resolves #1603 and #1640 .
* Introduces a Gollum::TemplateFilter class with methods to easily add _Template Filters.
* Adds support for relative _Template pages with fallback to _Template in root.
2020-12-26 14:10:02 +01:00
Nikita Ivanov
97ed5a7c57
Add tests to the ? in page name fix ( #1641 )
2020-12-14 11:24:50 +01:00
Nikita Ivanov
c87c8c446e
Fix bug when link to a page doesn't work if it has ? in its title ( #1634 )
2020-12-13 13:42:19 +01:00
Dawa Ometto
bfbfb21c17
Release 5.1.2
v5.1.2
2020-12-01 22:22:22 +01:00
Dawa Ometto
137728cdab
Guard against malicious file names
2020-12-01 22:21:54 +01:00
Dawa Ometto
3f7fd21d4a
Update kramdown-parse-gfm ( #1623 )
2020-11-19 17:10:37 +01:00
Dawa Ometto
2204cef0ef
Fix dependency status badge
2020-11-02 22:14:51 +01:00
Dawa Ometto
29ad7127d1
Add dependency status badge
2020-11-02 22:14:11 +01:00
Dawa Ometto
123518b940
Don't escape page path. Resolves #1615 ( #1618 )
2020-09-21 15:50:58 +02:00
Dawa Ometto
dbe849707a
Update GPG key
2020-09-13 16:21:43 +02:00
Dawa Ometto
986a76cf8e
Release 5.1.1
v5.1.1
2020-08-11 12:57:42 +02:00
Dawa Ometto
42439033c8
Release 5.1
v5.1
2020-08-03 19:07:32 +02:00
Dawa Ometto
421ff18788
Updating assets for bugfix release.
2020-08-03 19:01:29 +02:00
Dawa Ometto
519a275ff0
Fix mathjax config path ( #1605 )
...
Related to #1602
2020-08-03 19:00:49 +02:00
Watal M. Iwasaki
5a95f79b32
Ensure page_route starts with a leading slash ( #1604 )
...
* Ensure page_route starts with a leading slash
* Handle base_url = nil in page_route()
* Refactor page_route()
2020-08-03 18:09:57 +02:00
Dawa Ometto
627ee5bbbe
Merge pull request #1595 from heavywatal/upload-whitespaced-file
...
Address the uploads issue. Resolves #1584
2020-08-03 18:05:27 +02:00
Dawa Ometto
a9d300341c
Merge pull request #1594 from heavywatal/empty-search
...
Show search page even when no parameters are given
2020-07-15 12:46:18 +02:00
Dawa Ometto
6b7e912010
Merge pull request #1593 from heavywatal/fix-home-button
...
Address home button issue #1590
2020-07-15 12:44:13 +02:00
Watal M. Iwasaki
4feae80814
Update assets
2020-07-12 17:39:18 +09:00
Watal M. Iwasaki
5f5730fe2e
Address the uploads issue #1584
...
'%20' in filenames are translated back to ' ' in both editor and file creation.
2020-07-12 17:37:20 +09:00
Watal M. Iwasaki
5f784f5e10
Show search page even when no parameters are given
...
This PR addresses the issue #1586
2020-07-12 15:22:18 +09:00
Watal M. Iwasaki
35a44efafd
Address home button issue #1590
...
A trailing slash is added.
This fixes the behavior when base_url is nil.
2020-07-12 13:41:41 +09:00
Dawa Ometto
b32dcfa8dd
Merge pull request #1580 from heavywatal/reduce-direct-base_url
...
Reduce direct use of base_url
2020-06-17 10:37:15 +02:00
Watal M. Iwasaki
38fc32bbdd
Return nil if url.empty? right after url.comact!
2020-06-16 17:55:01 +09:00
Watal M. Iwasaki
6c7b12ae5e
Restore base_url for baseUrl in JavaScript
2020-06-16 17:29:32 +09:00
Dawa Ometto
649e19bdb1
Merge pull request #1578 from tpoliaw/no-edit-compare
...
Let compare versions be used in no-edit mode
2020-06-15 12:13:34 +02:00
Watal M. Iwasaki
a4266170ea
Address the issue #1572 ( #1581 )
...
* Add double-quote to data-file-path={{url}}
2020-06-15 12:02:32 +02:00
Watal M. Iwasaki
6e6d9d8c1f
Use page_route() for custom.css, custom.js, and MathJax
2020-06-14 23:11:07 +09:00
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