Commit graph

459 commits

Author SHA1 Message Date
Robert Gaggl
fd91f3f7e4 - removed deleting of property "as" in renderInputTextarea(), this is done in renderMarkupPart()
- removed form-encoding in renderInputButton()
- added form-encoding of value in renderInputText()
2003-02-04 12:17:48 +00:00
Robert Gaggl
6d33413ed7 encode image-alttext and title in renderImage(), otherwise an image-alttext with quotes would break the resulting image-tag 2003-02-03 11:17:46 +00:00
Michael Platzer
04ee438634 fixed a bug in evalURL(): http:// was preprended to the URL even if it started with mailto: 2003-01-31 09:39:10 +00:00
Robert Gaggl
663ff77022 added constant for SUBSCRIBER (== 0), fixed comments 2003-01-23 21:33:18 +00:00
Michael Platzer
070b3291b4 disabled the setting of the value of an input-tag to the request-object-value for buttons, since this does not make sense, and furthermore would lead to ugly values as soon as Umlauts are involved; 2003-01-21 10:09:00 +00:00
Robert Gaggl
369756abbd changed regex in activateLinks(): since format() is called before activateLinks() a plain text URL at the beginning of a line will actually have a <br /> before it 2003-01-14 10:56:03 +00:00
Robert Gaggl
287fa12100 changed scheduler-interval to 30 seconds (see http://helma.org/bugs/show_bug.cgi?id=201) 2003-01-14 10:44:23 +00:00
c6331a81b5 any color output is processed by renderColorAsString() in colorpicker_macro() 2003-01-07 16:40:28 +00:00
8520c11785 revamped colorpicker to enable sites with virtual domain hosting (like antville.org) to use the colorpicker, too. currently, the colorpicker scripts are hosted at www.antville.org whily trying to access objects on documents hosted at a different virtual domain (e.g. project.antville.org) and thus violating a browser's security handlers to avoid cross-domain scripting. 2003-01-07 14:45:50 +00:00
Michael Platzer
eaaf060747 fixed bug 192: corrected iisClean()-function, so that it does not allow the character ^ anymore 2003-01-05 14:42:05 +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
369efff253 - moved checkIfLoggedIn() to securityFunctions.js
- decreased interval of scheduler to 5 seconds (otherwise too many objects would be locked when scheduler is running)
2003-01-02 19:00:30 +00:00
Robert Gaggl
c7e599b83e removed functions isUserTrusted() and isUserSysAdmin(), moved checkIfLoggedIn() from objectFunctions.js into this file 2003-01-02 18:54:48 +00:00
Robert Gaggl
4383149f88 changed image_macro():
- fixed a bug that lead to a thumbnail not being linked to the fullsize-image
- in case of a popup the onClick-handler is moved to the image-tag, the a-tag still contains just the link to the fullsize-image which should help those who have javascript disabled

changed linkedpath_macro() so that last item in breadcrumb-navigation is a link too if req.action != main and there is a main-action
2002-12-17 21:56:56 +00:00
Robert Gaggl
44b80f807b added a constant named array DISPLAY which contains the strings that should be displayed instead of the prototype-names (used in global linkedpath_macro() resp. getNavigationName()) 2002-12-17 21:50:23 +00:00
Robert Gaggl
31df32af27 change in doWikiStuff: check if src is null (backport from antville.org, although doWikiStuff is not in use anymore) 2002-12-17 20:35:33 +00:00
Robert Gaggl
a4b02b85c6 usernames are now linked to the url specified in users preferences (backport from antville.org) 2002-12-17 20:32:15 +00:00
Robert Gaggl
1c117b9983 now setting app.data.lastAccessLogUpdate to new Date() after scheduler has written the referrers into db. this property is used to check if cached backlinks of a story should be re-rendered or not (in backlinks_macro() of prototype story) 2002-12-08 13:47:34 +00:00
Robert Gaggl
45a454cdc9 changed several macros: now using res.handlers.site instead of path.site to ensure these macros are working also for sites mirrored on the main frontpage 2002-12-02 16:35:06 +00:00
Robert Gaggl
eaf610d942 changed several functions: now using res.handlers.site instead of path.site to ensure these functions are working also for sites mirrored on the main frontpage 2002-12-02 16:32:15 +00:00
Robert Gaggl
c65644b73e changed doWikiStuff: now querying for res.handlers.site instead of path.site (although this function isn't in use) 2002-12-02 16:29:29 +00:00
Robert Gaggl
c952401a3e use "skin" instead of "useskin" as parameter-propertyname 2002-12-02 13:03:56 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
Robert Gaggl
2d138cfcc5 adapted check in autoLogin() because avPw-cookievalue is now created using user-password plus http_remotehost 2002-11-21 13:14:36 +00:00
Robert Gaggl
f1b713b344 re-enabled setting the timezone in formatTimestamp() 2002-10-31 21:08:58 +00:00
Hannes Wallnöfer
89256f53c4 Only create a new string in clipText if the text is actually clipped.
Convert argument to string in parseTimestamp since it may actually be a number.
2002-10-21 10:39:37 +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
3c588cba11 Performance tweaking in formatTimestamp(): Only use one DateFormat per request 2002-10-20 17:24:48 +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
56f55f1fd6 added general limit of 50 addresses in fakemail_macro() 2002-08-26 12:38:46 +00:00
c78fbb20ba added param.delimiter and updated creation of hyperlink in function fakemail_macro() 2002-08-26 10:48:11 +00:00
Robert Gaggl
8644a353dd added fakemail_macro() 2002-08-26 10:41:29 +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
d8acfe1a31 revamped storylist_macro() to prevent untrusted sites from using expensive sort, order and topic options 2002-08-22 10:53:41 +00:00
Robert Gaggl
39ddb8e69b - fixed a bug in pingUpdatedSites() (column ID was renamed to SITE_ID)
- changed app.__app__.logEvent() to app.log()
2002-08-21 14:20:14 +00:00
84e9048b11 fixed bug that prevented colorpicker from being displayed when creating a story 2002-08-20 08:47:30 +00:00
16cf21077b replaced <% imageurl %> macro by <% image as="url" %> 2002-08-19 16:42:53 +00:00
a28957ebee added support for first version of skinmanager help 2002-08-19 16:42:33 +00:00
e06aae520b renamed rss10Image.skin to rssImage.skin 2002-08-19 16:41:04 +00:00
Robert Gaggl
ba8afc1d49 - added story_macro() which renders a skin for a story with a specified id
- changed poll_macro()
2002-08-15 10:00:35 +00:00
259352c995 splitted renderTextPreview() into clipText() and softwrap() 2002-08-14 17:36:14 +00:00
b72d8b1c53 splitted renderTextPreview() into clipText() and softwrap() and moved them to objectFunctions.js 2002-08-14 17:33:47 +00:00
b778a95a89 revamped rss output:
1. moved rss10Channel.skins from global to rss.skin in root and site
2. moved rss10Resource.skin from global to rssResource.skin in root and site
3. moved rss10Item.skin from global to rssItem.skin in root and site
4. moved contents of global/rssTextInput.skin into site/rss10Channel
5. renamd rss10.hac in root and site to rss.hac
2002-08-14 17:21:14 +00:00
Robert Gaggl
c1448ee9bd added wrapper-macros imagelist and topiclist 2002-08-14 15:38:32 +00:00
Robert Gaggl
f5a851fb7d render empty string as image-title if alttext is null 2002-08-14 15:37:42 +00:00
c940f28857 changed order of date formats in getDefaultDateFormats()
changed occurences of app.__app__.logEvent() to app.log()
added function translateToEntities()
2002-08-14 09:22:49 +00:00
6559186a83 renamed root/rss10.hac to root/rss.hac and created redirector function rss10_action() in root/actions.js;
did the same for site/rss10.hac;
changed occurences of "Weblog" to "Site" in rss output;
encoded e-mail addresses in root/rss output to be displayed as entities to cancel the ticket of happy spammers
2002-08-14 09:19:33 +00:00
Robert Gaggl
c582e684ec code-reformatting 2002-08-13 20:46:37 +00:00
Robert Gaggl
85509f2b04 changed renderMarkupPart() so that values that contain an empty string are rendered in the tag 2002-08-13 14:46:06 +00:00
61329cdaf0 removed temporary script tag for colorgenerator.js 2002-08-13 14:36:49 +00:00