Jacques Distler
f23d892bf9
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-30 16:35:46 -06:00
Jacques Distler
a6429f8c22
Ruby 1.9 Compatibility
...
Completely removed the html5lib sanitizer.
Fixed the string-handling to work in both
Ruby 1.8.x and 1.9.2. There are still,
inexplicably, two functional tests that
fail. But the rest seems to work quite well.
2009-11-30 16:28:18 -06:00
Jacques Distler
7a8aef6020
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-18 12:45:58 -06:00
Jacques Distler
b1b988c672
Update Test for itex2MML 1.3.18
...
More entity fun.
2009-11-18 12:44:25 -06:00
Jacques Distler
5fb5744245
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-11-18 12:07:12 -06:00
Jacques Distler
371aab6f96
Sync with Latest itex2MML and MathML::Entities
...
Support the latest changes in
http://www.w3.org/TR/2009/WD-xml-entity-names-20091117/
2009-11-18 12:04:07 -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
Jacques Distler
3a4f66d484
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-10-22 17:59:25 -05:00
Jacques Distler
761f8bbb51
Links From Published Webs
...
Damn, but it's hard to get this right.
I think I've finally done it, though.
We'll see ...
2009-10-22 17:57:13 -05:00
Jacques Distler
097ce16e8b
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-10-19 22:59:29 -05:00
Jacques Distler
5df1504255
Tests for Revision 456
...
Functional tests for Revision 456.
Also, fix a buglet in handling rescues
for new pages.
2009-10-19 22:57:11 -05:00
Jacques Distler
7995143c09
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-10-09 23:20:38 -05:00
Jacques Distler
d14db51d9e
More Sanitizer Refactoring
...
Make the Sanitizer more efficient.
Also, update some unit tests.
2009-10-09 23:18:17 -05:00
Jacques Distler
59dba2105c
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-10-06 11:32:27 -05:00
Jacques Distler
aef669a923
Change some CRs to LFs
2009-10-06 11:31:15 -05:00
Jacques Distler
0d210fe10f
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-10-05 02:40:11 -05:00
Jacques Distler
d89769fe81
Update for itex2MML 1.3.13
...
Implements \mathrlap{}, \mathllap{}, and \mathclap{}.
Deprecates the use of \rlap{} (use \mathrlap{}, instead:
the latter works in math-mode in the LaTeX export, whereas
TeX's \rlap{} did not).
2009-10-05 02:36:00 -05:00
Jacques Distler
5634f93afc
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-10-04 03:47:21 -05:00
Jacques Distler
41274d64d0
Support itex2MML 1.3.12
2009-10-04 03:46:06 -05:00
Jacques Distler
48e6bd5f74
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-09-26 00:38:29 -05:00
Jacques Distler
510e44a61a
More tests
2009-09-26 00:36:28 -05:00
Jacques Distler
a35921a90d
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-09-25 16:02:23 -05:00
Jacques Distler
e0df6c8a6a
Updated Tests and Sanitizer Fixes for Revision 439
2009-09-25 15:59:43 -05:00
Jacques Distler
e489d77579
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-09-13 11:27:01 -05:00
Jacques Distler
affc47fc22
Fix TeX Rendering Bug
...
Make sure we
require 'maruku/ext/math'
before calling the Maruku#to_latex method.
Also, update test for itex2MML 1.3.11 .
2009-09-13 11:23:57 -05:00
Jacques Distler
f5f3d76c99
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-09-09 09:18:39 -05:00
Jacques Distler
3ff68ef42f
Don't Expand NCRs
...
That operation is not idempotent (among other defects).
Instead, just check that the NCRs corespond to valid utf-8.
(Reported by Andrew Stacey)
2009-09-09 09:16:00 -05:00
Jacques Distler
2068683ee8
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-09-07 20:44:57 -05:00
Jacques Distler
116255dc0d
Purify Categories
...
Apply the same methodology, as in Revision 432,
to the category chunk-handler. This completes
the replacement of all the code that looks like
if string.is_utf8?
do something
else
complain
end
with code that looks like
string.purify
do something
2009-09-07 20:38:09 -05:00
Jacques Distler
52a0b565a5
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-09-07 16:08:33 -05:00
Jacques Distler
c79fef9c01
Clean, rather than Complain
...
Previously, if the user tried to submit content which was
malformed utf-8, Instiki would complain loudly to him.
A slightly more user-friendly approach was suggested by
the latest Rails 2.3.4, and a conversation with Sam Ruby
(who suggested some improvements).
Now, instead of complaining, we remove the offending bytes,
leaving a well-formed utf-8 string, which we pretend is what
the user meant to submit.
2009-09-07 16:02:36 -05:00
Jacques Distler
f029aae60e
Refactoring the Web Model (From James Herdman)
...
A bit of refactoring, via
http://github.com/jherdman/instiki/tree/master
2009-09-05 23:02:52 -05:00
James Herdman
2c10cff214
Remove superfluous comment
2009-09-05 20:51:31 -04:00
Jacques Distler
23890d6ec0
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-08-28 11:15:37 -05:00
Jacques Distler
336e57d6b4
Pathname Objects
...
Web#files_path and Web#blatex_pngs_path now return Pathname objects.
Based on JHerdman's
5d1e8f420b
but requires several other changes to the code (which assumed a string).
Also, test for itex2MML 1.3.10 (you should update that too).
2009-08-28 11:10:34 -05:00
Jacques Distler
b1117a19c6
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-08-12 12:22:46 -05:00
Jacques Distler
8cf26c9249
Add a "Create New Page" Link to the Search Page
...
Based on an idea by nowa:
bcac6c9f94
2009-08-12 12:19:23 -05:00
Jacques Distler
c14c1f3c5a
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-08-04 15:45:56 -05:00
Jacques Distler
664552ac02
Rails 2.3.3.1
...
Update to latest Rails.
A little bit of jiggery-pokery is involved, since they
neglected to re-include vendored Rack in this release.
2009-08-04 10:16:03 -05:00
Jacques Distler
96defb0945
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-08-04 00:08:01 -05:00
Jacques Distler
329fafafce
Fix Two bugs from Toby Bartels
...
1. Ensure that "rollback" respects locked pages.
2. Expire revisions of an edited page. Use a before_save
hook to deal with the situation where a page's name
has been changed.
2009-08-04 00:02:04 -05:00
Jacques Distler
9edb8f6045
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-07-27 22:53:11 -05:00
Jacques Distler
0e0f666fb4
Rollbacks and Relative URLs
...
Ensure "rollback" locks page for editing. (reported by Toby Bartels)
Generate relative URLs, when possible. (Patch by Dennis Knauf)
2009-07-27 22:49:12 -05:00
Jacques Distler
9b074a93c7
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-07-13 13:01:53 -05:00
Jacques Distler
51280b758d
Redirected Pages are not Wanted Pages
...
Correct list of Wanted Pages. Should not
include redirected pages.
(Reported by Toby Bartels)
2009-07-13 12:59:42 -05:00
Jacques Distler
6079fedc16
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
2009-07-09 15:42:14 -05:00
Jacques Distler
77e00f1a76
Test for itex2MML 1.3.9
...
Make sure we have the latest itex2MML.
2009-07-09 15:40:45 -05:00