Commit graph

164 commits

Author SHA1 Message Date
Alexey Verkhovsky 7e500dfe57 Controllers create renderer objects and pass them on to page.revise and page.rollback methods 2005-09-10 06:12:57 +00:00
Alexey Verkhovsky 427f989d69 Extacted rendering logic from the model 2005-09-09 05:31:27 +00:00
Alexey Verkhovsky 829d54a368 Fixed functional tests 2005-09-09 03:23:33 +00:00
Alexey Verkhovsky e5b7037259 Small correction to the last commit 2005-08-18 03:35:25 +00:00
Alexey Verkhovsky 64dae975ae Patch for Watir test from Bret Pettichord 2005-08-18 03:22:18 +00:00
Ben Bleything b29c59e470 Line ending cleanup. Most of these are svn propsets which should make
the files check out appropriately in the future.  The three files in
app/models had inconsitent line endings, so they had to be fixed by
hand.
2005-08-15 19:17:32 +00:00
Alexey Verkhovsky 5b075ca338 Renamed revised_on to revised_at everywhere (for consistency) 2005-08-14 23:27:55 +00:00
Alexey Verkhovsky d24cf7c8e1 Fixed continuous revision check 2005-08-14 23:09:10 +00:00
Alexey Verkhovsky 052754b068 Dropped number from revision table. Also dropped timestamp. We will rely on autoincremented ID for sorting, and will for now store the time of last edit of the revision in revised_at. Later we will refactor content into a separate table (so as not to load the whole 300 kb of text and cached HTML every time we need page.revisions in code). Rake tests all pass, but watir tests indicate that some revision traversing links are still broken 2005-08-14 22:26:54 +00:00
Alexey Verkhovsky 476d7810f6 Added Revision.timestamp attribute, which is a timestamp to the precision of msec. Intention is to get rid of the revision.number and use this one for sotrting etc. The problem with created_at / updated_at in this role is that trhey have precision of seconds, which is not good enough for some of the purposes. 2005-08-14 18:58:36 +00:00
Alexey Verkhovsky 4f7e5bca30 Changes in Watir test to accomodate the AR backend 2005-08-14 04:06:31 +00:00
Ben Bleything f07d0e32c6 Fix shebangs. Consistentlicious! 2005-08-11 05:46:38 +00:00
Rick Okin 26c046cdfa move to AR 2005-08-09 02:20:28 +00:00
Rick Okin 8c331d1019 moved old test stuff 2005-08-09 01:28:19 +00:00
Rick Okin 64b9a5c747 fixing bad filename 2005-08-09 01:24:44 +00:00
Rick Okin 2eb01cd575 moved some tests over 2005-08-09 01:23:11 +00:00
Alexey Verkhovsky 125cc37135 Added non-nullable fields to fixtures 2005-08-02 08:59:57 +00:00
Alexey Verkhovsky 1b8baa3d03 Some infrastructure for AR and accompanying unit tests 2005-08-02 08:56:09 +00:00
Alexey Verkhovsky 6d8190c096 Moved old tests and app/model out of the way 2005-08-02 07:59:22 +00:00
Alexey Verkhovsky 9d667c8ba5 Corrected a few failing functional tests (side effect of the prrevious commit) 2005-07-20 01:50:49 +00:00
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 04a8f80273 Further tweaking of markup error handling code 2005-05-29 18:40:25 +00:00
Alexey Verkhovsky 2786446dbb Fixed a bad require in Watir test 2005-05-29 18:39:56 +00:00
Alexey Verkhovsky d275777d23 Watir tests for RSS feeds 2005-05-29 16:46:37 +00:00
Alexey Verkhovsky a1527f60b0 Added explicit sorting of authors and pages in Authors page 2005-05-29 14:18:05 +00:00
Alexey Verkhovsky c00d1ca0f1 Watir test for Authors 2005-05-29 14:12:46 +00:00
Alexey Verkhovsky a01f1aa008 Test for Recently Revised 2005-05-29 00:13:09 +00:00
Alexey Verkhovsky 62f5be7b35 Added assertion about wanted pages to All pages test, im proved handling of page names that need escaping by Watir test 2005-05-29 00:02:54 +00:00
Alexey Verkhovsky 5ef861f779 Removed a duplicate definition of the same test case; added an assertion to All Pages test 2005-05-28 23:43:28 +00:00
Alexey Verkhovsky 895dd41263 Watir tests for Hide Changes and for All Pages 2005-05-28 23:37:51 +00:00
Alexey Verkhovsky bc6f2c9bbc Watir test for View Changes 2005-05-28 22:54:09 +00:00
Alexey Verkhovsky a9bf736cbd Watir test for the rollback 2005-05-18 03:11:33 +00:00
Alexey Verkhovsky 95097ace5c Watir test for page editing and revisions behavior 2005-05-18 01:53:59 +00:00
Alexey Verkhovsky f92c000b1c Some more assertions in the Watir test 2005-05-18 00:39:26 +00:00
Alexey Verkhovsky acda6f3ed1 Watir test for adding a new page 2005-05-17 22:27:26 +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 33ae92a332 Extracted Instiki start/stop code in the Watir test suite (hairy Win32 incantations) into a class of its own. 2005-05-10 13:22:29 +00:00
Alexey Verkhovsky c2b9b48536 redirect_to_last_remembered raises an error when it fails to redirect to home - instead of trying retrying endlessly 2005-05-09 05:53:47 +00:00
Alexey Verkhovsky 4053380fd4 Improved error handling in wiki/save (ticket:153) 2005-05-09 05:16:20 +00:00
Alexey Verkhovsky 757e58b94f Corrected error handling by admin/remove_orphaned_pages 2005-05-09 03:52:43 +00:00
Alexey Verkhovsky b3e355f4bc Fixed error message display in admin/edit_web - Rails flash handling apparently has changed 2005-05-09 03:41:00 +00:00
Alexey Verkhovsky b432bbd3ae Slightly improved start/stop code in Watir test 2005-05-06 03:18:14 +00:00
Alexey Verkhovsky 7f9211d36b Beginings of a Watir test suite 2005-05-06 02:40:52 +00:00
Alexey Verkhovsky a14430a285 Multiline <nowiki> tag 2005-05-06 01:02:30 +00:00
Alexey Verkhovsky 8755935bf6 Fixed wiki/export_html, ticket:147 2005-05-05 09:42:25 +00:00
Alexey Verkhovsky 8827f61b70 Export with no layout option in the export_html 2005-05-03 02:13:42 +00:00
Alexey Verkhovsky 598e4f272d Mixed mode that doesn't break on images 2005-05-01 02:47:57 +00:00
Alexey Verkhovsky bb1425c6f7 Fixed a silly error in pubDate generation (RSS feed) 2005-04-28 23:52:44 +00:00