Alexey Verkhovsky
af25237a90
Render HTML pages for ExportHTML 'manually'
2005-10-27 05:29:24 +00:00
Alexey Verkhovsky
d28be2b0ef
[Breaks build] Upgraded Rails to 0.14.1
2005-10-26 01:06:41 +00:00
Alexey Verkhovsky
44d09c45f8
Fixed file permissions mask in file_yard
2005-10-20 01:23:31 +00:00
Alexey Verkhovsky
50b2cbd693
Fix to #255 - Author cookie expiry
2005-10-20 01:18:15 +00:00
Alexey Verkhovsky
9ea6e6ae65
Downgrading RedCloth back to 3.0.3 (3.0.4 is said to be buggy)
2005-09-28 04:12:11 +00:00
Alexey Verkhovsky
61776995b6
Fixes for MySQL compatibility
2005-09-28 02:03:28 +00:00
Alexey Verkhovsky
223a1f9de3
Speeding up some stuff
2005-09-27 13:46:02 +00:00
Alexey Verkhovsky
5447b82ed9
A bit of caching in the page_renderer
2005-09-27 05:26:19 +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
5b1778a7f1
Fixed handling of Windows EOLs in the import_storage
2005-09-27 03:30:42 +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
1d44ce1c18
Upgraded RedCloth to 3.0.4
2005-09-16 04:27:07 +00:00
Alexey Verkhovsky
79cf8a0ea1
Removing breakpoint from include.rb
2005-09-14 02:02:00 +00:00
Alexey Verkhovsky
4a8d6eefe0
Fixed chunk mask to handle negative object_id values [Venkat]
2005-09-14 02:01:20 +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
303622341b
Ignoring the cached stuff in public
2005-09-11 14:04:52 +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
bec3c98227
Moved the last unit test where it belongs
2005-09-11 06:28:59 +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
0c6626c375
Corrected WikiReference::link_type when a newly created page refers to itself (should be 'L', not 'W')
2005-09-11 05:59:21 +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
Alexey Verkhovsky
829d54a368
Fixed functional tests
2005-09-09 03:23:33 +00:00
Ben Bleything
7aaa35ae4a
Ye olde converter script.
...
* Script now parses the madeleine storage into SQL
* Added a new option, -o/--outfile to specify where the output from
the script should go
* ./import_storage -t /home/joe/instiki/storage/2500 \
-i /home/joe/instiki -o /home/joe/export.sql
Exporting the instiki.org snapshot I have takes about 40 seconds (with
output to screen) and generates an approximately 17 meg SQL script from
the ~900k Madeleine snapshot. Oh well.
Tested with MySQL.
2005-08-22 16:57:01 +00:00
Ben Bleything
0238780355
Set a couple of props on script/import_storage to prepare for the next
...
checkin...
2005-08-22 16:50:38 +00:00
Alexey Verkhovsky
e5b7037259
Small correction to the last commit
2005-08-18 03:35:25 +00:00
Alexey Verkhovsky
64dae975ae
Patch for Watir test from Bret Pettichord
2005-08-18 03:22:18 +00:00
Alexey Verkhovsky
cd1d5135a0
script/import_storage, half-way done. The idea is to have it output a series of INSERT statements that the user can review and execute in a database of user's choice. The part that I have done loads the Madeleine storage and iterates through webs/pages/revisions there
2005-08-16 06:47:52 +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
Alexey Verkhovsky
4f7e5bca30
Changes in Watir test to accomodate the AR backend
2005-08-14 04:06:31 +00:00
Ben Bleything
f07d0e32c6
Fix shebangs. Consistentlicious!
2005-08-11 05:46:38 +00:00