Robert Gaggl
555c57f00d
- added evalCustom() that checks the submitted form values for creating a custom skin
...
- added getSkinDescription() that retrieves the description (title/text) from the message file(s)
- modified dumpToZip() to handle both full and incremental exports
- added getOriginalSkinSource() which returns the skin source of the parent's or application skin
- modified getSkin() to walk up the layout hierarchy and return the first skin matching prototype/name
- modified saveSkin() since the skinmgr is operating with keys now (instead of separate prototype and name values)
2003-12-08 21:57:46 +00:00
Robert Gaggl
734090dc05
completely reworked structure of skinmgr: no long list anymore, but now an outline tree containing different skinsets
2003-12-08 21:12:43 +00:00
Robert Gaggl
6fdd393b50
- removed skinstatus_macro() since it's not used anymore
...
- several other changes because the structure of the skinmgr has changed
- added prototypechooser_macro() which renders a dropdown containing the available prototypes (for creating custom skins)
2003-12-08 21:05:51 +00:00
Robert Gaggl
dbf2d5d1e4
- included title of skin and its description
...
- several changes because the structure of the skinmgr has changed
2003-12-08 20:50:05 +00:00
Robert Gaggl
cc48bbe2fb
- moved diff_action to prototype skin
...
- added custom_action (for creating custom skins)
- added modified_action (for listing only modified skins)
- various minor changes
2003-12-08 20:06:50 +00:00
Robert Gaggl
de42b3cc6c
removed
2003-11-23 19:15:47 +00:00
Robert Gaggl
dc36786608
- changed definition of _children collection since skinmgr now belongs to layout objects
...
- removed collection "shared", added collection "all"
2003-11-23 19:13:08 +00:00
Robert Gaggl
bd949ac8e9
MAY_EDIT_SKINS was renamed to MAY_EDIT_LAYOUTS
2003-11-23 19:00:32 +00:00
Robert Gaggl
191167d8e7
use the new macro-handler "context" which either contains root or a site object
2003-11-23 18:51:06 +00:00
Robert Gaggl
22df53c795
- removed methods isDefaultSkinset(), setDefaultSkinset(), testdriveSkinset(), deleteSkinset() since there are no skinsets anymore
...
- removed unused method getNavigationName()
- added methods saveSkin(), deleteSkin(), deleteAll()
- added getSkinSource() which retrieves either the source of the own skin or the one of the parent layout's skin
- added dumpToZip() which dumps the skin source to a Zip object passed as argument
- added evalImport() that handles the import of a skinset (based on an uploaded zip file)
2003-11-23 18:48:07 +00:00
Robert Gaggl
9152c521c9
re-added main skinmgr page
2003-11-23 18:28:46 +00:00
Robert Gaggl
466a517fd2
- removed skinsets_macro() since there are no skinsets anymore (but layouts)
...
- moved skinstatus_macro() from prototype skin to skinmgr
- removed skinsetchooser_macro() since there are no skinsets anymore (but layouts)
- moved help_macro() from prototype skin to skinmgr
2003-11-23 18:23:45 +00:00
Robert Gaggl
8515f02dc9
- replaced call of skinmgr.skineditor_macro() with direct embedding of textarea (the skinsource is fetched by the action)
...
- added call of help_macro()
2003-11-23 18:05:35 +00:00
Robert Gaggl
e48fa72acb
- removed create_action() since there are no skinset anymore (but layouts)
...
- modified diff_action() to retrieve the parent's skin as original skin (or the application skin if there is no parent)
2003-11-23 17:53:39 +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
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
Hannes Wallnöfer
44067f1fd0
Set loadmode to aggressive (? - unsure about pros/cons)
2003-08-29 13:58:45 +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
b1d3bb6870
modified comments
2003-08-02 12:19:11 +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
f6757655d1
- modified saveSkin to throw an Exception object in case something is wrong, return a Message object as positive result
...
- added try/catch blocks for skin removal
2003-08-02 11:41:52 +00:00
Robert Gaggl
d2f7c4af5c
added section "various additional skins" and the link to robots.skin
2003-08-02 11:12:44 +00:00
Robert Gaggl
91aa97ea77
- changed to use AntvilleLib methods
2003-08-02 11:01:25 +00:00
Robert Gaggl
81f0c559e7
removed because .hac-files were merged into single actions.js files
2003-08-02 10:24:52 +00:00
Robert Gaggl
d9fb8f1ae7
merged changes done in antville_1_0 branch
2003-07-22 12:01:41 +00:00
2140813275
added support for day/header.skin
2003-06-05 14:49:01 +00:00
Hannes Wallnöfer
0b8c3ad1ca
Unscrewable skin manager main page. Same as main.hac, except that it
...
uses skinmgr/page.skin to render the page, which is (usually) not customized.
2003-03-12 10:54:07 +00:00
Hannes Wallnöfer
05bf6756f8
Allow sysadmins access to all skinmanagers
2003-03-12 10:52:49 +00:00
a0c4842325
separated "front" from "page" for less resemblance of a microsoft product.
2003-03-07 22:16:44 +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
6c4a949ce6
replaced occurences of & in query strings by & to conform with xhtml spec. the w2 validator is happy now.
2003-03-07 14:05:56 +00:00
50890759ad
validated almost every page (at least apart from the system management stuff) with the w3c validator at http://validator.w3.org and modified the skins where necessary. furthermore i tried to arrange some layouts (files, images, polls) to better and more consistently harmonize with the general antville appearance.
2003-03-05 18:39:37 +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
068a68f090
req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi)
2003-01-02 18:55:32 +00:00
Robert Gaggl
c528e2e8be
removed UTF-8-encoding at beginning of file (backport from antville.org)
2002-12-17 21:13:17 +00:00
Robert Gaggl
42e0f21580
merged need_for_speed branch
2002-12-01 19:26:40 +00:00
Robert Gaggl
ba7e295b78
replaced weblog.loginstatus with site.loginstatus
2002-10-03 14:05:19 +00:00
Robert Gaggl
785b1ac2a3
removed main-skin of history-list (this skin doesn't exist anymore)
2002-09-05 17:15:12 +00:00
Robert Gaggl
0ad3f5b755
replaced calls of skin-macro with included tags for script/css-inclusion
2002-09-05 17:14:13 +00:00
cc8a34c55d
historyview.skin is now located in story
2002-08-13 16:50:58 +00:00
fc08052f54
historyview.skin is now located in story
2002-08-12 15:18:49 +00:00
16632edb72
replaced all occurrences of "this" with the name of the corresponding prototype
2002-08-09 15:45:59 +00:00
6bb094a240
set modifytime and modifier in saveSkin()
2002-08-08 12:07:05 +00:00
6bfdaa04b7
stepped back to previous version of embedding javascript and stylesheet code except moving script and style tags hither.
2002-08-01 16:14:08 +00:00
caa3f05e51
changed the way the <script> tag is closed (now using </script>) due to browser incompatibilites
2002-07-30 06:27:45 +00:00
3baeae2267
2002-07-29 17:42:43 +00:00
1a6d51174a
style.skin and javascript.skin of a prototype are now wrapped into hac files
...
(ie. made public) for streamlined integration of script code and css definitions.
2002-07-29 17:33:02 +00:00
6201d660ad
fixed bug in saveSkin() that caused missing user and date information for customized skins
2002-07-29 12:09:03 +00:00