rick
dd30a7bdc2
fix markup on framed absolute image urls
2010-08-16 15:49:47 -07:00
rick
c7e172f5ca
can't access trees as files
2010-08-16 14:57:39 -07:00
rick
c69a5f80dd
prevent Gollum::Wiki instances from creating new pages that overwrite pages with the same name.
2010-08-16 07:56:46 -07:00
rick
ee04dd84aa
normalize commit hashes so they at least show 'anonymous' if no git user is set.
2010-08-16 07:36:32 -07:00
Chris Hoffman
4e3b4e23da
Ruby 1.9 compatibility
...
* Adds current directory to load path for tests because 1.9 does not
* Aliases String#lines to String#to_a under 1.8 to match 1.9 behavior
* Sets encoding magic comment in test file with characters outside ascii
* Require 'ostruct' explicitly
This depends on a patch to Grit to have full functionality through the
whole stack.
2010-08-14 21:37:00 +00:00
rick
8a189d4d53
Gollum::Page#versions sets :follow to false by default, and skips pagination options.
2010-08-05 11:28:00 -07:00
rick
1e96ce6e1e
Track a page's versions across renames
2010-08-04 15:57:37 -07:00
rick
760d9c1640
Wiki#update_page takes a name parameter for renames
2010-08-02 15:39:04 -07:00
rick
f0b22390fb
Change Page#name to Page#filename, and add extension-less Page#name
2010-08-02 15:32:05 -07:00
Tom Preston-Werner
206c8b0712
Implement Wiki#preview_page.
2010-07-31 14:29:54 -04:00
Tom Preston-Werner
38b8700651
Code hilighter needs to handle blanks lines.
2010-07-29 21:57:30 -04:00
Tom Preston-Werner
f23d093d6f
Strip code indents (two spaces or one tab) if present.
2010-07-29 21:45:17 -04:00
Tom Preston-Werner
afcaacbdf6
Footers should have a nil #footer.
2010-07-26 16:48:52 -07:00
Tom Preston-Werner
2bc9b2ec86
Implement Page#footer and display footer in frontend.
2010-07-26 16:33:19 -07:00
Tom Preston-Werner
d37d57596b
Support TeX-style math equations via MathJax.
2010-07-25 22:40:09 -07:00
rick
00227a118b
pass Grit::Commit to Gollum::Page instances from Gollum::Wiki#pages
2010-07-23 17:39:33 -07:00
rick
bd3721d4d3
fix markup tests for nokogiri 1.4.2
2010-07-23 16:36:57 -07:00
rick
a1db39195c
fetching pages from a bad version returns nil
2010-07-23 16:36:49 -07:00
rick
88934902fd
fix markup test errors
2010-07-22 20:20:12 -07:00
Tom Preston-Werner
a5d460636d
Make Wiki#page case insensitive.
2010-07-22 16:06:33 -07:00
Tom Preston-Werner
1af9898b4d
Implement Page#title.
2010-07-22 15:31:58 -07:00
Tom Preston-Werner
9e917e235a
Support external links.
2010-07-20 22:44:39 -05:00
Tom Preston-Werner
8221bd6321
Fix file link with external path.
2010-07-20 22:26:13 -05:00
Tom Preston-Werner
8595ca5645
Fix tests and handle touching tags.
2010-07-20 22:22:22 -05:00
rick
5135de1c3f
when linking images, assume '.' is the root path
2010-07-14 13:42:21 -07:00
rick
ecbb902e62
Gollum::Markup uses Wiki#base_path when linking images/files
2010-07-14 13:32:32 -07:00
rick
6bd375de2e
Wiki#pages only returns pages
2010-07-14 12:26:51 -07:00
Tom Preston-Werner
90ba8476b2
Allow changine of format in Wiki#update_page.
2010-07-13 15:31:50 -07:00
rick
7c380b15f5
use regex since the order of html attrs in formatted output is random
2010-07-12 17:42:24 -07:00
Tom Preston-Werner
baaa7c6b93
Allow base path to be specified for wiki links.
2010-07-12 17:05:48 -07:00
Tom Preston-Werner
970bb92c7a
Preserve orgmode-style double links.
2010-07-09 16:09:24 -07:00
Tom Preston-Werner
2c2bf68a3b
Escape lisp-quoted wiki links.
2010-07-08 19:04:36 -07:00
Tom Preston-Werner
5f7685d5fd
Sanitize HTML output.
2010-07-08 18:31:16 -07:00
Tom Preston-Werner
f3cbbb8652
Handle stupid 0x0D bytes because browsers are stupid.
2010-07-07 17:33:04 -07:00
Tom Preston-Werner
6c7fcf89c3
Add create/edit powers to frontend. Support external image URLs.
2010-07-07 16:02:26 -07:00
Tom Preston-Werner
0485c67b3d
Distinguish between present and absent page links.
2010-07-07 13:49:55 -07:00
Tom Preston-Werner
2e49f2c9e7
Minimal working frontend.
2010-07-07 00:29:51 -07:00
rick
6f4ae420a2
add pagination for getting log entries from wikis
2010-07-05 18:34:18 -07:00
rick
e0f90982b0
add Gollum::Wiki#pages
2010-07-01 16:32:08 -07:00
rick
4fe728b38a
add Gollum::Wiki#exist?
2010-06-21 15:22:21 -07:00
Tom Preston-Werner
63099ec5c0
delete_page
2010-04-20 18:19:54 -07:00
Tom Preston-Werner
a6079f3abd
code highligting
2010-04-20 13:39:37 -07:00
Tom Preston-Werner
7f2aa7b77f
test Page.cname
2010-04-19 17:11:06 -07:00
Tom Preston-Werner
addf3bb721
test image with float and align
2010-04-19 16:13:34 -07:00
Tom Preston-Werner
8cca294c25
fix img vert and horiz align
2010-04-19 16:11:43 -07:00
Tom Preston-Werner
4cec243aa0
get image tag attributes rollin
2010-04-19 15:50:10 -07:00
Tom Preston-Werner
354372705f
image alt
2010-04-19 11:49:46 -07:00
Tom Preston-Werner
857c6b5eb8
file links
2010-04-19 11:24:55 -07:00
Tom Preston-Werner
342edec448
image tag with relative path
2010-04-19 11:10:26 -07:00
Tom Preston-Werner
5f037e5e47
fix index clobbering and tighten some stuff up
2010-04-19 10:51:52 -07:00