Commit graph

1156 commits

Author SHA1 Message Date
24eb29d7c1 removed debug output writeln(query) in listReferrers_macro 2002-04-25 12:15:14 +00:00
Hannes Wallnöfer
991c3b01f0 Removed writeln() of referrer stats SQL insert statement.
writeln()s take a lot of CPU and tend to generate huge files...
2002-04-25 10:54:29 +00:00
Hannes Wallnöfer
469a8a448b release rowset after querying referrers. (this is different from releasing
the connection, which is managed by Helma.)
2002-04-25 10:44:56 +00:00
0b0f5814c9 renamed macro story.listReferrers to story.backlinks and accordingly the two corresponding skins 2002-04-25 08:00:33 +00:00
50669875f3 updated isDenied function analogous to the one in storymgr/securityFunctions.js 2002-04-24 15:32:15 +00:00
1ea83074f3 changed date output from modifytime to lastupdate 2002-04-24 14:25:26 +00:00
c3def1b85d removed <p> tag 2002-04-24 13:46:23 +00:00
3f3485bdbe added listReferrers_macro 2002-04-24 13:35:44 +00:00
8ad32672e6 initial check-in 2002-04-24 13:35:27 +00:00
84e429707a logAccess() now also records the id of a story 2002-04-24 12:50:26 +00:00
18a0c4a657 removed leading % (wildcard) from query in listReferrers_macro 2002-04-24 12:28:11 +00:00
Hannes Wallnöfer
61570c4c05 - Do not display stories on the weblog home page that are in the future
(i.e. have been posted to future days). We only show when they're
explicitly accessed via calendar. Also, don't display a "newer stories"
link on the home page if there are stories with future days/dates on the
weblog.

- Only pad dates in calender with non-breaking spaces for single digit
days. The idea is that single digit days are easy to click while the whole
calendar widget remains what it would be without padding.
2002-04-22 20:36:45 +00:00
Robert Gaggl
fcdeae59d1 fixed a bug that lead to runtime error when weblog.modifytime was not set 2002-04-22 19:30:24 +00:00
f0ce67c9fc removed param as function argument 2002-04-17 08:34:54 +00:00
Hannes Wallnöfer
b47a1ccb27 Rewrote the global link macro to be totally independent from the
hopobject link macro. Basically the same functionality that was
previously called in the hopobject.link_macro is now inlined, except
that there is no relative link URL evaluation.

With this, the global link macro should work as advertised. Note that
there is still a conflict between macro semantics of hopobject.link_macro
and day/topic.link_macro, which should be fixed eventually!
2002-04-16 12:43:11 +00:00
Robert Gaggl
d1f0bd2dfd fixed a bug where the frontpage of a weblog would be empty if "number of days on frontpage" is set to 1 and the only story of the newest day is set to "online just in topic"
there's still a problem with previous/next-navigation, but this will be solved with restructuring of story-handling
2002-04-14 11:34:56 +00:00
1dfbec2f8c fixed a bug that caused the text cache not to be updated when there was no major update (ie. more than +/- 50 chars are changed) 2002-04-12 15:15:33 +00:00
b807e4403a modifytimes of comment will only be updated if more than +/- 50 characters have changed. 2002-04-12 14:52:34 +00:00
c53e5b67ac modifytimes of weblog and story will only be updated if more than +/- 50 characters have changed. 2002-04-12 14:48:32 +00:00
37872751fc changed hard-coded color for poll bars to macro weblog.linkcolor 2002-04-12 13:19:21 +00:00
Robert Gaggl
1fbd847cd1 (optional) limit creation of weblogs to sysAdmins or trusted users (thanks to kris!) 2002-04-12 11:36:44 +00:00
Robert Gaggl
82f06be359 (optional) limit creation of weblogs to sysAdmins or trusted users.
needs property "limitNewWeblogs" in app.properties (thanks to kris!)
2002-04-12 11:34:46 +00:00
d07dba571d title_macro() now returns null if there's no title 2002-04-11 07:25:23 +00:00
Hannes Wallnöfer
d57fdf0079 Made createtime of stories editable. If createtime is set in the
input parameters, try to parse it as string. If it can't be parsed,
show an error message. If it can be parsed, update the createtime
and day properties to the new date.
2002-04-08 12:02:26 +00:00
Hannes Wallnöfer
2bfa89de2e Implemented option to display createtime as HTML editor by adding
as="editor" to the macro tag.
2002-04-08 11:56:18 +00:00
Hannes Wallnöfer
10e58aa57c added global parseTimestamp() function to parse an input
string as date.
2002-04-08 11:53:31 +00:00
Robert Gaggl
3afab09350 bugfix 2002-04-04 14:22:30 +00:00
6e1057cff3 removed commented call for checkdate as well as the checkdate() function according to robert's suggestion. 2002-03-29 14:59:34 +00:00
29c581c997 removed experimental code that accidentally got into cvs 2002-03-29 14:31:12 +00:00
Robert Gaggl
b78d058336 now passing requested object to renderList() 2002-03-29 14:00:45 +00:00
Robert Gaggl
31501162a9 renderList now gets requested object passed 2002-03-29 14:00:27 +00:00
79ba7e514a corrected output according to rss 1.0 spec 2002-03-28 13:52:09 +00:00
Robert Gaggl
338e384b8d bugfix 2002-03-28 01:02:24 +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
1d8fa074b2 - autoLogin() is now called by onRequest() 2002-03-27 13:04:44 +00:00
Robert Gaggl
147b747950 - autoLogin() is now called by onRequest()
- removed "Antville" from pagetitle, include story-title if existing
2002-03-27 13:03:39 +00:00
Robert Gaggl
d171d35786 - autoLogin() is now called by onRequest()
- changed pagetitle
2002-03-27 13:02:07 +00:00
Robert Gaggl
dd99e12d53 changed page-title 2002-03-27 13:01:40 +00:00
Robert Gaggl
302e98ab45 - autoLogin() is now called by onRequest()
- changed page-title
2002-03-27 12:58:30 +00:00
Robert Gaggl
28b0db4d9c - changed page-title 2002-03-27 12:58:02 +00:00
Robert Gaggl
29a043a53d onRequest() is now calling autoLogin() 2002-03-27 12:53:58 +00:00
Robert Gaggl
38d4eb2f99 - autoLogin() is now called by onRequest() 2002-03-27 12:51:33 +00:00
Robert Gaggl
bd15be7690 - autoLogin() is now called by onRequest()
- removed "Antville" from pagetitle, include story-title if existing
2002-03-27 12:50:23 +00:00
Robert Gaggl
8ce8106a04 now using helma's build in md5Encoder 2002-03-27 12:36:41 +00:00
Robert Gaggl
87d01828f4 removed, now using helma's build in md5Encoder 2002-03-27 12:35:57 +00:00
Robert Gaggl
5c3a4f132a removed 2002-03-27 12:17:17 +00:00
Robert Gaggl
4f3d751cad added new properties for automatic cleanup, everything is disabled by default 2002-03-27 11:28:47 +00:00
Robert Gaggl
3a6e80c7fb initial check-in 2002-03-27 11:27:04 +00:00
Robert Gaggl
d3b1047e16 sysadmins are allowed to enter private weblog, added functions isDeleteDenied() and isBlocked() 2002-03-27 11:26:14 +00:00
Robert Gaggl
6133195099 online-status is not shown anymore, since there are only public weblogs appearing in the list 2002-03-27 11:25:18 +00:00