Reworked permission framework getting on the right track

git-svn-id: http://antville.googlecode.com/svn/trunk@3345 771de6ab-aa30-0410-a18b-3bdb7fec3447
Applied generic framework to Poll, Choice and Vote prototypes
 * Renamed PollMgr to Polls
 * Removed graph.skin from Choice prototype
 * Improved Choice skins by replacing param with choice handlers
 * Unified output of Choice totals in choice.votes_macro
 * Moved creation of new choices to client-side JavaScript
 * Added labels for radiobuttons
 * Added HopObject.radiobutton_macro
 * Cache / reset status of story when rotating

git-svn-id: http://antville.googlecode.com/svn/trunk@3346 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Disabled mail and indexing cronjobs in app.properties
 * Re-enabled calendar by switching to jala.Date.Calendar
 * Removed obsolete calendar skins
 * Re-enabled story archive by replacing Day prototype with new Archive prototype
 * Moved story collections from Site to Stories prototype
 * Enabled second option by default in HopObject.checkbox_macro
 * Removed debugging code from Members/login.skin and User.js
 * Replaced remaining occurrences of res.handlers.context with res.handlers.site
 * Moved sites back from Root.sites to Root._children collection
 * Moved Site.loginstatus_macro to Membership.status_macro
 * Delegated rendering of story list in main.skin to archive
 * Replaced Site.renderStorylist with Site.stories_macro
 * Removed redundant Site.getMembership (see User.getMembership)
 * Removed (currently) obsolete indexing methods
 * Fixed some minor issues lately introduced

git-svn-id: http://antville.googlecode.com/svn/trunk@3347 771de6ab-aa30-0410-a18b-3bdb7fec3447
Added default static files to version control

git-svn-id: http://antville.googlecode.com/svn/trunk@3348 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Extensively tested and aligned new permission framework for the first time
 * Changed order of filters in collection handlers (member items go first, all items last)
 * Fixed global file_macro and image_macro methods
 * Reactivated Images.Default
 * Added Layout.value_macro to allow per request definitions of variables for the CSS stylesheet (still experimental)
 * Finally removed PropertyMgr (replaced by Metadata)
 * Renamed a bunch of collections, mountpoints and variables
 * Reduced commentsMode options to "enabled" and "disabled" in Site prototype
 * Renamed "shared" mode to "restricted" in Site prototype
 * Moved a lot of stuff into the compatibility module

git-svn-id: http://antville.googlecode.com/svn/trunk@3349 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Merged most single skin files as subskins into one single skin named after the prototype
 * Renamed some subskins to better reflect their purpose
 * Removed all obsolete skins

git-svn-id: http://antville.googlecode.com/svn/trunk@3351 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Fixed Admin prototype according to recent changes (not finished yet)

