Commit graph

2767 commits

Author SHA1 Message Date
Robert Gaggl
ee45995b9a - changed to use AntvilleLib methods
- added constructor function
- modified/simplyfied image handling methods
- removed caching from getStaticUrl()
2003-08-02 11:28:33 +00:00
Robert Gaggl
30da41a5eb - changed to use AntvilleLib methods
- modified createInputParam: submitted values now override property values
2003-08-02 11:26:34 +00:00
Robert Gaggl
aa4f525b47 - changed to use AntvilleLib methods
- moved constant definitions into separate file constants.js
- renamed checkEmail() to evalEmail()
- removed string check functions since they are replaced with AntvilleLib methods
- modified formatTimestamp to use AntvilleLib, site preferences are xml-encoded now
- added constructor functions for Message, Exception and MailException objects, changed interface of getMessage()
- added Method buildAlias() which is called by buildAliasFromFile(), now gets the destination collection as second argument
- modified getRole: use switch() instead of if/else if
- added method extractContent that extracts submitted story/comment content from req.data
- added method sendMail()
2003-08-02 11:25:37 +00:00
Robert Gaggl
aed223bad1 - changed to use AntvilleLib methods
- modified evalFile(): it now throws an Exception object in case something is wrong/missing
2003-08-02 11:20:24 +00:00
Robert Gaggl
bbb2fb13ac - added constructor function
- return a Message object
2003-08-02 11:19:16 +00:00
Robert Gaggl
c446218ae0 - modified deleteAll() to throw an Exception object in case a story couldn't be deleted
- changed to use AntvilleLib methods
2003-08-02 11:18:36 +00:00
Robert Gaggl
06530d532e - added constructor function
- modified updateComment(): throw an Exception object in case something is wrong/missing, a Message object as positive result
2003-08-02 11:17:16 +00:00
Robert Gaggl
2b473d20d7 - site.isNotPublic was renamed to isAccessDenied
- code reformatting, fixed a typo
2003-08-02 11:15:57 +00:00
Robert Gaggl
ef4fe87262 now using story.content_macro() as link 2003-08-02 11:14:51 +00:00
Robert Gaggl
9ec00f524a code reformatting 2003-08-02 11:14:24 +00:00
Robert Gaggl
0ab36be225 - added some new messages
- renamed "mailsubject" to "mail"
2003-08-02 11:13:54 +00:00
Robert Gaggl
abe8f7b107 use site.title instead of membership.sitetitle 2003-08-02 11:13:16 +00:00
Robert Gaggl
d2f7c4af5c added section "various additional skins" and the link to robots.skin 2003-08-02 11:12:44 +00:00
Robert Gaggl
889b12e145 switched from input type="button" to type="submit" 2003-08-02 11:12:05 +00:00
Robert Gaggl
480815bc75 slightly modified code-text 2003-08-02 11:11:30 +00:00
Robert Gaggl
01df707a3d added the name of the account to the mailbody 2003-08-02 11:10:40 +00:00
Robert Gaggl
190c6c87d3 - changed to use AntvilleLib methods 2003-08-02 11:10:12 +00:00
Robert Gaggl
139b8cbc00 - changed to use AntvilleLib methods
- call storymgr.isDenied() instead of doubling the check
2003-08-02 11:09:31 +00:00
Robert Gaggl
192de4e187 - changed to use AntvilleLib methods
rewrote content_macro():
- the content of a story/comment is now handled by mountpoint "content" (propertymgr).
- removed autoresponse functionality: this should be done in a separate macro (if needed)

