Hannes Wallnöfer
bee1355200
Redo the changes from rev. 1.32 that were (accidentally?) undone in 1.33
2003-08-19 16:37:49 +00:00
Robert Gaggl
b906acc347
initial check-in: helper action for converting site preferences
2003-08-02 12:24:22 +00:00
Robert Gaggl
62b3612098
initial check-in: methods for handling xml encoded properties
2003-08-02 12:23:38 +00:00
Robert Gaggl
62bbe2c4b8
initial check-in: remove the preferences columns since site prefs are now stored xml encoded in SITE_PREFERENCES
2003-08-02 12:22:51 +00:00
Robert Gaggl
e839d7e343
removed
2003-08-02 12:22:00 +00:00
Robert Gaggl
c7d5c20578
initial check-in
2003-08-02 12:21:28 +00:00
Robert Gaggl
fb804a0210
initial check-in: adds the column SITE_PREFERENCES in table AV_SITE
2003-08-02 12:20:52 +00:00
Robert Gaggl
1bb142aa57
initial check-in: merged former .hac files into single actions.js files
2003-08-02 12:20:05 +00:00
Robert Gaggl
a9f3e62c2e
switched from input type="submit" to type="button"
2003-08-02 12:19:30 +00:00
Robert Gaggl
b1d3bb6870
modified comments
2003-08-02 12:19:11 +00:00
Robert Gaggl
282261b81d
added property "content_xml" plus the mountpoint "content" that manages the xml encoded content of stories/comments
2003-08-02 12:18:55 +00:00
Robert Gaggl
9fc496a266
added property "preferences_xml" plus the mountpoint "preferences" that manages the xml encoded prefs
2003-08-02 12:18:26 +00:00
Robert Gaggl
65701dc949
- changed to use AntvilleLib methods
2003-08-02 12:17:26 +00:00
Robert Gaggl
1df755f88c
changed membership.sitetitle to site.title
2003-08-02 12:15:23 +00:00
Robert Gaggl
9c042f4623
removed call of site.smallsize since this throws a MacroError
2003-08-02 12:14:49 +00:00
Robert Gaggl
afce0fbce9
- added timezonechooser
...
- switched from input type="submit" to type="button"
2003-08-02 12:13:47 +00:00
Robert Gaggl
4dc576c5e0
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
...
- modified permission check methods: they now return an Exception object in case a certain action is denied
2003-08-02 12:12:34 +00:00
Robert Gaggl
a48c62511c
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
...
- site preferences are xml encoded now
- modified permission check methods: they now return an Exception object in case a certain action is denied
2003-08-02 12:09:51 +00:00
Robert Gaggl
4c3e6877a7
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
2003-08-02 12:07:08 +00:00
Robert Gaggl
627191e07d
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
...
- modified isDenied() since site preferences are now xml-encoded
2003-08-02 12:06:45 +00:00
Robert Gaggl
ead9d08495
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
...
- added method isDeleteDenied()
2003-08-02 12:06:22 +00:00
Robert Gaggl
8d7737d4d4
- modified onRequest(): it now calls checkAccess() to determine if a user is allowed to request a certain action
...
- added basic method checkAccess() allowing everything which is overwritten by prototypes
2003-08-02 12:06:01 +00:00
Robert Gaggl
91ed3e0746
now calling content_macro instead of title/text_macro
2003-08-02 12:01:33 +00:00
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