Robert Gaggl
bd1a028adf
- removed all layout related editors (they're part of layouts now)
...
- added layoutchooser
2003-11-23 19:20:40 +00:00
Robert Gaggl
a6ecf1c2b4
- adapted res.dependsOn() statements in stylesheet and javascript actions because of the new layout objects
...
- first step in tuning rss_action() - using StringBuffers instead of normal variables
2003-11-23 19:17:47 +00:00
Robert Gaggl
61bb86058b
replaced mountpoint "skins" with "layouts" (= layoutmgr of site)
2003-11-23 19:10:41 +00:00
Robert Gaggl
89f5832ecf
replaced call of global image macro with layout.image
2003-11-23 19:05:00 +00:00
Robert Gaggl
aac468b2f9
replaced call of global image macro with the one of layout (since we have a layout object in res.handlers now, and this one manages all layout images)
2003-11-23 19:04:01 +00:00
Robert Gaggl
1c4e70c5aa
- modified since all font- and color preferences are now defined in a layout object
2003-11-23 19:03:08 +00:00
Robert Gaggl
64aa51aaca
- replaced any calls of global image macro with layout.image (since layout images are now handled by layout objects)
2003-11-23 18:53:52 +00:00
Robert Gaggl
c7d6babe3b
- removed assignment of layout related preferences (these are part of layout objects now)
...
- added methods getLayout(), getStaticPath(), getStaticUrl(), getStaticDir() and getTitle()
2003-11-23 18:44:09 +00:00
Robert Gaggl
a503ca2260
- removed all layout-related macros (they're now macros of prototype layout)
...
- removed skinsetchooser_macro(), added layoutchooser_macro()
- minor code-formatting
2003-11-23 18:21:55 +00:00
Robert Gaggl
e048de99d0
replaced link to skinmgr with link to layoutmgr
2003-11-23 17:54:10 +00:00
73ca975e42
restored and fixed colorpicker to regain flexible functionality and way-backwards-compatibility
...
* fixed bug that prevented colorpicker from working at all
* fixed bug that prevented display of colors that are changed but not saved
* <% colorpicker name="xyz" %> now renders the default colorpicker
* <% colorpicker name="xyz" skin="colorpickerExt" %> renders the extended version (or any other depending on the skin)
* modified site's edit.skin to open the extended version
* put client-side scripts and functionality into global Antville object to define a strict namespace
* updated AntvilleLib
NOTE: THIS IS STILL WORK IN PROGRESS
2003-11-14 10:47:51 +00:00
Michael Platzer
22c1e4c5ef
(finally) merged imagetopics branch to HEAD
2003-11-01 15:24:07 +00:00
c61ac74b09
moved "user-safe" javascript stuff into root/systemscripts which is
...
automatically appended onto site/javascript.skin
(root/safescripts_action is deprecated now)
2003-10-30 14:59:28 +00:00
Michael Platzer
c1952c0138
implemented RSS feeds for topics (and days) by simply wrapping the site.rss_action
2003-10-29 16:24:09 +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
9b9f595d08
decreased size of spamfilter textarea and added some explanation
2003-10-16 17:44:21 +00:00
0242b38da8
removed "instead" at the end of the text
2003-10-16 17:38:15 +00:00
2c9c1262d1
removed tag for external "safescripts" file -- code has moved to
...
root/systemscripts.skin and is included in site/javascript.skin via macro
2003-10-16 17:27:53 +00:00
0a55f0e398
added system-wide javascript code via skin macro
2003-10-16 17:25:56 +00:00
833de0a4a1
* modified referrers to be written by client-side javascript code
2003-10-16 17:19:31 +00:00
514d56ea23
* 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:19:04 +00:00
98aefe54a9
* added generic preference_macro for output of preference value or editor
...
* added spamfilter_macro for output of spamfilter data approripate for client-side javascript code
2003-10-16 17:13:22 +00:00
6ec62c8a56
added preference editor for spamfilter
2003-10-16 17:10:38 +00:00
Robert Gaggl
dcfaf27dce
added classes used for page navigation in mgr-mountpoints
2003-10-15 19:56:41 +00:00
Robert Gaggl
4937d54283
modified text in notification dropdowns to be more precise
2003-10-11 10:43:10 +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
cfed1de438
moved skin for notification mail body from global/notification.skin to site/notificationMail.skin
2003-10-08 16:09:13 +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
89d9085e1e
Make text inputs for font names 40 chars wide
2003-10-07 14:47:36 +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
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
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
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
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
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
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
Robert Gaggl
c7d5c20578
initial check-in
2003-08-02 12:21:28 +00:00
Robert Gaggl
a9f3e62c2e
switched from input type="submit" to type="button"
2003-08-02 12:19:30 +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
Robert Gaggl
65701dc949
- changed to use AntvilleLib methods
2003-08-02 12:17:26 +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
b8872f65cd
switched from input type="submit" to type="button"
2003-08-02 12:00:52 +00:00
Robert Gaggl
0d5d6fc8c1
minor code reformatting
2003-08-02 11:59:56 +00:00
Robert Gaggl
dbec15b593
- added constructor function
...
- site preferences are now xml-encoded in one property called preferences_xml which is handled by propertymgr
- removed function createImgDirectory() since directories are created on the fly by helma
2003-08-02 11:40:35 +00:00