Commit graph

108 commits

Author SHA1 Message Date
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
Robert Gaggl
6e855c65b5 changed the way editableby is defined 2002-01-22 20:03:22 +00:00
Robert Gaggl
be0d292708 hac now checks if user is logged in, removed senseless check for user.cache.referer 2002-01-22 19:54:42 +00:00
Robert Gaggl
9c6fa39189 - hac now checks if user is logged in
- removed unnecessary check for user.cache.referer
- isAddDenied() was replaced with isDenied()
2002-01-22 19:35:10 +00:00
Robert Gaggl
5398974f07 changes needed because of topic-dropdown and new mapping of story 2002-01-05 02:44:18 +00:00
Robert Gaggl
de043f03e5 included links to prevpage and nextpage 2002-01-05 02:40:21 +00:00
Robert Gaggl
a231dd70d5 included call of renderStorylist() 2002-01-05 02:38:02 +00:00
Robert Gaggl
d649eb4201 storylist is now rendered in renderStorylist()-function, macro is left for backwards-compatibility 2002-01-05 02:34:19 +00:00
Robert Gaggl
7ae0a43c66 minor change 2002-01-05 02:29:42 +00:00
Robert Gaggl
08aedc9aad initial check-in 2002-01-05 02:26:08 +00:00
Robert Gaggl
9361b645ef change was necessary due to new mapping of story 2002-01-05 02:24:53 +00:00
Robert Gaggl
50d0877883 minor changes 2001-12-16 18:13:15 +00:00
Robert Gaggl
c4c4af17df changes necessary due to changed online-flag of story 2001-12-16 18:10:08 +00:00
Robert Gaggl
2e5eb49f16 minor fix in res.data.title 2001-12-16 17:59:28 +00:00
Robert Gaggl
a4198add28 - security-functions now demand user-object as argument
- modifications needed due to rewriting of objectFunctions
- now using res.data.* instead of res.*
2001-12-10 23:35:04 +00:00
Robert Gaggl
0b3f3ee2ba - bugfix 2001-12-10 23:34:31 +00:00
Robert Gaggl
8aab6061ad - security-functions now demand user-object as argument
- using page.skin instead of editor.skin
- removing assignments to res.head
- now using res.data.* instead of res.*
2001-12-10 23:34:09 +00:00