Commit graph

2153 commits

Author SHA1 Message Date
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
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
Hannes Wallnöfer
93d2334431 Remove experimental permissions code 2003-09-04 09:11:39 +00:00
Hannes Wallnöfer
ed74132c9e Fix logical bug in site access check. 2003-09-04 08:26:23 +00:00
Robert Gaggl
a064a814c2 rewrote convertSites_action since the preferences aren't mapped in site's type.properties anymore 2003-08-31 14:31:39 +00:00
Robert Gaggl
d16494e7fc added "use antville", removed adding of column SITE_PREFERENCES (which is covered by the previous patch) 2003-08-31 14:31:07 +00:00
Robert Gaggl
5263e7df87 added "use antville" 2003-08-31 14:30:30 +00:00
Hannes Wallnöfer
b42a5b5c36 Checking in AntvilleLib helma_1_3 branch snapshot from 2003/08/29. 2003-08-29 14:47:48 +00:00
Hannes Wallnöfer
44067f1fd0 Set loadmode to aggressive (? - unsure about pros/cons) 2003-08-29 13:58:45 +00:00
Hannes Wallnöfer
bfaf59c778 Adapt to the fact that Helma now registers indirect prototypes in the path object
so topics are registered as days and we need to check if a day is actually a day
before making it today.
2003-08-29 13:54:25 +00:00