Commit graph

674 commits

Author SHA1 Message Date
Robert Gaggl
a75b59d33a - security-functions now demand user-object as argument
- now using res.data.* instead of res.*
- modifications needed due to rewriting of objectFunctions
2001-12-10 22:57:04 +00:00
Robert Gaggl
685b8bcbd8 - using page.skin instead of editor.skin
- removing assignments to res.head
- now using res.data.* instead of res.*
2001-12-10 22:56:26 +00:00
Robert Gaggl
87d6fb9a6b - functions now have a defined (and documented ...) interface
- added comments to functions
- removed addGoodie()-function
2001-12-10 22:55:34 +00:00
Robert Gaggl
810666d5c8 - security-functions now demand user-object as argument
- added comments to functions
2001-12-10 22:54:44 +00:00
Robert Gaggl
48b94dd326 - changed line-up of buttons to the right order 2001-12-10 22:53:13 +00:00
Robert Gaggl
20478af81c - security-functions now demand user-object as argument 2001-12-10 22:52:58 +00:00
Robert Gaggl
4bbdf08320 - minor change 2001-12-10 22:52:40 +00:00
Robert Gaggl
6821131c28 - removed unused functions
- functions now have a defined (and documented ...) interface
- added comments to functions
2001-12-10 22:51:57 +00:00
Robert Gaggl
65c09fa49c - trying to format a date now does not throw an ugly error 2001-12-10 22:49:29 +00:00
Robert Gaggl
cef56fef7e - call of doWikiStuff() is now done in getText()-functions
- new function getDefaultDateFormats()
- setLayout() now sets res.page to page.skin only
- added comments
2001-12-10 22:48:59 +00:00
Robert Gaggl
5bddde516e - doWikiStuff now renders create-link if found topic contains no stories 2001-12-10 22:47:10 +00:00
Robert Gaggl
10c7510e22 - security-functions now demand user-object as argument
- now using res.data.* instead of res.*
- removing assignments to res.head
2001-12-10 22:45:42 +00:00
Robert Gaggl
81cf182c44 - security-functions now demand user-object as argument
- now using res.data.* instead of res.*
- modifications needed due to rewriting of objectFunctions
- removing assignments to res.head
2001-12-10 22:45:17 +00:00
Robert Gaggl
05d7900933 - security-functions now demand user-object as argument
- now using res.data.* instead of res.*
- modifications needed due to rewriting of objectFunctions
2001-12-10 22:44:15 +00:00
Robert Gaggl
e5f5ea0921 - changed line-up of buttons to the right order 2001-12-10 22:43:08 +00:00
Robert Gaggl
34db3f08fa - now using getText()-function
- security-functions now demand user-object as argument
2001-12-10 22:42:36 +00:00
Robert Gaggl
b9ae8eaa2d - objectFunctions now return a result-object
- added comments to functions
2001-12-10 22:41:26 +00:00
Robert Gaggl
6a9d1a41df - now using res.data.* instead of res.*
- modifications needed due to change of objectFunctions
2001-12-10 22:40:12 +00:00
Robert Gaggl
7991672d92 - security-functions now demand user-object as argument
- added comments to functions
2001-12-10 22:38:46 +00:00
1ca61a1c5c removed lastPing until functionality is implemented 2001-12-10 18:50:55 +00:00
17b7eb5365 added comments to listMostRead_macro() 2001-12-10 17:40:54 +00:00
0ac3ba4914 added limit for output of mostread stories in function listMostRead_macro() 2001-12-10 17:38:35 +00:00
21351255c8 added lastPing, reads 2001-12-10 17:36:40 +00:00
3bf5e12161 initial check-in 2001-12-10 17:03:16 +00:00
8f68958e12 added listMostRead_macro() for listing most read stories 2001-12-10 17:02:29 +00:00
ace6ae794b added onStart(), scheduler() and pingUpdatedWeblogs() functions 2001-12-10 16:35:07 +00:00
7d96af7bc7 added mysql for creation of column READS 2001-12-10 14:13:25 +00:00
992978c616 added incrementation of page read counter 2001-12-06 17:34:50 +00:00
d46a9b1d48 added initialising of page read counter 2001-12-06 16:42:29 +00:00
301118be94 added incrementation of page read counter 2001-12-06 16:41:27 +00:00
328bc19060 added mapping for page reads counter 2001-12-06 16:40:42 +00:00
Hannes Wallnöfer
1e07e538e7 removed double url activation in doWikiStuff() 2001-12-04 18:37:59 +00:00
Hannes Wallnöfer
b45e37e307 added '*'s to backlink query 2001-12-04 14:36:50 +00:00
Hannes Wallnöfer
ef5b20d94b chante this.members to path.weblog.members 2001-12-04 14:16:00 +00:00
Hannes Wallnöfer
7c9b0a1a04 initial check-in of relatedSkin.skin. This skin displays a link to
this day (or topic - topic is a sub-prototype of day) from those
topics to which stories in this day (or topic) link to. (phew!
harder to explain than to implement.)
2001-12-04 13:33:17 +00:00
Hannes Wallnöfer
41f273a06e initial check-in of topic prototype. This inherits from the day
prototype. Similar to day, it is a groupby prototype which
contains story object. Additionally to the day prototype,
it has macros to add stories to the topic, and a macro to
display related topics (i.e. topics or days which contain
stories that link to this topic).
2001-12-04 13:31:16 +00:00
Hannes Wallnöfer
a8cb6e68d7 initial check-in of new topicmgr prototype. This prototype
is mounted on the weblog level and contains all stories that
have a value in their topic field, grouped by topic.
2001-12-04 13:29:33 +00:00
Hannes Wallnöfer
37d3b8efef added virtual space node as mountpoint for topicmgr. 2001-12-04 13:26:27 +00:00
Hannes Wallnöfer
b113a8dc13 padded calender day date with spaces left and right to
make it a bit easier to click. (For example, the first day of the
month will be rendered as " 1 " instead of just "1".)
2001-12-04 13:25:23 +00:00
Hannes Wallnöfer
e89b0c6387 Added link to topic space in all navigation bars. 2001-12-04 13:23:32 +00:00
Hannes Wallnöfer
11ce628c4a Set topic on newly created stories. 2001-12-04 13:22:04 +00:00
Hannes Wallnöfer
d257f8780f Added topic field and new _parent description. 2001-12-04 13:21:10 +00:00
Hannes Wallnöfer
e7a694d892 set topic in evalStory() function.
also, the redirect is always to the (potentially new) location
of the story.
2001-12-04 13:20:20 +00:00
Hannes Wallnöfer
ee3ce0e669 added topic input field in story edit skin. 2001-12-04 13:18:54 +00:00
Hannes Wallnöfer
36f7e0f5cc Include the request path in the error message. 2001-12-04 13:17:42 +00:00
Hannes Wallnöfer
cad2142a0a return a name to be used for this object in the global
linkedpath macro.
2001-12-04 13:16:33 +00:00
Hannes Wallnöfer
55951d7a52 added loopskin_macro, which simply loops over subnodes
and renders a skin on each, which is specified by the name
parameter.

This makes it possible to call skins on subnodes from a skin
in the parent object without calling an intermediary macro.

It's currently used in the main skin of topicmgr.
2001-12-04 13:15:52 +00:00
Hannes Wallnöfer
78d298804b added doWikiStuff() function to do wiki style substitution on
a given piece of text.

Also added simpleDropDownBox, which takes an array
as parameter instead of the drop down box framework in
hopobject, which requires a complex object structure.
2001-12-04 13:14:09 +00:00
Hannes Wallnöfer
737803a110 call doWikiStuff() before returning the result in activateLinks().
This means that wiki style substitution is bound to link
activation, which may not be the way it should be but works for
now.
2001-12-04 13:12:44 +00:00
Hannes Wallnöfer
3bbd444cf5 added linkedpath_macro which renders a linked
representation of the request path.
2001-12-04 13:10:49 +00:00