Commit graph

278 commits

Author SHA1 Message Date
Alexey Verkhovsky 16454549fe Fixed a nasty bug that caused Instiki to go into an endless loop on call to /wiki/print/ 2005-09-27 03:30:01 +00:00
Alexey Verkhovsky 4c14f07100 Fixed caching of RSS feeds; changed from caches_page to caches_action to make authentication and other filters work 2005-09-12 01:12:00 +00:00
Alexey Verkhovsky cc99790a4a Caching and sweeping pages. RSS feeds behave funny 2005-09-11 18:02:56 +00:00
Alexey Verkhovsky c4f593151e [FIXES BUILD] Fixed categories behavior and added id generation in import_storage. Something is still wrong with orphaned pages though 2005-09-11 16:49:08 +00:00
Alexey Verkhovsky 32d238098e Taking care of svn adds and svn deletes for the last 24 hours or so. Boo on me! 2005-09-11 14:03:08 +00:00
Alexey Verkhovsky ac819d4d68 BREAKS BUILD: all pages etc are much faster, but categories functionality is broken (it was responsible for calling the renderer once per every page on All Pages) 2005-09-11 09:34:41 +00:00
Alexey Verkhovsky 541a5d3994 Deleted all references to PageRenderer from PageSet selectors; using wiki_references instead 2005-09-11 08:05:19 +00:00
Alexey Verkhovsky 6ff74f6b5a Update wiki_references to a newly created page from 'W' to 'L' 2005-09-11 06:15:59 +00:00
Alexey Verkhovsky cd68db01d2 Store wiki references found during rendering 2005-09-11 05:44:34 +00:00
Alexey Verkhovsky bfecd09b56 Fixed includes; started wrking onn caching strategy 2005-09-11 04:23:50 +00:00
Alexey Verkhovsky 70fa15e3f3 Continue extracting URL generation logic from model classes 2005-09-10 11:07:40 +00:00
Alexey Verkhovsky 7e500dfe57 Controllers create renderer objects and pass them on to page.revise and page.rollback methods 2005-09-10 06:12:57 +00:00
Alexey Verkhovsky 4838f6e684 Deleted the last of the rendering logic from Revision (making it a totally anemic entity, by the way) 2005-09-09 20:40:35 +00:00
Alexey Verkhovsky 427f989d69 Extacted rendering logic from the model 2005-09-09 05:31:27 +00:00
Alexey Verkhovsky acfae2818c Rmoved a redundant require 2005-09-09 03:32:54 +00:00
Alexey Verkhovsky fa0cf9032f Extracted link generation from Web into a separate class 2005-09-09 03:31:49 +00:00
Ben Bleything b29c59e470 Line ending cleanup. Most of these are svn propsets which should make
the files check out appropriately in the future.  The three files in
app/models had inconsitent line endings, so they had to be fixed by
hand.
2005-08-15 19:17:32 +00:00
Alexey Verkhovsky 4849ca62fb Fix for ticket:189 2005-08-15 00:37:16 +00:00
Alexey Verkhovsky 61eacae836 Fix for exports and other file downloads 2005-08-15 00:07:43 +00:00
Alexey Verkhovsky 06959ab278 Moved pretty date formatting from revision to the main view helper, where this presentation logic obviously belongs 2005-08-14 23:35:10 +00:00
Alexey Verkhovsky 5b075ca338 Renamed revised_on to revised_at everywhere (for consistency) 2005-08-14 23:27:55 +00:00
Alexey Verkhovsky c381287714 Fixed revision numbers in page.rhtml. All Watir tests now pass. 2005-08-14 23:22:31 +00:00
Alexey Verkhovsky d24cf7c8e1 Fixed continuous revision check 2005-08-14 23:09:10 +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
Alexey Verkhovsky 476d7810f6 Added Revision.timestamp attribute, which is a timestamp to the precision of msec. Intention is to get rid of the revision.number and use this one for sotrting etc. The problem with created_at / updated_at in this role is that trhey have precision of seconds, which is not good enough for some of the purposes. 2005-08-14 18:58:36 +00:00
Alexey Verkhovsky b4ae0b3065 Moving back some model classes to where they belong. Model classes need not map to database entities to be model classes 2005-08-14 04:42:19 +00:00
Rick Okin 6832b2edf9 removed old models' 2005-08-09 02:20:50 +00:00
Rick Okin 26c046cdfa move to AR 2005-08-09 02:20:28 +00:00
Rick Okin e4ecb406bf renamed model directory 2005-08-09 01:18:00 +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 adc6b005d5 Just checking my SVN access 2005-07-31 00:27:31 +00:00
Alexey Verkhovsky 207737aa22 Fixed a subtle incompatibility with older storages. Madeleine must die 2005-07-30 06:39:34 +00:00
Alexey Verkhovsky cf3cebb589 Replaced links to static resources with appropriate Rails helpers 2005-07-19 22:27:45 +00:00
Alexey Verkhovsky e5f34fd1db Adde a real href to Textile syntax hyperlink 2005-06-09 20:27:59 +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 a1527f60b0 Added explicit sorting of authors and pages in Authors page 2005-05-29 14:18:05 +00:00
Alexey Verkhovsky af50549e3e Don't include changes div, if there is only one revision 2005-05-28 23:37:23 +00:00
Alexey Verkhovsky 3107341af5 Corrected how orphan page names are rendered in All Pages list 2005-05-28 23:13:01 +00:00
Alexey Verkhovsky 7247e5ac99 Gave names to bottom menu hyperlinks (testability) 2005-05-18 02:07:48 +00:00
Alexey Verkhovsky 79cea66e36 Consistency tweak of the bottom menu in revision.rhtml 2005-05-18 01:47:07 +00:00
Alexey Verkhovsky 4c181089bb Gave names to bottom menu hyperlinks (testability) 2005-05-18 01:10:49 +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 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 7aac9e3690 Removing debug code accidentally committed in the last commit 2005-05-09 04:39:38 +00:00
Alexey Verkhovsky 7be6cbecba HTML-escaping of error and info messages 2005-05-09 04:31:02 +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 a14430a285 Multiline <nowiki> tag 2005-05-06 01:02:30 +00:00
Alexey Verkhovsky f77cf37f8e Assertion against nil arguments in Page constructor - one guy sent me a storage, containing a page with nil name 2005-05-05 12:24:02 +00:00
Alexey Verkhovsky 8755935bf6 Fixed wiki/export_html, ticket:147 2005-05-05 09:42:25 +00:00
Alexey Verkhovsky dd10e838c5 More hard-coded URI paths in form.action attributes 2005-05-05 06:26:47 +00:00
Alexey Verkhovsky 9b6c391062 Fixed a hard-coded link to :web/search, ticket:149 2005-05-05 06:13:33 +00:00
Alexey Verkhovsky 8827f61b70 Export with no layout option in the export_html 2005-05-03 02:13:42 +00:00
Alexey Verkhovsky c0e5673cc5 Fixed an incompatibility with old storages; ticket:133 2005-05-02 01:43:44 +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 e20e529960 Corrected a typo in a comment 2005-05-01 03:24:06 +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 24f418e5b5 Renamed redirect_show to redirect_to_page and redirect_home 2005-04-28 23:07:42 +00:00
Alexey Verkhovsky 396c651487 XHTML validity fixes from ticket:138 [JosephSHuang] 2005-04-28 05:35:58 +00:00
Alexey Verkhovsky eae0312932 Escaping page title in RSS feeds (ticket:143) 2005-04-28 05:10:58 +00:00
Alexey Verkhovsky 69c839e70a Correct DOCTYPE tag for transitional XHTML (ticket:129) 2005-04-19 04:17:17 +00:00
Alexey Verkhovsky 25a9cdea18 pubDate in RSS feeds is displayed in GT timezone (to work around a problem with showing a timezone in non-English OSes, ticket:92 2005-04-14 00:14:16 +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 9d3a3b2b8c textarea in wiki/edit.rhtml is HTML-escaped 2005-04-09 03:49:55 +00:00
Alexey Verkhovsky afb14c1011 Some JavaScript was showing on edit_web (ticket:117) 2005-04-09 03:05:37 +00:00
Alexey Verkhovsky b9ec3ee4b2 Line breaks cause <br/> in Textile again 2005-04-09 02:49:55 +00:00
Alexey Verkhovsky 37e1e6be0e Corrected position of markup help in new.rhtml (it really should be the same template as edit.rhtml) 2005-04-08 06:16:22 +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 6213e851e0 Fixed link to remove_orphaned_pages 2005-04-08 05:21:08 +00:00
Alexey Verkhovsky 76d6ea57a8 Help template for mixed markup 2005-04-08 05:20:40 +00:00
Alexey Verkhovsky b3aefba07a Fixed rendering, added a Mixed option (Textile + Markdown), default is Textile-only 2005-04-08 05:02:48 +00:00
Alexey Verkhovsky 1c40b5e570 Fixed an incompatibility with 0.9 storages that showed up only when you would try to edit a web 2005-04-08 04:31:48 +00:00
Alexey Verkhovsky 029189d8e9 Updated packaging automation to 0.10 2005-04-07 06:11:22 +00:00
Alexey Verkhovsky 4f04ff39e9 Fixed a subtle bug in RedclothForTex 2005-04-07 05:15:46 +00:00
Alexey Verkhovsky 41b3468a57 Cleared another reload warning 2005-04-07 05:14:02 +00:00
Alexey Verkhovsky 64061a95f9 More pesky hrefs deleted 2005-04-07 03:36:12 +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 1df5f3f764 Autofocus in login form 2005-04-05 12:47:59 +00:00
Alexey Verkhovsky e9c4948d0a Fixed links on wiki/export page 2005-04-03 07:52:01 +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 449a7fb8f3 Fixed links to author pages on wiki/revised_pages 2005-04-03 06:34:15 +00:00
Alexey Verkhovsky 1038c2b373 ... and on wiki/published, too 2005-04-03 06:19:33 +00:00
Alexey Verkhovsky cad124dbb5 Running on Rails footer shows only on the wiki/page view 2005-04-03 06:15:53 +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 c0605f0b78 Disabled file uploads in preparation to release 0.10 2005-04-03 04:22:46 +00:00
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