Commit graph

2530 commits

Author SHA1 Message Date
Robert Gaggl
468f9ab684 modified searchUser():
- switched from Stringbuffer to res.push()/res.pop() for performance reasons
- only include those accounts found that aren't already members
2003-12-08 21:47:36 +00:00
Robert Gaggl
61c270a9af - renamed chooseNewLayout to evalNewLayout (changed too)
- added method evalImport() that handles the import of a layout zip file
2003-12-08 21:45:41 +00:00
Robert Gaggl
4e1513cd0c changed dumpToZip() to handle both complete and incremental exports 2003-12-08 21:43:51 +00:00
Robert Gaggl
cd013483d2 - modified getUrl() since staticUrl() now returns a string (changed to res.push()/res.pop() for performance reasons)
- added method getFile() which returns a File object representing the image on disk
2003-12-08 21:30:27 +00:00
Robert Gaggl
e212a95233 added methods:
- getParents() returns a Hashtable containing the parents of a layout (used to prohbit endless loops between layouts)
- getSkinPath() returns an array containing the layout plus any parent layouts
- getImage() returns the first found image while walking up the layout chain
- evalDownload() checks the submitted arguments before constructing a layout download
modified:
- dumpToZip now takes a second argument (Boolean) indicating whether to produce a full or incremental export of a layout
- added some (forgotten) properties to setParentLayout()
- modified staticUrl() to use res.push()/res.pop() instead of a Stringbuffer
2003-12-08 21:28:45 +00:00
Robert Gaggl
1bb182ba72 - added method getFile() which returns a File object representing the image on disk
- modified getPopupUrl(): use res.push()/res.pop() instead of a StringBuffer (for performance reasons)
- modified getUrl(): ditto
- renamed dump() to dumpToZip()
2003-12-08 21:23:41 +00:00
Robert Gaggl
98f81924bc - modified getPoolObj() since there are no "root images" anymore (their metadata is now the business of the global DEFAULTIMAGES object)
- minor code formatting
2003-12-08 21:21:12 +00:00
Robert Gaggl
0670b50c1a getStaticPath() now returns a String, not a StringBuffer() 2003-12-08 21:19:47 +00:00
Robert Gaggl
84ce44e9f5 modified getUrl(): for one the method getStaticUrl() of site was renamed to staticUrl(), plus use res.push()/res.pop() since we're dealing with Strings now (instead of StringBuffers) 2003-12-08 21:19:06 +00:00
Robert Gaggl
0b1e955b27 css class "commentHead" was renamed to "listSeparator" 2003-12-08 21:17:46 +00:00
Robert Gaggl
6f5616c362 changed layout (instead of using a table to create the link use the new css class "pagelinkBottom") 2003-12-08 21:17:12 +00:00
Robert Gaggl
301f37df13 parentimages_action was renamed to parent_action 2003-12-08 21:16:15 +00:00
Robert Gaggl
d046d54cb2 added description texts (and titles) for every single skin used in antville plus the descriptions of each skinset (used to display the different tree "branches" in skin manager) 2003-12-08 21:15:45 +00:00
Robert Gaggl
85201a9e3a the list of members of a group isn't pushed to the skin anymore, instead just display the header for each group 2003-12-08 21:14:31 +00:00
Robert Gaggl
873e28af49 instead of displaying "online stories" say "all stories" (since the list will contain both online and offline stories) 2003-12-08 21:13:45 +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
a0be92eb26 include response.searchresult and response.memberlist 2003-12-08 21:11:43 +00:00
Robert Gaggl
c002db53db - exchanged link to "choose" action (which was removed) to "create" action
- added link to import action
2003-12-08 21:11:04 +00:00
Robert Gaggl
27a7faa627 - changed display of layout (added copyright and contact email information
- added link to download action
2003-12-08 21:10:08 +00:00
Robert Gaggl
8406293f54 minor layout change 2003-12-08 21:09:13 +00:00
Robert Gaggl
a28bec93fb fixed a bug that would display "on" even if there's no image createtime (which is the case for imported images) 2003-12-08 21:08:50 +00:00
Robert Gaggl
450940d8cf removed deprecated relatedtopics_macro (it wasn't used anymore) 2003-12-08 21:07:30 +00:00
Robert Gaggl
e4d3d20a93 modified backlinks_macro(): use res.push()/res.pop() instead of populating a StringBuffer (for performance reasons) 2003-12-08 21:06:50 +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
f966f48880 - simplified navigation_macro
- modified calendar_macro(): changed from using StringBuffers to res.push()/res.pop()
- modified xmlbutton_macro(): use new constant DEFAULTIMAGES instead (which contains the metadata of the former "root images")
- modified layoutchooser_macro() since the active site layout is now stored in property site.layout
2003-12-08 21:04:22 +00:00
Robert Gaggl
3b81b68c63 added layoutchooser_macro() as a proxy macro for root.layouts.layoutchooser_macro() 2003-12-08 21:01:03 +00:00
Robert Gaggl
5eb714aaeb don't use StringBuffer in results_macro() since it's of no use (instead write the results directly to response) 2003-12-08 21:00:17 +00:00
Robert Gaggl
77da374d2f removed memberslist_macro(): use the method renderMemberlist instead (called in main_action) 2003-12-08 20:59:30 +00:00
Robert Gaggl
6f538bc2c9 - removed downloadlink_macro() since downloading isn't restricted anymore
- added macros: email_macro(), copyright_macro()
- changed image_macro(): use new method getImage() to retrieve image which searches along the layout chain to get the first image matching the name
2003-12-08 20:58:09 +00:00
Robert Gaggl
56d5afc7a0 - modified logo_macro(): use new object DEFAULTIMAGES to render any of them
- modified image_macro(): use new object DEFAULTIMAGES to render any of the former "root images"
- fixed a bug in colorpicker_macro(): use res.push()/res.pop(), otherwise the macro would render the input directly to response
2003-12-08 20:55:42 +00:00
Robert Gaggl
6b8efdc622 changed layout 2003-12-08 20:53:03 +00:00
Robert Gaggl
f09d1929c2 css class "commentHead" was renamed to "listSeparator" 2003-12-08 20:52:32 +00:00
Robert Gaggl
42a5a9254d - include pagenavigation and list of shareable system layouts to choose the basis layout for an import
- added explanation text
2003-12-08 20:52:09 +00:00
Robert Gaggl
bd2e307061 changed from css class "statusDark" to "historyItem" 2003-12-08 20:51:07 +00:00
Robert Gaggl
f4a90271d7 removed pixel.gif 2003-12-08 20:50:32 +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
356eb1e813 - added editors for copyright, contact email, base layout
- several minor layout changes
2003-12-08 20:48:02 +00:00
Robert Gaggl
ecc6684474 changed from css class "small" to "dayHeader" 2003-12-08 20:45:41 +00:00
Robert Gaggl
3fc7ce5329 - added constant object DEFAULTIMAGES that contains the metadata of all default images (logos, pixel, marquee)
- added constant SKINSETS that contains the structure of the skinmgr (for both root- and site skinmanager)
- added constructor for Skinset objects (used for constructing the SKINSETS constant)
2003-12-08 20:44:57 +00:00
Robert Gaggl
9d0e77b66b pixel.gif is no longer part of layout but of standard images (therefor using global image macro instead of layout.image) 2003-12-08 20:43:02 +00:00
Robert Gaggl
60d3356cf5 stylesheet action is now called stylesheet.css 2003-12-08 20:41:47 +00:00
Robert Gaggl
a0bc02e8b1 - css class commentHead was renamed to "listSeparator"
- some fixes towards xhtml compatibility
2003-12-08 20:40:27 +00:00
Robert Gaggl
bce6a1e812 - included db schema changes of antville_dbpatch-20031128-layouts2.sql
- fixed create statement of default layout
2003-12-08 20:08:51 +00:00
Robert Gaggl
21e5cf2ed5 changed because css-classes were renamed 2003-12-08 20:07:27 +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
344f09d106 - moved diff_action from skinmgr to skin prototype
- changed redirect in delete_action
2003-12-08 20:05:47 +00:00
Robert Gaggl
a3f1359283 - removed deprecated safescripts_action
- stylesheet_action was renamed to stylesheet_css_action, previous stylesheet_action is now a wrapper action (left for backwards compatibility)
- javascript_action was renamed to javascript_js_action, previous javascript_action is now a wrapper action (left for backwards compatibility)
2003-12-08 20:04:13 +00:00
Robert Gaggl
220e91bbec stylesheet_action was renamed to stylesheet_css_action, previous stylesheet_action is now a wrapper action (left for backwards compatibility) 2003-12-08 20:02:56 +00:00
Robert Gaggl
4759073f26 render list of choices using res.push()/res.pop() instead of using a StringBuffer (for performance reasons) 2003-12-08 20:01:49 +00:00
Robert Gaggl
17fbb853d3 modified main_action: the list of current members is now rendered using renderMemberlist(), also did some changes how the searchresult is rendered 2003-12-08 20:00:23 +00:00