Robert Gaggl
5dc112e6b2
- changed createInputParam(): value is not form-encoded anymore, this is done in renderInput* if necessary.
2003-02-04 12:18:37 +00:00
Robert Gaggl
6b4665cf38
added function isCleanForName() which is needed for checking image- and file-aliases for invalid characters. allowed are a-zA-Z0-9.-_space. the former used function isClean() is a bit restrictive for that, on the other hand umlauts etc. lead to problems.
2003-02-04 12:18:20 +00:00
Robert Gaggl
6e2e859d28
- removed unused function changeAlias()
...
- fixed a bug in evalFile(): immediatly return in case something is wrong/missing. before that any check for invalid characters was useless because execution would not be stopped. Also changed from isClean() to isCleanForName() which allows spaces, commatas, periods etc. but *not* umlauts.
2003-02-04 12:18:06 +00:00
Robert Gaggl
fd91f3f7e4
- removed deleting of property "as" in renderInputTextarea(), this is done in renderMarkupPart()
...
- removed form-encoding in renderInputButton()
- added form-encoding of value in renderInputText()
2003-02-04 12:17:48 +00:00
ce37f4daac
added mappings for hopobject.modifytime macro
2003-02-04 10:02:02 +00:00
Robert Gaggl
20940d1aa3
changed createInputParam(): the value is now form-encoded, otherwise quotes would break the rendering
2003-02-03 11:24:08 +00:00
Robert Gaggl
6d33413ed7
encode image-alttext and title in renderImage(), otherwise an image-alttext with quotes would break the resulting image-tag
2003-02-03 11:17:46 +00:00
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