Commit graph

497 commits

Author SHA1 Message Date
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
Rick Okin
634bc67342 More lenient parsing of blocked_ips.txt and spam_patterns.txt 2005-08-09 02:28:37 +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
7ab0f052f3 Primitive spam filter 2005-08-09 01:58:16 +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
9f36bd59a9 Fxed handling of a page that tries to include itself 2005-08-02 03:23:05 +00:00
Alexey Verkhovsky
66ab8df6f4 Yet another extremely convoluted story about markup parsing... markup engines can replicate content within <pre> tags, and it was failing in an interesting way then 2005-08-02 01:03:43 +00:00
Alexey Verkhovsky
b6cede774d Clearing all caches retrieved from storage on startup 2005-08-02 01:00:07 +00:00
Alexey Verkhovsky
6a9cc87536 Markup engines are not a kind of chunk 2005-08-02 00:59:12 +00:00
Alexey Verkhovsky
0d1c92a988 Documented the previous change 2005-08-01 05:08:29 +00:00
Alexey Verkhovsky
6578bed720 Starting snapshot thread on first HTTP request (otherwise, --daemon option fails); ticket:48, ticket:198 2005-08-01 05:02:52 +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
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
1ac54a0685 Documented the last change 2005-06-09 20:25:35 +00:00
Alexey Verkhovsky
79eb882a31 Avoid autolinking Markdown URIs (ticket:177) 2005-06-09 20:24:14 +00:00