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
Robert Gaggl
0ee4bc46ef
quick fix: manually escaping topic-names in topic-links because topic names containing spaces lead to a 404
2002-10-01 11:17:16 +00:00
f9eb446924
changed last paragraph (instead of error messages the plain title of a missing shortcut will be displayed)
2002-09-23 09:42:23 +00:00
Hannes Wallnöfer
894698b91b
set comment collection(s) to cachemode aggressive so the index is only
...
refetched when an add() or remove() operation is performed on this specific
collection, not when any comment anywhere is modified.
2002-09-20 17:22:39 +00:00
Hannes Wallnöfer
73318022b1
Added add() and remove() statements to allow all comment containers to be
...
set to cachemode=aggressive.
2002-09-20 17:21:31 +00:00
Hannes Wallnöfer
5fe1e28e1f
Backport of antville.org changes:
...
- Add missing open curly bracket
- prefetch children
2002-09-20 16:14:49 +00:00
Hannes Wallnöfer
578316bf52
Backport of antville.org changes:
...
Directly call rss_action from rss092_action and rss10_action instead of doing
a redirect().
2002-09-20 16:13:46 +00:00
Hannes Wallnöfer
87b5cf0558
Backport of antville.org changes:
...
- Render links to comments directly as stories/storyid#commentid instead of
doing a redirect via comment/main.hac
- Render name anchor as <a name="..."></a>, since some browsers have problems
with the empty element representation.
- Select only those columns which are actually used in backlinks macro.
2002-09-20 16:11:17 +00:00
8aa01179c9
added form encoding for display of shortcut content
2002-09-11 14:50:32 +00:00
fcc195b7ea
added condition for displaying shortcut in a form or "as is"
2002-09-11 14:41:23 +00:00
00a4eccbb4
site members now can view the shortcut list (but still only site admins can edit)
2002-09-11 14:40:46 +00:00
bcf8e9bb9b
moved help text to extra skin
2002-09-11 14:39:15 +00:00
2af2d4c26e
initial check-in
2002-09-11 14:37:51 +00:00
188528e273
this skin is now used to display a shortcut without input form fields
2002-09-11 14:36:37 +00:00
e563058a89
renamed function render_macro() display_macro()
2002-09-11 12:13:42 +00:00
b28264bf11
no, rather use a nice en-dash
2002-09-10 15:52:10 +00:00
8e26ae825e
ok, \\n does not work now using space
2002-09-10 15:51:09 +00:00
dab84c7f28
testing if \\n will be transformed into \n after xml parsing...
2002-09-10 15:45:53 +00:00
3305a60d65
added link to translate.antville.org
2002-09-10 15:31:30 +00:00
Robert Gaggl
785b1ac2a3
removed main-skin of history-list (this skin doesn't exist anymore)
2002-09-05 17:15:12 +00:00
Robert Gaggl
0ad3f5b755
replaced calls of skin-macro with included tags for script/css-inclusion
2002-09-05 17:14:13 +00:00
Robert Gaggl
4ec0075410
- removed creator_macro() since that's a hopobject-macro now
2002-09-02 20:25:46 +00:00
Robert Gaggl
a802feac0b
added creator_macro() since this was used in quite a lot of different prototypes but for some it could render the name of the creator as link and for some not
2002-09-02 20:14:37 +00:00
Robert Gaggl
852a813ac4
removed creator_macro() since this is a hopobject-macro now
2002-09-02 20:13:33 +00:00
Robert Gaggl
cae8477713
modified explanation-text
2002-08-31 12:43:47 +00:00
Robert Gaggl
4649794c3c
added placeholder for message
2002-08-30 14:56:44 +00:00
Robert Gaggl
8b6a8073f3
added a new message
2002-08-30 14:55:07 +00:00
Robert Gaggl
04aba87edd
reworked isAddSiteDenied()
2002-08-30 14:54:33 +00:00
Robert Gaggl
ac21077ab4
- now sysadmins can either define how long a user must be registered or define a timestamp (= user must have registered before) for being allowed to create a weblog
...
- minor changes in explanations
2002-08-30 14:53:43 +00:00
Robert Gaggl
d554322587
added sys_minMemberSince_macro()
2002-08-30 14:50:50 +00:00
Robert Gaggl
f300b8fb75
changed default-query
2002-08-30 13:41:57 +00:00
Robert Gaggl
b8f09b0e59
added return-statement in case the ping fails
2002-08-30 13:41:39 +00:00
Robert Gaggl
96132ac732
if session doesn't have a mgr-object, we initialize it (=predefine default-search)
2002-08-30 13:40:15 +00:00
Robert Gaggl
1d3c54b427
changed explanation of autocleanup
2002-08-30 13:39:25 +00:00