Commit graph

4726 commits

Author SHA1 Message Date
Robert Gaggl
2ffe2a20d8 modified assignment of root.sys_allowEmails, it should be an integer (or null) instead of a string 2003-10-11 10:42:33 +00:00
Robert Gaggl
772c53d17f modified debug output of flushMailQueue() 2003-10-11 10:41:45 +00:00
Robert Gaggl
b2f57212f5 check if notification is enabled for a site by calling isNotificationEnabled() 2003-10-11 10:41:16 +00:00
Robert Gaggl
45fd91573a - added method isNotificationEnabled() that does a basic check if email notification is enabled for a site
- simplified level checks in sendNotification(), removed commented out code
2003-10-11 10:40:03 +00:00
Hannes Wallnöfer
6e147b0e32 Forgot to commit when checking in skinsets: displays a dropdown chooser for
skinsets on the preferences page. I don't know if this is a good idea, but with the
current code in site/edit_action it's required, otherwise the site's skinset will be
when saving preferences.
2003-10-10 17:12:59 +00:00
7bad3bf9ac * all notification e-mails are now sent via site/sendNotification function
* removed option to get notifications only for new comments
* added check if receipient is identical with the creator/modifier of the modified object
* made use of sendMail function
2003-10-08 16:54:20 +00:00
e4df22eef5 simplified notification_macro and adjusted wording 2003-10-08 16:49:55 +00:00
738a791a74 added mail.notification message 2003-10-08 16:21:40 +00:00
cdbf273d0a * app.data.mailQueue (now with capital Q) is defined in onStart function
* modified sendMail function to add multiple recipients via addBCC method
2003-10-08 16:20:54 +00:00
74006dc880 added main_action to redirect to the same url that is available via the "download" link in the file manager 2003-10-08 16:18:34 +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
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
8db75a6f29 changed sentence structure of important note for better instruction 2003-09-16 16:06:00 +00:00
59d5de2b49 added "important note" to warn from not converting site data to the new database scheme before proceeding 2003-09-16 16:02:54 +00:00
b881d02f72 initial check-in 2003-09-16 15:49:05 +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
Robert Gaggl
f1bcf012e8 removed second drop statement of column SITE_TEXTFONT 2003-09-09 19:09:36 +00:00
Robert Gaggl
345e0a5948 added column SITE_PREFERENCES, removed preference columns that are now stored xml encoded in SITE_PREFERENCES (includes db-patches 20030729 and 20030728) 2003-09-09 19:09:09 +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