Commit graph

2396 commits

Author SHA1 Message Date
Robert Gaggl
242a5a67d9 delete param-property "what" in show_macro(), otherwise it will be rendered in img-tag 2003-02-03 11:15:34 +00:00
edd1ef1eb6 don't display user e-mail addresses in rss output if user.publishemail is set to false 2003-01-31 16:09:10 +00:00
bc37d92c9e generate etags depending on site.lastupdate 2003-01-31 15:48:06 +00:00
Michael Platzer
04ee438634 fixed a bug in evalURL(): http:// was preprended to the URL even if it started with mailto: 2003-01-31 09:39:10 +00:00
Hannes Wallnöfer
62886837c3 Set cachemode of child objects to aggressive.
Fetching the IDs of storymgr children makes up a large part of the slow queries on
antville.org.
2003-01-30 14:35:49 +00:00
Hannes Wallnöfer
fc179f1fa7 Add new stories to the storymgr child collection instead of the site's child collection.
This way we can set the storymgr child collection to cachemode=aggressive.
Fetching the IDs of storymgr children makes up a large part of the slow queries on
antville.org.
The change in getting hrefs of new public stories is a workaround to a bug in
Helma that I fixed today.

fixed in CVS today
2003-01-30 14:34:36 +00:00
Robert Gaggl
7e9716c4fa encode referrer for display (fixes bug 213, http://helma.org/bugs/show_bug.cgi?id=213) 2003-01-28 17:06:18 +00:00
Robert Gaggl
7ec367eb3e fixed a bug in evalStory(): setting editableby-property only if modifier equals creator, before it was impossible to switch editablyby to null again 2003-01-28 16:46:25 +00:00
Robert Gaggl
45a09ebde6 fixed a bug in isEditDenied(): modified isEditDenied(): added check for level == null, otherwise a story that is editable for subscribers and contributors is editable for everybody. 2003-01-28 16:45:02 +00:00
Michael Platzer
c84c7d669b bugfixing: if the story is edited by someoneelse than the creator of the story, then editableby was set to NULL, and therefore the story could only be edited by the creator in the following. 2003-01-24 16:28:22 +00:00
Robert Gaggl
1c982cb3af fixed a severe bug in onRequest(): getError() returns an object, and assigning this object to res.message throws an exception. But since this exception happens in onRequest() the rest of the function seem to be ignored, and the request ist processed ... 2003-01-24 13:41:24 +00:00
Robert Gaggl
e12402cc60 changed unsubscribelink_macro() to use constant SUBSCRIBER 2003-01-23 21:36:11 +00:00
Robert Gaggl
fe830047f7 changed level-checks because there's now a difference in meaning between level 0 and level null 2003-01-23 21:35:06 +00:00
Robert Gaggl
3e7d90e99f - changed evalRegistration: now special characters, eg. umlauts, dot, dash are allowed in user-names
- changed level-checks because there's now a difference in meaning between level 0 and level null
2003-01-23 21:34:52 +00:00
Robert Gaggl
663ff77022 added constant for SUBSCRIBER (== 0), fixed comments 2003-01-23 21:33:18 +00:00
Robert Gaggl
6a81fc9ee1 changed isDenied() so that only users who are allowed to add a story can access the shortcut manager 2003-01-23 21:31:57 +00:00
Robert Gaggl
bf40bb5ae9 changed default memberlevel from 0 to null (because 0 is the level of a subscriber) 2003-01-23 21:30:43 +00:00
Robert Gaggl
8f26d191a2 changed history_macro(): comments are not displayed if discussions are disabled either in site-preferences or for the story they belong to 2003-01-23 21:29:32 +00:00
Robert Gaggl
35f383a97e deleted isPostDenied() - using story.isPostDenied() instead 2003-01-23 21:18:56 +00:00
Robert Gaggl
6da9d2e618 now calling isPostDenied() of story instead of the comment-method (which was deleted since it didn't do anything different than the story-method) 2003-01-23 21:18:08 +00:00
Robert Gaggl
16e068ca81 changed isPostDenied(): posting comments is disabled either if discussions are disabled in site-preferences or for a story (fixes http://helma.org/bugs/show_bug.cgi?id=183) 2003-01-23 21:12:57 +00:00
Robert Gaggl
23de93fde1 changed commentlink_macro(): if discussions are disabled in site-preferences, this macro will not render a link to comment.hac (fixes http://helma.org/bugs/show_bug.cgi?id=183) 2003-01-23 21:11:24 +00:00
Robert Gaggl
bb140f18f0 removed senseless call of autologin() - this is already done by onRequest() 2003-01-23 19:53:53 +00:00
Hannes Wallnöfer
50892139de Removed the hardcoded encoding from the XML declaration. 2003-01-23 16:07:30 +00:00
Hannes Wallnöfer
355f988243 Add proper site URL in getUsersBlogs() - this may fail if href() doesn't return
absolute URLs.
2003-01-23 15:52:10 +00:00
Hannes Wallnöfer
0b818e2b05 Added support for extracting a post's title from <title></title> tags, which is
what w.bloggar and presumably other Blogger-API tools use to add titles
to a posting's content.
2003-01-23 15:45:31 +00:00
Hannes Wallnöfer
2c31f3cfc2 Use ts{} timestamp format instead of playin date. This is necessary to make
the recent referrers macro work with Mckoi database. It also works well with
MySQL.
2003-01-23 11:03:49 +00:00
Michael Platzer
070b3291b4 disabled the setting of the value of an input-tag to the request-object-value for buttons, since this does not make sense, and furthermore would lead to ugly values as soon as Umlauts are involved; 2003-01-21 10:09:00 +00:00
Michael Platzer
dd82c9a170 corrected confirm.welcomeSite to confirm.welcome 2003-01-21 10:03:17 +00:00
Michael Platzer
7d8476d706 removed incorrect quotation marks from confirm.imageDelete and confirm.fileCreate 2003-01-21 10:01:36 +00:00
Robert Gaggl
d03b3c112a changed deletePost() to return true in case the story was successfully deleted, false otherwise (by inverting result.error) 2003-01-20 20:58:25 +00:00
045dcc3e9f initial check-in 2003-01-14 18:15:00 +00:00
Robert Gaggl
369756abbd changed regex in activateLinks(): since format() is called before activateLinks() a plain text URL at the beginning of a line will actually have a <br /> before it 2003-01-14 10:56:03 +00:00
Robert Gaggl
287fa12100 changed scheduler-interval to 30 seconds (see http://helma.org/bugs/show_bug.cgi?id=201) 2003-01-14 10:44:23 +00:00
Hannes Wallnöfer
c19d750354 Call activateLinks() after format() in getRenderedContentPart().
This is to fix the misbehaviour described here:
http://project.antville.org/stories/254238/
2003-01-13 16:59:01 +00:00
Robert Gaggl
1c046ed25a changed to match the documentation on macros.antville.org 2003-01-13 11:53:43 +00:00
Robert Gaggl
0f00567693 rewrote installation instructions 2003-01-13 11:52:04 +00:00
Robert Gaggl
76b32c6598 added a missing quote in lastupdate-macrotag. 2003-01-10 13:12:00 +00:00
Robert Gaggl
ac9c0c73aa changed isNotPublic() because subscribers (level == 0) of a private weblog couln't access it, therefor they had to be granted a level >= contributor. Now isNotPublic() behaves in the same way as it did before the need_for_speed-branch. 2003-01-10 13:10:26 +00:00
95b5af749b fixed syntax errors in drop index statements (text in brackets, lines 9/10) 2003-01-09 15:02:25 +00:00
1224cc3cb7 proof-read and made some minor corrections (please re-read) 2003-01-07 17:28:16 +00:00
c6331a81b5 any color output is processed by renderColorAsString() in colorpicker_macro() 2003-01-07 16:40:28 +00:00
a4c771c2db colorpicker scripts are now accessible via a site action to enable virtual hosted weblogs using it 2003-01-07 16:37:49 +00:00
8520c11785 revamped colorpicker to enable sites with virtual domain hosting (like antville.org) to use the colorpicker, too. currently, the colorpicker scripts are hosted at www.antville.org whily trying to access objects on documents hosted at a different virtual domain (e.g. project.antville.org) and thus violating a browser's security handlers to avoid cross-domain scripting. 2003-01-07 14:45:50 +00:00
Robert Gaggl
ef878e428a next step in rewriting 2003-01-07 11:03:43 +00:00
Robert Gaggl
c56f8d6efe added pointers to macro-documentation 2003-01-07 11:03:26 +00:00
8b42344a48 moved modifytime_macro() to hopobject prototype 2003-01-07 10:57:31 +00:00
Robert Gaggl
a5d7877485 corrected check for png-images (they can have image/png or image/x-png as content-type) 2003-01-05 22:57:15 +00:00
Robert Gaggl
c575fccdf7 choice-title is now rendered as skin to allow macros (eg. for image-polls) 2003-01-05 22:44:33 +00:00
Robert Gaggl
bb56037bfa choice-value is now form-encoded to enable using html-code in choice-text 2003-01-05 22:28:20 +00:00