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
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
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
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
5b075ca338
Renamed revised_on to revised_at everywhere (for consistency)
2005-08-14 23:27:55 +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
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
adc6b005d5
Just checking my SVN access
2005-07-31 00:27:31 +00:00
Alexey Verkhovsky
04a8f80273
Further tweaking of markup error handling code
2005-05-29 18:40:25 +00:00
Alexey Verkhovsky
9abb4f575a
Refactoring page creation code [dm1]
2005-05-12 01:07:24 +00:00
Alexey Verkhovsky
c0e5673cc5
Fixed an incompatibility with old storages; ticket:133
2005-05-02 01:43:44 +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
5e971e00b7
Reverting the last change
2005-03-29 06:08:18 +00:00
Alexey Verkhovsky
6367ef38c4
Small refactoring in web.rb (replaced three lines with one)
2005-03-29 06:00:07 +00:00
Alexey Verkhovsky
78bad46419
Refactoring of chunks and rendering [Denis Mertz]
2005-03-27 18:13:43 +00:00
Alexey Verkhovsky
d330c02186
Prohibit invalid URI characters in web names (JavaScript normally prevents from it, but it may be disabled)
2005-03-26 00:00:49 +00:00
Alexey Verkhovsky
9c04ed3461
Rehashed URL generation once again - templates should not use web.make_link anymore, there is link_for_page helper instead
2005-02-13 18:53:49 +00:00
Alexey Verkhovsky
fd1d0ccc1e
Better readability for URL generation methods in web.rb
2005-02-13 15:57:58 +00:00
Alexey Verkhovsky
9a5a195c47
Added max_ulpoad_sze property to web (not used yet), and redesigned edit_web page a little.
2005-01-30 06:11:00 +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
6c020342a3
explicitly assign all defaults in Web constructor
2005-01-24 00:57:47 +00:00
Alexey Verkhovsky
8d8deb8e76
"user interface" to allow or prohibit file uploads (not working, just the UI element)
2005-01-24 00:20:31 +00:00
Alexey Verkhovsky
44eea43940
uploading pics when not found in the file yard (same as for files)
2005-01-23 13:42:56 +00:00
Alexey Verkhovsky
8263e4bfcd
[RESTORES BUILD] Wiki link (in double square brackets) has precedence over autolinking URLs;
...
contents of wiki links are not passed to markup engines; got rid of bracketing mask method in the
chunks parser (it was a feature that caused a lot of parsing grief for no good reason)
2005-01-23 05:19:39 +00:00
Alexey Verkhovsky
d6fe54f4ad
[BREAKS BUILD] Links to pictures. Problem is, URIChunk thinks that index.jpg is a hyperlink to http://index.jp .
...
Also, commented out the code that was hiding rendering errors. This should be done at a different level.
2005-01-23 03:27:45 +00:00
Alexey Verkhovsky
1d82582c3b
Extracted storage of files functionality from controller to an object called FileYard.
...
There is one file yard per web.
2005-01-23 01:36:51 +00:00
Alexey Verkhovsky
e6c32bafc6
Wiki links to files point to the appropriate actions (file, pic)
2005-01-22 16:38:33 +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