Commit graph

2153 commits

Author SHA1 Message Date
Hannes Wallnöfer
112d619958 Replace FESI tryEval with real try statements. 2003-07-08 15:04:08 +00:00
Hannes Wallnöfer
bdcda3369d Changed RegExp constructors to include the global ("g")
and ignoreCase ("i") flags as required by Rhino.
2003-07-08 14:53:57 +00:00
Hannes Wallnöfer
fdeb78e7ff Check if partLastRendered is defined before comparing it.
Otherwise, Rhino will always evaluate this condition to false.
2003-07-08 14:38:08 +00:00
Hannes Wallnöfer
1e32967c76 Rename public collection to publicSites because public is a reserved keyword in Rhino.
Prefetch sites in renderSitelist().
2003-07-08 14:31:15 +00:00
093b50670b initial check-in of internet explorer "post it" context menu;
(instructions: download and install /sitename/menuext.reg)
2003-06-30 08:25:28 +00:00
d89c34963e use item's createtime rather than its modifytime 2003-06-06 14:40:45 +00:00
b6c60e032d removed accidentally committed .cvsignore files 2003-06-05 15:15:24 +00:00
2140813275 added support for day/header.skin 2003-06-05 14:49:01 +00:00
88bc7dbf53 added support for day header (ie. date will only be displayed once each day) 2003-06-05 14:31:34 +00:00
79aa38c8db Updated by TortoiseCVS 2003-06-05 14:25:20 +00:00
de7b21dc14 Updated by TortoiseCVS 2003-06-05 14:25:19 +00:00
7b5ad03df9 Updated by TortoiseCVS 2003-06-05 14:25:18 +00:00
fc907c5cc3 added support for scheduler with cron features 2003-05-29 16:11:09 +00:00
41920cf416 put everything inside <dc:rights> tags into prefix/suffix to ensure xml encoding of copy sign (c) 2003-05-29 16:09:07 +00:00
Hannes Wallnöfer
afee833bcb Allow for text parameters in story.onlinelink and topic.addstory macros 2003-05-09 14:12:06 +00:00
Hannes Wallnöfer
88773b0916 Fix typo (klick/click) 2003-05-09 13:38:19 +00:00
Hannes Wallnöfer
3b6043d50e Allow for stories with online-status 1 not to have a topic. (see log msg for
story/objectFunctions.js and storymgr/objectFunctions.js)
2003-04-14 14:23:33 +00:00
Hannes Wallnöfer
0b7ea305ae Do not complain about missing topic when editing or creating a story,
even if its onlinestatus is 1. This error isn't right anymore because
there isn't a "add to topic" anymore, just a "add to front page" which
the user has deselected. Also, there are enough cases where an author
would want a story to be neither on the frontpage nor in a topic.
2003-04-14 14:15:08 +00:00
Hannes Wallnöfer
8dfc94c560 Redirect to comment anchor (#comment-id) after creating a comment 2003-04-14 14:10:01 +00:00
Hannes Wallnöfer
a08d616268 Fixed indentation 2003-04-14 13:58:12 +00:00
Hannes Wallnöfer
684a0e43f3 Redirect to comment anchor (#comment-id) after creating or editing a comment 2003-04-14 13:51:20 +00:00
0aca9a79b5 modified res.data.title 2003-04-11 13:38:52 +00:00
82979f666f had to move "last update on" prefix from skin to lastupdate_macro() in site/macros.js to avoid redundant output 2003-04-11 13:35:28 +00:00
Hannes Wallnöfer
f1191f819f added "use antville;"
fixed statement for TEXT_ALIAS column.
2003-04-11 13:24:15 +00:00
Hannes Wallnöfer
629b8b8524 Check for exsistence of this.creator to make script more stable. 2003-04-11 12:51:07 +00:00
Hannes Wallnöfer
bf448c1dae Also escape \ in search function.
Add postprocessHref() function for virtual host setup.
2003-04-11 12:49:45 +00:00
2fae184b59 changed naming "rules" to derive an alias from the filename for file upload:
* myfile will become "myfile" w/o filetype
* myfile.foo will become "myfile" w/ filetype "foo"
* myfile.foo.bar will become "myfile" w/ filetype "bar"
* .myfile will become "myfile" w/ filetype "myfile"
* .myfile.foo will become "myfile" w/ filetype "foo"
* ".myfile.foo.bar" will become "myfile" w/ filetype "bar"

filenames beginning with a period thus will be transformed into generic ones to avoid them being
invisible on certain operating systems and/or to avoid possible exploits.
2003-04-11 12:48:58 +00:00
Hannes Wallnöfer
9371ce4704 Introduce defaultHost property for virtual server setup. 2003-04-11 12:48:44 +00:00
c403423c8a modified output of clicks_macro() to always output the current value plus "dowlooads" by default 2003-04-11 12:36:52 +00:00
Robert Gaggl
5a609434c5 requestcnt is set to 0 when creating a new file (instead of leaving null) 2003-04-11 10:16:36 +00:00
24a7f40cf9 fixed a bug in buildAliasFromFile() that prevented files beginning with a period from getting an alias 2003-04-11 09:35:50 +00:00
Robert Gaggl
53a5d85dfe menu.gif is now completely transparent 2003-04-11 09:34:55 +00:00
8b2f9b4f9f modified logo_macro to always return something, thus even <% logo %> w/o a name param renders an antville logo 2003-04-11 09:34:23 +00:00
161c0ed49d * improved clicks_macro() to display custom texts for each possible amount (0, 1, more)
* added return; at the end of functions where it was missing
2003-04-11 09:31:27 +00:00
7a8576a912 trimmed part variable if the story text is used as linked title in content_macro() 2003-04-10 15:26:57 +00:00
Robert Gaggl
6becf4b3bc modified content_macro(): display three dots if title should appear as link and both title and text are empty after stripping tags 2003-04-10 14:58:15 +00:00
53cd67a3df removed redundant <div> tag (already contained in site/page.skin) 2003-04-10 13:53:48 +00:00
9a09241698 changed link url output in <% logo %> macro to "http://antville.org" 2003-04-10 13:52:25 +00:00
69d43e1211 modified alt tags of antville logos (now showing "made with antville") 2003-04-10 13:52:07 +00:00
1bf4c7a524 added encoding="xml" parameter in <% param.email %> 2003-04-10 10:43:47 +00:00
da6ba94bba added TEXT_ALIAS column to AV_TEXT table for future use 2003-04-10 10:17:04 +00:00
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
bb9758c1b4 simplified evalStory(): use the second parameter onlinedefault if param.online is null 2003-04-07 21:01:28 +00:00
Robert Gaggl
0ef65de9de changed justintopic_macro() and addtofront_macro(): both now render a checkbox plus a hidden input ("onlinedefault") so that the editor "remembers" the users selection in case of a redirect back into editing form 2003-04-07 21:00:41 +00:00
Robert Gaggl
44c682473d - modified renderInputCheckbox: use value 1 only if no value was passed in parameter object
- fixed indentation
2003-04-07 20:59:10 +00:00
Hannes Wallnöfer
389359cbc5 imgWindow.focus() causes strange bug on mozilla where the image
is loaded in the main window. Since the image is newly created
anyway, calling focus() shouldn't be necessary anyhow.
2003-04-04 09:35:26 +00:00
Hannes Wallnöfer
eb22b91925 Move alt-text below the image. 2003-04-04 08:53:23 +00:00
Hannes Wallnöfer
00b7d1ab5e * fix CSS class name (storyTitle instead of storytitle)
* display alt-text as normal text instead of storyTitle
* move image info below the name into a separate line
* use <div> instead of <span><br> where approprate
2003-04-04 08:52:02 +00:00
Hannes Wallnöfer
a4f0037781 Improvements on image and file preview:
* fix CSS class name (storyTitle instead of storytitle)
* move file/image info below the name into a separate line
* use <div> instead of <span><br> where approprate
2003-04-04 08:44:02 +00:00
a6e59d8879 improved output of items w/o title 2003-04-01 12:13:08 +00:00