Commit graph

131 commits

Author SHA1 Message Date
Alexey Verkhovsky
0dabfca465 Use an internal sequence instead of object_id for an ID of a chunk [Denis Mertz] 2005-03-31 02:06:46 +00:00
Alexey Verkhovsky
4850e59d18 Fixed a really stupid bug in list.rhtml [Denis Mertz] 2005-03-29 06:25:42 +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
5e971e00b7 Reverting the last change 2005-03-29 06:08:18 +00:00
Alexey Verkhovsky
6367ef38c4 Small refactoring in web.rb (replaced three lines with one) 2005-03-29 06:00:07 +00:00
Alexey Verkhovsky
78bad46419 Refactoring of chunks and rendering [Denis Mertz] 2005-03-27 18:13:43 +00:00
Alexey Verkhovsky
a87ef98aef Replaced web.name with web.address in navigation.rhtml links 2005-03-27 14:23:09 +00:00
Alexey Verkhovsky
096fc1c8af Fixed navigation.rhtml links [dm1] 2005-03-26 18:56:37 +00:00
Alexey Verkhovsky
ae7ac63a9d Fixed web password protection (was broken by earlier refactoring), also adcded some user-friendlines to it 2005-03-26 15:43:59 +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
6cceead11c Added a code that is supposed to advertise RSS feeds for auto-discovery 2005-03-26 05:26:12 +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
b333e0797c More user-friendly error handling in admin/create_web 2005-03-26 00:09:41 +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
f58d9a80d5 Updated GEM packaging about renaming libraries to lib 2005-03-25 19:32:28 +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
aab6c4e32a Corrected some bad inglish [Gavin Sinclair] 2005-03-24 01:18:41 +00:00
Alexey Verkhovsky
0a3dccbaab Removed some debugging code that accidentally made it to the SVN (ouch) 2005-03-24 00:31: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
beeed3eee6 Corrected a copy/paste bug in tests, and corresponding problems in rollback.rhtml 2005-02-19 14:38:10 +00:00
Alexey Verkhovsky
f389d84453 Fixed a bug: URLs should contain web address, not name 2005-02-19 02:45:28 +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
a9304d35fb Simplified some code in wiki_content.rb 2005-02-18 14:21:17 +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
fd1d0ccc1e Better readability for URL generation methods in web.rb 2005-02-13 15:57: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
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
5cb21ff619 Friendly confirmation message in remove_orphaned_pages 2005-02-05 14:06:50 +00:00
Alexey Verkhovsky
5334fe626a compulsive quote editing 2005-02-05 13:59:43 +00:00
Alexey Verkhovsky
7c28e46688 added JavaScript check for empty password to remove_orphaned_pages action 2005-02-05 13:53:29 +00:00
Alexey Verkhovsky
bc97b8d4f7 enhanced password checking behavior in remove_orphaned_pages;
extracted password error to application
2005-02-05 13:34:12 +00:00
Alexey Verkhovsky
09cfb5635c merged edit_web and update_web into one action 2005-02-05 13:04:55 +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