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
Jan Bernacki
5e479dc5d9
move require
2012-08-28 22:44:09 +04:00
bootstraponline
20566f8acf
Fix #484
2012-08-25 18:54:07 -06:00
bootstraponline
0da664299e
Fix edit.
2012-08-24 13:47:17 -06:00
bootstraponline
6e8fb2b457
Disable exact on edit for now.
2012-08-24 13:38:34 -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
0bf05392e4
Redirect to correct path. #481
2012-08-24 12:26:59 -06:00
bootstraponline
55df7bb9c4
Use encodeURIComponent instead of CGI::escape when output is sent to browser.
2012-08-22 17:30:46 -06:00
Rob Speer
2b4848566c
Fix names created with the 'New' button.
...
Previously, a page created with the 'New' button would get all of its
spaces turned into the + symbol when submitted, which Gollum would then
convert into "-plus-" in the title. So, for example, a request to create
a page called "Test page" would instead get "test plus page".
This change changes + to - in the parameter received by /create/.
2012-08-22 14:15:20 -04: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
Jean-Philippe Garcia Ballester
37d20fa9cc
Base url without trailing '/'
...
This will allow cleaner url in templates and javascripts.
2012-08-08 13:49:09 +02:00
bootstraponline
015cd895d2
Don't ignore version.
2012-08-06 17:18:30 -06:00
bootstraponline
ea2254b9bd
Fix #462 .
...
Add test for 462.
2012-08-06 15:52:19 -06:00
bootstraponline
008f26bb7d
Fix app.
2012-08-06 14:49:56 -06:00
bootstraponline
c72e91ddaf
Fix #462 .
2012-08-06 13:16:31 -06:00
bootstraponline
a2efebc06c
Fix #453 .
2012-08-01 13:04:04 -06:00
bootstraponline
02539bfdd3
Move new page dir logic to JS.
2012-08-01 01:49:38 -06:00
bootstraponline
a0f05eaf67
More refactoring.
...
Fix delete.
2012-08-01 01:36:23 -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
d28f454c6e
Send path when renaming pages.
...
Fix nil error on editing a non-existent page.
Use baseURL on delete.
2012-07-31 21:58:35 -06:00
bootstraponline
8422b71204
@arr2036's fix for #453 .
2012-07-30 19:04:10 -06:00
Jean-Philippe Garcia Ballester
998358ada8
Fix relative url
2012-07-25 12:27:00 +02: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
Jean-Philippe Garcia Ballester
7c180c86a4
Set wiki “base_path” option to fix “base_url”
...
If the “base_path” option of the wiki is not set, set it to the base url.
It will make links work seamlessly when mounting to a relative url.
2012-07-24 23:46:22 +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
8eaf7fc497
Remove msg.
2012-07-21 16:57:20 -06:00
bootstraponline
3255709399
Don't mess with the commit message.
2012-07-21 16:52:18 -06:00
bootstraponline
e0b7009bff
Add delete this Page based on .com.
...
Match short sha commit message of .com for edit and delete.
Update tests.
2012-07-21 15:33:43 -06:00
bootstraponline
dc9f6ac709
Display to_url name on create.
2012-07-18 12:29:03 -06:00
bootstraponline
a9e9eeeb54
Another encoding fix from #387 .
2012-07-12 12:06:47 -06:00
bootstraponline
67de8e6a3a
Fix to_url so it correctly handles _Header, _Footer, and _Sidebar.
2012-07-11 20:10:59 -06:00
bootstraponline
3d2c8e7cc5
ASCII only filenames.
...
Fix test_unicode.
2012-07-10 10:41:55 -06:00
bootstraponline
772ffcc5e8
Ensure ascii only filenames. Fix #423 .
2012-07-09 13:22:45 -06:00
bootstraponline
8c30bb3a9f
Merge pull request #422 from nature/sidebar_rendering_in_subfolders
...
Sidebar rendering in subfolders.
2012-07-09 09:19:11 -07:00
Darren Oakley
50e494e8e9
Make pages inherit their sidebar/header/footer from parent directories regardless of the current 'page_file_dir' of the wiki. refs #413 ( https://github.com/github/gollum/issues/413 )
2012-07-09 12:10:41 +01:00
Darren Oakley
ac97f7e9a2
Make the 'New Page' button create pages in sub directories if the user puts a slash in the path/page name.
2012-07-09 10:41:51 +01:00
bootstraponline
874d658d2a
Ace is broken on Safari 6. Fix #414 .
2012-07-06 12:01:45 -06:00
bootstraponline
9291431c61
Fix #413 .
2012-07-04 12:24:35 -06:00
bootstraponline
52e96bfa0f
Detect typed array support based on user agent.
...
http://caniuse.com/typedarrays
2012-07-03 15:26:40 -06:00
bootstraponline
00ded65b7f
Fall back to old edit mode if typed arrays are not supported.
2012-07-03 14:47:27 -06:00
bootstraponline
f738aa4234
Disable ie 9 live preview support for now.
2012-07-03 14:19:27 -06:00
bootstraponline
3f45c76f48
Extract path on edit. Fix #410 .
2012-07-03 10:53:18 -06:00
Sunny Ripert
7485733fba
Sinatra base url to allow subdirectories
2012-06-28 17:31:19 +02:00
Arran Cudbard-Bell
1d5bfbb162
Add URL for page creation to allow preemption by extensions
2012-06-24 22:41:27 +01:00
Darren Oakley
6e35a09abd
Add a 'New Page' button to the /pages browser that allows users to create a new page within a subdirectory.
2012-06-22 11:41:42 +01:00
Darren Oakley
7a251248f1
Re-work the compare URL matchers so that CGI escaping etc shouldn't be so needed.
2012-06-21 15:59:10 +01:00
Darren Oakley
971cbb94f6
Make the Sinatra app directory aware.
2012-06-21 15:59:01 +01:00
bootstraponline
4b02b74d6f
Fix #389 .
...
Set page name correctly on preview.
2012-06-19 10:59:24 -06:00
bootstraponline
0f451d6833
Fix #386 . File view defines its own layout.
2012-06-18 10:54:14 -06:00
bootstraponline
0cb39f049f
Fix IE check.
2012-06-08 16:57:19 -06:00