Commit graph

63 commits

Author SHA1 Message Date
Alexey Verkhovsky 79eb882a31 Avoid autolinking Markdown URIs (ticket:177) 2005-06-09 20:24:14 +00:00
Alexey Verkhovsky ebe0af1dfc Better handling of permissions for re-uploading a file that already exists (ticket:163) 2005-06-09 20:05:16 +00:00
Alexey Verkhovsky 9abb4f575a Refactoring page creation code [dm1] 2005-05-12 01:07:24 +00:00
Alexey Verkhovsky f6a3b88693 Fix for multiple includes on the same page; ignoring leading/trailing whitespace in WikiLinks [both by dm1] 2005-05-12 00:56:57 +00:00
Alexey Verkhovsky a14430a285 Multiline <nowiki> tag 2005-05-06 01:02:30 +00:00
Alexey Verkhovsky 598e4f272d Mixed mode that doesn't break on images 2005-05-01 02:47:57 +00:00
Alexey Verkhovsky 5c97cc593e [RESTORES BUILD] RedCloth does not support hard breaks in mixed mode 2005-04-10 17:57:24 +00:00
Alexey Verkhovsky a251b658f1 [BUILD BROKEN] BlueCloth the original distribution has some bugs. Digged out a patched-up version from Instiki 0.9 2005-04-10 17:48:50 +00:00
Alexey Verkhovsky 6f36e53290 BlueCloth is back with vengeance 2005-04-10 17:10:11 +00:00
Alexey Verkhovsky ee876a2907 Added some Textile rules to markdown option, in an attempt to force RedCloth to _really_ render Markdown 2005-04-10 03:18:10 +00:00
Alexey Verkhovsky 363276e436 Uncommented one test, and updated the other (after the hard breaks requirement) 2005-04-10 03:11:37 +00:00
Alexey Verkhovsky 8aac533614 orphaned_pages considers self-linking pages as orphans 2005-04-03 06:11:37 +00:00
Alexey Verkhovsky b1e92e3719 Cache clearing in Revision did not include wiki_reference_cache, which caused new pages to be created as orphans 2005-04-03 05:15:56 +00:00
Alexey Verkhovsky c646121b32 Fixed some unit tests 2005-03-31 04:44:10 +00:00
Alexey Verkhovsky dcfc6a48c4 Added a unit test for parsing of [[With:Colon]] 2005-03-29 05:19:32 +00:00
Alexey Verkhovsky 78bad46419 Refactoring of chunks and rendering [Denis Mertz] 2005-03-27 18:13:43 +00:00
Alexey Verkhovsky d330c02186 Prohibit invalid URI characters in web names (JavaScript normally prevents from it, but it may be disabled) 2005-03-26 00:00:49 +00:00
Alexey Verkhovsky f9b213cb82 Fixed Markdown tests to match RedCloth 3 rendering (which is slightly different from BlueCloth) 2005-03-25 19:20:43 +00:00
Alexey Verkhovsky 8de7ca3cee Bringing various things inline with the current state of Rails develolpment 2005-03-25 19:11:41 +00:00
Alexey Verkhovsky 6ee7514fb3 FileYard checks the file size against max_upload_size attribute 2005-02-21 14:00:00 +00:00
Alexey Verkhovsky 217dbdafdc Added max_upload_size to the FileYard constructor 2005-02-21 13:36:53 +00:00
Alexey Verkhovsky b1b04e1af4 URL autolinking bypasses inlined HTML (or any other URL preceded by double or single quote) 2005-02-20 09:28:41 +00:00
Alexey Verkhovsky d7198af00a HTMLDiff does not drop endlines anymore 2005-02-20 07:46:48 +00:00
Alexey Verkhovsky 5e25a94e51 [BREAK BUILD] Upgrade URL rewriting to Routes (there is one test case in routes_test.rb that fails, and it depends on some refactoring that I agreed upon with Ulysses) 2005-02-15 22:41:58 +00:00
Alexey Verkhovsky 9c04ed3461 Rehashed URL generation once again - templates should not use web.make_link anymore, there is link_for_page helper instead 2005-02-13 18:53:49 +00:00
Alexey Verkhovsky bb2d16c8a1 Upgraded RedCloth to 3.0.3 2005-02-10 23:11:47 +00:00
Alexey Verkhovsky 4e6d2cbdf6 Added validations to edit_web (it could overwrite parameters of an existing Wiki before) 2005-02-10 21:03:50 +00:00
Alexey Verkhovsky b888799798 Better URL parsing (URIChunk knows more country codes, and is smarter about avoiding messing with Textile markup) 2005-02-05 16:46:26 +00:00
Alexey Verkhovsky 9a5a195c47 Added max_ulpoad_sze property to web (not used yet), and redesigned edit_web page a little. 2005-01-30 06:11:00 +00:00
Alexey Verkhovsky 22a8ebb86d Droppped obsolewte require 'chunks/match' [Denis] 2005-01-30 02:57:53 +00:00
Alexey Verkhovsky 06daadc7df Reshaped "import wiki" feature from command-line to web interface 2005-01-27 03:55:19 +00:00
Alexey Verkhovsky 3b6566577c Massive change of SVN properties to deal with EOL style problem 2005-01-24 18:52:04 +00:00
Alexey Verkhovsky 8d576bbbf7 test for Web constructor (lots of default values) 2005-01-24 00:50:46 +00:00
Alexey Verkhovsky 44eea43940 uploading pics when not found in the file yard (same as for files) 2005-01-23 13:42:56 +00:00
Alexey Verkhovsky 8263e4bfcd [RESTORES BUILD] Wiki link (in double square brackets) has precedence over autolinking URLs;
contents of wiki links are not passed to markup engines; got rid of bracketing mask method in the 
chunks parser (it was a feature that caused a lot of parsing grief for no good reason)
2005-01-23 05:19:39 +00:00
Alexey Verkhovsky d6fe54f4ad [BREAKS BUILD] Links to pictures. Problem is, URIChunk thinks that index.jpg is a hyperlink to http://index.jp.
Also, commented out the code that was hiding rendering errors. This should be done at a different level.
2005-01-23 03:27:45 +00:00
Alexey Verkhovsky 1d82582c3b Extracted storage of files functionality from controller to an object called FileYard.
There is one file yard per web.
2005-01-23 01:36:51 +00:00
Alexey Verkhovsky 0d81292168 Rake's Test/Unit runner be damned 2005-01-23 00:48:00 +00:00
Alexey Verkhovsky e6c32bafc6 Wiki links to files point to the appropriate actions (file, pic) 2005-01-22 16:38:33 +00:00
Alexey Verkhovsky 9d90901cd0 URI rewriting to determine a controller based on an action name 2005-01-22 01:57:05 +00:00
Alexey Verkhovsky 92404470e8 Wiki link (square brackets) now knows its type (show, file or pic),
and does not mess up with Textile link hyperlink syntax
2005-01-22 00:39:03 +00:00
Alexey Verkhovsky 578becb609 uncommented a test that actually passes (WikiWord within Textile URL) 2005-01-21 22:43:13 +00:00
Alexey Verkhovsky dce2af06aa Autolink URLs like http://localhost:8000 (anything that has a schema like http:// and looks like a URL), in addition to internet URLs. 2005-01-20 21:34:27 +00:00
Alexey Verkhovsky 0d9d89ad3c URI rewriting should be very liberal towards page names 2005-01-20 01:00:47 +00:00
Alexey Verkhovsky 12aa4365ad Disabled a test that fails on RedCloth 2 2005-01-20 00:21:29 +00:00
Alexey Verkhovsky 97857409a9 Added -w to all shebangs [Florian Gross] 2005-01-20 00:05:23 +00:00
Alexey Verkhovsky 8eb35d4021 [RESTORES BUILD] URI parsing is smart about Instiki images again 2005-01-19 21:09:08 +00:00
Alexey Verkhovsky 11794e6f4f Fixed a test broken by lasy commit 2005-01-19 00:54:18 +00:00
Alexey Verkhovsky ca22e59c38 [BREAKS BUILD] Corrected and refactored revision_test.rb
Same story as with uri_test.rb; this test was skipped by Rake, because there was a syntax error in it.
Now there is no syntax error, but there is a failing test instead (introduced by changeset:48)
2005-01-18 22:32:50 +00:00
Alexey Verkhovsky 60c16e0be7 Corrected failing test 2005-01-18 20:29:10 +00:00