Commit graph

52 commits

Author SHA1 Message Date
Alexey Verkhovsky
61eacae836 Fix for exports and other file downloads 2005-08-15 00:07:43 +00:00
Alexey Verkhovsky
5b075ca338 Renamed revised_on to revised_at everywhere (for consistency) 2005-08-14 23:27:55 +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
Rick Okin
26c046cdfa move to AR 2005-08-09 02:20:28 +00:00
Alexey Verkhovsky
04a8f80273 Further tweaking of markup error handling code 2005-05-29 18:40:25 +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
4053380fd4 Improved error handling in wiki/save (ticket:153) 2005-05-09 05:16:20 +00:00
Alexey Verkhovsky
7be6cbecba HTML-escaping of error and info messages 2005-05-09 04:31:02 +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
ee396a3237 Fixed HTML export to work with current Rails (the implementation uses some non-public Rails methods, and since some point Rails 'forgot' to use layout in there) 2005-05-02 00:51:37 +00:00
Alexey Verkhovsky
24f418e5b5 Renamed redirect_show to redirect_to_page and redirect_home 2005-04-28 23:07:42 +00:00
Alexey Verkhovsky
7152a78476 Synchronized file names with their hyperlink paths in export files 2005-04-08 05:40:11 +00:00
Alexey Verkhovsky
e3a48c2732 Corrected some export file names (to have a slash between directory and file name) 2005-04-08 05:29:20 +00:00
Alexey Verkhovsky
4f04ff39e9 Fixed a subtle bug in RedclothForTex 2005-04-07 05:15:46 +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
bdb77c7108 Fixed the links on wiki/feeds page 2005-04-03 06:46:45 +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
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
8de7ca3cee Bringing various things inline with the current state of Rails develolpment 2005-03-25 19:11:41 +00:00
Alexey Verkhovsky
aa95acb4f7 RSS feeds accept query parameter start, end and limit 2005-02-18 02:24:16 +00:00
Alexey Verkhovsky
112a21da5c Moved remove_orphaned_pages action to admin controller 2005-02-13 14:58:03 +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
5cb21ff619 Friendly confirmation message in remove_orphaned_pages 2005-02-05 14:06:50 +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
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
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
3b6566577c Massive change of SVN properties to deal with EOL style problem 2005-01-24 18:52:04 +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
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
71407f9b9f removed a redundant method from WikiController 2005-01-22 01:15:09 +00:00
Alexey Verkhovsky
9242ad045d fixed the render_to_string hack to live peasefully with the new ActionPack rule that "the first render wins" 2005-01-21 21:06:46 +00:00
Alexey Verkhovsky
f84727c03e explicitly tell to Rails not to render a layout for file download actions (it shouldn't matter, but...) 2005-01-21 19:44:34 +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
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
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
Alexey Verkhovsky
dcf1030aaa Removed an obsoleted method and changed some comments 2005-01-16 19:37:34 +00:00
Alexey Verkhovsky
832cfdf605 Extracted default layout 2005-01-16 15:00:11 +00:00
Alexey Verkhovsky
bf309d3fbd Madeleine will check every hour if there are new commands in the log or 24 hours have passed since last snapshot, and take snapshot if either of these conditions is true 2005-01-16 03:05:45 +00:00
Alexey Verkhovsky
88b3a1ba08 Fixed a bug with system creation; also fixed a semi-hardcoded EXPORT_DIRECTORY path in controller 2005-01-16 01:11:08 +00:00