Commit graph

239 commits

Author SHA1 Message Date
Alexey Verkhovsky c7295287a4 Extract the inbound links list from page.rhtml and revision.rhtml into a partial 2005-11-04 06:19:10 +00:00
Alexey Verkhovsky dea8d70c48 Improved behavior of JavaScript in the author field [from I2 patch by court3nay] 2005-11-04 05:23:34 +00:00
Alexey Verkhovsky 35b77f6440 A bit of spit and polish 2005-11-02 09:04:53 +00:00
Alexey Verkhovsky 7f8d3adfb5 Copied over 0.14.2 ./public contents 2005-11-02 07:34:11 +00:00
Alexey Verkhovsky 3703c1e1b3 Upgrade to Rails 0.14.2; fixed a failing functional test 2005-11-02 04:55:06 +00:00
Alexey Verkhovsky d3b25c8a19 Added meta robots tag to the default layout; added error handling to published pages 2005-11-01 07:31:44 +00:00
Alexey Verkhovsky 9e7306fb0a Outdated TODO deleted 2005-10-28 14:14:31 +00:00
Alexey Verkhovsky af25237a90 Render HTML pages for ExportHTML 'manually' 2005-10-27 05:29:24 +00:00
Alexey Verkhovsky 50b2cbd693 Fix to #255 - Author cookie expiry 2005-10-20 01:18:15 +00:00
Alexey Verkhovsky 223a1f9de3 Speeding up some stuff 2005-09-27 13:46:02 +00:00
Alexey Verkhovsky 9816c395c5 Expire caches for referencing pages on saves and deletes; fixed date formatting in recently_revised 2005-09-27 03:53:29 +00:00
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