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
159e263c10
changed verbose date format to "short"
2002-07-26 16:30:43 +00:00
b9c9aec379
keeping the title property in updateComment()
2002-07-26 13:22:18 +00:00
Robert Gaggl
d5823a468a
- input_macro() moved from hopobject to global (and echoes request data by default)
...
- added missing name-attribute for buttons
2002-07-19 08:42:32 +00:00
Hannes Wallnöfer
c8df8ac3de
merged xml_content branch.
2002-07-01 16:36:27 +00:00
Robert Gaggl
9378e2e39b
author_macro() was renamed to creator_macro()
2002-06-26 17:27:53 +00:00
Robert Gaggl
c4b87c7b1d
- removed hardcoded messages with getMsg()
...
- property author was renamed to creator
2002-06-26 17:17:51 +00:00
Robert Gaggl
82ef0737e1
author_macro() was renamed to creator_macro()
2002-06-26 17:12:27 +00:00
Robert Gaggl
72d830c930
changed because the prototype weblog was renamed to site
2002-06-26 16:23:37 +00:00
Robert Gaggl
67a6f7792f
changed because the prototype weblog was renamed to site
...
plus story.author was renamed to story.creator
2002-06-26 16:15:43 +00:00
Robert Gaggl
704f144887
changed because weblog was renamed to site
2002-06-26 16:10:32 +00:00
Robert Gaggl
f8db009bff
changed type.properties according to new database-schema:
...
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/ )
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449
merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language)
2002-06-12 17:19:47 +00:00
f82b1aa47c
moved <form> tags on positions that are appropriate for xhtml compatibility (hopefully...)
2002-06-04 15:34:47 +00:00
3baac801a0
moved renderInputText() et al. and renderImage() from hopobject to global
2002-06-04 14:53:17 +00:00
Robert Gaggl
62aad7f603
now using global markupelement-functions resp. global openLink() and closeLink()-funtions
2002-06-04 14:18:27 +00:00
ffca47cc52
fixed markup to be xhtml compatible
2002-06-03 17:10:21 +00:00
2ea7797c89
fixed markup to be xhtml compatible
2002-06-03 16:49:20 +00:00
Robert Gaggl
0e7ae0b9ef
change code according to helma's new session/usermodel:
...
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
b167cce071
now using global function isUserBlocked()
...
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 15:56:44 +00:00
Robert Gaggl
56fdca2ada
initial check-in: in case this action is called for a comment, it redirects back to story-main with an anchor to this comment
2002-05-16 12:16:25 +00:00
Robert Gaggl
78ee959185
replaced checking for last object in path with checking for action-name
2002-05-16 12:15:23 +00:00
Robert Gaggl
6fa414dd0e
assign form-action to res.data.action
2002-05-15 23:12:41 +00:00