Commit graph

459 commits

Author SHA1 Message Date
06103c16b4 modified thumbnail_macro() to create a thumbnail with javascript pop-up function (to be really backwards compatible) 2002-06-04 10:29:45 +00:00
Robert Gaggl
a77c750406 added assignment of param.width to param.size (temporary, i think we should drop the usage of non-html-attributenames) 2002-06-03 23:22:55 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
d052a593c6 threw out markup and using global functions openMarkupElement() et. al. instead 2002-06-03 17:02:29 +00:00
7a1bdb8327 kept already deprecated function cloneObject() for later use (you'll never know...) 2002-06-03 16:59:03 +00:00
5f07b15990 threw out markup and using global functions openMarkupElement() et. al. instead 2002-06-03 16:45:08 +00:00
Hannes Wallnöfer
783fb0ff69 changed user.login() to session.login(). 2002-06-02 18:21:16 +00:00
Robert Gaggl
c792cea231 added new global macro "username"
change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 15:57:47 +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
Robert Gaggl
ca46646edd initial check-in, implemented new functions isUserBlocked(), isUserTrusted(), isUserSysAdmin() 2002-06-02 15:32:24 +00:00
Hannes Wallnöfer
5b37b22e7a changed link from antville.org to www.antville.org in logo macro 2002-05-27 22:50:49 +00:00
Hannes Wallnöfer
8388d56f1b merged changes from branch hns_timezone into main branch. 2002-05-27 18:50:48 +00:00
Hannes Wallnöfer
2ef71f35c1 removed padding whitespace chars from description element text,
which effectively changed the item text.
2002-05-21 14:30:59 +00:00
29e83c3880 first step of complete rewrite of how html macros are rendered 2002-05-17 19:59:45 +00:00
Robert Gaggl
a41cbd2e8c removed getActionName() which got replaced with built-in req.action 2002-05-16 12:28:15 +00:00
Robert Gaggl
ce3db1fc83 - removed "main" from href()
- root.allWeblogs-collection was renamed to root.public
2002-05-15 23:00:34 +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
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
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
87d01828f4 removed, now using helma's build in md5Encoder 2002-03-27 12:35:57 +00:00
Robert Gaggl
9999dfaf79 removed senseless onRequest()-function, added scheduler trying to call autoCleanup() 2002-03-27 11:08:30 +00:00
Robert Gaggl
38906f7784 changed webloglist-macro: blocked or private weblogs don't appear in list 2002-03-27 11:07:29 +00:00
958dfe8f80 corrected "about" attribute to "rdf:about to "rdf:about" 2002-03-24 19:16:16 +00:00
cc18e40a9d added item resources again 2002-03-24 19:15:17 +00:00
06650e21ae added dc:date tags to items 2002-03-08 14:54:27 +00:00
46e86a5dc4 dropped namespace declaration for xmlns:ti 2002-03-07 13:11:13 +00:00
0f24cdcb26 antville topics now are reflected in <dc:subject> 2002-03-07 13:04:55 +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