Commit graph

505 commits

Author SHA1 Message Date
304e1cc0be modified delete_actions and corresponding delete.skin 2004-01-12 12:47:18 +00:00
f4d432efd6 merged skins representing two different states of an object (e.g. online/offline stories) into mgrlistitem.skin by using the newly added antvillelib's switch_macro 2004-01-09 19:21:47 +00:00
d44aae4b6e removed backwards compatibility 2004-01-08 14:27:09 +00:00
11290106d3 removed deprecated or outdated code by enhancing the macro calls in the skin 2004-01-07 15:04:28 +00:00
58b009ec87 slightly modified layout 2004-01-06 18:04:05 +00:00
54878c2e4a check if topic name is already reserved word (e.g. action or function name) and display error message if so 2004-01-03 17:06:39 +00:00
2c649ebab6 added <br /> 2004-01-02 23:03:46 +00:00
2e64f5dfa3 fixed backlinks (strange enough, i believed i've seen it working...) 2004-01-02 23:03:30 +00:00
b901b38a71 do not display "backlinks" title if there are none 2004-01-02 22:31:05 +00:00
83040bd931 * added location_macro
* reduced online_macro to binary output (either "online" or "offline", resp. param settings)
2004-01-02 22:30:39 +00:00
0f226430ca implemented dayheader generally and reduced creator/date line to creator/time 2004-01-02 22:08:16 +00:00
419ca9c8c6 retouched layout to become more concistent 2004-01-02 22:06:37 +00:00
Robert Gaggl
3ee00ed75d - clone is now a method of Object instead of the deprecated ObjectLib object
- modified checkbox rendering: use createCheckBoxParam() instead of createInputParam(),  checkboxes now preserve their status even if the user is redirected back to the form
- use constants for editableby values which makes things more readable
2004-01-02 10:45:01 +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
4d0622fc8c use constants for editableby values which makes things more readable 2004-01-02 10:40:21 +00:00
Robert Gaggl
74520e5738 changed since the signatures of some AntvilleLib methods have changed:
- Html.dropDown (first argument must be an object containing all attributes of the opening select tag).
- Html.openLink(only argument is now an object containing all attributes of the a tag).
- Html.link and Html.linkAsString (first argument must be an object containing all attributes of the a tag).
2003-12-17 22:05:52 +00:00
Robert Gaggl
666a8734ac initial check-in 2003-12-08 22:59:01 +00:00
Robert Gaggl
efc302e658 removed 2003-12-08 22:57:05 +00:00
Robert Gaggl
8da39d7053 renamed to mgrlistitem.skin 2003-12-08 22:55:43 +00:00
Robert Gaggl
c7548b8536 simplyfied html code 2003-12-08 22:32:31 +00:00
Robert Gaggl
e4d3d20a93 modified backlinks_macro(): use res.push()/res.pop() instead of populating a StringBuffer (for performance reasons) 2003-12-08 21:06:50 +00:00
Robert Gaggl
bd2e307061 changed from css class "statusDark" to "historyItem" 2003-12-08 20:51:07 +00:00
Robert Gaggl
ecc6684474 changed from css class "small" to "dayHeader" 2003-12-08 20:45:41 +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
f8f3f7759f - removed modifier_macro() since it's now a hopobject macro
- removed some trailing spaces
2003-11-23 18:24:44 +00:00
Michael Platzer
22c1e4c5ef (finally) merged imagetopics branch to HEAD 2003-11-01 15:24:07 +00:00
Robert Gaggl
4d2d82ef63 bugfix in evalStory(): assign this._id instead of this.id to result object 2003-10-30 12:39:53 +00:00
47eef10af3 added table rows and cells for better display 2003-10-16 17:57:46 +00:00
a9965c9657 added <noscript> tag with some information about the new way referrers work 2003-10-16 17:55:08 +00:00
8b41b1fc1d added class definitions according to old backlinks layout 2003-10-16 17:34:12 +00:00
4ae5ec0482 * modified referrers to be written by client-side javascript code
* added filters to sort out spam, search referrers or the like
2003-10-16 17:29:10 +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
9bc0fa1502 * added queue method to Mail prototype for sending e-mail notifications via scheduler
* added flushMailQueue to send mail objects contained in the mail queue (ie. app.data.mailqueue)
* added call for flushMailQueue from the scheduler function
* changed mail.send() to mail.queue() in sendNotification functions
2003-10-07 14:44: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
Hannes Wallnöfer
26a436396c Interpret no="" in commentcounter macro as to simply print out nothing
if there are no comments.
2003-09-18 15:49:21 +00:00
Robert Gaggl
fd7fb4989e modified editlink_macro(), deletelink_macro(), onlinelink_macro() and viewlink_macro() since checkXxx methods now throw an exception 2003-09-07 21:09:57 +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
Hannes Wallnöfer
c40865a458 Do not set checked to 1 in the parameter for addToFront macro, since this will
result in a checkbox that is always checked. When we get a form submission,
always use the values from the form.
2003-09-04 15:13:08 +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
282261b81d added property "content_xml" plus the mountpoint "content" that manages the xml encoded content of stories/comments 2003-08-02 12:18:55 +00:00
Robert Gaggl
4dc576c5e0 - added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- modified permission check methods: they now return an Exception object in case a certain action is denied
2003-08-02 12:12:34 +00:00
Robert Gaggl
91ed3e0746 now calling content_macro instead of title/text_macro 2003-08-02 12:01:33 +00:00
Robert Gaggl
0ce6a49299 - changed to use AntvilleLib methods
- added constructor function
- modified evalStory() and evalComment(): now call extractContent to get the submitted content, content is now handled by propertymgr (mountpoint "content")
- removed methods getContent(), setContent(), getContentPart(), setContentPart() since content is now handled by propertymgr
- methods now throw an Exception object in case something went wrong or a Message object as positive result
2003-08-02 11:44:47 +00:00
Robert Gaggl
ef4fe87262 now using story.content_macro() as link 2003-08-02 11:14:51 +00:00
Robert Gaggl
192de4e187 - changed to use AntvilleLib methods
rewrote content_macro():
- the content of a story/comment is now handled by mountpoint "content" (propertymgr).
- removed autoresponse functionality: this should be done in a separate macro (if needed)

- changed some macros because site preferences are now xml-encoded
- removed author_macro(), image_macro() and thumbnail_macro() which were only left for backwards-compatibility
- removed id_macro() since this is part of AntvilleLib now
- removed justintopic_macro()
2003-08-02 11:08:09 +00:00
Robert Gaggl
81acf4307b use story.content_macro() instead of story.title, story.text 2003-08-02 10:44:44 +00:00
Robert Gaggl
0ff833ada3 - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
- now using attribute "class" instead of attribute style where it defines a css class
2003-08-02 10:42:16 +00:00
Robert Gaggl
81f0c559e7 removed because .hac-files were merged into single actions.js files 2003-08-02 10:24:52 +00:00