Commit graph

21 commits

Author SHA1 Message Date
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
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
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
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
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
6d8190c096 Moved old tests and app/model out of the way 2005-08-02 07:59:22 +00:00
Alexey Verkhovsky
04a8f80273 Further tweaking of markup error handling code 2005-05-29 18:40:25 +00:00
Alexey Verkhovsky
b1e92e3719 Cache clearing in Revision did not include wiki_reference_cache, which caused new pages to be created as orphans 2005-04-03 05:15:56 +00:00
Alexey Verkhovsky
0dabfca465 Use an internal sequence instead of object_id for an ID of a chunk [Denis Mertz] 2005-03-31 02:06:46 +00:00
Alexey Verkhovsky
78bad46419 Refactoring of chunks and rendering [Denis Mertz] 2005-03-27 18:13:43 +00:00
Alexey Verkhovsky
b1b04e1af4 URL autolinking bypasses inlined HTML (or any other URL preceded by double or single quote) 2005-02-20 09:28:41 +00:00
Alexey Verkhovsky
85bc93984d Page will try to render itself in revise method, and behave appropriately if markup engine fails [inspired by Denis] 2005-01-30 04:50:41 +00:00
Alexey Verkhovsky
3b6566577c Massive change of SVN properties to deal with EOL style problem 2005-01-24 18:52:04 +00:00
Alexey Verkhovsky
87ab5d00ae A bit of golf 2005-01-21 23:00:29 +00:00
Alexey Verkhovsky
befa8c91b2 reduced the number of warnings in unit tests (still very high though) 2005-01-21 22:08:47 +00:00
Alexey Verkhovsky
223b2bec6c Initial import of the sources from SVN 2005-01-15 20:26:54 +00:00