bootstraponline
174334ea44
Remove comment
2012-10-13 13:58:56 -06:00
bootstraponline
dbdf06930d
Fix
2012-10-13 13:55:20 -06:00
bootstraponline
56101ed264
Fix #535 and add test
2012-10-13 13:32:08 -06:00
bootstraponline
2246419d1e
Fix spacing
2012-10-13 13:09:20 -06:00
bootstraponline
5401cf2910
Fix #542
2012-10-13 13:04:51 -06:00
bootstraponline
432f9b8d2f
Add test for #542
2012-10-13 12:57:58 -06:00
Walter Smith
b7cdeabbf6
Catch all Pygments errors
...
An unrecognized language was generating a MentosError rather than a
PythonError. Just catch anything that goes wrong in Pygments.
2012-10-10 14:20:50 -07:00
bootstraponline
e1942dda03
Merge pull request #513 from bootstraponline/embed_code
...
Embed code. #508 .
2012-10-01 22:36:25 -07:00
bootstraponline
7142e284fa
.call instead of .() for 1.8.7
2012-10-01 23:29:15 -06:00
bootstraponline
3c1c588953
Restore wiki_factory.
2012-10-01 23:23:40 -06:00
bootstraponline
d02b63a434
Fix test.
2012-09-26 00:08:11 -06:00
bootstraponline
9b63c67d8c
Try to fix tests.
2012-09-25 23:57:35 -06:00
bootstraponline
05c4bf3374
Add local file support.
...
Example of absolute path to local file.
```html:/home```
Example of relative path to local file.
```html:home```
1.8.7 string fix. 's'[0..0] instead of 's'[0]
Fix regex.
Add absolute and relative tests.
2012-09-25 23:31:58 -06:00
Henrik
d406472882
1.8.7 fixes
2012-09-25 23:29:11 -06:00
Henrik
749b5a5ff8
Adding functionality for fetching code from github
...
hack for 1.8.7
Don't miss test_markup's relative require
need some food now
2012-09-25 23:29:08 -06:00
bootstraponline
091d5fe750
Update multibyte caracters.
2012-09-25 22:58:07 -06:00
bootstraponline
c8894fb465
New pygments.rb works correctly.
...
The expected output from the tests differs only in newlines.
git diff makes it seem like everything changed. bzr qdiff has a better default diff. git doesn't do per char diffs.
Revert "New pygments has issues."
This reverts commit 2dd41cbfac .
2012-09-25 22:45:57 -06:00
bootstraponline
2dd41cbfac
New pygments has issues.
...
Revert "Update pygments. Solves #225 #490 #517 "
This reverts commit c0c77c5ba7 .
Revert "Fix pygments.rb tests."
This reverts commit 1f2165e68b .
2012-09-25 21:54:49 -06:00
bootstraponline
1f2165e68b
Fix pygments.rb tests.
2012-09-25 21:47:24 -06:00
Keith Duncan
30c2e675da
Test that author details from the session are committed into the repository
2012-09-16 16:49:17 +01:00
bootstraponline
74290874f9
Fix #383 test.
2012-09-09 14:05:10 -06:00
bootstraponline
847f08d952
Use block form of gsub to avoid regexp backref interpolation
...
The content of this commit message is from @kislyuk's comments on the below two issues.
Fix #383
Fix #511
`gsub!(pattern, replacement) interpolates` regexp backreferences
`gsub!(pattern) do block` doesn't
http://stackoverflow.com/questions/2082457/ruby-gsub-problem-when-using-backreference-and-hashes
2012-09-09 12:22:56 -06:00
bootstraponline
9dd701ccc4
Grit is broken. #508 #356
2012-09-04 17:52:56 -06:00
bootstraponline
5f9e91656e
Fix LaTeX tests.
2012-09-02 15:03:56 -06:00
Vicent Marti
ab699d94b0
Do not render LaTeX locally
...
Offload the rendering service to MathTran.org, the free and open-source
LaTeX rendering engine.
2012-09-01 12:23:02 +02:00
bootstraponline
420bb06988
Fix create test.
2012-08-25 18:58:20 -06:00
bootstraponline
20566f8acf
Fix #484
2012-08-25 18:54:07 -06:00
bootstraponline
d1c72a4ff3
Fix #483 and #481
...
Exact matching of requested pages
- /page is no longer the same as /a/page
- Deleting /page only deletes /page (before it would delete /a/page instead of /page)
- Edit currently breaks the unit tests if exact matching is enabled
- Fix redirect on create
- Add @giga's checked_dir = '' fix https://github.com/giga/gollum/commit/936958b47324a09c683cb90a2560484b47e09529
- Fix create unit test
2012-08-24 13:35:37 -06:00
bootstraponline
e2fbf22f38
Fix #473 .
2012-08-23 11:51:20 -06:00
bootstraponline
686b8acd38
Fix encodeURIComponent on Ruby 1.8.
...
Replace .ord with .unpack('U')[0]
2012-08-22 17:23:08 -06:00
bootstraponline
62d5f52398
Fix anchor for Firefox.
2012-08-22 13:10:11 -06:00
bootstraponline
e73c84490e
Remove prefix. #470 .
2012-08-16 12:01:03 -06:00
bootstraponline
6cfc807db0
Revert still broken in Grit.
2012-08-15 12:22:03 -06:00
bootstraponline
2d13bd796f
Improve #470 fix.
2012-08-15 12:03:48 -06:00
bootstraponline
d4e019ef42
Merge pull request #331 from tjh/home-page-link-issue
...
Redirect from root to /Home, fixes #250
2012-08-09 10:41:31 -07:00
bootstraponline
d234bbd861
Test get %r{/(.+?)/([0-9a-f]{40})} do
2012-08-06 18:27:12 -06:00
bootstraponline
88a3783bbc
Remove wpage.
2012-08-06 15:55:05 -06:00
bootstraponline
ea2254b9bd
Fix #462 .
...
Add test for 462.
2012-08-06 15:52:19 -06:00
bootstraponline
80730ee87a
Merge pull request #419 from trans/metadata
...
Add support for embedded page metadata.
2012-08-01 16:05:10 -07:00
trans
71028adc9e
Add support for embedded page metadata.
2012-08-01 18:35:53 -04:00
bootstraponline
02539bfdd3
Move new page dir logic to JS.
2012-08-01 01:49:38 -06:00
bootstraponline
72e26fc90b
Refactor app.rb to use paged.
...
Create new pages relative to current directory.
2012-08-01 00:37:34 -06:00
bootstraponline
2261cfabf3
Make wiki.page directory aware.
...
Remove scoped_page.
2012-07-31 23:24:37 -06:00
Odin Dutton and Sebastian Korfmann
be086d94b5
Add a method that returns a given page name scoped to a directory.
...
This is to allow access to non unique pages.
2012-08-01 09:15:25 +10:00
bootstraponline
96842d9742
Refactor page url generation.
...
Avoid appending './' to urls.
2012-07-27 14:45:40 -06:00
bootstraponline
8fcef5401b
Fix href in file view.
2012-07-27 12:27:16 -06:00
bootstraponline
8558777ece
Include full path in file view href.
2012-07-27 11:34:04 -06:00
Sunny Ripert
b5653464d2
Merge branch 'master' into base-url
...
Conflicts:
lib/gollum/frontend/public/gollum/css/_styles.css
lib/gollum/frontend/public/gollum/javascript/gollum.js
lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js
lib/gollum/frontend/templates/file_view.mustache
lib/gollum/frontend/templates/layout.mustache
lib/gollum/frontend/templates/page.mustache
2012-07-25 10:00:52 +02:00
bootstraponline
3e5054f357
Call to_url on rename to prevent invalid renames.
...
Remove to_url on delete so invalid names can be deleted.
Handle nil in to_url.
Update tests.
2012-07-22 13:45:30 -06:00
bootstraponline
3424a424a7
Add /delete test.
2012-07-22 13:25:25 -06:00