Jacques Distler
e417054a67
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2010-01-04 06:48:20 -06:00
Jacques Distler
d786e95a77
Ruby 1.9 + MySQL Hack
...
The default encoding in MySQL is latin1. Ruby 1.9
is a stickler about the encoding of a sequence of bytes.
In this case, a utf8 page name stored in the database comes
back as "ASCII-8BIT" (ie, binary). Coerce that back to utf8.
This doesn't affect SQLite3, and it doesn't affect Ruby 1.8.
It doesn't even affect MySQL databases with "utf8" encoding
(though that has other issues, since MySQL's utf8 support is
broken).
There are probably other, similar problems lurking.
2010-01-04 06:41:04 -06:00
Jacques Distler
ce46bd0929
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-31 15:56:22 -06:00
Jacques Distler
f66fc4de4d
Fenced Code Blocks, Fortran Syntax Colouring
...
Support Marhdown Extra's fenced code blocks. [From Jason Blevins]
Fortran syntax colouring. [From Jason Blevins]
Turn on Syntax colouring, by default.
Point to Michel Fortin's Markdown Extra page.
2009-12-31 15:54:01 -06:00
Jacques Distler
7e61bc10d7
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-27 00:57:51 -06:00
Jacques Distler
2780344a1b
Version 0.18
2009-12-27 00:55:48 -06:00
Jacques Distler
27eab3ee41
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-27 00:43:28 -06:00
Jacques Distler
b75aa4b8d6
Fix a broken test
2009-12-27 00:41:04 -06:00
Jacques Distler
dce19f6eda
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-26 23:47:38 -06:00
Jacques Distler
601331b508
Move Files When Renaming Web
...
Renaming a web should move the
corresponding subdirectory of webs/ .
Otherwise, links to uploaded files break.
2009-12-26 23:43:18 -06:00
Jacques Distler
47439e97c5
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-26 14:03:26 -06:00
Jacques Distler
a705709f9a
Vendor Rack 1.1
...
Also clean up some View stuff.
2009-12-26 14:00:18 -06:00
Jacques Distler
e6673c4cee
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-24 00:52:39 -06:00
Jacques Distler
af0f607e75
Syntax Colouring
...
New syntax colouring modes.
In addition to the existing
html, xml, ruby
we now support
yaml, ansic, javascript, sqlite, css
2009-12-24 00:45:45 -06:00
Jacques Distler
8017ce5279
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-17 22:51:59 -06:00
Jacques Distler
a166fb9608
Add Link to BlahTeX Manual
2009-12-17 22:50:10 -06:00
Jacques Distler
cc8aa4b3e0
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-17 10:37:34 -06:00
Jacques Distler
a1420aa5c7
Revamp Markup Cheat Sheets
...
They still suck, but less-so.
2009-12-17 10:29:51 -06:00
Jacques Distler
c391c0eeee
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-16 01:04:56 -06:00
Jacques Distler
fe877a10b4
Make html_ext Available as a Helper
...
... and protected.
2009-12-16 00:59:33 -06:00
Jacques Distler
cf37421f4b
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-14 22:37:37 -06:00
Jacques Distler
f3b69bc57b
Make xhtml_enabled? a Protected Method
...
... as it should be. Remarkably, it's
still possible to use it in views, if
you declare it a helper method.
2009-12-14 22:34:31 -06:00
Jacques Distler
47941683ab
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-14 17:43:53 -06:00
Jacques Distler
d3e79ea84a
Make truncate() Unicode-aware
2009-12-14 17:41:28 -06:00
Jacques Distler
085783d308
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-14 02:07:56 -06:00
Jacques Distler
2c5e5a0015
Refactoring
...
Move the truncate() method into ApplicationHelper.
Move another method around, for no particularly
good reason. Controllers really shouldn't have
public methods that don't correspond to actions.
2009-12-14 02:01:50 -06:00
Jacques Distler
5899e19611
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-13 21:16:26 -06:00
Jacques Distler
dc3d202665
Cache Source View
...
Also, fix a cache-sweeping bug reported,
long ago, by Toby Bartels.
2009-12-13 21:09:12 -06:00
Jacques Distler
a02ada047a
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-13 20:02:24 -06:00
Jacques Distler
1613973929
Array#collect is faster than Array#inject
...
Also add some more tests.
2009-12-13 20:00:18 -06:00
Jacques Distler
0b1fccc178
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-13 19:29:02 -06:00
Jacques Distler
282515d907
Source View
...
Add a Source view. [Based on a suggestion by Andrew Stacey]
Fix a well-formedness bug in the list action, due to
boneheaded truncation algorithm. [Reported by Roby Bartels]
2009-12-13 19:25:14 -06:00
Jacques Distler
5090d1f167
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-07 15:31:28 -06:00
Jacques Distler
2c5c6dc78a
S5 Fix
...
Omit a (seemingly superfluous)
javascript hack which causes
Gecko-based browsers to request
/my_wiki/s5/null
when they load an s5 slideshow.
Also a stylistic cleanup in
the wiki_controller.
2009-12-07 15:27:40 -06:00
Jacques Distler
0bc05f11fd
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-02 12:47:53 -06:00
Jacques Distler
f7044ecbb4
Ruby 1.9.1 Fixes
...
Some more fixes to deal with Ruby 1.9.1.
2009-12-02 12:46:15 -06:00
Jacques Distler
1376a01574
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-12-01 12:07:16 -06:00
Jacques Distler
34b63a8375
Fix a Ruby 1.9 Character Encoding Bug
...
Wow, this stuff is complicated!
Some things really want to be UTF-8;
others really want to be byte strings.
2009-12-01 12:03:15 -06:00
Jacques Distler
1cf29f444f
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-22 01:34:50 -06:00
Jacques Distler
79c8572053
Use Rails.root
...
A little cleanup.
2009-11-22 01:32:58 -06:00
Jacques Distler
13c8990c80
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-22 00:33:18 -06:00
Jacques Distler
045dcbf1f5
Media Type
...
The default stylesheet should be media='all',
rather than media='screen'.
Damned Rails defaults!
2009-11-22 00:27:42 -06:00
Jacques Distler
77dcb015f3
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-09 18:19:12 -06:00
Jacques Distler
e678b7e3a2
Spacing Tweak
2009-11-09 18:17:57 -06:00
Jacques Distler
7189863225
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-09 12:01:20 -06:00
Jacques Distler
2b213d95de
Accessiblity: Skip Navigation Link
...
Thanks to John Gardner for the suggestion.
2009-11-09 11:58:57 -06:00
Jacques Distler
9015cfcfc0
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-06 21:26:01 -06:00
Jacques Distler
2e52ce48df
Update LaTeX Output for Revision 464
2009-11-06 21:23:18 -06:00
Jacques Distler
88cb82769a
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-06 14:37:40 -06:00
Jacques Distler
977da29f68
Support for \tooltip{}{} and \statusline{}{}
...
itex2MML 1.3.16 add a \tooltip{}{} command which,
like \statusline{}{}, produces an <maction> element.
Neither of these is natively supported by Mozilla/Firefox.
Add some Javascript to work around that weakness.
2009-11-06 14:32:45 -06:00