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
Alexey Verkhovsky
49fccc41c1
Cleaned up unit tests and began refactoring link generation
2005-08-25 07:41:25 +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
84d4e71d3e
Patch for Watir test from Bret Pettichord
2005-08-18 03:34:13 +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
47946e1c57
Committing OS X build files from Oleg
2005-08-15 00:40:34 +00:00
Alexey Verkhovsky
4849ca62fb
Fix for ticket:189
2005-08-15 00:37:16 +00:00
Alexey Verkhovsky
32bd6e47b7
Fix for ticket:189
2005-08-15 00:35:14 +00:00
Alexey Verkhovsky
7493bc8af9
Fixed exports and other file downloads
2005-08-15 00:24:15 +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
Ben Bleything
50343b79e8
Finish Rails-ifying the tree. Adds missing files and directories and
...
brings a few miscellaneous files up to date.
2005-08-11 05:36:35 +00:00
Alexey Verkhovsky
0f35016069
Also check if the specified page is there, and return 404 if not
2005-08-11 05:36:11 +00:00
Alexey Verkhovsky
fe868135c4
Check existance of a revision and respond with 404 if it doesn't exist.
2005-08-11 05:30:20 +00:00
Alexey Verkhovsky
503aa99c63
Set default port to 2500
2005-08-10 06:16:15 +00:00
Rick Okin
a91bd946b3
Added db/*.db to svn:ignore
2005-08-10 05:59:42 +00:00
Rick Okin
fa82bfdb9c
Without Madeleine, chunks can again use their object_id as a unique identifier, instead of an artificial one. This speeds up rendering somewhat, and eliminates the last mention of Madeleine from the codebase :)
2005-08-10 05:58:18 +00:00
Rick Okin
2c7a2779c7
Deleting Madeleine... with pleasure (it is cool, but not for wiki data)
2005-08-10 05:28:05 +00:00
Ben Bleything
b94559bc4c
remove development_structure.sql and ignore it in the future. We're
...
going to be hurting if we're developing on multiple db engines and keep
this file around.
2005-08-09 04:40:55 +00:00
Rick Okin
fffe1b897e
added log directory, set default database.yml
2005-08-09 03:52:54 +00:00
Ben Bleything
17833e23a5
Add executable bit to script/console and script/create_db
2005-08-09 03:45:09 +00:00
Rick Okin
08a66badb9
Removed debugging code from the last commit
2005-08-09 02:29:51 +00:00