Commit graph

  • c54a78c026 Links in Published Webs Links in published Webs (in particular, the author-link) should be to the published version of the page. Jacques Distler 2007-09-15 14:39:28 -05:00
  • 4144aa2c98 Can't. Stop. Tweaking. Themes. Jacques Distler 2007-09-15 11:40:48 -05:00
  • 2c4473a0e9 S5 Slide notes Slide notes are now served correctly (as application/xhtml+xml) to compatible browsers. So you can put math in your notes, and the MathML will render. Jacques Distler 2007-09-15 00:29:20 -05:00
  • 08857ebe8e Fix Markdown (non-math) Engine, Tweak Themes More tweaks to the supplied S5 themes. Fixed a minor regression in the non-Math Markdown engine. Jacques Distler 2007-09-14 18:09:24 -05:00
  • ee22cdf75e Use Standard PageRenderer for S5 Content Jason Blevins 2007-09-14 13:10:12 -04:00
  • 54aada824c Use Standard PageRenderer for S5 Content From Jason Blevins: use the standard PageRenderer class to render S5 content. This way, WikiWords (etc) are processed in S5 slideshows. Jacques Distler 2007-09-14 10:43:03 -05:00
  • 61b7168d7a Fixed regular expression to pick up S5 theme. Jason Blevins 2007-09-13 20:41:39 -04:00
  • b8911bc388 Render S5 slideshows using Instiki's rendering engine framework so that WikiWord links are processed. Jason Blevins 2007-09-13 20:25:20 -04:00
  • cbb3d5f256 Sync with latest trunk Jason Blevins 2007-09-12 20:25:52 -04:00
  • 3f5d804c22 Testcases for Recent XSS flaws Testcases for unsanitized chunk-handling. Jacques Distler 2007-09-11 20:49:56 -05:00
  • d0e834978a Fix Broken Tests In preparation for adding new tests, let's fix the existing ones. 3 Unit tests and one Functional test still fail. Jacques Distler 2007-09-11 12:04:26 -05:00
  • 119ab342dc Security: Sanitize <nowiki> Jacques Distler 2007-09-10 22:35:50 -05:00
  • 9035c98dc5 Bugfix: Category listings Fixed bug where clicking on a category link would stomp on the "All Pages" listing. Jacques Distler 2007-09-09 23:20:06 -05:00
  • ed68d975df Update to latest HTML5lib Fix that Tokenizer bug for real this time. Jacques Distler 2007-09-09 22:26:19 -05:00
  • f3a89556c4 A couple more Theme Tweaks. A couple more CSS troubles fixed. Jacques Distler 2007-09-07 00:21:17 -05:00
  • 9db5f83f13 Tweaks to the S5 "blue" Theme Corrected some small problems in the CSS. Jacques Distler 2007-09-06 23:52:22 -05:00
  • 5b182bd228 HTML5lib Bug Fixed a bug in the HTML5lib tokenizer (affects S5 slideshows). Some miscellaneous code cleanup. In particular, don't bother with zapping control characters; instead, rely on is_utf8? method to raise an exception (which we do anyway). Jacques Distler 2007-09-06 10:40:48 -05:00
  • f482036683 S5 Themes Support Added support for S5 Themes. Themes are stored in the public/s5/themes/ directory. 6 themes are included: default, nautilus, blue, flower, i18n, pixel. Jacques Distler 2007-09-05 08:38:54 -05:00
  • b96ff30026 Merged with Jacques' latest changes. Jason Blevins 2007-09-03 09:14:51 -04:00
  • 5ff1b7f6da XSS Security Fix There was a XSS vulnerability in the handling of categories. Now they are escaped. Jacques Distler 2007-09-02 00:33:28 -05:00
  • 6fd6be8fea Sanitizer Fix Whoops! Looks like Ryan changed the API for the HTML5 sanitizer. Bad, bad, bad. Fixed now. Jacques Distler 2007-08-30 16:06:20 -05:00
  • 81d3cdc8e4 Minor S5 tweaks and Sync with Latest HTML5lib Jacques Distler 2007-08-30 12:19:10 -05:00
  • dbed460843 Fixed S5 output for Safari Safari can now receive S5 slideshows as real XHTML. Jacques Distler 2007-07-27 13:47:19 -05:00
  • b42a4c5fec More TeX macros. Jacques Distler 2007-07-10 21:32:00 -05:00
  • 1bc5da0053 Use XHTMLSerializer, where appropriate. Jacques Distler 2007-07-04 18:53:03 -05:00
  • 8ccaad85a5 Sync with latest HTML5lib and latest Maruku Jacques Distler 2007-07-04 17:36:59 -05:00
  • 3070d6eeae Synced with trunk. Jason Blevins 2007-06-22 13:21:49 -04:00
  • 8e92e4a3ab Sync with latest HTML5lib Jacques Distler 2007-06-22 03:12:08 -05:00
  • bf572e295f A few TeX macros Tiny steps towards usable LaTeX output. Jacques Distler 2007-06-16 03:14:51 -05:00
  • df2898d940 Fix Caching bug (bis) Nope! It's not a Rails bug. It's an action_cache plugin bug, after all. Fixed now. Jacques Distler 2007-06-15 09:59:32 -05:00
  • 31f691329a Fix Caching Bug Files with "+"s in their names (e.g. from Wiki pages with spaces in their names) were not being expired properly. This is actually a Rails bug, but I fixed it by patching the action_cache plugin. Jacques Distler 2007-06-15 09:18:06 -05:00
  • 3de374d6c1 More fixes, sync with HTML5lib Do a better job with the wrapper <div>s added by xhtmldiff and Maruku's to_html_tree method. More tests fixed. Jacques Distler 2007-06-13 23:05:15 -05:00
  • 3ca33e52b5 Cleanup Got rid of redcloth_for_tex. Fixed almost all the busted tests. Jacques Distler 2007-06-13 01:56:44 -05:00
  • 2da672ec5b Many Minor Fixes Fixed a whole bunch of minor stuff. Had a go at getting some of the plethora of broken tests to pass. Jacques Distler 2007-06-12 17:37:55 -05:00
  • 0ddd422059 Sync with latest HTML5lib Jacques Distler 2007-06-11 23:33:06 -05:00
  • c2bfdefa57 Another XSS fix Yet another interesting XSS attack from http://ha.ckers.org/xss.html Jacques Distler 2007-06-11 00:03:51 -05:00
  • aac197430c More XSS vectors defanged Jacques Distler 2007-06-10 15:07:26 -05:00
  • a6cbf38304 Table elements, too Last fixup for the sanitizer tests. Jacques Distler 2007-06-09 22:53:35 -05:00
  • 6b2ec7354b Rationalize Sanitizer Tests Jacques Distler 2007-06-09 22:21:50 -05:00
  • a68d1aa8f3 Sanitizer API documentation now online See: http://golem.ph.utexas.edu/~distler/code/rdoc/sanitize/ Jacques Distler 2007-06-08 23:51:30 -05:00
  • f818238dd3 Consolidation Shuffled around a couple of files. Jacques Distler 2007-06-08 22:39:37 -05:00
  • 3bf560c3b3 Updated to Latest HTML5lib Synced with latest HTML5lib. Added some RDoc-compatible documentation to the sanitizer. Jacques Distler 2007-06-08 17:26:00 -05:00
  • 8badd0766a Enhancements to sanitize.rb Options, options, ... options. Jacques Distler 2007-06-08 01:23:09 -05:00
  • 0298868573 Fix S5 Unicode Make sure sanitize_xhtml and sanitize_html are set to utf-8 encoding. Also, a stylesheet tweak. Jacques Distler 2007-06-07 17:30:42 -05:00
  • 86a7577975 Renamed one function. Jacques Distler 2007-06-06 14:36:54 -05:00
  • 0012efcfb4 Fixed Porting Error in HTML5lib Serializer Jacques Distler 2007-06-06 08:44:57 -05:00
  • 8846b2cda5 Sync with Latest HTML5lib Some more tweaks Jacques Distler 2007-06-06 08:12:03 -05:00
  • fd183eac04 More Tests Put the Serializer version of the Sanitizer through its paces. Jacques Distler 2007-06-06 00:56:43 -05:00
  • e1acebe6e4 Bugfix Me stoopid. Jacques Distler 2007-06-05 18:06:26 -05:00
  • f0cf0ec625 Sanitize REML trees OK. Enabled sanitization of rexml trees instead of strings. My timing tests seem to be erratic. Can't tell whether this is really faster. Jacques Distler 2007-06-05 17:13:44 -05:00
  • bd8ba1f4b1 REXML Trees Synced with latest HTML5lib. Added preliminary support (currently disabled) for sanitizing REXML trees. Jacques Distler 2007-06-05 16:34:49 -05:00
  • aadfb55342 Merged with latest trunk. Jason Blevins 2007-06-04 22:47:59 -04:00
  • 4dd70af5ae HTML5lib is Back. Synced with latest version of HTML5lib, which fixes problem with Astral plane characters. I should really do some tests, but the HTML5lib Sanitizer seems to be 2-5 times slower than the old sanitizer. Jacques Distler 2007-05-30 10:45:52 -05:00
  • e1a6827f1f Rollback Switch to HTML5lib Apparently, HTML5lib does not handle astral plane unicode characters correctly. Which makes it useless. Return to the previous sanitizer. Jacques Distler 2007-05-29 23:57:39 -05:00
  • bc0153c23f A few more MIME Types Add a few more likely suspects. Jacques Distler 2007-05-29 23:02:19 -05:00
  • 162a00bed4 WEBrick MIME Types Add some MIME Types to WEBrick's woefully short list of recognized MIME Types. (A bas 'application/octet-stream'!) Jacques Distler 2007-05-29 22:39:35 -05:00
  • 3df61e352d Fix for IE7+MathPlayer. Based on Jacques Distler 2007-05-29 17:10:20 -05:00
  • dc629f5c07 Do Content-negotiation for Cached Content The action_cache plugin broke our content-negotiation. Fixed. Jacques Distler 2007-05-28 12:48:42 -05:00
  • 5db9b7d3ea Fixed action_cache Plugin The action_cache plugin had Conditional GET (If-Modified-Since) support. I added ETag (If-None-Match) support. Jacques Distler 2007-05-26 14:11:53 -05:00
  • c67cfbc52d Sanitize tests moved Sanitize tests are now in the vendor/plugins/HTML5lib/tests/ directory. Jacques Distler 2007-05-25 22:58:12 -05:00
  • d62b880e3f ETags and Action Caching Added the action_cache plugin Jacques Distler 2007-05-25 22:52:42 -05:00
  • 6b21ac484f HTML5lib Sanitizer Replaced native Sanitizer with HTML5lib version. Synced with latest Maruku. Jacques Distler 2007-05-25 20:52:27 -05:00
  • 457ec8627c ETag Support from Edge-Rails Added ETag support from Jacques Distler 2007-05-18 16:53:58 -05:00
  • e4e26400ef One more file... This one was missed by Revision 519 in Instiki Trunk. Fixed in my branch. Jacques Distler 2007-05-11 12:42:18 -05:00
  • 342f10acf6 Corrected Typo Fixed typo in one file from previous update. Jacques Distler 2007-05-11 12:34:21 -05:00
  • 3b6cd309ff Sync with Instiki Trunk Sync with Revision 519 of Instiki trunk (2007/5/7). Jacques Distler 2007-05-11 11:47:38 -05:00
  • 36b86a9d41 Removed deprecation errors for rails 1.2.3. Corrected test case failures as a result of updated features and functionality Matt MacGillivray 2007-05-07 22:46:00 +00:00
  • b0e063451f Sanitize Tweak Add 'cite' to the list of attributes whose values are URI's. Jacques Distler 2007-04-28 02:09:21 -05:00
  • 9b55a75570 More SVG Elements and Attributes Added <tspan> and <marker>, as well as a slew of related SVG attributes. Also an SVG-related stylesheet tweak Jacques Distler 2007-04-27 21:52:29 -05:00
  • 6ca6525ff7 Add another SVG attribute to Sanitize. Add 'stroke-opacity' to list of allowed SVG attributes. Jacques Distler 2007-04-20 16:09:55 -05:00
  • 493803cfd1 Atom Feeds (bis) Remove some vestiges of RSS 2.0. Jacques Distler 2007-04-13 17:20:14 -05:00
  • 3a57d3aade Atom Feeds Replaced Instiki's RSS 2.0 feeds with Atom 1.0 feeds. Jacques Distler 2007-04-13 17:04:03 -05:00
  • 81d71854c0 Sync with latest Instiki. Syn with revision 518 of Instiki trunk. Jacques Distler 2007-04-08 17:35:33 -05:00
  • 322a09274f in response to #406 - commented out parts in the css that would render the admin part ununsable. still needs research. Matthias Tarasiewicz 2007-04-08 20:12:23 +00:00
  • 40a71e80d9 fixes #439 by patch from alex eagle Matthias Tarasiewicz 2007-04-08 19:37:47 +00:00
  • 3ce0b98d99 File Security Redux. Hopefully, this will fix the world-writable-files problem with Rails, once and for all. Jacques Distler 2007-03-31 10:06:51 -05:00
  • 19889c98d4 Safari's DOM support in XHTML is horribly broken. Send it S5 slideshows as text/html. (Sorry: no inline SVG for you!) Turn on Maruku's Math support in S5 slideshows, only if corresponding Web is Math-enabled. Jacques Distler 2007-03-30 12:25:59 -05:00
  • 0db06a9fa3 To be really XML-safe, don't emit XHTML+MathML named entities. (Ported MathML::Entities to Ruby.) Jacques Distler 2007-03-29 03:30:10 -05:00
  • 9b9d134ad9 Fix upgrade to Rails 1.2.3. Fix log-rotation (the previous attempt didn't quite work as advertised). Jacques Distler 2007-03-21 15:37:29 -05:00
  • 7adac51d6d Sync with latest Instiki trunk. Changes: 1) Upgrade Rails to 1.2.3 2) Revert RedCloth to previous version (who %#$@ cares?) 3) Preserve the Rails Security fix to vendor/rails/actionpack/lib/action_controller/caching.rb from Revision 80. Jacques Distler 2007-03-18 11:56:12 -05:00
  • ca9e155c17 reverted redcloth to 3.0.3 (fixes formatting bugs) upgraded integrated rails to 1.2.3 Matthias Tarasiewicz 2007-03-18 10:20:35 +00:00
  • ff3e03a45a Switched from XHTML+MathML to XHTML+MathML+SVG DOCTYPE. Silly, I know ... Jacques Distler 2007-03-16 01:10:52 -05:00
  • f92ed693c0 Log rotation. By default, we now use the standard Ruby Logger class to rotate the Instiki logfile. This works fine with the default Webrick. But, if you're running under Mongrel (say), you probably want to customize this in config/environments/production.rb . Jacques Distler 2007-03-13 14:54:43 -05:00
  • c704f899af File uploads now work. Jacques Distler 2007-03-10 22:31:24 -06:00
  • 234d5d82f0 S5 views are now visible on a published Web. Another improvement from Jason Blevins. Jacques Distler 2007-03-10 18:56:33 -06:00
  • e2b93c9e29 Made S5 view publically viewable for published webs. Added an S5 view link to the bottom of the published view page. Jason R. Blevins 2007-03-10 18:03:40 -05:00
  • 8c0b3b3d2c Methods in WikiReferences now restrict themselves (properly) to the current Web. Fix from Jason Blevins. Jacques Distler 2007-03-10 17:00:24 -06:00
  • 12743280fb All WikiReference methods now limit results to the current web. Category lists are now restricted to the current web. Jason R. Blevins 2007-03-10 16:09:20 -05:00
  • 626c135d1e Security: ensure file upload directory is not world-writable. (There still seem to be bugs in the file upload function.) Jacques Distler 2007-03-10 11:26:30 -06:00
  • 46a456b3ad Security: ensure that the file system cache is not world-writable Jacques Distler 2007-03-10 11:05:52 -06:00
  • 4ae46b32d8 Sync with latest maruku. Jacques Distler 2007-03-10 02:06:54 -06:00
  • 144540a761 Fixed caching bug with category 'list' and 'recently_revised' views. Re-enabled filesystem caching. Jacques Distler 2007-03-10 00:18:18 -06:00
  • edf335060a Fix new.rhtml Jacques Distler 2007-03-09 08:28:19 -06:00
  • db76c79cfb Whoops! harmless typo. Jacques Distler 2007-03-09 08:04:24 -06:00
  • 46e78c2317 Sync with latest Instiki trunk (to the extent that the bizarre stuff being committed there makes any sense). Jacques Distler 2007-03-08 22:35:49 -06:00
  • a656772622 Deal with clients that don't send an HTTP_ACCEPT header. Cache S5, TeX and Print views. Temporary hack: don't cache list and recently_revised pages. Jacques Distler 2007-03-08 21:57:21 -06:00
  • d74116dc67 Ensure that input is bona fide utf-8. Jacques Distler 2007-03-07 21:06:39 -06:00
  • 8300133c8d Sync with latest Maruku. Jacques Distler 2007-03-07 12:49:06 -06:00
  • 7b1c7c0da6 S5 CSS tweak: .incremental code. Jacques Distler 2007-03-06 00:30:12 -06:00
  • 7cfa9bf1ba Page footer now includes link to my branch of Instiki. Jacques Distler 2007-03-05 09:32:53 -06:00