Commit graph

3182 commits

Author SHA1 Message Date
7d4b04498b rewrote pingUpdatedWeblogs() to use direct db access 2002-04-29 11:01:23 +00:00
b850193ea4 wrapped result of weblogs.com ping into new object 2002-04-29 10:42:37 +00:00
89406c2d92 wrapped result of weblogs.com ping into new object in function ping() 2002-04-29 10:42:27 +00:00
b8fb0aa7b2 enabled redirect to weblog's main page 2002-04-29 10:37:49 +00:00
fa2aff46ae renamed ping_action() to ping(), moved some parts to ping.hac 2002-04-29 10:35:58 +00:00
b3f35c2681 initial check-in 2002-04-29 10:35:23 +00:00
ec70093315 result properties of xml-rpc ping to weblogs.com are called flerror and message (sometimes it's good to look in the specs :) 2002-04-29 10:24:22 +00:00
989cbe1bb2 added some messaging to ping_action() 2002-04-29 10:03:47 +00:00
71a5297c6d added ping_action() (which will become ping() later, this is just for testing purposes) 2002-04-29 09:51:35 +00:00
c6a71f574a added description 2002-04-26 13:49:29 +00:00
Robert Gaggl
4e736103f7 added release of rowset (from direct db-operation) as in listReferrers_macro() of weblog 2002-04-26 13:07:51 +00:00
Robert Gaggl
d62bba12b1 added call of logAccess() for referrer-logging 2002-04-26 13:06:37 +00:00
Robert Gaggl
1c63fa519d modified logAccess(): local referrers (from the same welog) are not logged, as non-http-referrers are.
removed url, action and path-assignments, enabled logging referrers at antville-frontpage
2002-04-26 13:05:10 +00:00
Robert Gaggl
d8bf14ca40 added option for selecting weblogs.com-ping 2002-04-26 08:19:40 +00:00
Robert Gaggl
0859126bb4 added enableping_macro() (renders a checkbox for selecting weblog.com-ping or cleartext according to value) 2002-04-26 08:19:19 +00:00
Robert Gaggl
d11e837772 store property enableping 2002-04-26 08:17:28 +00:00
Robert Gaggl
6faa65eb37 disable weblogs.com-ping for new weblogs 2002-04-26 08:16:30 +00:00
Robert Gaggl
098e1847c0 added two new properties "lastping" and "enableping" (will be used for weblogs.com-ping)
renamed "groupby" to "group" (you need snapshot 20020425 for this to work!)
2002-04-26 08:15:01 +00:00
Robert Gaggl
9a280e7b73 renamed "groupby" to "group" (you need snapshot 20020425 for this to work!) 2002-04-26 08:12:01 +00:00
a13b9048c3 fixed an accidentally removed return in logAccess() -- darn! 2002-04-25 17:10:48 +00:00
8c5f5bae01 removed "like" clause checking for referrer from same weblog 2002-04-25 17:01:51 +00:00
b757c6e428 stop recording "-" referrers in logAccess() 2002-04-25 16:58:43 +00:00
1a09ffe090 removed "like" clause checking for referrer from same weblog 2002-04-25 16:54:44 +00:00
Robert Gaggl
649dcc67d6 extended check for referrer from antville main page 2002-04-25 16:47:19 +00:00
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
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