Commit graph

534 commits

Author SHA1 Message Date
Christoph Lincke
5eac776e9d changed clipping behaviour in the story.part macro:
tags are not stripped when part is not clipped

you should add a as="plaintext" in the story.historyItem skin, if you don't want html
 in the sidebar.
2005-09-21 14:33:07 +00:00
Christoph Lincke
57d6a58519 added as="plaintext" to work well with the new story.part macro 2005-09-21 14:07:01 +00:00
631d96457a bugfix: previous commit (which removed the setContent methods) caused antville to
not record any story or comment data at all. thus, i added the content.setAll method in
place of the removed 	setContent calls.
2005-02-19 12:08:51 +00:00
Robert Gaggl
8e575f747d removed setContent(): the rawtext is of no use anymore since search is now using lucene 2005-02-13 13:33:31 +00:00
Robert Gaggl
3fabb3c3cf first implementation of lucene-based search in antville 2005-01-24 22:24:37 +00:00
9bf4290719 exit commentform_macro() immediately if discussions are not enabled for the story 2004-11-16 12:58:59 +00:00
980ef2b3c3 slight but general overhaul of rss framework 2004-10-27 08:51:38 +00:00
1016432a40 check for param.clipping == null in content_macro 2004-08-03 12:26:13 +00:00
Robert Gaggl
1f687117fa bugfix in editlink_macro(), deletelink_macro(), onlinelink_macro() and viewlink_macro():
renderImage is a global method, not a site's one
2004-08-01 12:23:28 +00:00
94cb4c0a22 * check for param.as == "url" and/or param.as == "link" wherevery it (hopefully) makes sense
* cleaned up a little bit (code, comments)
2004-07-30 13:34:13 +00:00
Robert Gaggl
d92eba0f3b createLinkParam() now clones the param object, so there's no need to store the text defined in a variable 2004-05-08 16:53:44 +00:00
Robert Gaggl
ceee8bcbdb modified getRenderedContentPart(): use the story's site in res.handlers.site during
rendering, otherwise global macros (eg. image) won't work correctly (fixes bug 270)
2004-05-08 15:37:33 +00:00
1d86ef73b6 allow spacer macro in stories 2004-04-28 10:11:45 +00:00
0d993df71c temporarily fixed topic feature with a quick hack 2004-04-28 10:10:43 +00:00
d07a749608 removed invalid "as" html attribute from param2 in commentcounter_macro 2004-04-22 13:16:01 +00:00
Robert Gaggl
3e69d2d746 modified allowTextMacros():
- added hook to enable registering text macros defined in modules
- removed allowing of global shortcut macro
2004-03-21 14:23:38 +00:00
ee5a969fc2 renamed prototypes to uppercase first letter names; this implied renaming of file to Asset and of image to Picture to prevent clashes with helma's internal Image and File prototypes (including management mountpoints) 2004-03-20 18:13:50 +00:00
7da9efeb53 fixed bug that caused "allow comments" checkbox to be checked all the time 2004-03-20 12:07:50 +00:00
Robert Gaggl
ff26a78f66 changed content_macro(): use images.get(), otherwise an image whose name is a number (eg. 1001) won't be found
(fixes http://helma.org/bugs/show_bug.cgi?id=328)
2004-02-29 16:53:56 +00:00
Robert Gaggl
c5e89b3e11 modified getRenderedContentPart(): it now accepts a second parameter defining any special formatting of the content part (currently "plaintext" and "alttext") 2004-02-29 16:16:37 +00:00
Robert Gaggl
db341b6b52 modified content_macro(): pass param.as to getRenderedContentPart() since the latter now accepts different text formats (plaintext, alttext ...) 2004-02-29 16:15:14 +00:00
Robert Gaggl
588927e333 committed matthias platzer's language patch
(see http://grazia.helma.at/pipermail/antville-dev/2004-February/000489.html)
2004-02-16 17:51:26 +00:00
67427f2a37 added missing semicolon 2004-02-02 16:18:11 +00:00
b6ec95973b backlinks_macro:
* removed obsolete code
* updated for using antville library
2004-02-02 16:14:18 +00:00
Robert Gaggl
fabe74b211 - changed removal of comments: use comment.remove() instead of calling the parent's remove method (which is deprecated in helma)
- "notify" all comment collections with removeChild() because of aggressive cachemode (otherwise they won't be reloaded)
2004-01-16 11:47:42 +00:00
b4a6f23d1f cleaned up code 2004-01-13 12:25:53 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
c875c2684d slight changes 2004-01-12 15:57:28 +00:00
00add30ef2 replaced all occurences of "weblog" with "site" 2004-01-12 13:16:37 +00:00
304e1cc0be modified delete_actions and corresponding delete.skin 2004-01-12 12:47:18 +00:00
f4d432efd6 merged skins representing two different states of an object (e.g. online/offline stories) into mgrlistitem.skin by using the newly added antvillelib's switch_macro 2004-01-09 19:21:47 +00:00
d44aae4b6e removed backwards compatibility 2004-01-08 14:27:09 +00:00
11290106d3 removed deprecated or outdated code by enhancing the macro calls in the skin 2004-01-07 15:04:28 +00:00
58b009ec87 slightly modified layout 2004-01-06 18:04:05 +00:00
54878c2e4a check if topic name is already reserved word (e.g. action or function name) and display error message if so 2004-01-03 17:06:39 +00:00
2c649ebab6 added <br /> 2004-01-02 23:03:46 +00:00
2e64f5dfa3 fixed backlinks (strange enough, i believed i've seen it working...) 2004-01-02 23:03:30 +00:00
b901b38a71 do not display "backlinks" title if there are none 2004-01-02 22:31:05 +00:00
83040bd931 * added location_macro
* reduced online_macro to binary output (either "online" or "offline", resp. param settings)
2004-01-02 22:30:39 +00:00
0f226430ca implemented dayheader generally and reduced creator/date line to creator/time 2004-01-02 22:08:16 +00:00
419ca9c8c6 retouched layout to become more concistent 2004-01-02 22:06:37 +00:00
Robert Gaggl
3ee00ed75d - clone is now a method of Object instead of the deprecated ObjectLib object
- modified checkbox rendering: use createCheckBoxParam() instead of createInputParam(),  checkboxes now preserve their status even if the user is redirected back to the form
- use constants for editableby values which makes things more readable
2004-01-02 10:45:01 +00:00
Robert Gaggl
d24ec09b93 use constant for editableby value which makes things more readable 2004-01-02 10:43:30 +00:00
Robert Gaggl
4d0622fc8c use constants for editableby values which makes things more readable 2004-01-02 10:40:21 +00:00
Robert Gaggl
74520e5738 changed since the signatures of some AntvilleLib methods have changed:
- Html.dropDown (first argument must be an object containing all attributes of the opening select tag).
- Html.openLink(only argument is now an object containing all attributes of the a tag).
- Html.link and Html.linkAsString (first argument must be an object containing all attributes of the a tag).
2003-12-17 22:05:52 +00:00
Robert Gaggl
666a8734ac initial check-in 2003-12-08 22:59:01 +00:00
Robert Gaggl
efc302e658 removed 2003-12-08 22:57:05 +00:00
Robert Gaggl
8da39d7053 renamed to mgrlistitem.skin 2003-12-08 22:55:43 +00:00
Robert Gaggl
c7548b8536 simplyfied html code 2003-12-08 22:32:31 +00:00
Robert Gaggl
e4d3d20a93 modified backlinks_macro(): use res.push()/res.pop() instead of populating a StringBuffer (for performance reasons) 2003-12-08 21:06:50 +00:00