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
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
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
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
c4b7b2d9f2
added chunks
2005-08-09 02:07:39 +00:00
Rick Okin
8c331d1019
moved old test stuff
2005-08-09 01:28:19 +00:00
Rick Okin
64b9a5c747
fixing bad filename
2005-08-09 01:24:44 +00:00
Rick Okin
2eb01cd575
moved some tests over
2005-08-09 01:23:11 +00:00
Rick Okin
e4ecb406bf
renamed model directory
2005-08-09 01:18:00 +00:00
Rick Okin
6fb0102a5a
Just checking authentication
2005-08-08 04:32:03 +00:00
Alexey Verkhovsky
125cc37135
Added non-nullable fields to fixtures
2005-08-02 08:59:57 +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
21adee88d4
Initial database definitions
2005-08-02 07:58:22 +00:00
Alexey Verkhovsky
fdba99cb93
Branching out instiki-ar (for building an ActiveRecord backend)
2005-08-01 03:20:36 +00:00
Alexey Verkhovsky
adc6b005d5
Just checking my SVN access
2005-07-31 00:27:31 +00:00
Alexey Verkhovsky
64b1283bdd
The right Rails version in gemspec
2005-07-30 07:05:49 +00:00
Alexey Verkhovsky
021f37f16c
Typo correction
2005-07-30 06:51:03 +00:00
Alexey Verkhovsky
b89b0fbd36
Preparing a 0.10.2 release
2005-07-30 06:49:21 +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
659f4a4cc5
Correction of an earlier commit
2005-07-21 01:16:06 +00:00
Alexey Verkhovsky
55c1254627
Added routes such that URLs as /show/HomePage are directed to DEFAULT_WEB/show/HomePage, if DEFAULT_WEB is defined. This would greatly simplify Proxy configuration for sites like instiki.org
2005-07-20 03:21:20 +00:00
Alexey Verkhovsky
9d667c8ba5
Corrected a few failing functional tests (side effect of the prrevious commit)
2005-07-20 01:50:49 +00:00
Alexey Verkhovsky
b22d4fb530
Upgraded Rails to version 0.13.1
2005-07-20 01:36:58 +00:00