Commit graph

181 commits

Author SHA1 Message Date
4e2b88bf6a add check for app.data.redirectPostRequests switch to redirect site post requests to another URL 2004-08-03 12:24:43 +00:00
94cb4c0a22 * check for param.as == "url" and/or param.as == "link" wherevery it (hopefully) makes sense
* cleaned up a little bit (code, comments)
2004-07-30 13:34:13 +00:00
Robert Gaggl
d92eba0f3b createLinkParam() now clones the param object, so there's no need to store the text defined in a variable 2004-05-08 16:53:44 +00:00
Robert Gaggl
36d7afbc8a modified createLinkParam(): clone the param object since known non-html attributes are removed
(should also make things easier because one doesn't have to keep in mind that the param object is modified)
2004-05-08 16:53:05 +00:00
Robert Gaggl
5a95b12ff1 added applyModuleMethod(): using this we can apply any module specific method to a HopObject 2004-03-21 14:26:24 +00:00
ee5a969fc2 renamed prototypes to uppercase first letter names; this implied renaming of file to Asset and of image to Picture to prevent clashes with helma's internal Image and File prototypes (including management mountpoints) 2004-03-20 18:13:50 +00:00
fd9d0b503f * re-added hopobject.url_macro as user-friendly wrapper for hopobject.href_macro
* replaced all xxx.href macro calls to xxx.url
2004-01-13 15:36:23 +00:00
a76c64aea1 removed hopobject.url_macro and replaced macro calls with the href macro 2004-01-13 14:24:12 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
00add30ef2 replaced all occurences of "weblog" with "site" 2004-01-12 13:16:37 +00:00
304e1cc0be modified delete_actions and corresponding delete.skin 2004-01-12 12:47:18 +00:00
Robert Gaggl
cec6de53a7 do not clone the param object anymore, this is done in Html library if necessary 2004-01-05 12:50:12 +00:00
bbecafaf05 removed skin_macro because this went into antvillelib already 2004-01-02 23:01:54 +00:00
Robert Gaggl
67f80fbb1a added method createCheckBoxParam() that returns a special parameter object for rendering checkboxes (which is different from the one created by createInputParam()) 2004-01-02 10:43:06 +00:00
Robert Gaggl
52de311062 changed since the signature of Html.link(AsString) has changed (first argument must be an object containing all attributes of the a tag). 2003-12-17 22:04:16 +00:00
Robert Gaggl
290df92ef8 skinpath is now set using layout.getSkinPath() 2003-12-08 22:39:45 +00:00
Robert Gaggl
898404a923 modified onRequest():
- assign the currently active layout to res.handlers.layout, also added check if user has a layout object in the session (for testdriving it)
- define the skinpath according to the layout object
- only call checkAccess if the user isn't a sysadmin (which means that sysadmins are basically allowed to do anything)
2003-11-23 18:57:37 +00:00
Robert Gaggl
cde3f9e583 added generic modifier_macro() 2003-11-23 18:08:45 +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
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
e839d7e343 removed 2003-08-02 12:22:00 +00:00
Robert Gaggl
8d7737d4d4 - modified onRequest(): it now calls checkAccess() to determine if a user is allowed to request a certain action
- added basic method checkAccess() allowing everything which is overwritten by prototypes
2003-08-02 12:06:01 +00:00
Robert Gaggl
30da41a5eb - changed to use AntvilleLib methods
- modified createInputParam: submitted values now override property values
2003-08-02 11:26:34 +00:00
Robert Gaggl
c352b6d11c - removed href_macro() because this is part of AntvilleLib now
- removed deprecated input_macro() - use the global one instead
- removed check for param.checkdeny in link_macro since i couldn't figure out why it was there
2003-08-02 10:53:21 +00:00
Robert Gaggl
eee0bf7f5d changed from input type="button" to type="submit" 2003-08-02 10:41:03 +00:00
Hannes Wallnöfer
88773b0916 Fix typo (klick/click) 2003-05-09 13:38:19 +00:00
524d7a38a3 still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout. 2003-03-07 19:27:48 +00:00
1ecc716b8b edited textual contents 2003-03-07 14:04:45 +00:00
6e01831dc6 fixed bug in link_macro() that caused invalid html attribute (checkdeny="true") to appear 2003-03-05 18:44:45 +00:00
Robert Gaggl
ac6f5f8c60 - removed renderInputRadio which was commented out anyways (the real one is in global/renderFunctions.js)
- changed renderDateformatChooser() to use format-constants instead of calling getDefaultDateFormats()
2003-03-03 12:09:57 +00:00
Robert Gaggl
52f713f714 added standard url_macro(), slightly changed skin_macro() 2003-03-03 12:08:12 +00:00
Robert Gaggl
5dc112e6b2 - changed createInputParam(): value is not form-encoded anymore, this is done in renderInput* if necessary. 2003-02-04 12:18:37 +00:00
Robert Gaggl
20940d1aa3 changed createInputParam(): the value is now form-encoded, otherwise quotes would break the rendering 2003-02-03 11:24:08 +00:00
Robert Gaggl
bf40bb5ae9 changed default memberlevel from 0 to null (because 0 is the level of a subscriber) 2003-01-23 21:30:43 +00:00
8b42344a48 moved modifytime_macro() to hopobject prototype 2003-01-07 10:57:31 +00:00
Robert Gaggl
ff01391d37 securityFunctions now need the membership-level of a user as second argument 2003-01-02 19:05:03 +00:00
Robert Gaggl
c61985604c now calling new function getMembershipLevel() of membermgr to retrieve permission-level of user 2003-01-02 18:54:04 +00:00
Robert Gaggl
9efff41cae changed linkedpath_macro(): the last item in the breadcrumb-navigation is now also linked if req.action != main and there is a main_action 2002-12-17 21:51:50 +00:00
Robert Gaggl
3fe2e1fb80 added href_macro() (backport from antville.org) 2002-12-17 20:38:14 +00:00
Robert Gaggl
eabe06d1ef if root.sys_frontSite is set the site-object is now assigned to res.handlers.site instead to path.site 2002-12-02 16:27:03 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
Robert Gaggl
a802feac0b added creator_macro() since this was used in quite a lot of different prototypes but for some it could render the name of the creator as link and for some not 2002-09-02 20:14:37 +00:00
Robert Gaggl
a8c93d89f7 removed unused macro loopskin - in most cases this macro couldn't be used because specific checks et.al. were necessary 2002-08-14 10:01:23 +00:00
4f02bce6b6 moved function colorpicker_action() from hopobject/actions.js to root/actions.js 2002-08-13 14:35:15 +00:00
f4254a6360 moved historyview.skin from hopobject to story 2002-08-09 16:53:12 +00:00
1957638fcf turned hopobject macro colorpicker into a global macro 2002-08-09 16:47:28 +00:00
4141b1027c moved cp_element.skin from hopobject to global 2002-08-09 16:45:55 +00:00
1d08d1f854 changed color input field width back to 10 2002-08-09 07:55:47 +00:00
9e00bedcd1 2002-08-08 16:16:46 +00:00
e90647fc90 moved hopobject/cp_javascript.skin to global/safejs.skin 2002-08-08 16:16:27 +00:00