Commit graph

303 commits

Author SHA1 Message Date
ec700a655f * 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)
2007-10-16 13:33:10 +00:00
504260650e * 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
2007-10-12 19:05:33 +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
3412d805c7 * 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
2007-10-12 10:20:46 +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
ded7f5fcea Renamed type.properties according to prototype naming scheme recently introduced in Helma (s. http://helma.org/bugs/show_bug.cgi?id=533) 2007-10-11 13:38:29 +00:00
77845f0121 * Fixed Admin prototype according to recent changes (not finished yet) 2007-10-11 13:24:50 +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
c3a9a9c79d * Big improvements of generic framework in Story, Skins, Skin, Images, Image, Layouts and Layout prototypes
* Added first story formatting filters
 * Fixed global breadcrumbs_macro
 * Improved distinction check for layout images
 * Re-added accidentally removed replace action for layout images
 * Moved mostread_action from Site to Stories.top_action
 * Replaced links to topics with those to tags
 * Re-enabled referrers
 * Switched default permission poplicy from allow to deny in some prototypes
 * Added redirect from main_action of a skin to its edit_action (that's where all editing is taking place now)
 * Merged default and custom skin editor (still needs tweakin' of potential moving / renaming issues)
 * Renamed getNavigationName() methods to getTitle()
2007-09-30 23:59:13 +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
ba57bb7be0 Intermediate commit: 2007-09-24 22:00:46 +00:00
4fc7aa9f60 Intermediate commit:
* Implemented first basic version of skin management using subskins
 * Added remove() method to HopObject and most object prototypes which are automatically called after confirmation in HopObject.delete_action()
 * Enhanced support for various form elements via HopObject macros
 * Added HopObject.removeChildren() method
 * Removed color and font settings in layouts (maybe just temporarily)
 * Implemented generic framework for layouts and skins
 * Renamed LayoutMgr to Layouts and SkinMgr to Skins
 * Renamed "properties" property to "metadata" (finally)
 * Added conversion and compatibility code for the changes
2007-09-21 13:54:30 +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
5841f057bc * Overhauled listing of memberships and subscriptions
* Fixed un/subscribe, add/remove member actions
 * Removed some obsolete code
 * Renamed role "Admin" to "Owner"
2007-09-14 13:13:50 +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
d46237ae55 * Removed obsolete HelmaLib-1.0 and AntvilleLib-1.4
* Converted most site properties to metadata
 * Implemented generic framework into Site prototype
 * Added basic form support to generic framework
 * Added support for positionl parameters in some macros (e.g. link_macro, skin_macro, created_macro)
 * Added link_filter to Global and HopObject
 * Added check for "Cancel" in HopObject's onRequest()
 * Had to disable display of disk usage in SysMgr due to an issue that has to be resolved, yet
 * Added support for various new site preferences (at least in the form :)
 * Removed some code related to Lucene search until it's clear how search will work in the future
 * Added quite a lot code for backwards compatibility
 * Updated database patches
2007-09-08 17:20:59 +00:00
d274db390a * Started remodeling database structure for Site prototype
* Fixed autoLogin() method to work with overhauled user management
2007-08-26 22:03:24 +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
9d08dc89aa * Removed all backwards-compatible topic-related code (will be added via aspects from the compatibility module)
* Fixed security issue in notfound.skin again(?)
2007-08-16 15:06:50 +00:00
d5c59cf2ec Intermediate commit of changes concerning
* file-based skins
 * basic tag implementation
 * new metadata container
 * generic object/collection mappings
2007-07-29 10:16:10 +00:00
aaaf55ea0a Added header to and cleaned up property files 2007-06-30 19:25:35 +00:00
97c39e039f * Incorporated LayoutImage and LayoutImageMgr into the Image and ImageMgr prototypes, resp.
* Removed double semicolons
2007-06-30 18:43:41 +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
3781797a32 Applied ECMAScript compatible syntax to prototype method definitions 2007-06-22 19:31:18 +00:00
b37da22596 * Added project URL to header
* Replaced $HeadURL$ with $URL$ keyword (maybe this will be correctly replaced)
2007-06-22 19:12:44 +00:00
4afddd237c Merged code files into Root.js 2007-06-22 19:07:28 +00:00
6dcf6eb53a replaced unescape with decodeURIComponent 2006-11-03 00:39:59 +00:00
Robert Gaggl
2302231e09 removed collection "storiesById" of root, using Story.getById() instead to retrieve a story with a given id. 2005-02-13 14:53:53 +00:00
980ef2b3c3 slight but general overhaul of rss framework 2004-10-27 08:51:38 +00:00
Robert Gaggl
dba0f46ebe bugfix in evalNewSite(): res.handlers.layout doesn't contain the root-layout if
a front site is defined (in this case it contains the site's active layout). so instead
call root.getLayout() to get the parent layout of the new site's layout.
(see http://grazia.helma.org/pipermail/antville-dev/2004-October/000639.html)
2004-10-13 16:26:56 +00:00
Robert Gaggl
e22471e356 bugfix: removed whitespace in message property name
(fixes bug 381, http://www.helma.org/bugs/show_bug.cgi?id=381)
2004-10-08 22:41:44 +00:00
ee5a969fc2 renamed prototypes to uppercase first letter names; this implied renaming of file to Asset and of image to Picture to prevent clashes with helma's internal Image and File prototypes (including management mountpoints) 2004-03-20 18:13:50 +00:00
Robert Gaggl
42e1338f6f committed bugfix patch from matthias platzer
(see http://grazia.helma.at/pipermail/antville-dev/2004-February/000498.html)
2004-02-29 16:06:18 +00:00
Robert Gaggl
089610b27b committed Michi Platzer's patch that implements
- diskquota-limits per site
- limits for site-alias and username (30 characters)
- display of last stories/comments of a user in system manager

(see http://grazia.helma.at/pipermail/antville-dev/2004-February/000488.html)
2004-02-18 17:53:02 +00:00
Robert Gaggl
743f1dd43d initial check-in 2004-02-16 17:51:55 +00:00
Robert Gaggl
588927e333 committed matthias platzer's language patch
(see http://grazia.helma.at/pipermail/antville-dev/2004-February/000489.html)
2004-02-16 17:51:26 +00:00
Robert Gaggl
4f301fb76c remove hopobjects by using their own method remove() now (the former way to call the remove() method of the parent and pass the object to delete is deprecated in helma) 2004-01-16 11:45:26 +00:00
a8b8760c6a fixed url for rss auto-detection 2004-01-14 14:23:04 +00:00
fd9d0b503f * re-added hopobject.url_macro as user-friendly wrapper for hopobject.href_macro
* replaced all xxx.href macro calls to xxx.url
2004-01-13 15:36:23 +00:00
dd5bdebd90 fixed bug that caused incorrect output of the year in <dc:rights> tags 2004-01-13 10:19:48 +00:00
7f5c145a7f fixed bug that caused incorrect output of the year in <dc:rights> tags 2004-01-12 17:33:53 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
928e48f323 added rss_xml_action wrappers for rss_action 2004-01-12 15:49:18 +00:00