Commit graph

360 commits

Author SHA1 Message Date
Robert Gaggl
d9a206f1b2 change code according to helma's new session/usermodel
- changed user.cache to session.data
changed code to run with snapshot 20020531-fc
- no more res.skin, using renderSkin instead
2002-06-02 15:35:11 +00:00
Robert Gaggl
08b753e0d7 change code according to helma's new session/usermodel:
- using session.user instead of user as argument
2002-06-02 15:30:22 +00:00
Robert Gaggl
51aa4490bb now using new global function isUserSysAdmin()
removed explicit writing of prefix and suffix (helma's doing that from now on)
2002-06-02 15:28:07 +00:00
Robert Gaggl
cc749307b5 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
- no more res.skin, using renderSkin instead
2002-06-02 15:22:57 +00:00
Hannes Wallnöfer
62b23e10ed Ooops, accidentally checked in Mckoi version where TEXT column is renamed to BODY 2002-05-30 14:41:44 +00:00
Hannes Wallnöfer
3f8c31727d escape single quote character (') as '' 2002-05-30 14:40:17 +00:00
Hannes Wallnöfer
8388d56f1b merged changes from branch hns_timezone into main branch. 2002-05-27 18:50:48 +00:00
649c6e2097 refurbished code style 2002-05-21 16:45:41 +00:00
48a8900ec2 refurbished code style 2002-05-17 20:00:31 +00:00
aa44d2ce9f first step of migrating to xhtml 2002-05-17 19:59:15 +00:00
d886e824c3 added type attribute in script tag 2002-05-17 19:57:28 +00:00
beacc66aa7 refurbished preferences (modified order, section and property names etc.) 2002-05-17 19:57:09 +00:00
8a8a395e1a changed title of page to "preferences" 2002-05-17 19:56:17 +00:00
Hannes Wallnöfer
c12d376466 database skins are now contained within the mounted skinmgr
object itself, avoiding the dual "skins" and "skinmanager" properties
in weblog ("skins" with prototype skinmgr for performing skin
management, "skinmanager" as untyped collection containing the
actual skins). From now on, everything is contained in and managed
by weblog.skins.
2002-05-16 14:26:29 +00:00
Robert Gaggl
2e007fb99d now using req.action instead of getActionName() 2002-05-16 12:29:02 +00:00
Robert Gaggl
2814d30245 include action in form-tag 2002-05-15 23:24:30 +00:00
Robert Gaggl
6ad8c3fc22 assign form-action to res.data.action 2002-05-15 23:24:11 +00:00
Robert Gaggl
da8bca8062 now calling deleteAll()-function of storymgr instead of doing it in deleteAll() of weblog 2002-05-15 23:23:49 +00:00
Robert Gaggl
df8e2d1e9b changed calendar_macro() since the day must not appear in path anymore (because stories have now a standard URL): if a day-object or a story appear in path they determine the month to display in calendar 2002-05-15 23:22:46 +00:00
Robert Gaggl
f37eba6afb initial check-in: now also the creator of a weblog is allowed to delete it (will be recorded in syslog soon) 2002-05-15 23:19:41 +00:00
14b61c18b9 added check for "zero records" returned by hsqldb in listReferrers_macro() 2002-05-14 14:22:36 +00:00
aa29e9d8c4 adapted sql query in listReferrers_macro() for using antville with hsqldb connection 2002-05-13 18:19:45 +00:00
37127ccff0 removed this action to prevent weblogs.com from being pinged manually 2002-05-13 10:46:54 +00:00
aafb761775 modified popup() function:
- size of new window will never extend 640x480 (inner values)
- resizable and scrolling is set to "yes"
2002-05-07 15:34:41 +00:00
e03a254bbd added log message and check for empty title in function ping() 2002-04-29 15:09:27 +00:00
27785e55b6 changed "notify weblogs.com" to "notify updates" 2002-04-29 14:43:15 +00:00
1ee0af1dd7 changed "pinging" to "notifying" in error msg of ping() 2002-04-29 12:02:37 +00:00
0dc877f939 removed ping variable 2002-04-29 12:01:06 +00:00
a20dd0cf44 moved some parts back to ping() in objectFuncktions.js 2002-04-29 11:49:06 +00:00
eaa7429fba added comments; moved some parts from ping.hac back to here 2002-04-29 11:48:32 +00:00
b850193ea4 wrapped result of weblogs.com ping into new object 2002-04-29 10:42:37 +00:00
89406c2d92 wrapped result of weblogs.com ping into new object in function ping() 2002-04-29 10:42:27 +00:00
b8fb0aa7b2 enabled redirect to weblog's main page 2002-04-29 10:37:49 +00:00
fa2aff46ae renamed ping_action() to ping(), moved some parts to ping.hac 2002-04-29 10:35:58 +00:00
b3f35c2681 initial check-in 2002-04-29 10:35:23 +00:00
ec70093315 result properties of xml-rpc ping to weblogs.com are called flerror and message (sometimes it's good to look in the specs :) 2002-04-29 10:24:22 +00:00
989cbe1bb2 added some messaging to ping_action() 2002-04-29 10:03:47 +00:00
71a5297c6d added ping_action() (which will become ping() later, this is just for testing purposes) 2002-04-29 09:51:35 +00:00
Robert Gaggl
d8bf14ca40 added option for selecting weblogs.com-ping 2002-04-26 08:19:40 +00:00
Robert Gaggl
0859126bb4 added enableping_macro() (renders a checkbox for selecting weblog.com-ping or cleartext according to value) 2002-04-26 08:19:19 +00:00
Robert Gaggl
d11e837772 store property enableping 2002-04-26 08:17:28 +00:00
Robert Gaggl
098e1847c0 added two new properties "lastping" and "enableping" (will be used for weblogs.com-ping)
renamed "groupby" to "group" (you need snapshot 20020425 for this to work!)
2002-04-26 08:15:01 +00:00
1a09ffe090 removed "like" clause checking for referrer from same weblog 2002-04-25 16:54:44 +00:00
24eb29d7c1 removed debug output writeln(query) in listReferrers_macro 2002-04-25 12:15:14 +00:00
Hannes Wallnöfer
469a8a448b release rowset after querying referrers. (this is different from releasing
the connection, which is managed by Helma.)
2002-04-25 10:44:56 +00:00
18a0c4a657 removed leading % (wildcard) from query in listReferrers_macro 2002-04-24 12:28:11 +00:00
Hannes Wallnöfer
61570c4c05 - Do not display stories on the weblog home page that are in the future
(i.e. have been posted to future days). We only show when they're
explicitly accessed via calendar. Also, don't display a "newer stories"
link on the home page if there are stories with future days/dates on the
weblog.

- Only pad dates in calender with non-breaking spaces for single digit
days. The idea is that single digit days are easy to click while the whole
calendar widget remains what it would be without padding.
2002-04-22 20:36:45 +00:00
f0ce67c9fc removed param as function argument 2002-04-17 08:34:54 +00:00
Robert Gaggl
d1f0bd2dfd fixed a bug where the frontpage of a weblog would be empty if "number of days on frontpage" is set to 1 and the only story of the newest day is set to "online just in topic"
there's still a problem with previous/next-navigation, but this will be solved with restructuring of story-handling
2002-04-14 11:34:56 +00:00
37872751fc changed hard-coded color for poll bars to macro weblog.linkcolor 2002-04-12 13:19:21 +00:00