Commit graph

4691 commits

Author SHA1 Message Date
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
Hannes Wallnöfer
bee1355200 Redo the changes from rev. 1.32 that were (accidentally?) undone in 1.33 2003-08-19 16:37:49 +00:00
Robert Gaggl
b906acc347 initial check-in: helper action for converting site preferences 2003-08-02 12:24:22 +00:00
Robert Gaggl
62b3612098 initial check-in: methods for handling xml encoded properties 2003-08-02 12:23:38 +00:00
Robert Gaggl
62bbe2c4b8 initial check-in: remove the preferences columns since site prefs are now stored xml encoded in SITE_PREFERENCES 2003-08-02 12:22:51 +00:00
Robert Gaggl
e839d7e343 removed 2003-08-02 12:22:00 +00:00
Robert Gaggl
c7d5c20578 initial check-in 2003-08-02 12:21:28 +00:00
Robert Gaggl
fb804a0210 initial check-in: adds the column SITE_PREFERENCES in table AV_SITE 2003-08-02 12:20:52 +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
a9f3e62c2e switched from input type="submit" to type="button" 2003-08-02 12:19:30 +00:00
Robert Gaggl
b1d3bb6870 modified comments 2003-08-02 12:19:11 +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
9fc496a266 added property "preferences_xml" plus the mountpoint "preferences" that manages the xml encoded prefs 2003-08-02 12:18:26 +00:00