Commit graph

505 commits

Author SHA1 Message Date
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
d9613f6477 * Added support for renaming and deleting tags
* Added permission management for tags and galleries
 * Fixed encoding of tag names with "special" characters
2007-08-10 10:38:58 +00:00
7d44d4560c * Fixed backwards compatibility for topics
* Added missing topic and tag management when creating an image
2007-08-09 15:36:32 +00:00
7c027b2969 * Tags and galleries are now mounted on the Site prototype again
* Added rename and delete actions to Tag prototype
 * Fixed some issues with image tag management
 * Tried to unify story creation / modification, needs some more time
 * First steps in direction of a generic and universal manager prototype
2007-08-04 15:52:44 +00:00
09b39b2af3 Intermediate commit:
* Improved tag framework 
 * Added support for image tags
 * Moved most code of StoryMgr.evalNewStory to Story.evalStory to decrease redundancy
 * Added compatibility module (including drafts for database conversions)
 * Moved code for topics to compatibility module
 * Removed obsolete code
2007-08-03 19:41:51 +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
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
45580dc22d fixed indentation (just for perfection's sake :) 2006-05-10 11:56:53 +00:00
44b57e7f6b fixed "losing ROLES" bug by using two helper methods to retrieve (and redefine)
the constant values
2006-03-02 21:40:47 +00:00
5e10032a02 fixed clip method according to latest changes in antvilleLib 2005-11-06 12:50:44 +00:00
0a880680e2 fixed clip method according to new signature 2005-10-21 18:01:39 +00:00
Christoph Lincke
d42c9f5a75 removed gallery macro 2005-10-04 15:46:54 +00:00
Christoph Lincke
9f3221912c bug fix in content_macro() 2005-09-26 16:54:26 +00:00
Christoph Lincke
18d44eecda whitespaces instead of spaces as delimiter 2005-09-23 14:16:09 +00:00
Christoph Lincke
1154a5adca content macro now passes the delimiter parameter 2005-09-23 13:49:07 +00:00
Christoph Lincke
124a74aa42 displays 6 words instead of 50 chars 2005-09-23 13:47:58 +00:00
Christoph Lincke
d11cdb625a embed macro now displays 20 words instead of 100 chars 2005-09-23 13:46:00 +00:00
Christoph Lincke
5eac776e9d changed clipping behaviour in the story.part macro:
tags are not stripped when part is not clipped

you should add a as="plaintext" in the story.historyItem skin, if you don't want html
 in the sidebar.
2005-09-21 14:33:07 +00:00
Christoph Lincke
57d6a58519 added as="plaintext" to work well with the new story.part macro 2005-09-21 14:07:01 +00:00
631d96457a bugfix: previous commit (which removed the setContent methods) caused antville to
not record any story or comment data at all. thus, i added the content.setAll method in
place of the removed 	setContent calls.
2005-02-19 12:08:51 +00:00
Robert Gaggl
8e575f747d removed setContent(): the rawtext is of no use anymore since search is now using lucene 2005-02-13 13:33:31 +00:00
Robert Gaggl
3fabb3c3cf first implementation of lucene-based search in antville 2005-01-24 22:24:37 +00:00
9bf4290719 exit commentform_macro() immediately if discussions are not enabled for the story 2004-11-16 12:58:59 +00:00
980ef2b3c3 slight but general overhaul of rss framework 2004-10-27 08:51:38 +00:00
1016432a40 check for param.clipping == null in content_macro 2004-08-03 12:26:13 +00:00
Robert Gaggl
1f687117fa bugfix in editlink_macro(), deletelink_macro(), onlinelink_macro() and viewlink_macro():
renderImage is a global method, not a site's one
2004-08-01 12:23:28 +00:00
94cb4c0a22 * check for param.as == "url" and/or param.as == "link" wherevery it (hopefully) makes sense
* cleaned up a little bit (code, comments)
2004-07-30 13:34:13 +00:00
Robert Gaggl
d92eba0f3b createLinkParam() now clones the param object, so there's no need to store the text defined in a variable 2004-05-08 16:53:44 +00:00
Robert Gaggl
ceee8bcbdb modified getRenderedContentPart(): use the story's site in res.handlers.site during
rendering, otherwise global macros (eg. image) won't work correctly (fixes bug 270)
2004-05-08 15:37:33 +00:00
1d86ef73b6 allow spacer macro in stories 2004-04-28 10:11:45 +00:00
0d993df71c temporarily fixed topic feature with a quick hack 2004-04-28 10:10:43 +00:00
d07a749608 removed invalid "as" html attribute from param2 in commentcounter_macro 2004-04-22 13:16:01 +00:00
Robert Gaggl
3e69d2d746 modified allowTextMacros():
- added hook to enable registering text macros defined in modules
- removed allowing of global shortcut macro
2004-03-21 14:23:38 +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
7da9efeb53 fixed bug that caused "allow comments" checkbox to be checked all the time 2004-03-20 12:07:50 +00:00
Robert Gaggl
ff26a78f66 changed content_macro(): use images.get(), otherwise an image whose name is a number (eg. 1001) won't be found
(fixes http://helma.org/bugs/show_bug.cgi?id=328)
2004-02-29 16:53:56 +00:00
Robert Gaggl
c5e89b3e11 modified getRenderedContentPart(): it now accepts a second parameter defining any special formatting of the content part (currently "plaintext" and "alttext") 2004-02-29 16:16:37 +00:00
Robert Gaggl
db341b6b52 modified content_macro(): pass param.as to getRenderedContentPart() since the latter now accepts different text formats (plaintext, alttext ...) 2004-02-29 16:15:14 +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
67427f2a37 added missing semicolon 2004-02-02 16:18:11 +00:00
b6ec95973b backlinks_macro:
* removed obsolete code
* updated for using antville library
2004-02-02 16:14:18 +00:00
Robert Gaggl
fabe74b211 - changed removal of comments: use comment.remove() instead of calling the parent's remove method (which is deprecated in helma)
- "notify" all comment collections with removeChild() because of aggressive cachemode (otherwise they won't be reloaded)
2004-01-16 11:47:42 +00:00
b4a6f23d1f cleaned up code 2004-01-13 12:25:53 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
c875c2684d slight changes 2004-01-12 15:57:28 +00:00
00add30ef2 replaced all occurences of "weblog" with "site" 2004-01-12 13:16:37 +00:00