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
2020-04-04 13:44:00 +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
Watal M. Iwasaki
0cb303f09f
Check page.nil? before page.wiki ( #1535 )
2020-04-02 11:07:33 +02:00
Dawa Ometto
1056d5cf16
Update static assets
2020-03-30 11:23:26 +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
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
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
6e37601b25
Add therubyrhino to dependencies
2020-03-29 22:35:44 +02:00
Dawa Ometto
4c491a01db
Fix highlights. Resolves #1506 ( #1510 )
2020-03-27 17:10:03 +01:00
Bart Kamphorst
ebf46629b1
Merge pull request #1504 from heavywatal/align-right-edge
...
Remove a tiny padding in the head div
2020-03-27 13:05:14 +01:00
Dawa Ometto
e2804d6313
Add RSS Feed ( #1500 )
2020-03-27 10:37:50 +01:00
Watal M. Iwasaki
ae7ed4eafa
Remove a tiny padding in the head div
2020-03-27 16:51:41 +09:00
Dawa Ometto
aae320ddff
Fix assets ( #1501 )
...
* Rename app.css
2020-03-26 15:39:56 +01:00
Bart Kamphorst
f1e8d30a43
Primer CSS breadcrumbs (related to #1394 ).
2020-03-25 20:50:03 +01:00
Bart Kamphorst
4008bf12e7
Clear both sides of the Sidebar float to push the footer down.
2020-03-25 16:36:14 +01:00
Dawa Ometto
a45101cfe9
Package assets ( #1493 )
...
* Package static assets
* Fixed cancel button in editor
* Fix rake compilation task
* Add asset path helper
* Serve MathJax statically
* Fix mathjax in preview
2020-03-24 15:55:28 +01:00
Dawa Ometto
f8829c68d6
Fix metadata title. Resolves #1484 ( #1485 )
...
* Fix metadata title
2020-03-16 16:53:18 +01:00
Dawa Ometto
54bbd1d789
Remove references to grit and stringex ( #1482 )
...
* Remove references to grit and stringex
* Fix revert tests, fix revert commit message
2020-03-16 01:59:47 +01:00
Dawa Ometto
ee267f72a2
Track path changes in History. Resolves #1441 ( #1443 )
...
* Track path changes in History.
* Reactivate rename following on JRuby
2020-03-16 01:09:42 +01:00
Bart Kamphorst
0e4c8342ab
Restore functionality for determining the position of the sidebar (left or right).
2020-03-14 19:28:54 +01:00
Dawa Ometto
e1a13aef1f
Remove sanitize
2020-03-13 15:11:31 +01:00
TheCedarPrince
cc3eb233c7
Disregard letter case for emojis ( #1474 )
2020-03-13 12:16:28 +01:00
flowerysong
9b89e31679
5.x: Fix a couple of upload issues ( #1469 )
...
* Remove debugging junk
* Remove duplicate `#{dir}` from upload commit message
2020-03-04 11:41:19 +01:00
Dawa Ometto
2b380ee6bc
URI decode path in rename dialog ( #1447 )
2019-12-30 21:55:58 +01:00
Dawa Ometto
56e36df6bd
Fix editable section link ( #1438 )
2019-10-10 19:56:00 +02:00
Dawa Ometto
c8fed4d50d
Provide JS with correct exts via template ( #1437 )
2019-10-10 16:36:06 +02:00
Bart Kamphorst
70ede99545
Show flashNotice instead of JS alert for (un)successful uploads. FadeOut success notices after 5s.
2019-10-09 13:46:28 +02:00
Bart Kamphorst
f0dbc2801b
Use clean_url helper.
2019-10-08 20:26:59 +02:00
Bart Kamphorst
5dd6c40933
Make redirect functionality conditional on @redirect_enabled (defaults to true).
2019-10-07 11:37:52 +02:00
Bart Kamphorst
5487563a71
Make regex more lenient. Nest redirect logic.
2019-10-07 11:22:00 +02:00
Bart Kamphorst
8f104ec09c
Add redirect support (e.g., after renames). Fixes #1023 .
2019-10-05 13:32:28 +02:00
Dawa Ometto
8fe4c614db
Fix redirect location for editor submit ( #1430 )
2019-10-01 15:47:25 +02:00
Dawa Ometto
c137c2af4b
Advanced search. Implements #615 ( #1427 )
2019-09-30 15:30:34 +02:00
Dawa Ometto
2402c9ef3b
Enable CriticMarkup on Preview ( #1429 )
2019-09-30 12:58:15 +02:00
Dawa Ometto
bbe609974a
Fix change of format ( #1419 )
...
* Add empty language def for bibtex
2019-09-25 11:44:42 +02:00
Dawa Ometto
88c624877e
Extract page dir from latest changes. Fix #1388 ( #1395 )
...
* Strip off page_dir prefix from latest changes urls
* Rename spurious next and previous_link
* New format for LatestChanges#versions: detect renames
2019-09-18 18:10:09 +02:00
Dawa Ometto
41d7cf75c5
Preview hotkeys also for create view ( #1426 )
2019-09-14 19:02:40 +02:00
Dawa Ometto
9da11dba10
Split editor and app JS. Fix asset precompilation ( #1422 )
2019-09-13 00:59:55 +02:00
Dawa Ometto
d1857e5824
No symlink for ACE ( #1423 )
...
* No Symlink
* Fix JS syntax error
2019-09-12 23:54:50 +02:00
Dawa Ometto
fc64d88ce9
Ace modes for all compatible markups ( #1420 )
...
* Add support for gollum tags
2019-09-12 22:25:55 +02:00
Dawa Ometto
3713890b5e
Improve preview. Resolves #1414 ( #1421 )
...
* Fix Preview text direction
* Add hotkey for toggling preview
2019-09-12 20:28:58 +02:00
Dawa Ometto
efaa6a0ba2
Editable sections. Resolves #1000 ( #1415 )
...
* Extend Ace highlighters to support gollum syntax
* Update ACE to 1.4.6
* Simplify (de)activation of function buttons
2019-09-12 12:37:24 +02:00
Dawa Ometto
d55a3432a2
Solve minor issue involving Preview title ( #1417 )
2019-09-11 15:47:41 +02:00
Dawa Ometto
0fda253457
Add CSS for table.toc Fix #925 ( #1418 )
2019-09-11 14:42:47 +02:00