Commit graph

2530 commits

Author SHA1 Message Date
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
Robert Gaggl
2ab5f3ae7c evalPoll doesn't require title anymore (since it isn't part of the edit-form anymore) 2003-01-05 22:27:19 +00:00
806918f853 added unescape function for form values retrieved via request.data object 2003-01-05 16:59:58 +00:00
d0d0a3d031 changed the default behaviour how "RE:" is prepended to the title of a subsequent comment; added interface for posting a new story from other locations (e.g. bookmarklets) 2003-01-05 16:38:02 +00:00
Michael Platzer
eaaf060747 fixed bug 192: corrected iisClean()-function, so that it does not allow the character ^ anymore 2003-01-05 14:42:05 +00:00
Robert Gaggl
3ebd26f134 shortcut-table is called AV_SHORTCUT (not AV_SITE) 2003-01-03 09:25:08 +00:00
Robert Gaggl
58bf687f4d added new bloggerApi-functions 2003-01-02 19:16:32 +00:00
Robert Gaggl
7917270994 first step of rewriting (still not finished) 2003-01-02 19:15:08 +00:00
Robert Gaggl
8e61a17df2 moved from root-directory of application into subdirectory db_support 2003-01-02 19:12:48 +00:00
Robert Gaggl
5fcc9f8383 moved from root-directory of application into this directory (should be zipped for distribution) 2003-01-02 19:11:56 +00:00
Robert Gaggl
5eea674ddc - removed checkAccessPermission (this is now done using the standard securityFunctions)
- implemented bloggerApi-functions:
getUsersBlogs (returns all sites that a user has subscribed and has write-permissions)
getRecentPosts (returns a list of max. 20 posts that are either created or editable by a user)
getPost (returns a single post of a user)
- added functions getUser() and getBlog() that are not callable via XmlRpc but used by bloggerApi-implementation
- rewrote the rest of the functions to use the standard securityFunctions
2003-01-02 19:09:57 +00:00
Robert Gaggl
bb2d2104e8 added newly documented macros 2003-01-02 19:05:37 +00:00
Robert Gaggl
ff01391d37 securityFunctions now need the membership-level of a user as second argument 2003-01-02 19:05:03 +00:00
Robert Gaggl
ab1538b801 collection storiesById now contains all stories (not just the ones that are online). this collection is only used by bloggerApi 2003-01-02 19:03:50 +00:00
Robert Gaggl
369efff253 - moved checkIfLoggedIn() to securityFunctions.js
- decreased interval of scheduler to 5 seconds (otherwise too many objects would be locked when scheduler is running)
2003-01-02 19:00:30 +00:00
Robert Gaggl
ca44f02034 added function getMembershipLevel() 2003-01-02 18:59:42 +00:00
Robert Gaggl
3c97aa4ef7 accessing user-property sysadmin directly instead of calling function isUserSysAdmin (removed) 2003-01-02 18:59:04 +00:00