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
Hannes Wallnöfer
45fea41441
Make direct use of DateFormatSymbols in calendar, avoiding calling formatTimeStamp()
2002-10-21 09:25:40 +00:00
Hannes Wallnöfer
73de6d8c8c
Added getDateSymbols() function that caches the date symbols for this site's locale
2002-10-21 09:22:07 +00:00
Hannes Wallnöfer
16adfc5b02
Replaced app.__app__.logEvent with app.log (backport from antville.org)
2002-10-21 08:22:38 +00:00
Hannes Wallnöfer
8ea6508ea3
Performance tweaking in calendar_macro: use java.text.DateFormatSymbols to print weekday labels instead of calendar object
2002-10-20 17:26:49 +00:00
Hannes Wallnöfer
3c588cba11
Performance tweaking in formatTimestamp(): Only use one DateFormat per request
2002-10-20 17:24:48 +00:00
Hannes Wallnöfer
bd7a120ba2
Directly return integer values in those functions which return a boolean based on
...
an integer flag. This works well and cuts a lot of code, especially the parseInt() which
should not be necessary (if a string was assigned to the integer flag somewhere in
the code, that would be a bug).
2002-10-18 15:51:01 +00:00
Hannes Wallnöfer
7eb706a4d8
Use site.isOnline() instead of site.isNotPublic(), which is much slower and
...
takes a user parameter which we aren't using here.
2002-10-18 15:43:16 +00:00
Hannes Wallnöfer
75f41e986e
do the format() directly in story.getRenderedContentPart(). This lets <code></code>
...
work as advertised (i.e. everything within, including macros, is encoded).
Didn't notice any adverse side effects on the history bar or other elements so far.
2002-10-15 18:08:41 +00:00
3bed200824
fixed a bug that prevented search in private weblogs from showing any results
2002-10-07 16:27:20 +00:00
Robert Gaggl
dfe1c9335e
bugfix: replaced macro-handler "story" with "this" because if comments would appear in search-result the story would be displayed instead.
...
(see http://help.antville.org/stories/168518/ )
2002-10-07 16:20:13 +00:00
Hannes Wallnöfer
cb4c493157
Fixed bug that res.data.action was not set in comment forms.
2002-10-05 16:09:56 +00:00
Hannes Wallnöfer
8c07801f18
backport from antville.org: prefetch children and limit weblog size to 14 days max.
2002-10-04 12:40:05 +00:00
Hannes Wallnöfer
2bb404a7f3
backport from antville.org: swallow 'main' action in URL, only fetch the fields from ACCESSLOG which are actually needed.
2002-10-04 12:35:13 +00:00
Hannes Wallnöfer
feb7c6d752
Performance improvement for calendar macro:
...
* When rendering the previous and next month links, now we have a
numeric index of where to get it in the site child collection.
* No need to check for online stories since site child collection
only contains stories with TEXT_ISONLINE = 2 (as of today).
2002-10-04 12:20:15 +00:00
Hannes Wallnöfer
3b0a47a0c8
Only have stories as direct children that are online in weblog (TEXT_ISONLINE = 2). With this we don't need to check if stories are online in the weblog, calendar etc.
2002-10-04 11:53:59 +00:00
Robert Gaggl
ba7e295b78
replaced weblog.loginstatus with site.loginstatus
2002-10-03 14:05:19 +00:00
Robert Gaggl
798be2a159
backport from changes on antville.org: added prefetching of comments in comments_macro()
2002-10-01 11:34:59 +00:00