Commit graph

56 commits

Author SHA1 Message Date
Hannes Wallnöfer
a42faa8419 Fixed formatting/indentation.
Do toLowerCase() when checking if  referrer comes from the
local weblog.
2002-07-08 14:01:13 +00:00
Robert Gaggl
8af6b7946f - lots of changes because prototype weblog was renamed to site
- changed logAccess-function to work also for oracle-databases
2002-06-26 16:56:08 +00:00
Robert Gaggl
23e0cab449 merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language) 2002-06-12 17:19:47 +00:00
7a1bdb8327 kept already deprecated function cloneObject() for later use (you'll never know...) 2002-06-03 16:59:03 +00:00
Hannes Wallnöfer
783fb0ff69 changed user.login() to session.login(). 2002-06-02 18:21:16 +00:00
Robert Gaggl
937b97b238 renamed function setLayout() to getParent(), removed setting of res.skin (not supported anymore)
change code according to helma's new session/usermodel
- changed user.cache to session.data
- using session.user instead of user
2002-06-02 15:41:43 +00:00
Hannes Wallnöfer
8388d56f1b merged changes from branch hns_timezone into main branch. 2002-05-27 18:50:48 +00:00
59693d92c8 adapted sql query in logAccess() for using antville with hsqldb connection 2002-05-13 18:18:43 +00:00
1ae0e4a689 replace writeln() with app.__app__.logEvent() in function logAccess() 2002-05-02 11:38:18 +00:00
3c8c4ddf07 modified query in pingUpdatedWeblogs() to track weblogs that haven't been pinged, yet (LASTPING is null) 2002-04-30 14:31:26 +00:00
e9a9fa12b1 removed generic log message in pingUpdatedWeblogs() 2002-04-29 14:35:56 +00:00
c74b1ebd27 id has to be a string when directly retrieved from db in function pingUpdatedWeblogs() 2002-04-29 14:17:58 +00:00
a9266aebeb debugging 2002-04-29 14:13:11 +00:00
2dad3eebbd added some more logging 2002-04-29 14:08:36 +00:00
4b85634083 added some logging using app.__app__.logEvent() 2002-04-29 13:48:48 +00:00
25dc87b0f6 added call for pingUpdatedWeblogs() to scheduler() 2002-04-29 13:01:20 +00:00
4e0d3ac1f9 fixed bug in pingUpdatedWeblogs(), "select" statement needs executeRetrieval() instead of executeCommand() 2002-04-29 11:41:39 +00:00
7d4b04498b rewrote pingUpdatedWeblogs() to use direct db access 2002-04-29 11:01:23 +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
a13b9048c3 fixed an accidentally removed return in logAccess() -- darn! 2002-04-25 17:10:48 +00:00
b757c6e428 stop recording "-" referrers in logAccess() 2002-04-25 16:58:43 +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
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
84e429707a logAccess() now also records the id of a story 2002-04-24 12:50:26 +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
8ce8106a04 now using helma's build in md5Encoder 2002-03-27 12:36:41 +00:00
Robert Gaggl
9999dfaf79 removed senseless onRequest()-function, added scheduler trying to call autoCleanup() 2002-03-27 11:08:30 +00:00
Hannes Wallnöfer
fc9dd2fea3 No need to release database connection in logAccess() function
because it is managed by Helma and will be released as soon
as it's been idle for a while.
2002-02-26 15:46:33 +00:00
Robert Gaggl
b1e0f95f6b added backslash to the list of invalid URL-characters 2002-02-14 10:32:30 +00:00
Robert Gaggl
72cd38a3a3 added umlaute to the list of invalid URL-characters 2002-02-14 10:29:02 +00:00
Robert Gaggl
1c52016832 exchanged user.cache.referer with user.cache.referrer (correct spelling) 2002-02-11 10:02:18 +00:00
Robert Gaggl
f26ea7fbd4 - renamed variable in isClean()-function
- added new function isCleanForURL()
2002-02-10 16:35:54 +00:00
43b98bf98a moved convertHtmlImageToLink() function to weblog.rssConvertHtmlImageToLink() 2002-02-05 11:12:38 +00:00
Robert Gaggl
f5ee2a3b16 removed functions 2002-01-30 16:53:07 +00:00
9dfbfcf8cb added param.text for rendering prev/next page links 2002-01-30 16:17:37 +00:00
Robert Gaggl
9fbb64bb04 added function checkIfLoggedIn() 2002-01-22 20:11:14 +00:00
9cd8493b1d added some more words to comments. 2002-01-07 14:38:48 +00:00
9e866b1e6f added logAccess() function 2001-12-19 16:22:34 +00:00
07a532de1c increased return value of the scheduler (was relict of experimental blogimport) 2001-12-11 15:46:37 +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
ace6ae794b added onStart(), scheduler() and pingUpdatedWeblogs() functions 2001-12-10 16:35:07 +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
Robert Gaggl
bb2b4d9b89 bugfix 2001-11-29 14:55:47 +00:00
Robert Gaggl
4ded25441e removed comment 2001-11-23 20:38:58 +00:00
Robert Gaggl
988f0bf649 setLayout-function now takes opt. skin-name as argument 2001-11-18 13:18:56 +00:00
Robert Gaggl
c316c6d345 rewrote imgDispatch-function, now called getPoolObj() 2001-11-03 09:16:59 +00:00
e072054d79 removed comment 2001-10-30 14:24:00 +00:00
665d79c266 added function for <img> tag to <a> tag transformation 2001-10-30 13:00:47 +00:00
Robert Gaggl
c91ff73e39 added imgDispath()-function 2001-10-21 12:02:20 +00:00