Commit graph

1854 commits

Author SHA1 Message Date
Robert Gaggl
597f5bf86d added function getNavigationName() that displays either the title of a story/comment or a standard string containing the id 2002-12-17 21:53:09 +00:00
Robert Gaggl
52439f0b36 popupUlr() now uses (cached) getStaticUrl() instead of doing the same thing too 2002-12-17 21:52:20 +00:00
Robert Gaggl
9efff41cae changed linkedpath_macro(): the last item in the breadcrumb-navigation is now also linked if req.action != main and there is a main_action 2002-12-17 21:51:50 +00:00
Robert Gaggl
44b80f807b added a constant named array DISPLAY which contains the strings that should be displayed instead of the prototype-names (used in global linkedpath_macro() resp. getNavigationName()) 2002-12-17 21:50:23 +00:00
Robert Gaggl
d157f98c38 added function getNavigationName() which overrides the hopobject-function to display the groupname of a day as a nicely formatted timestamp 2002-12-17 21:49:12 +00:00
Robert Gaggl
299c64f23f removed prefetchChildren() 2002-12-17 21:30:55 +00:00
Robert Gaggl
5e7da8ad87 renderStorylist is now using prefetchChildren since all stories of a day will be displayed on one page 2002-12-17 21:28:26 +00:00
Robert Gaggl
7254464310 renderStorylist() now uses prefetchChildren (backport from antville.org) 2002-12-17 21:21:40 +00:00
Robert Gaggl
2fcdb83c8d removed UTF-8 encoding in header 2002-12-17 21:16:31 +00:00
Robert Gaggl
153a015ea9 backport from antville.org: topic_macro now retrieves the topic of a story from the site-object to get the correct href() 2002-12-17 21:15:23 +00:00
Robert Gaggl
c528e2e8be removed UTF-8-encoding at beginning of file (backport from antville.org) 2002-12-17 21:13:17 +00:00
Robert Gaggl
3558834d4c bugfix: Math.min takes only two arguments (backport from antville.org) 2002-12-17 21:09:47 +00:00
Robert Gaggl
76ec8a05b9 removed loadmode aggressive (backport from antville.org) 2002-12-17 20:49:42 +00:00
Robert Gaggl
aa9d918615 renderImagelist now uses prefetchChildren() for preloading (backport from antville.org) 2002-12-17 20:48:04 +00:00
Robert Gaggl
3fe2e1fb80 added href_macro() (backport from antville.org) 2002-12-17 20:38:14 +00:00
Robert Gaggl
31df32af27 change in doWikiStuff: check if src is null (backport from antville.org, although doWikiStuff is not in use anymore) 2002-12-17 20:35:33 +00:00
Robert Gaggl
a4b02b85c6 usernames are now linked to the url specified in users preferences (backport from antville.org) 2002-12-17 20:32:15 +00:00
Robert Gaggl
58722a4cf9 removed aggressive loadmode (backport from changes on antville.org) 2002-12-17 20:25:45 +00:00
Robert Gaggl
39cfd7b96f history_macro() now uses the lastmod-collection instead of allcontent 2002-12-15 13:20:57 +00:00
Robert Gaggl
aa6bd5ac93 added collection lastmod (limited to 100 objects) which is used by history_macro() 2002-12-15 13:20:18 +00:00
Hannes Wallnöfer
7f18ec44b4 Membership child objects aren't accessible by their id anymore.
Use the member's user name instead.
2002-12-11 15:28:39 +00:00
Robert Gaggl
0e70216db3 changed createtime_macro(): if the optional attribute as="link" is given the createtime of the story is rendered as link to the frontpage of the day. 2002-12-08 17:10:09 +00:00
Robert Gaggl
13ac02c8b1 rewrote backlinks_macro() again:
- added optional attribute "exclude": users can now list servers that should not appear in backlinks-list (comma-delimited strings)
- enabled caching also for empty backlinks to reduce db-traffic
2002-12-08 15:37:03 +00:00
Robert Gaggl
491f429c93 rewrote backlinks_macro():
- backlinks are now limited to 100 (if attribute limit is not set in macro-call)
- changed to java.lang.StringBuffer() instead of using a JS-String
- rendered backlinks are now cached since they won't change until the next scheduler-run
2002-12-08 13:49:33 +00:00
Robert Gaggl
1c117b9983 now setting app.data.lastAccessLogUpdate to new Date() after scheduler has written the referrers into db. this property is used to check if cached backlinks of a story should be re-rendered or not (in backlinks_macro() of prototype story) 2002-12-08 13:47:34 +00:00
Robert Gaggl
667dcb9ce2 relatedtopics_macro() now simply returns to avoid unnecessary db-traffic 2002-12-05 12:10:50 +00:00
Robert Gaggl
45a454cdc9 changed several macros: now using res.handlers.site instead of path.site to ensure these macros are working also for sites mirrored on the main frontpage 2002-12-02 16:35:06 +00:00
Robert Gaggl
7689ac0a60 changed to querying for res.handlers.site instead of path.site in case we should display a site-frontpage instead of the static root frontpage 2002-12-02 16:34:33 +00:00
Robert Gaggl
48f78171d0 now assigning the site-object instead of just the alias of the site to avoid unneccessary get()-calls in onRequest() 2002-12-02 16:33:25 +00:00
Robert Gaggl
eaf610d942 changed several functions: now using res.handlers.site instead of path.site to ensure these functions are working also for sites mirrored on the main frontpage 2002-12-02 16:32:15 +00:00
Robert Gaggl
c65644b73e changed doWikiStuff: now querying for res.handlers.site instead of path.site (although this function isn't in use) 2002-12-02 16:29:29 +00:00
Robert Gaggl
eabe06d1ef if root.sys_frontSite is set the site-object is now assigned to res.handlers.site instead to path.site 2002-12-02 16:27:03 +00:00
Robert Gaggl
1e122ec3b4 changed sys_frontSite_macro() because root.sys_frontSite now contains the site-object instead of just the alias 2002-12-02 16:25:56 +00:00
Robert Gaggl
df15c3e76e added new property sys_frontSite that maps to a site-object (set in evalSystemSetup()) 2002-12-02 16:25:10 +00:00
Robert Gaggl
c952401a3e use "skin" instead of "useskin" as parameter-propertyname 2002-12-02 13:03:56 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
578ae4537b removed CDATA tags; added xml encoding parameters, instead 2002-11-28 13:42:18 +00:00
Robert Gaggl
d3766c5ced avPw-cookievalue is now created using user-password plus http_remotehost 2002-11-21 13:14:47 +00:00
Robert Gaggl
2d138cfcc5 adapted check in autoLogin() because avPw-cookievalue is now created using user-password plus http_remotehost 2002-11-21 13:14:36 +00:00
Robert Gaggl
63658645e0 stripping tags from query before processing 2002-11-20 21:21:05 +00:00
Robert Gaggl
21aaf42839 - fixed a bug where the calendar would display the wrong month because the selected day was parsed according to site-timezone (eg. viewing day 20021001 would lead to calendar displaying september - see also http://help.antville.org/stories/189721/)
- fixed the same bug in monthlist_macro() too
2002-10-31 21:23:48 +00:00
Robert Gaggl
44369d2c33 days are now calculated according to specified site-timezone by using global formatTimestamp() 2002-10-31 21:12:28 +00:00
Robert Gaggl
f1b713b344 re-enabled setting the timezone in formatTimestamp() 2002-10-31 21:08:58 +00:00
Robert Gaggl
fd1ea8d2a3 false alarm ... reverting to rpc.weblogs.com 2002-10-31 21:05:18 +00:00
Robert Gaggl
b2bc837967 changed url of weblogs.com-ping (see http://www.xmlrpc.com/weblogsComForRss#changes103002ByDw) 2002-10-31 20:56:10 +00:00
314c66a5e5 fixed a bug that set the item title to "..." just because of missing item text 2002-10-26 11:16:03 +00:00
9060a6ccdb channel description is required according to rss specs and validator at http://feeds.archive.org/validator 2002-10-23 15:15:49 +00:00
ec149bd7cb added extra parameter for date in iso format 2002-10-23 15:13:41 +00:00
Hannes Wallnöfer
4eeef5be97 reversed sequence of format() and activateLinks() in getRenderedContentPart(), otherwise link activation didn't work 2002-10-21 19:51:53 +00:00
Hannes Wallnöfer
89256f53c4 Only create a new string in clipText if the text is actually clipped.
Convert argument to string in parseTimestamp since it may actually be a number.
2002-10-21 10:39:37 +00:00