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
Robert Gaggl
ccacd86b24
fixed comments
2003-01-02 18:58:25 +00:00
Robert Gaggl
abf1276967
now using a java.lang.StringBuffer instead of a String-variable when creating the rawcontent of a story
2003-01-02 18:58:05 +00:00
Robert Gaggl
a71ad9d6e8
added function constructor()
2003-01-02 18:56:40 +00:00
Robert Gaggl
068a68f090
req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi)
2003-01-02 18:55:32 +00:00
Robert Gaggl
7dbd8cb9e3
renamed to securityFunctions.js
2003-01-02 18:55:12 +00:00
Robert Gaggl
c7e599b83e
removed functions isUserTrusted() and isUserSysAdmin(), moved checkIfLoggedIn() from objectFunctions.js into this file
2003-01-02 18:54:48 +00:00
Robert Gaggl
c61985604c
now calling new function getMembershipLevel() of membermgr to retrieve permission-level of user
2003-01-02 18:54:04 +00:00
Robert Gaggl
f1a9759aa5
- req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi)
...
- removed unused function isPostDenied()
2003-01-02 18:52:46 +00:00
Robert Gaggl
5ce2b214bf
renamed file to securityFunctions.js
2003-01-02 18:51:36 +00:00
Robert Gaggl
a259f484b7
createtime_macro() now only appears as link if the story was published in site (stories that are published only in a topic are not accessible via days-collection)
2002-12-23 14:58:26 +00:00
Robert Gaggl
4383149f88
changed image_macro():
...
- fixed a bug that lead to a thumbnail not being linked to the fullsize-image
- in case of a popup the onClick-handler is moved to the image-tag, the a-tag still contains just the link to the fullsize-image which should help those who have javascript disabled
changed linkedpath_macro() so that last item in breadcrumb-navigation is a link too if req.action != main and there is a main-action
2002-12-17 21:56:56 +00:00
Robert Gaggl
9dcde6723f
added function getNavigationName()
2002-12-17 21:54:12 +00:00
Robert Gaggl
597f5bf86d
added function getNavigationName() that displays either the title of a story/comment or a standard string containing the id
2002-12-17 21:53:09 +00:00
Robert Gaggl
52439f0b36
popupUlr() now uses (cached) getStaticUrl() instead of doing the same thing too
2002-12-17 21:52:20 +00:00
Robert Gaggl
9efff41cae
changed linkedpath_macro(): the last item in the breadcrumb-navigation is now also linked if req.action != main and there is a main_action
2002-12-17 21:51:50 +00:00
Robert Gaggl
44b80f807b
added a constant named array DISPLAY which contains the strings that should be displayed instead of the prototype-names (used in global linkedpath_macro() resp. getNavigationName())
2002-12-17 21:50:23 +00:00
Robert Gaggl
d157f98c38
added function getNavigationName() which overrides the hopobject-function to display the groupname of a day as a nicely formatted timestamp
2002-12-17 21:49:12 +00:00
Robert Gaggl
299c64f23f
removed prefetchChildren()
2002-12-17 21:30:55 +00:00
Robert Gaggl
5e7da8ad87
renderStorylist is now using prefetchChildren since all stories of a day will be displayed on one page
2002-12-17 21:28:26 +00:00
Robert Gaggl
7254464310
renderStorylist() now uses prefetchChildren (backport from antville.org)
2002-12-17 21:21:40 +00:00
Robert Gaggl
2fcdb83c8d
removed UTF-8 encoding in header
2002-12-17 21:16:31 +00:00
Robert Gaggl
153a015ea9
backport from antville.org: topic_macro now retrieves the topic of a story from the site-object to get the correct href()
2002-12-17 21:15:23 +00:00
Robert Gaggl
c528e2e8be
removed UTF-8-encoding at beginning of file (backport from antville.org)
2002-12-17 21:13:17 +00:00
Robert Gaggl
3558834d4c
bugfix: Math.min takes only two arguments (backport from antville.org)
2002-12-17 21:09:47 +00:00
Robert Gaggl
76ec8a05b9
removed loadmode aggressive (backport from antville.org)
2002-12-17 20:49:42 +00:00
Robert Gaggl
aa9d918615
renderImagelist now uses prefetchChildren() for preloading (backport from antville.org)
2002-12-17 20:48:04 +00:00
Robert Gaggl
3fe2e1fb80
added href_macro() (backport from antville.org)
2002-12-17 20:38:14 +00:00