- changed some macros because site preferences are now xml-encoded
- removed author_macro(), image_macro() and thumbnail_macro() which were only left for backwards-compatibility
- removed id_macro() since this is part of AntvilleLib now
- removed justintopic_macro()
2003-08-02 11:08:09 +00:00
Robert Gaggl
91aa97ea77 - changed to use AntvilleLib methods 2003-08-02 11:01:25 +00:00
Robert Gaggl
17151a35c4 - changed to use AntvilleLib methods
- some code reformatting
2003-08-02 11:01:02 +00:00
Robert Gaggl
f3d757c996 - changed to use AntvilleLib methods
- changed all preferences related macros since the site preferences are xml-encoded now
- discussions_macro() and addtofront_macro() now don't need an input type hidden anymore to preserve the submitted state
2003-08-02 11:00:26 +00:00
Robert Gaggl
9a1e050afe - changed to use AntvilleLib methods
- removed sitelist_macro() which was left for backwards compatibility
2003-08-02 10:58:24 +00:00
Robert Gaggl
bd32fd9dfc - changed to use AntvilleLib methods
- simplified choices_macro()
2003-08-02 10:57:39 +00:00
Robert Gaggl
aa5fd93fa9 - changed to use AntvilleLib methods
- switched from path.site to this._parent
2003-08-02 10:55:43 +00:00
Robert Gaggl
c352b6d11c - removed href_macro() because this is part of AntvilleLib now
- removed deprecated input_macro() - use the global one instead
- removed check for param.checkdeny in link_macro since i couldn't figure out why it was there
2003-08-02 10:53:21 +00:00
Robert Gaggl
7dca7c680a - changed to use AntvilleLib methods
- rewrote input_macro(): using switch instead of if/else if
2003-08-02 10:49:52 +00:00
Robert Gaggl
628ab00442 - changed to use AntvilleLib 2003-08-02 10:48:19 +00:00
Robert Gaggl
ec57027584 - changed to use AntvilleLib
- renamed timestamp_macro() to date_macro()
2003-08-02 10:47:40 +00:00
Robert Gaggl
68c8fc0609 - changed because site preferences are now xml-encoded
- changed to use HtmlLibrary
2003-08-02 10:46:43 +00:00
Robert Gaggl
3e14990414 - replaces attribute names "width" with "size"
- switched from input type="button" to type="submit"
2003-08-02 10:45:44 +00:00
Robert Gaggl
81acf4307b use story.content_macro() instead of story.title, story.text 2003-08-02 10:44:44 +00:00
Robert Gaggl
f26722b83e - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
- using user.publishemail_macro instead of general input type checkbox
2003-08-02 10:43:13 +00:00
Robert Gaggl
0ff833ada3 - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
- now using attribute "class" instead of attribute style where it defines a css class
2003-08-02 10:42:16 +00:00
Robert Gaggl
eee0bf7f5d changed from input type="button" to type="submit" 2003-08-02 10:41:03 +00:00
Robert Gaggl
bec9671d2b - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
2003-08-02 10:40:41 +00:00
Robert Gaggl
3e01e99b25 - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (width -> size, with -> cols, height -> rows)
2003-08-02 10:39:07 +00:00
Robert Gaggl
1da86f939d choice text is no longer pushed to skin, instead use choice.title_macro() 2003-08-02 10:37:57 +00:00
Robert Gaggl
b7a2d1bc9d code reformatting 2003-08-02 10:36:46 +00:00
Robert Gaggl
e61e1578c0 - changed because of propertymgr now handling the content of a story/comment
- some reformatting
2003-08-02 10:36:05 +00:00
Robert Gaggl
23920e7f0f - merged .hac files into this file
- removed checks for req.data.submit, use named submit buttons in skins now
- added try/catch blocks since most objectFunctions will throw an Exception now instead of returning an Error object
2003-08-02 10:33:54 +00:00
Robert Gaggl
14f50d76a1 - merged .hac files into this file
- removed permission checks, this is done in checkAccess() now
- removed checks for req.data.submit, use named submit buttons in skins now
- added try/catch blocks since most objectFunctions will throw an Exception now instead of returning an Error object
2003-08-02 10:33:16 +00:00
Robert Gaggl
028b5dc3aa - merged .hac files into this file
- removed permission checks, this is done in checkAccess() now
2003-08-02 10:31:27 +00:00
Robert Gaggl
799acc19fe moved from site to root - this way we don't have to create a temporary site object every time just for rendering the skin 2003-08-02 10:30:14 +00:00
Robert Gaggl
cc0f4b69b3 moved from image to imagemgr 2003-08-02 10:29:28 +00:00
Robert Gaggl
c7707beb7f moved from file to filemgr 2003-08-02 10:28:53 +00:00
Robert Gaggl
6884da6362 moved to root 2003-08-02 10:28:22 +00:00
Robert Gaggl
59ba787765 moved to imagemgr 2003-08-02 10:28:01 +00:00
Robert Gaggl
e458ddb886 moved to filemgr 2003-08-02 10:27:47 +00:00
Robert Gaggl
31b6666e46 moved file from user to membermgr 2003-08-02 10:27:25 +00:00