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
cfed1de438
moved skin for notification mail body from global/notification.skin to site/notificationMail.skin
2003-10-08 16:09:13 +00:00
86061433f4
* modified sendMail function to queue mails instead of immediately sending them
...
* fixed a small bug that caused an error message due to an undefined mail queue array
2003-10-07 16:12:47 +00:00
Hannes Wallnöfer
a76698be3e
Beatification of skinset creation form (table, style)
2003-10-07 16:01:58 +00:00
Hannes Wallnöfer
aa95512818
Added support for skinsets:
...
* Skins are attached to skinset rather than site objects
* Each site can have multiple skinsets
* Skinsets can inherit from each other
* Added subclasses of imagemgr and skinmgr that mount on root/manage
2003-10-07 15:53:55 +00:00
Hannes Wallnöfer
e8adb95a2c
Added support for skinsets:
...
* Skins are attached to skinset rather than site objects
* Each site can have multiple skinsets
* Skinsets can inherit from each other
* Added subclasses of imagemgr and skinmgr that mount on root/manage
2003-10-07 15:14:47 +00:00
Hannes Wallnöfer
cda3566b84
Use status page rather than sites page as system management entry page
2003-10-07 14:56:33 +00:00
Hannes Wallnöfer
89d9085e1e
Make text inputs for font names 40 chars wide
2003-10-07 14:47:36 +00:00
Hannes Wallnöfer
a790064067
Added error action
2003-10-07 14:45:07 +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
Hannes Wallnöfer
8e1506b766
Remove font-size definition from local style
2003-10-07 14:29:43 +00:00
22be972fa2
redirect to the site's edit mask after preferences were saved
2003-10-06 16:29:24 +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
cd24d55c20
reduced and simplified conditional checks in evalURL()
2003-10-06 09:44:36 +00:00
Robert Gaggl
e898dfcca4
bugfix: use path.site instead of this._parent since checkAccess() is also called for topics (and the parent of a topic is topicmgr)
2003-09-24 11:52:32 +00:00
Michael Platzer
b40d567c13
fixed evalURL, so that web addresses with @ are possible
2003-09-21 16:59:42 +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
8aef63cce5
added support for fallback image ( http://grazia.helma.at/pipermail/antville-dev/2003-September/000160.html )
2003-09-11 20:04:11 +00:00
Robert Gaggl
be34eef1f2
only send registration confirmation mail if root.sys_email is set (otherwise eg. antclick users would get an error message during setup)
2003-09-09 19:42:11 +00:00
Hannes Wallnöfer
0497b10bf3
Tentative code to set the colorpicker to the color of the selected textclass
...
(works only if the color matches one in the color raster 100%)
2003-09-09 17:57:56 +00:00
Hannes Wallnöfer
f381b7fa46
Make colorpicker.skin XHTML complient
2003-09-09 17:30:43 +00:00
Hannes Wallnöfer
b962e7f9a9
Add a preview area to the colorpicker and make it possible
...
to edit all colors at once.
2003-09-09 14:41:09 +00:00
Robert Gaggl
60f2d74c77
introduced new deny.* messages (the former *Denied messages) that are used by DenyException objects
2003-09-07 21:11:33 +00:00
Robert Gaggl
71363fa9d3
added constants ONEMINUTE, ONEHOUR and ONEDAY
2003-09-07 21:10:53 +00:00
Robert Gaggl
39d3ae575d
modified addstory_macro() because checkAdd() now possibly throws an exception
2003-09-07 21:10:33 +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
ebc67d1a33
- modified history_macro() since checkView throws an exception
...
- use constant ONEDAY in age_macro()
2003-09-07 21:09:08 +00:00
Robert Gaggl
1bfe048ae8
modified editlink_macro(), deletelink_macro(), closelink_macro() and viewlink_macro() since checkXxx methods now throw a DenyException
2003-09-07 21:08:15 +00:00
Robert Gaggl
5e669e2a8d
modified poll_macro(): display an embedded poll in any case (even if the user isn't logged in)
2003-09-07 21:07:17 +00:00
Robert Gaggl
4b3ce773a8
- modified editlink_macro() and deletelink_macro() since checkXxx now throws a DenyException
...
- fixed some comments
- removed unused hasthumbnail_macro()
2003-09-07 21:06:36 +00:00
Robert Gaggl
7e95b36b13
modified editlink_macro() and deletelink_macro() since checkXxx now throws a DenyException
2003-09-07 21:06:09 +00:00
Robert Gaggl
5d2bc32659
(hopefully) merged all changes in antville_1_0 branch into main branch
2003-09-07 21:05:24 +00:00
Robert Gaggl
79b01c0e60
modified evalVote() because checkVote() now throws a DenyException itself
2003-09-07 21:04:47 +00:00
Robert Gaggl
25757cbf8a
modified updateMembership(): throw a DenyException instead of an Exception object
2003-09-07 21:03:54 +00:00
Robert Gaggl
f7f81a2512
added constructor for DenyException objects
2003-09-07 21:03:12 +00:00
Robert Gaggl
2e74e482a3
use constant ONEHOUR in renderTimeZoneChooser()
2003-09-07 21:02:56 +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
97829ace68
- rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
...
- added call of checkIfLoggedIn() in case the site is private
2003-09-07 21:01:19 +00:00
Robert Gaggl
049d34d8ec
- rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
...
- use constant ONEDAY
2003-09-07 21:00:02 +00:00
Robert Gaggl
f1b5583d54
- rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
...
- removed isViewDenied(), use this.site.checkView() instead (since isViewDenied() didn't do anything else)
2003-09-07 20:58:38 +00:00
Robert Gaggl
92316e4787
modified checkAccess() because permission check methods now throw an exception
2003-09-07 20:57:48 +00:00
Robert Gaggl
91c24d6540
modified onRequest(): all checkAccess() methods now set res.message themselves (and do a res.redirect if necessary), so just call checkAccess()
2003-09-07 20:56:46 +00:00
Robert Gaggl
13847bdea7
modified notfound_action(): check if path.site is online, otherwise use the root's page.skin for rendering
2003-09-07 20:52:17 +00:00
Robert Gaggl
16891e31c6
- modified main_action(): check if user is logged for vote-requests
...
- fixed a bug in edit_action() that would throw a type-error (dunno why) otherwise
2003-09-07 20:51:44 +00:00
Robert Gaggl
d4fdc9c289
fixed a bug in login_action: var parent doesn't exist anymore, use _parent instead
2003-09-07 20:50:17 +00:00
Robert Gaggl
7a8cd0ede5
fixed a bug in sys_minMemberAge_macro that created a bogus dropdown
2003-09-07 20:49:20 +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
Hannes Wallnöfer
9ffa1c5baf
Removed AntvilleLib-1.0.zip and adding AntvilleLib-1.3.zip, which is the right name for
...
the file. Also contains a fix for Html.checkbox() where checkboxes are never checked.
2003-09-04 13:41:11 +00:00
Hannes Wallnöfer
93e8b0d3a6
Add hours as strings to dropdown array to make them render as "18" rather than "18.0"
2003-09-04 13:37:05 +00:00