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
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