Robert Gaggl
fc64ce0a31
simplified evalNewStory(): use the second parameter onlinedefault if param.online is null
2003-04-07 21:01:37 +00:00
Robert Gaggl
9a4c5e0f9e
changed deleteStory(): only set lastupdate of site to new Date() if deleted story was online
2003-03-27 09:15:42 +00:00
190e1457a5
added conditions in evalNewStory() to provide backwards compatibility between justintopic and addtofront macros
2003-03-25 15:59:53 +00:00
d863af23e0
added trim() function wherever content parts are set
2003-03-21 16:13:34 +00:00
5432cbe5b2
* modified story editor according to hannes' screenshot at http://help.antville.org/images/hns-editor
...
* added addtofront_macro() to display a checkbox that works vice versa to justintopic_macro()
* always set this.status in storymgr/create_action() to let the checkbox "know" whether it has to be checked
(known bugs: when editing a story neither this nor the "comments allowed" checkbox memorize their state when an error occurs.)
2003-03-20 18:53:55 +00:00
524d7a38a3
still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout.
2003-03-07 19:27:48 +00:00
Robert Gaggl
c141a9a73f
enabled rescueing of story-values also if publish-button was clicked
2003-03-03 12:18:03 +00:00
Robert Gaggl
f89b93db2a
create-action now fits the needs of the new story-editor
2003-02-14 13:49:01 +00:00
Robert Gaggl
573f22600d
modified evalNewStory because story/edit.skin changed, but it's still backwards-compatible to the old story-editor
2003-02-14 13:45:11 +00:00
Hannes Wallnöfer
62886837c3
Set cachemode of child objects to aggressive.
...
Fetching the IDs of storymgr children makes up a large part of the slow queries on
antville.org.
2003-01-30 14:35:49 +00:00
Hannes Wallnöfer
fc179f1fa7
Add new stories to the storymgr child collection instead of the site's child collection.
...
This way we can set the storymgr child collection to cachemode=aggressive.
Fetching the IDs of storymgr children makes up a large part of the slow queries on
antville.org.
The change in getting hrefs of new public stories is a workaround to a bug in
Helma that I fixed today.
fixed in CVS today
2003-01-30 14:34:36 +00:00
Robert Gaggl
ff01391d37
securityFunctions now need the membership-level of a user as second argument
2003-01-02 19:05:03 +00:00
Robert Gaggl
068a68f090
req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi)
2003-01-02 18:55:32 +00:00
Robert Gaggl
42e0f21580
merged need_for_speed branch
2002-12-01 19:26:40 +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
ebc4b6ce27
added variable as flag if at least one story content is not null (it does not have to be the text property anymore)
2002-08-23 15:46:58 +00:00
16632edb72
replaced all occurrences of "this" with the name of the corresponding prototype
2002-08-09 15:45:59 +00:00
Robert Gaggl
b279adab3a
changed checking if comments should be enabled or not
2002-08-09 11:51:24 +00:00
73664b8045
setting this.discussions to 1 by default (ie. if number cannot be parsed) in function evalNewStory().
...
otherwise weblogs with custom skins suddenly get their comment features disabled.
2002-07-29 16:17:13 +00:00
b817e8ae0a
result of merge with helmaville
2002-07-26 12:55:35 +00:00
Robert Gaggl
db54606305
added assignment of discussions-flag
2002-07-19 09:04:22 +00:00
Hannes Wallnöfer
40a4f5e9f0
set site.lastupdate to story.modifytime instead of story.createtime when
...
creating stories, since the latter may be a future date.
2002-07-08 12:26:55 +00:00
Hannes Wallnöfer
c8df8ac3de
merged xml_content branch.
2002-07-01 16:36:27 +00:00
Robert Gaggl
c882d3d7e6
changed because the prototype weblog was renamed to site
2002-06-26 17:29:39 +00:00
Robert Gaggl
db58fa6d5f
replaced hardcoded messages with getMsg()
2002-06-26 17:20:41 +00:00
Robert Gaggl
d897c3512f
property author of story was renamed to creator
2002-06-26 17:16:06 +00:00
Robert Gaggl
a94e09901e
changed because the prototype weblog was renamed to site
2002-06-26 16:48:51 +00:00
Robert Gaggl
72d830c930
changed because the prototype weblog was renamed to site
2002-06-26 16:23:37 +00:00
Robert Gaggl
f8db009bff
changed type.properties according to new database-schema:
...
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/ )
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449
merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language)
2002-06-12 17:19:47 +00:00
adb5fd01a4
removed "?" from urlparam and "#" from anchor parameters in link macros
2002-06-04 17:58:19 +00:00
ffca47cc52
fixed markup to be xhtml compatible
2002-06-03 17:10:21 +00:00
Robert Gaggl
e6e832fc5e
change code according to helma's new session/usermodel:
...
- changed user.cache to session.data
- 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 16:16:56 +00:00
Robert Gaggl
cb35759bd0
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 16:05:16 +00:00
Robert Gaggl
0c8b4f852b
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:55:05 +00:00
Robert Gaggl
36384e48a7
change code according to helma's new session/usermodel
...
- using session.user instead of user
2002-06-02 15:38:16 +00:00
Robert Gaggl
8130470d48
- removed manual building of redirect-href() because stories now have one standard URL
...
- changed deleting of comments because comments now have story.comments as parent
- added function deleteAll() which loops over weblog.stories and deletes all of them
2002-05-15 23:18:49 +00:00
Hannes Wallnöfer
d57fdf0079
Made createtime of stories editable. If createtime is set in the
...
input parameters, try to parse it as string. If it can't be parsed,
show an error message. If it can be parsed, update the createtime
and day properties to the new date.
2002-04-08 12:02:26 +00:00
Robert Gaggl
c3e0c23603
- autoLogin() is now called by onRequest()
...
- removed "Antville" from pagetitle
2002-03-27 13:05:40 +00:00
Robert Gaggl
269a461d03
switched to version 1.2
2002-03-27 10:57:17 +00:00
54a5f72697
added s.text retrieved from the request object
2002-03-23 18:23:43 +00:00
Robert Gaggl
47616dd912
allow access to storypool and creation of stories if weblog.usercontrib is true (regardless if user is member of weblog or not)
2002-02-16 22:12:14 +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
3ea28411c5
additional bugfix
2002-02-10 16:38:02 +00:00
Robert Gaggl
15b70b8684
rewrote evalNewStory()
2002-02-10 16:36:21 +00:00
Robert Gaggl
f2c3cd33c1
- user.cache.referer was purged at the wrong position in hac
...
- added assignment of res.data.action
- temporary story-object is now passed to evalNewStory()
2002-02-10 16:33:49 +00:00
8eb6fe3123
had to exchange "newer" with "older" in renderStoryList_macro()
2002-02-06 15:11:40 +00:00
Hannes Wallnöfer
7f2bdc6470
virtual node for topics is now called topics instead of space
2002-02-02 13:43:43 +00:00
cc08c24af0
added sp.text for rendering prev/next page links
2002-01-30 16:15:21 +00:00
Robert Gaggl
5dbf80cc46
- removed check if user is blocked (will be done with onRequest())
...
- changes necessary due to new role-scheme
- removed isAddDenied()
2002-01-22 20:19:34 +00:00