Commit graph

47 commits

Author SHA1 Message Date
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
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
17151a35c4 - changed to use AntvilleLib methods
- some code reformatting
2003-08-02 11:01:02 +00:00
Robert Gaggl
0ff833ada3 - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
- now using attribute "class" instead of attribute style where it defines a css class
2003-08-02 10:42:16 +00:00
Robert Gaggl
81f0c559e7 removed because .hac-files were merged into single actions.js files 2003-08-02 10:24:52 +00:00
Hannes Wallnöfer
bdcda3369d Changed RegExp constructors to include the global ("g")
and ignoreCase ("i") flags as required by Rhino.
2003-07-08 14:53:57 +00:00
2993a559bc changed "Help" link to lowercase 2003-03-07 22:12:50 +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
a3be8e9ac1 added _parent-definition (might fix this problem: http://project.antville.org/stories/288682/) 2003-02-10 17:29:43 +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
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
84d6a35e07 added comments to help_macro() 2002-08-20 13:04:20 +00:00
ada01c4711 had to add ".macros", ".macro" and ".skins" to macro.help property file 2002-08-20 09:00:07 +00:00
016f23d687 moved help macro below edit form 2002-08-19 16:55:05 +00:00
fbae50ab22 new function help_macro() displays macros that are available in a skin 2002-08-19 16:44:32 +00:00
3cb2d66323 initial check-in 2002-08-08 12:10:58 +00:00
234e83a473 changed modified to modifytime 2002-08-08 12:05:52 +00:00
Robert Gaggl
d5823a468a - input_macro() moved from hopobject to global (and echoes request data by default)
- added missing name-attribute for buttons
2002-07-19 08:42:32 +00:00
Robert Gaggl
bff3f9a996 - changed because the prototype weblog was renamed to site
- replaced hardcoded messages with getMsg()
2002-06-26 17:20:01 +00:00
Robert Gaggl
72d830c930 changed because the prototype weblog was renamed to site 2002-06-26 16:23:37 +00:00
Robert Gaggl
f8db009bff changed type.properties according to new database-schema:
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/)
2002-06-26 16:03:59 +00:00
f82b1aa47c moved <form> tags on positions that are appropriate for xhtml compatibility (hopefully...) 2002-06-04 15:34:47 +00:00
3baac801a0 moved renderInputText() et al. and renderImage() from hopobject to global 2002-06-04 14:53:17 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
Robert Gaggl
0e7ae0b9ef change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
cb35759bd0 changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:16 +00:00
Robert Gaggl
6fa414dd0e assign form-action to res.data.action 2002-05-15 23:12:41 +00:00
Robert Gaggl
075c0ccd15 include action in form-tag 2002-05-15 23:12:01 +00:00
Robert Gaggl
c3e0c23603 - autoLogin() is now called by onRequest()
- removed "Antville" from pagetitle
2002-03-27 13:05:40 +00:00
Robert Gaggl
269a461d03 switched to version 1.2 2002-03-27 10:57:17 +00:00
4defb6f54e enabled virtual wrapping for textarea 2002-02-01 16:06:18 +00:00
Robert Gaggl
561192838c - removed check if user is blocked (will be done with onRequest())
- changes necessary due to new role-scheme
2002-01-22 20:21:13 +00:00
Robert Gaggl
db3df63bad - hac now checks if user is logged in
- some minor changes
2002-01-22 19:41:26 +00:00
Robert Gaggl
0c0fc7a990 - security-functions now demand user-object as argument
- modifications needed due to rewriting of objectFunctions
- removing assignments to res.head
- now using res.data.* instead of res.*
2001-12-10 23:17:44 +00:00
Robert Gaggl
b84edc8534 - changed line-up of buttons to the right order 2001-12-10 23:17:12 +00:00
Robert Gaggl
f88cdf8734 - added comments to functions
- security-functions now demand user-object as argument
2001-12-10 23:16:58 +00:00
Robert Gaggl
942a32c5f6 added call of autoLogin()-function 2001-10-07 19:31:19 +00:00
Robert Gaggl
4f4f7d4c34 completely rewrote layout of antville (finally ...) 2001-10-02 11:01:50 +00:00
Robert Gaggl
5a3de95d25 mapped creator to user 2001-10-02 10:49:52 +00:00
Robert Gaggl
4230b3e1de initial check-in 2001-10-02 10:47:49 +00:00
Michael Platzer
4f9fba5297 basically implemented the chronological history list and did some additional minor changes
weblog/objectFunctions.js -> modifytime is set to current Date at creation time
story/objectFunctions.js -> modifytime is set to current Date at creation time
comment/objectFunctions.js -> modifytime is set to current Date at creation time; isonline is set to 1 at creation time; added function isOnline()
weblog/type.properties -> two additional subnode-containers: allstories, allcomments
weblog/macros.js -> implemented history_macro which renders List of recently modified Objects
story/historyview.skin -> will be rendered by the weblog-history macro
comment/historyview.skin -> will be rendered by the weblog-history macro
weblog/main.skin -> included history.skin
story/main.skin -> included history.skin
weblog/style.skin -> included "history", "historyStory" and"historyComment" classes
weblog/history.skin -> newly created
story/macors.js -> title_macro can be rendered as a link; comments_macro renders an invisible anchor-tag before each comment
comment/macors.js -> title_macro can be rendered as a link; replies_macro renders an invisible anchor-tag before each comment
eliminated renderPrefix() and renderSuffix()
documentation.htm -> updated
2001-07-18 15:58:18 +00:00
Robert Gaggl
05c35c1d5f no message 2001-06-28 18:09:09 +00:00
Robert Gaggl
bbfcb3d4f4 Initial revision 2001-06-18 08:57:33 +00:00