Commit graph

3166 commits

Author SHA1 Message Date
Robert Gaggl
d4fdc9c289 fixed a bug in login_action: var parent doesn't exist anymore, use _parent instead 2003-09-07 20:50:17 +00:00
Robert Gaggl
7a8cd0ede5 fixed a bug in sys_minMemberAge_macro that created a bogus dropdown 2003-09-07 20:49:20 +00:00
Hannes Wallnöfer
c40865a458 Do not set checked to 1 in the parameter for addToFront macro, since this will
result in a checkbox that is always checked. When we get a form submission,
always use the values from the form.
2003-09-04 15:13:08 +00:00
Hannes Wallnöfer
9ffa1c5baf Removed AntvilleLib-1.0.zip and adding AntvilleLib-1.3.zip, which is the right name for
the file. Also contains a fix for Html.checkbox() where checkboxes are never checked.
2003-09-04 13:41:11 +00:00
Hannes Wallnöfer
93e8b0d3a6 Add hours as strings to dropdown array to make them render as "18" rather than "18.0" 2003-09-04 13:37:05 +00:00
Hannes Wallnöfer
93d2334431 Remove experimental permissions code 2003-09-04 09:11:39 +00:00
Hannes Wallnöfer
ed74132c9e Fix logical bug in site access check. 2003-09-04 08:26:23 +00:00
Robert Gaggl
a064a814c2 rewrote convertSites_action since the preferences aren't mapped in site's type.properties anymore 2003-08-31 14:31:39 +00:00
Robert Gaggl
d16494e7fc added "use antville", removed adding of column SITE_PREFERENCES (which is covered by the previous patch) 2003-08-31 14:31:07 +00:00
Robert Gaggl
5263e7df87 added "use antville" 2003-08-31 14:30:30 +00:00
Hannes Wallnöfer
b42a5b5c36 Checking in AntvilleLib helma_1_3 branch snapshot from 2003/08/29. 2003-08-29 14:47:48 +00:00
Hannes Wallnöfer
44067f1fd0 Set loadmode to aggressive (? - unsure about pros/cons) 2003-08-29 13:58:45 +00:00
Hannes Wallnöfer
bfaf59c778 Adapt to the fact that Helma now registers indirect prototypes in the path object
so topics are registered as days and we need to check if a day is actually a day
before making it today.
2003-08-29 13:54:25 +00:00
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