Commit graph

1274 commits

Author SHA1 Message Date
9b770d3ae6 added check if referrer comes from the local weblog or from the antville front page 2002-04-25 13:43:45 +00:00
04b0b2ee94 removed debug output writeln(query) in backlinks_macro 2002-04-25 12:15:31 +00:00
24eb29d7c1 removed debug output writeln(query) in listReferrers_macro 2002-04-25 12:15:14 +00:00
8800b37831 corrected syntax (colon instead of semicolon before add statement) 2002-04-25 12:11:28 +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
55e5c24589 added index for column STORY_ID in table ACCESS 2002-04-24 13:25:38 +00:00
c9dbd05b23 added column STORY_ID to table ACCESS 2002-04-24 12:53:11 +00:00
84e429707a logAccess() now also records the id of a story 2002-04-24 12:50:26 +00:00
6f05fa8eec added column STORY_ID to table ACCESS 2002-04-24 12:35:55 +00:00
18a0c4a657 removed leading % (wildcard) from query in listReferrers_macro 2002-04-24 12:28:11 +00:00
e0064f5622 changed column storage sizes for tables ACCESS, POLL and CHOICE 2002-04-24 12:14:57 +00:00
dc59977c54 initial check-in 2002-04-24 12:11:19 +00:00
cd6b432d67 added indexes for ACCESS 2002-04-24 12:10:08 +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
55b27f088a added "use antville;" in first line 2002-03-28 13:00:48 +00:00
Robert Gaggl
338e384b8d bugfix 2002-03-28 01:02:24 +00:00
Robert Gaggl
ff20fe319d changed formatting 2002-03-27 18:13:18 +00:00
Robert Gaggl
3c75b6a069 added dbpatch 20020308 2002-03-27 18:12:58 +00:00
Robert Gaggl
60b17eaac1 fixed a typo 2002-03-27 18:09:20 +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