Robert Gaggl
0ee4bc46ef
quick fix: manually escaping topic-names in topic-links because topic names containing spaces lead to a 404
2002-10-01 11:17:16 +00:00
Hannes Wallnöfer
894698b91b
set comment collection(s) to cachemode aggressive so the index is only
...
refetched when an add() or remove() operation is performed on this specific
collection, not when any comment anywhere is modified.
2002-09-20 17:22:39 +00:00
Hannes Wallnöfer
73318022b1
Added add() and remove() statements to allow all comment containers to be
...
set to cachemode=aggressive.
2002-09-20 17:21:31 +00:00
Hannes Wallnöfer
87b5cf0558
Backport of antville.org changes:
...
- Render links to comments directly as stories/storyid#commentid instead of
doing a redirect via comment/main.hac
- Render name anchor as <a name="..."></a>, since some browsers have problems
with the empty element representation.
- Select only those columns which are actually used in backlinks macro.
2002-09-20 16:11:17 +00:00
Robert Gaggl
4ec0075410
- removed creator_macro() since that's a hopobject-macro now
2002-09-02 20:25:46 +00:00
Robert Gaggl
e56ad5cbec
marked reads-property as "private"
2002-08-30 13:38:43 +00:00
Robert Gaggl
014a26f141
allowed fakemail-macro in stories
2002-08-26 10:41:47 +00:00
643b89b5cc
still fiddling with the right conditions for majorUpdate in evalStory()
2002-08-23 15:29:59 +00:00
358a6d8105
fixed a bug that caused exceptions due to content parts that did not exist after creation of a story
2002-08-23 15:06:46 +00:00
a6a09daf3e
added imgprefix to topic_macro() to define a prefix when topic is linked as image (default is "topic_")
2002-08-22 15:45:44 +00:00
9dd7000fc4
modified dc:subject tag to be hidden if param.subject is null
2002-08-22 13:32:06 +00:00
Robert Gaggl
6e3d1d7563
using encodeForm only when param.value is *not* null ...
2002-08-21 16:31:50 +00:00
Robert Gaggl
9371aaf119
now using encodeForm() for input type=text
2002-08-21 16:10:08 +00:00
Robert Gaggl
e63b982199
replaced in clipping-attribute with a normal space (this was occationally crapped by inserting <wbr />)
2002-08-21 16:08:25 +00:00
Robert Gaggl
a899ed611a
fixed a bug that would result in an error when story-comments are displayed on the frontpage of a site (and therefor no story is in path)
2002-08-21 13:21:05 +00:00
189de5db26
arranged setting of majorUpdate to new content model in evalStory() -- hope it works...
2002-08-20 08:46:45 +00:00
259352c995
splitted renderTextPreview() into clipText() and softwrap()
2002-08-14 17:36:14 +00:00
b778a95a89
revamped rss output:
...
1. moved rss10Channel.skins from global to rss.skin in root and site
2. moved rss10Resource.skin from global to rssResource.skin in root and site
3. moved rss10Item.skin from global to rssItem.skin in root and site
4. moved contents of global/rssTextInput.skin into site/rss10Channel
5. renamd rss10.hac in root and site to rss.hac
2002-08-14 17:21:14 +00:00
f4254a6360
moved historyview.skin from hopobject to story
2002-08-09 16:53:12 +00:00
16632edb72
replaced all occurrences of "this" with the name of the corresponding prototype
2002-08-09 15:45:59 +00:00
Robert Gaggl
765058116c
changed discussions_macro(): now this macro renders a checkbox plus a hidden input. this is needed to be able to check if the checkbox was embedded in story/edit.skin or not).
2002-08-09 11:53:32 +00:00
Robert Gaggl
b279adab3a
changed checking if comments should be enabled or not
2002-08-09 11:51:24 +00:00
Robert Gaggl
2fb2d49f28
corrected message-name (before the appropriate message wasn't found)
2002-08-09 11:44:05 +00:00
5d52401789
commented out two lines in content_macro() to prevent titles from not being displayed (we can be sure that the story will be transformed into the new model, anyway)
2002-08-01 20:00:53 +00:00
86e07fdb41
removed brackets from prefix/suffix parameters in online and commentcounter macros to guarantee that they always will be displayed (otherwise the closing bracket is missing if comments are disabled for a story)
2002-07-31 09:55:16 +00:00
e8949c7029
setting this.discussions to 1 by default (ie. if number cannot be parsed) in function evalStory().
...
otherwise weblogs with custom skins suddenly get their comment features disabled.
2002-07-29 16:16:52 +00:00
aeb6e84173
modified commentcounter_macro() again. added "as" parameter.
...
if set to "link" *every* amount of comments will be displayed as link.
if set to "text" only the amount of comments is displayed.
without param.as a link is displayed only if the amount is > 0.
2002-07-29 16:00:47 +00:00
6ac428114e
modified commentcounter_macro() to display nothing for a zero set of comments except param.no is not null
2002-07-29 15:29:27 +00:00
fc4b22ebf2
fixed bug in commentcounter_macro() that caused invalid markup to be output
2002-07-29 13:04:45 +00:00
efabd4ac2c
extended topic_macro() to display the topic as link, image (if available) or plain text.
2002-07-26 17:09:40 +00:00
f692940b3a
now autotitles work also in (1+n)-th level comments
2002-07-26 13:32:22 +00:00
824dde41f8
fixed a bug that prevented titles from being saved in content_macro()
2002-07-26 13:21:50 +00:00
b817e8ae0a
result of merge with helmaville
2002-07-26 12:55:35 +00:00
967351bd49
allowed shortcut and storylist macros in sandbox / function allowTextMacros()
2002-07-26 12:54:59 +00:00
427abe44dd
added first trial to output a title like "Re: title of previous posting" to a new posting
2002-07-26 12:44:25 +00:00
63958a9023
added clipping argument to renderTextPreview (result or merge with helmaville)
2002-07-26 12:39:31 +00:00
Hannes Wallnöfer
66d673087a
added as="image" option to content macro to interpret a content part
...
as image name and render the image.
2002-07-19 14:58:59 +00:00
Robert Gaggl
132b0de808
- added function hasDiscussions()
...
- removed format() at end of getRenderedContentPart(): this is now done right before it's rendered because it lead to some problems in site-historylist (when <wbr>-tags were inserted in the middle of an html-entity)
2002-07-19 08:54:40 +00:00
Robert Gaggl
eadb6a14ff
now using commentlink-macro instead of standard link (the commentlink disappears if discussions are disabled for a story)
2002-07-19 08:52:19 +00:00
Robert Gaggl
ba7ab29e93
added property discussions (mapped to TEXT_HASDISCUSSIONS)
2002-07-19 08:51:26 +00:00
Robert Gaggl
c59f3bf501
isPostDenied() now checks if comments are disabled for a story
2002-07-19 08:51:00 +00:00
Robert Gaggl
d74c8d40fd
added checkbox for enabling/disabling forum beneath the story (default value depends on what is defined in site-preferences)
2002-07-19 08:50:23 +00:00
Robert Gaggl
2f111390b5
now using commentlink instead of standard link-macro (the commentlink disappears if comments are disabled for a story)
2002-07-19 08:49:22 +00:00
Robert Gaggl
e9d8297de7
- reinvoked commentlink_macro(): it's only rendering a link if comments are enabled for this story
...
- changed commentcounter_macro() and comments_macro() too: they also check if discussions are enabled for a story
2002-07-19 08:48:22 +00:00
Robert Gaggl
819624d1a2
changed getRenderedContentPart() so that format() is done at the end before returning the string. this should reenable the wiki-functionality (before a wiki-style tag was encoded and therefore not found by doWikiStuff-function) and solve the problem that a macro-tag like <%story (mind the missing space between % and "story") would be encoded too (see http://helma.org/bugs/show_bug.cgi?id=98 )
2002-07-14 15:10:56 +00:00
f3f623901f
modified setting of res.data.title according to new story extension capabilities
2002-07-12 12:39:49 +00:00
a8c08da165
fixed a bug that prevented a macro like <% story.content part="title" as="editor" height="15" %> from outputting the right height of the textarea.
2002-07-10 12:20:22 +00:00
Hannes Wallnöfer
c8df8ac3de
merged xml_content branch.
2002-07-01 16:36:27 +00:00
Robert Gaggl
c882d3d7e6
changed because the prototype weblog was renamed to site
2002-06-26 17:29:39 +00:00
Robert Gaggl
a66f5cf9de
- changed because the prototype weblog was renamed to site
...
- removed hardcoded messages with getMsg()
- property author was renamed to creator
2002-06-26 17:17:35 +00:00