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
Alexey Verkhovsky
e6624b92d3
Removed a duplicate test
2005-04-28 23:43:52 +00:00
Alexey Verkhovsky
eae0312932
Escaping page title in RSS feeds (ticket:143)
2005-04-28 05:10:58 +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
a74b3f8934
Extracted categories menu to a helper, and got rid of hrefs
2005-04-07 03:24:02 +00:00
Alexey Verkhovsky
6f8b5b44d3
RSS feeds are now smart about password-protected webs
2005-04-03 07:31:11 +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
8b14617aea
Removed explicit conversions of URL elements - routing does that, and it was therefore done twice - wrong
2005-03-29 06:10:01 +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
c73db9ff5d
Calls to show with unspecified page name cause HTTP 404, not HTTP 500
2005-03-26 05:37:04 +00:00
Alexey Verkhovsky
dfcc891795
Removed some code from admin/create_web, the purpose of which was incomprehensible
2005-03-26 00:19:31 +00:00
Alexey Verkhovsky
2969b38bd0
Fixed expected redirection path in a couple of tests
2005-03-26 00:15:04 +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
759fbda8a0
Return HTTP404 to requests pointing to a non-existant web name
2005-03-25 23:40:03 +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
beeed3eee6
Corrected a copy/paste bug in tests, and corresponding problems in rollback.rhtml
2005-02-19 14:38:10 +00:00
Alexey Verkhovsky
1fa143f5d4
[RESTORES BUILD] Added assert_recognizes to test_helper.rb, pending commit of Rails patch 638
2005-02-19 13:58:27 +00:00
Alexey Verkhovsky
414ed31a58
Converting hyperlinks to link_to calls (now that we have Routes, they work)
2005-02-18 23:19:42 +00:00
Alexey Verkhovsky
aa95acb4f7
RSS feeds accept query parameter start, end and limit
2005-02-18 02:24:16 +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
112a21da5c
Moved remove_orphaned_pages action to admin controller
2005-02-13 14:58:03 +00:00
Alexey Verkhovsky
bb2d16c8a1
Upgraded RedCloth to 3.0.3
2005-02-10 23:11:47 +00:00
Alexey Verkhovsky
2aa1aa8fad
Graceful handling of validation errors in edit_web, and a friendly confirmation in case of success
2005-02-10 22:05:30 +00:00
Alexey Verkhovsky
8ab380d6dd
Deconflicting a name of an input for two forms on the same page
2005-02-10 21:41:31 +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
21f7693c06
Fixed links to Wiki pages with slashes and other interesting characters in the name
2005-02-05 16:36:27 +00:00
Alexey Verkhovsky
8b21b8286f
extra tests for edit_web
2005-02-05 13:19:20 +00:00
Alexey Verkhovsky
09cfb5635c
merged edit_web and update_web into one action
2005-02-05 13:04:55 +00:00
Alexey Verkhovsky
2ca286971c
Web remembers max_upload_size submitted to update_web action (still is not used though)
2005-01-30 06:18:57 +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
5ea3f93bf9
author links on print page are smart about whether they are being exported or just displayed in the browser
2005-01-30 05:33:05 +00:00
Alexey Verkhovsky
a0303d1eea
Search
2005-01-30 03:17:02 +00:00
Alexey Verkhovsky
22a8ebb86d
Droppped obsolewte require 'chunks/match' [Denis]
2005-01-30 02:57:53 +00:00
Alexey Verkhovsky
3c1990a42a
Not all incarnations of pdflatex know the --output-directory option [Denis]
2005-01-30 02:56:03 +00:00
Alexey Verkhovsky
63cf09059b
Merged new_web action into create_web
2005-01-28 03:44:36 +00:00
Alexey Verkhovsky
16dcdb6e0e
A friendly confirmation when a new wiki is set up
2005-01-28 02:57:25 +00:00
Alexey Verkhovsky
83c6eadc0c
Merged new_system action into create_system
2005-01-28 02:35:59 +00:00
Alexey Verkhovsky
88e52ab5a9
Extracted AdminController from WikiController
2005-01-28 01:24:31 +00:00
Alexey Verkhovsky
60dfbd72b7
renamde a test for authenticate with wrong password so that it does not duplicate the name of another test.
2005-01-28 00:52:37 +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
b747b611b3
Blocking of file uploads by admin
2005-01-24 01:04:00 +00:00
Alexey Verkhovsky
8d576bbbf7
test for Web constructor (lots of default values)
2005-01-24 00:50:46 +00:00
Alexey Verkhovsky
8d8deb8e76
"user interface" to allow or prohibit file uploads (not working, just the UI element)
2005-01-24 00:20:31 +00:00
Alexey Verkhovsky
584c4b39ef
Preventing an endless loop in case test_helper is loaded twice
...
(note to self: _always_ enclose alias within unless method_defined?)
2005-01-23 19:12:57 +00:00
Alexey Verkhovsky
780891349a
explicit action and test for edit_web
2005-01-23 18:30:33 +00:00
Alexey Verkhovsky
685874da83
when response is a file download, there is no need to check that it is well formed HTML (it's not, anyway)
2005-01-23 16:37:58 +00:00
Alexey Verkhovsky
c8e459cbb0
Added a check for XML well-formedness to assert_success
...
(optional, enabled by uncommenting a variable at the top of test_helper.rb);
corrected some malformed templates (not all yet)
2005-01-23 16:34:27 +00:00
Alexey Verkhovsky
a7bb047424
FileController refreshes references to files/pictures after an upload
2005-01-23 14:54:41 +00:00
Alexey Verkhovsky
14c114529a
added test for upload
2005-01-23 14:32:10 +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