Commit graph

22 commits

Author SHA1 Message Date
0ba8805d02 * Fixed skin names according to issue #16
* Fixed rendering of values stored in res.meta.values
 * Removed obsolete code (mostly disabled by comments already)
2008-01-19 17:36:33 +00:00
aa11e5db88 * Replaced occurrences of User.visisted with User.modified
* Set application's charset to UTF8
 * Added Layout.getFile() method returning the layout's directory as helma.File
 * Simplified Layout.getSkinPath() method (still work in progress)
 * Replaced occurrences of Site.language with Site.locale
 * Modified some wording
 * Added slight b/w compatibility fix in Story.macro_filter() method
 * Added timex factor in Story.getDelta() method to prevent counting  edits as site updates in-beteen 10 minutes
 * Moved site-related aspect hooks to Site prototype of compatibility module
 * Removed obsolete conversion code in compatibility module (has moved to updater app)
 * Re-included spacer_macro() method in compat. module
 * Temporarily overwrote HopObject.renderSkin() method to debug skin rendering process
 * Replaced individual legacy macros of Layout prototype by appropriate code in onUnhandledMacro() method (compat.)
 * Reflect legacy macros of Layout prototype in value() method of compat. module
 * Added and improved compatibility methods
 * Implemented support for renamed prototypes in updater app (still needs to be applied for database, too)
2007-10-21 16:49:16 +00:00
1c3c51a0e1 * 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()
2007-10-17 16:25:01 +00:00
3d0fae4302 * 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)
2007-10-16 21:36:41 +00:00
3e8c4c6313 * 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
2007-10-15 23:29:03 +00:00
d639d6901c * 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")
2007-10-12 16:39:26 +00:00
df9017ab77 * 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
2007-10-11 23:03:17 +00:00
d710703965 * 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
2007-10-09 15:09:06 +00:00
3cccb901f2 * 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
2007-10-08 23:55:29 +00:00
6e28d59eeb * 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
2007-10-06 10:26:30 +00:00
52a4470259 Reworked permission framework getting on the right track 2007-10-01 21:52:25 +00:00
6a9e1094e1 Intermediate commit:
* Continued work on Story and Comment prototypes
 * Fixed some minor issues introduced lately
2007-09-29 00:58:04 +00:00
4b8d6a823b Intermediate commit:
* Continued work on Story prototype
 * Fixed some minor issues introduced with recent commits
2007-09-27 17:39:02 +00:00
5fbcda1c20 * Almost completed reworking of Admin prototype (former SysMgr) except for layouts, cleanup routines and some minor search / list issues
* Removed SysLog (is now handled by Admin and LogEntry prototypes)
 * Removed sys_*_macros from User and Site
2007-09-18 20:28:36 +00:00
f0e0303203 * Cleaned up and reworked admin section (especially sites)
* Merged SysLog and AccessLog into new LogEntry prototype
 * Established new global logAction()
 * Moved admin-related skins as subskins into Admin.skin files
2007-09-17 21:43:50 +00:00
7eb13bd43a * Renamed SysMgr to Admin
* Added handleMetadata method to define getters and setters for metadata properties
 * Reduced and renamed value() method to map()
 * Renamed most of the sys_* properties
2007-09-14 23:25:23 +00:00
07dfe70adc Renaming MemberMgr prototype to Members 2007-09-14 13:21:21 +00:00
c7d828aae9 * Extended Root from Site prototype (still buggy due to http://helma.org/bugs/show_bug.cgi?id=553)
* Overhauled Membership prototype (generic framework, DB structure)
 * Added necessary compatibility code
 * Started re-implementation of permission framework (looks promising!)
2007-09-14 00:16:06 +00:00
e9a7800a87 * Fixed security issue caused by sensitive property in req.data
* Fixed issue caused by setting a Metadata property to a Java value, e.g. java.net.URL instance becomes string without quotes. (Could this be a Rhino bug?)
 * Finalized conversion of AV_USER table to simple naming scheme ("user")
 * Added global getTitle() method which returns either site.title or root.sys_title
 * Implemented universal HopObject.value() method
 * Rededicated User.update() method since its previous functionality is now taken over by User.value()
 * Restructured login and register functionalities in User and MemberMgr
 * Replaced first occurrences of Exception with Error
 * Introduced i18n via gettext in User and MemberMgr
 * Removed getMessage() and Message in User and MemberMgr
 * Added first possible implementation of global getPermission() method
 * Modified code of global evalEmail() and evalURL() methods to work with Helma modules
 * Simplified global sendMail() method by not throwing any MailException anymore and returning the status code only
 * sendMail() now is using helma.Mail (so we can debug message output)
2007-08-23 17:17:40 +00:00
dcb25f82dc Completely revised User prototype:
* Passwords are not stored as clear text in the database any longer
 * Passwords are sent MD5 encoded across the network
 * Modified code structure to serve as template for all other prototypes (new value/update methods, database table/column naming etc.)
 * Included jQuery JavaScript library from within page.skin
2007-08-19 16:28:46 +00:00
3cd0d48428 Intermediate commit of new login/register process 2007-08-18 10:30:50 +00:00
1e520c248a * Merged source code files of one prototype into one single file named after the prototype
* Applied ECMAScript compliant syntax to prototype member definitions
 * Cleaned up directory structure
2007-06-23 14:53:39 +00:00
Renamed from code/User/sysmgr_macros.js (Browse further)