Commit graph

394 commits

Author SHA1 Message Date
Alexey Verkhovsky 09cfb5635c merged edit_web and update_web into one action 2005-02-05 13:04:55 +00:00
Alexey Verkhovsky 9cfa77dca2 same as before 2005-02-05 12:25:01 +00:00
Alexey Verkhovsky 20173b6457 compulsive quote editing 2005-02-05 12:15:50 +00:00
Alexey Verkhovsky ace569ae05 more regexp caching 2005-02-04 19:00:28 +00:00
Alexey Verkhovsky 9ea307b9d2 cleanup of chunks/engines [Denis] 2005-02-04 18:57:42 +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 c99d675780 web attribute accessed directly, not through accessor. Reason: not to scratch head about "who is web?" 2005-01-30 05:22:19 +00:00
Alexey Verkhovsky d80d60243b Some more accesskeys [kjell] 2005-01-30 05:12:01 +00:00
Alexey Verkhovsky 85bc93984d Page will try to render itself in revise method, and behave appropriately if markup engine fails [inspired by Denis] 2005-01-30 04:50:41 +00:00
Alexey Verkhovsky 2e9e82bd0a Documented last change in CHANGELOG; it was: search looks at page titles, as well as contents [edk] 2005-01-30 03:32:56 +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 22e7104ea1 Error message look slightly better. 2005-01-28 02:44:22 +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 9bc9a29789 corrected a warning prevention condition 2005-01-28 01:00:10 +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 785276efc1 bit better error handling in file/import 2005-01-27 04:14:41 +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 3e4154de82 fixed a problem where Instiki wouldn't start because
require 'application' was before require 'webrick_server' (?)
2005-01-26 01:02:39 +00:00
Alexey Verkhovsky c1b04185a6 First attempt at an "import wiki" script (causes regexp stack overflows in RedCloth 2 on Win32; reason unknown) 2005-01-25 22:13:14 +00:00
Alexey Verkhovsky 9f90f083d7 Moved some things from scripts/server to config/environment.rb 2005-01-25 22:06:34 +00:00
Alexey Verkhovsky 9e84693cb2 dropped -w flag from shebangs of ./instiki and ./instiki.rb.
There are many warnings coming from Rails, and spoiling the end-user experience.
2005-01-25 21:25:22 +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 6c020342a3 explicitly assign all defaults in Web constructor 2005-01-24 00:57:47 +00:00
Alexey Verkhovsky 75a8a3f560 "View changes" colours replaced text as well [Denis Mertz] 2005-01-24 00:55:18 +00:00
Alexey Verkhovsky 8d576bbbf7 test for Web constructor (lots of default values) 2005-01-24 00:50:46 +00:00
Alexey Verkhovsky 40ed02c771 anoter well-formedness tweak in edit_web.rhtml 2005-01-24 00:49:31 +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 a99e492f05 corrected a typo 2005-01-23 20:27:24 +00:00
Alexey Verkhovsky 405e81d29d set uploaded files to read-only access mode 2005-01-23 20:26:39 +00:00
Alexey Verkhovsky 12722d1df3 Cleaning up edit_web.rhtml; extracted all the JavaScript to a static file 2005-01-23 19:14:45 +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 a3142c377a prevent password managers from messing up edit_web form 2005-01-23 18:23:27 +00:00
Alexey Verkhovsky 805d4a829e further XML well-formedness fixes 2005-01-23 17:05:28 +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 203405c4dc File upload implemented (mentioning it in CHANGELOG).
Things to do: 
* testing, 
* security tightening, 
* admin controls (upload size cap, a way to disable the feature)
* handling of files/pictures in exported and published wikis
2005-01-23 14:58:32 +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
Alexey Verkhovsky 301464c4e4 new file (should have been included in the last commit) 2005-01-23 04:06:17 +00:00