Commit graph

2187 commits

Author SHA1 Message Date
Robert Gaggl
b8872f65cd switched from input type="submit" to type="button" 2003-08-02 12:00:52 +00:00
Robert Gaggl
0d5d6fc8c1 minor code reformatting 2003-08-02 11:59:56 +00:00
Robert Gaggl
1567862e09 - use AntvilleLib methods instead of hardcoded html
- minor code reformatting
2003-08-02 11:59:28 +00:00
Robert Gaggl
53bb019886 - changed to use AntvilleLib methods
- removed nearly all html code rendering methods because of AntvilleLib
- added global renderDateFormatChooser()
2003-08-02 11:57:12 +00:00
Robert Gaggl
6ec7bd118a changed from path.site to this._parent where possible 2003-08-02 11:54:34 +00:00
Robert Gaggl
1a09c5452a switched from input type="button" to type="submit" 2003-08-02 11:54:01 +00:00
Robert Gaggl
6f82796f0d call global now_macro instead of pushing the timestamp as parameter to the skin 2003-08-02 11:53:33 +00:00
Robert Gaggl
ea609ecb7d - removed method sendConfirmationMail
- sortSubscriptions is now failsafe, although it shouldn't happen anymore that a membership object still exists for a removed site
2003-08-02 11:52:53 +00:00
Robert Gaggl
162c852f27 - changed to use AntvilleLib methods
- methods now throw an Exception object in case something went wrong or a Message object as positive result
- users can now define the default timezone of an antville installation, if none defined the JVM default timezone will be used
2003-08-02 11:51:44 +00:00
Robert Gaggl
7f66f889ab minor reformatting 2003-08-02 11:50:18 +00:00
Robert Gaggl
2d21b70a4d - changed to use AntvilleLib methods
- methods now throw an Exception object in case something went wrong or a Message object as positive result
2003-08-02 11:49:55 +00:00
Robert Gaggl
0ce6a49299 - changed to use AntvilleLib methods
- added constructor function
- modified evalStory() and evalComment(): now call extractContent to get the submitted content, content is now handled by propertymgr (mountpoint "content")
- removed methods getContent(), setContent(), getContentPart(), setContentPart() since content is now handled by propertymgr
- methods now throw an Exception object in case something went wrong or a Message object as positive result
2003-08-02 11:44:47 +00:00
Robert Gaggl
f6757655d1 - modified saveSkin to throw an Exception object in case something is wrong, return a Message object as positive result
- added try/catch blocks for skin removal
2003-08-02 11:41:52 +00:00
Robert Gaggl
dbec15b593 - added constructor function
- site preferences are now xml-encoded in one property called preferences_xml which is handled by propertymgr
- removed function createImgDirectory() since directories are created on the fly by helma
2003-08-02 11:40:35 +00:00
Robert Gaggl
125ae3039a - removed createNewSite() since site now has a constructor function
- modified functions to throw an Exception object in case something is wrong, return a Message object as positive result
2003-08-02 11:38:52 +00:00
Robert Gaggl
698c19f9e7 - rewrote evalNewPoll() 2003-08-02 11:37:03 +00:00
Robert Gaggl
b8c677ae50 - changed to use AntvilleLib methods
- added constructor function
- modified functions to throw an Exception object in case something is wrong
- simplified evalPoll() and evalVote()
2003-08-02 11:36:12 +00:00
Robert Gaggl
be0bbdcc97 - changed to use AntvilleLib methods
- added constructor function
- modified functions to throw an Exception object in case something is wrong
- use global sendMail()
- removed function sendConfirmationMail()
2003-08-02 11:34:05 +00:00
Robert Gaggl
de0e446dd4 - changed to use AntvilleLib methods
- modified functions to throw an Exception object in case something is wrong
- use global sendMail()
- removed function addMembership() because of constructor function for memberhip objects
2003-08-02 11:33:01 +00:00
Robert Gaggl
ac3d86247a - changed to use AntvilleLib methods
- modified evalImg(): throw an Exception object in case something is wrong
2003-08-02 11:29:18 +00:00
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