Commit graph

56 commits

Author SHA1 Message Date
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
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
759fbda8a0 Return HTTP404 to requests pointing to a non-existant web name 2005-03-25 23:40:03 +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
beeed3eee6 Corrected a copy/paste bug in tests, and corresponding problems in rollback.rhtml 2005-02-19 14:38:10 +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
112a21da5c Moved remove_orphaned_pages action to admin controller 2005-02-13 14:58:03 +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
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
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
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
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
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
780891349a explicit action and test for edit_web 2005-01-23 18:30:33 +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
39f854a11e display images from the file yard 2005-01-23 03:52:07 +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
c30989c7eb Actions that send files to browser smartly determine content-type HTTP header by the file name extnsion 2005-01-22 14:58:43 +00:00
Alexey Verkhovsky
e9a419c40f File download (primitive implementation) 2005-01-22 02:49:52 +00:00
Alexey Verkhovsky
12a34823a8 Beginnings of a FileController (serving the file upload feature) 2005-01-22 01:35:00 +00:00
Alexey Verkhovsky
88d7dc832d Setting Content-Type to UTF-8, to be consistent with meta-data in the HTML itself 2005-01-21 19:41:46 +00:00
Alexey Verkhovsky
e619e575ce extracted wiki fixture to test_helper (it still doesn't deserge a class of its own, but one day it might) 2005-01-21 19:40:04 +00:00
Alexey Verkhovsky
0d9d89ad3c URI rewriting should be very liberal towards page names 2005-01-20 01:00:47 +00:00
Alexey Verkhovsky
97857409a9 Added -w to all shebangs [Florian Gross] 2005-01-20 00:05:23 +00:00
Alexey Verkhovsky
7c02805102 Unsuccessful save unlocks the page; some tweaks and debug-level logging in in return_to_last_remembered 2005-01-18 00:36:43 +00:00
Alexey Verkhovsky
73552b36a0 If there is a validation error, save action will redirect to the last known good location and set error message in a flash 2005-01-17 23:17:28 +00:00
Alexey Verkhovsky
cb1d8ed54f Controller-level test for the last revision (submit of an identical revision) 2005-01-17 21:31:26 +00:00
Alexey Verkhovsky
8f5ac3440a All controller actions are covered by tests [main success scenarios only - not really trying to break it yet] 2005-01-17 20:37:06 +00:00
Alexey Verkhovsky
f28e572c65 Added a test for tex action 2005-01-17 20:03:49 +00:00
Alexey Verkhovsky
57df455d1d Removed accidentally duplicated code 2005-01-17 18:25:13 +00:00
Alexey Verkhovsky
bd8e725578 Added assertions for the response content in pdf action; changed all output file names to include seconds 2005-01-17 18:09:13 +00:00
Alexey Verkhovsky
01c5a65405 Sorted out pdf action 2005-01-17 15:47:43 +00:00