Commit graph

142 commits

Author SHA1 Message Date
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
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
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
Robert Gaggl
091b72798d bugfix in replylink_macro(): renderImage takes two arguments 2004-08-01 12:19:12 +00:00
d380193ad2 fixed name of extended prototype (first letter uppercase) 2004-06-15 15:24:27 +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
b1f764e855 removed assignment of cache.modifytime in updateComment(): this timestamp was used to check if the content of a comment/story was updated, but isn't used anymore 2004-02-29 16:14:12 +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
e559f5d470 cleaned up code 2004-01-13 14:20:44 +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
304e1cc0be modified delete_actions and corresponding delete.skin 2004-01-12 12:47:18 +00:00
24c483ca4f initial check-in 2004-01-07 17:27:16 +00:00
Robert Gaggl
d24ec09b93 use constant for editableby value which makes things more readable 2004-01-02 10:43:30 +00:00
Robert Gaggl
52de311062 changed since the signature of Html.link(AsString) has changed (first argument must be an object containing all attributes of the a tag). 2003-12-17 22:04:16 +00:00
Robert Gaggl
e5ebdf5112 - css class commentHead was renamed to listSeparator
- minor other changes
2003-12-08 22:48:46 +00:00
Robert Gaggl
5823226258 minor layout change 2003-12-08 22:39:12 +00:00
Hannes Wallnöfer
31041ab383 Make sure rawcontent field is set on stories and comments when the content is updated.
This fixes the bug that search doesn't work on Antville 1.1
2003-12-01 16:03:13 +00:00
Robert Gaggl
b2f57212f5 check if notification is enabled for a site by calling isNotificationEnabled() 2003-10-11 10:41:16 +00:00
7102df3f18 all notification e-mails are now sent via site/sendNotification function
(ie. story/sendNotification was removed.)
2003-10-08 16:17:22 +00:00
7106a8e895 * added "form" anchors just above comment and reply forms
* implemented anchor parameter in comment/replylink_macro to directly scroll to the form
2003-10-08 16:11:44 +00:00
9cd4aa4b7d implemented first version of e-mail notification using kris' contribution (with slight modifications):
* since site preferences are stored as xml the corresponding code had to be adjusted
* currently, no notification is sent if a story's status changes from offline to online (abuse factor is too high)
* there's only one global notification skin used for the mail body
* the sender is always set to sys_email to avoid the bounce problem we already had with registration mails
2003-10-06 16:28:03 +00:00
Robert Gaggl
570c419ea1 rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object 2003-09-07 21:02:26 +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
b1d3bb6870 modified comments 2003-08-02 12:19:11 +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
06530d532e - added constructor function
- modified updateComment(): throw an Exception object in case something is wrong/missing, a Message object as positive result
2003-08-02 11:17:16 +00:00
Robert Gaggl
68c8fc0609 - changed because site preferences are now xml-encoded
- changed to use HtmlLibrary
2003-08-02 10:46:43 +00:00
Robert Gaggl
3e01e99b25 - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (width -> size, with -> cols, height -> rows)
2003-08-02 10:39:07 +00:00
Robert Gaggl
81f0c559e7 removed because .hac-files were merged into single actions.js files 2003-08-02 10:24:52 +00:00
Hannes Wallnöfer
684a0e43f3 Redirect to comment anchor (#comment-id) after creating or editing a comment 2003-04-14 13:51:20 +00:00
be2107265c tweake with the "link" link and   as macro prefix 2003-03-25 16:11:21 +00:00
21d4a28959 added trim() function also where content parts of comments are set 2003-03-21 16:45:39 +00:00
Robert Gaggl
c83b0b4d48 added calls of rescueText() and restoreRescuedText() 2003-03-17 19:28:19 +00:00
Hannes Wallnöfer
8d2e78643e Reworked basic inner story and comment skins.
Spacing should be better now.
Skins should be easier to understand and customize.
Used <div> tags wherever possibe instead of <span><br>
Checked for XHTML 1.0 Transitional validity.
2003-03-14 10:59:00 +00:00
524d7a38a3 still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout. 2003-03-07 19:27:48 +00:00
50890759ad validated almost every page (at least apart from the system management stuff) with the w3c validator at http://validator.w3.org and modified the skins where necessary. furthermore i tried to arrange some layouts (files, images, polls) to better and more consistently harmonize with the general antville appearance. 2003-03-05 18:39:37 +00:00
Robert Gaggl
35f383a97e deleted isPostDenied() - using story.isPostDenied() instead 2003-01-23 21:18:56 +00:00
Robert Gaggl
6da9d2e618 now calling isPostDenied() of story instead of the comment-method (which was deleted since it didn't do anything different than the story-method) 2003-01-23 21:18:08 +00:00
Robert Gaggl
ff01391d37 securityFunctions now need the membership-level of a user as second argument 2003-01-02 19:05:03 +00:00
Robert Gaggl
068a68f090 req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi) 2003-01-02 18:55:32 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
Hannes Wallnöfer
cb4c493157 Fixed bug that res.data.action was not set in comment forms. 2002-10-05 16:09:56 +00:00
Hannes Wallnöfer
894698b91b set comment collection(s) to cachemode aggressive so the index is only
refetched when an add() or remove() operation is performed on this specific
collection, not when any comment anywhere is modified.
2002-09-20 17:22:39 +00:00
16632edb72 replaced all occurrences of "this" with the name of the corresponding prototype 2002-08-09 15:45:59 +00:00
137f4b2fe7 added isPostDenied() function to enable comment replies 2002-08-06 16:22:26 +00:00