git-svn-id: http://antville.googlecode.com/svn/trunk@3354 771de6ab-aa30-0410-a18b-3bdb7fec3447
Renamed type.properties according to prototype naming scheme recently introduced in Helma (s. http://helma.org/bugs/show_bug.cgi?id=533)

git-svn-id: http://antville.googlecode.com/svn/trunk@3355 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Fixed reference to parent site in Archive
 * Fixed _children.filter in Archive
 * Added missing permission checks
 * Modified global defineConstants() method to return the getter function instead of automatically defining it with given argument
 * Added HopObject.macro_macro() method to display userland macro code
 * Removed colorpicker (will be replaced by third-party library)
 * Removed obsolete global constants and functions
 * Overhauled and tested global userland macros like story_macro(), image_macro() etc.
 * Implemented global list_macro() to replace any special listFoobar_macro() methods
 * Moved global autoLogin() method into User prototype
 * Overhauled global randomize_macro()
 * Renamed global evalURL() method to validateUrl() as well as evalEmail() to validateEmail()
 * Re-added accidentally removed subskins to Members.skin
 * Fixed some skin names which were changed recently
 * Remove delete_action() from Membership
 * Fixed foreign key of images collection in Membership
 * Removed global username_macro() and replaced it with appropriate membership macros
 * Moved contents of systemscripts.skin into javascript.skin in Root prototype
 * Removed main_css_action(), main_js_action() and sitecounter_macro() methods from Root
 * Added accessname to sites collection in Root
 * Upgraded jQuery to version 1.2.1
 * Replaced call for global history_macro() with corresponding list_macro() call
 * Renamed "public" collection of Stories prototype to "featured"
 * Moved a lot of styles from Root's style.skin to the one in Site
 * Added comments collection to Site
 * Moved embed.skin as subskin #embed into Site.skin
 * Fixed some minor issues in Story.js (removed check for creator before setting the story's mode)
 * Defined cookie names as constants of User which can be overriden via app.properties userCookie and hashCookie
 * Moved a lot of code into compatibility module

git-svn-id: http://antville.googlecode.com/svn/trunk@3356 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Upgraded jQuery to version 1.2.1
 * Added new RSS icon

git-svn-id: http://antville.googlecode.com/svn/trunk@3357 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Removed obsolete skin files
Switched to Rome for RSS generation:
 * Added necessary JAR files (new subdirectory "lib")
 * Removed obsolete skin files
 * Added basic skins for XSL transformation
 * rss.xml of Root prototype is now equal to the one of Site; site updates have been moved to updates.xml

git-svn-id: http://antville.googlecode.com/svn/trunk@3358 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Moved contents of Admin.skin files distributed among variout prototypes into Admin.skin of Admin prototype (the code has become uglier and must be ironed out but at least skins are where they belong)
 * Removed obsolete navigation skins
 * Moved page navigation skins into Global.skin
 * Removed remaining obsolete RSS skin
 * Moved admin navigation into subskin and added it via overwritten skin_macro in Admin prototype
 * Removed obsolete sysmgrnavigation.skin from Root
 * Renamed style.skin to stylesheet.skin (this could be hazardous regarding b/w compatibility...?)
 * Modified order of featured collection in Stories prototype
 * Re-added DB column and property for last visit date of a user (now simply called "visited")


git-svn-id: http://antville.googlecode.com/svn/trunk@3359 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Reactivated mail queue as app.data.mails
 * Reactivated request log as app.data.stories
 * Removed many obsolete methods
 * Fixed and added HTML tags for RSS feeds to page.skin
 * Added Stories.flushRequests() method
 * Renamed Story.incrementReadCounter() method to Story.logRequest()
 * Moved many methods to compatibility module


git-svn-id: http://antville.googlecode.com/svn/trunk@3360 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Separated the global setup settings from those in the root site's preferences
 * Added encoding="form" parameter to most of the macros using the request handler
 * Renamed commentsMode to commentMode (comments_mode to comment_mode in DB)
 * Reactivated notifications in a simplified manner
 * Throw an error in global sendMail() method if arguments are not sufficient
 * Added HopObject.notify() method
 * Added HopObject.kind_macro() method (provides the constructor's name in lowercase)
 * Added Messages.skin containing subskins suited for e-mail output
 * Removed obsolete skin files
 * Added reset_action() method for resetting a user's password to Members prototype
 * Added require() method to Membership prototype; wrapped static require() method around it
 * Added Membership.notify() method which does all the member-related notification stuff
 * Send notification on membership removal
 * Fixed contact form in Membership prototype
 * Dropped e-mail property from Site prototype (users can be contacted via Membership.contact_action(), Root prototype has extra e-mail property)
 * Added missing getPermission() method to User prototype, always requiring a privileged user

git-svn-id: http://antville.googlecode.com/svn/trunk@3362 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Removed obsolete getStaticDir() methods
 * Implemented support for web hooks
 * Added default_hook_action() method to Root
 * Renamed webHookEnabled to webHookMode in Root prototype
 * Moved currently obsolete module code, macros and skins to compatibility module
 * Disabled notification of updates (probably forever)


git-svn-id: http://antville.googlecode.com/svn/trunk@3363 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Re-implemented autosave feature (ie. automatic backup / restore) for stories and comments
 * Removed obsolete rescue methods
 * Moved contents of many individual skin files as subskins in the corresponding prototype skin file
 * Moved commentform_macro of Story prototype into compatibility module

git-svn-id: http://antville.googlecode.com/svn/trunk@3364 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Fixed bug in Admin.renderItem accidentally introduced in one of the last commits
 * Slightly elaborated on what happens when a site or a user is blocked
 * Fixed some permission issues
 * Removed some more obsolete skin files
 * Re-introduced Root.search_action() method with minimal output
 * Switched search method from GET to POST
 * Added User.logout() method
 * Fixed User.require() method (check for TRUSTED constant was missing)

git-svn-id: http://antville.googlecode.com/svn/trunk@3365 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Added User.popLocation() and User.popLocation() methods for temporarily storing a user's location, ie. to get back where the user came from when it was necessary to login
 * Removed Root.searchSites() method (will be back later)
 * Added checks for empty searches in Site.search_action()


git-svn-id: http://antville.googlecode.com/svn/trunk@3366 771de6ab-aa30-0410-a18b-3bdb7fec3447
Initial commit of Updater app

git-svn-id: http://antville.googlecode.com/svn/trunk@3367 771de6ab-aa30-0410-a18b-3bdb7fec3447
 * Finalized user and skin conversions
 * Fixed output encoding

git-svn-id: http://antville.googlecode.com/svn/trunk@3368 771de6ab-aa30-0410-a18b-3bdb7fec3447