Commit graph

505 commits

Author SHA1 Message Date
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
Robert Gaggl
d897c3512f property author of story was renamed to creator 2002-06-26 17:16:06 +00:00
Robert Gaggl
489833355b author_macro() was renamed to creator_macro() 2002-06-26 16:51:48 +00:00
Robert Gaggl
a94e09901e changed because the prototype weblog was renamed to site 2002-06-26 16:48:51 +00:00
Robert Gaggl
bd3b78d923 - lots of changes because the prototype weblog was renamed to site
- rewrote direct database-queries to match new db-schema
2002-06-26 16:35:28 +00:00
Robert Gaggl
72d830c930 changed because the prototype weblog was renamed to site 2002-06-26 16:23:37 +00:00
Robert Gaggl
cd8dfe8aeb now calling creator_macro() which is the renamed author_macro() 2002-06-26 16:22:41 +00:00
Robert Gaggl
c13183e3a7 story.author was renamed to story.creator, so author_macro() was renamed to creator_macro() 2002-06-26 16:17:33 +00:00
Robert Gaggl
67a6f7792f changed because the prototype weblog was renamed to site
plus story.author was renamed to story.creator
2002-06-26 16:15:43 +00:00
Robert Gaggl
704f144887 changed because weblog was renamed to site 2002-06-26 16:10:32 +00:00
Robert Gaggl
f8db009bff changed type.properties according to new database-schema:
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/)
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449 merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language) 2002-06-12 17:19:47 +00:00
Robert Gaggl
49c623f75b merged changes done in branch "grob_message" into main trunk 2002-06-12 17:19:05 +00:00
0327e048f1 removed some more markup from function code and fixed thumbnail_macro for backwards compatibility 2002-06-04 18:11:59 +00:00
adb5fd01a4 removed "?" from urlparam and "#" from anchor parameters in link macros 2002-06-04 17:58:19 +00:00
e942ee92fe fixed bug in onlinelink_macro: "param" instead of "linkParam" 2002-06-04 15:37:41 +00:00
f82b1aa47c moved <form> tags on positions that are appropriate for xhtml compatibility (hopefully...) 2002-06-04 15:34:47 +00:00
3baac801a0 moved renderInputText() et al. and renderImage() from hopobject to global 2002-06-04 14:53:17 +00:00
Robert Gaggl
62aad7f603 now using global markupelement-functions resp. global openLink() and closeLink()-funtions 2002-06-04 14:18:27 +00:00
Robert Gaggl
899a49a764 removed hardcoded #-sign in anchor-attribute of commentcounter-macro 2002-06-04 14:08:22 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
a491176656 res.write(simpleDropDownBox()) is replaced by renderDropDownBox() in level_macro() 2002-06-03 16:56:14 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
Robert Gaggl
0e7ae0b9ef change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
9b7847eec1 change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:37 +00:00
Robert Gaggl
0c8b4f852b change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:55:05 +00:00
Robert Gaggl
a971f59a73 (hopefully) fixed a bug where setting an offline-story online without a major update wouldn't lead to updating weblog.lastupdate 2002-06-02 15:46:47 +00:00
Hannes Wallnöfer
57a4302186 merged changes from branch hns_timezone into main branch. 2002-05-27 18:57:52 +00:00
Robert Gaggl
4d4c5bf563 - parent of stories is now weblog.stories (not either weblog.topics or weblog)
- renamed "allcomments"-collection to "comments" (since this appears in URL)
2002-05-15 23:17:21 +00:00
Robert Gaggl
e51f03c1ee - removed manual building of redirect-href() because stories now have one standard URL
- changed deleting of comments because comments now have story.comments as parent
2002-05-15 23:16:16 +00:00