Commit graph

348 commits

Author SHA1 Message Date
Hannes Wallnöfer
bf448c1dae Also escape \ in search function.
Add postprocessHref() function for virtual host setup.
2003-04-11 12:49:45 +00:00
1bf4c7a524 added encoding="xml" parameter in <% param.email %> 2003-04-10 10:43:47 +00:00
Robert Gaggl
49f0e28e82 changed sys_email_macro(): use the current users email as preselection if root.sys_email is empty 2003-03-23 22:36:37 +00:00
61086d00e3 change "last" to "recently" and don't show the line if there are no weblogs at all 2003-03-17 16:49:19 +00:00
f1187641df moved "...&nbsp;" and "<br />" as prefix and suffix param into root.link macros 2003-03-13 13:53:47 +00:00
381f29038d corrected "Public" to "Publicly accessible weblogs" 2003-03-13 13:52:49 +00:00
663e3d36c1 added pagelink class to define margins between dotted lines and prevpage / nextpage links 2003-03-11 13:18:57 +00:00
6beed1870f moved <span> tag around message macro into prefix and suffix, resp.
renamed "home" link to "antville home"
2003-03-11 13:18:10 +00:00
b485fa4148 modified global/sitelist_macro() to only render lists of recently updated sites.
thus, lists of sites sorted alphabetically are now rendered by root/renderSitelist() by extra call in root/list_action() making it possible to put response.prevpage inside root/list.skin.
(note: the macro calls renderSitelist() with appropriate arguments and simply outputs res.data.sitelist immediately. maybe this is not what one could call a clean implementation?)
2003-03-11 13:16:12 +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
1ecc716b8b edited textual contents 2003-03-07 14:04:45 +00:00
Robert Gaggl
21dc1546dc embedded managelink_macro() 2003-03-03 12:13:09 +00:00
Robert Gaggl
3aa1a0c1a5 fixed indentation of searchSites() 2003-03-03 12:12:41 +00:00
Robert Gaggl
d4b76861d4 added managelink_macro() which renders a link to system management if user is sysadmin 2003-03-03 12:12:16 +00:00
Hannes Wallnöfer
cad5f67a9f Added getUserInfo() - Blogger API function that retrieves a user's info.
See http://groups.yahoo.com/group/bloggerDev/message/315
2003-02-24 15:47:44 +00:00
Robert Gaggl
23f11bc266 directly redirect to form for creating a new site if there are no sites 2003-02-23 15:15:36 +00:00
Robert Gaggl
2d06ce0cc5 removed antville.org-specific text from frontpage 2003-02-23 15:14:50 +00:00
Robert Gaggl
6aae1ced54 changed standard links in navigation-bar
- added link for creating a new weblog
- added links to help.antville.org, project.antville.org and macros.antville.org
- changed embedded sitecounter-macro to display the correct string depending on the number of sites
2003-02-23 15:14:31 +00:00
Robert Gaggl
02dc199a3a added description for third "task" (create the first weblog) 2003-02-23 15:11:55 +00:00
Robert Gaggl
f87eaab1e6 changed sitecounter_macro(): it now accepts optional attributes "no","one" and "more" (works similar to story/commentcounter_macro()) 2003-02-23 15:05:52 +00:00
Robert Gaggl
741cd46f23 rewrote evalSite, creating a new site is now logged in syslog 2003-02-14 13:40:08 +00:00
Hannes Wallnöfer
28aaf2e1f8 Added accessname=TEXT_ID to storiesByID.
This is a trick to prevent the subnode index from being loaded when accessing
a single story.
2003-02-06 13:34:56 +00:00
edd1ef1eb6 don't display user e-mail addresses in rss output if user.publishemail is set to false 2003-01-31 16:09:10 +00:00
Hannes Wallnöfer
50892139de Removed the hardcoded encoding from the XML declaration. 2003-01-23 16:07:30 +00:00
Hannes Wallnöfer
355f988243 Add proper site URL in getUsersBlogs() - this may fail if href() doesn't return
absolute URLs.
2003-01-23 15:52:10 +00:00
Hannes Wallnöfer
0b818e2b05 Added support for extracting a post's title from <title></title> tags, which is
what w.bloggar and presumably other Blogger-API tools use to add titles
to a posting's content.
2003-01-23 15:45:31 +00:00
Robert Gaggl
d03b3c112a changed deletePost() to return true in case the story was successfully deleted, false otherwise (by inverting result.error) 2003-01-20 20:58:25 +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
Robert Gaggl
5eea674ddc - removed checkAccessPermission (this is now done using the standard securityFunctions)
- implemented bloggerApi-functions:
getUsersBlogs (returns all sites that a user has subscribed and has write-permissions)
getRecentPosts (returns a list of max. 20 posts that are either created or editable by a user)
getPost (returns a single post of a user)
- added functions getUser() and getBlog() that are not callable via XmlRpc but used by bloggerApi-implementation
- rewrote the rest of the functions to use the standard securityFunctions
2003-01-02 19:09:57 +00:00
Robert Gaggl
ab1538b801 collection storiesById now contains all stories (not just the ones that are online). this collection is only used by bloggerApi 2003-01-02 19:03:50 +00:00
Robert Gaggl
3c97aa4ef7 accessing user-property sysadmin directly instead of calling function isUserSysAdmin (removed) 2003-01-02 18:59:04 +00:00
Robert Gaggl
7689ac0a60 changed to querying for res.handlers.site instead of path.site in case we should display a site-frontpage instead of the static root frontpage 2002-12-02 16:34:33 +00:00
Robert Gaggl
1e122ec3b4 changed sys_frontSite_macro() because root.sys_frontSite now contains the site-object instead of just the alias 2002-12-02 16:25:56 +00:00
Robert Gaggl
df15c3e76e added new property sys_frontSite that maps to a site-object (set in evalSystemSetup()) 2002-12-02 16:25:10 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
578ae4537b removed CDATA tags; added xml encoding parameters, instead 2002-11-28 13:42:18 +00:00
ec149bd7cb added extra parameter for date in iso format 2002-10-23 15:13:41 +00:00
3bed200824 fixed a bug that prevented search in private weblogs from showing any results 2002-10-07 16:27:20 +00:00
3305a60d65 added link to translate.antville.org 2002-09-10 15:31:30 +00:00
Robert Gaggl
04aba87edd reworked isAddSiteDenied() 2002-08-30 14:54:33 +00:00
Robert Gaggl
d554322587 added sys_minMemberSince_macro() 2002-08-30 14:50:50 +00:00
7453a22e33 added "www." to link to documentation (although it is commented out but maybe funzel gives a ruh now) 2002-08-28 14:35:21 +00:00
5dda7e5f0d fixed bug that caused an error due to old content model 2002-08-26 14:48:17 +00:00
Robert Gaggl
fa8924c4eb fixed a bug that broke the blogger-API (calling global function isUserBlocked() ends in a runtime error because there's no session-object!) 2002-08-26 09:09:51 +00:00
2c06d1d5f7 added missing param.year in item loop 2002-08-22 13:31:22 +00:00
Robert Gaggl
0386840cf4 if application is not setup but there are already users registered, we directly redirect to setup; otherwise display welcome-page 2002-08-20 10:24:15 +00:00
1ebcc64485 replace <% imageurl %> macro by <% image as="url" %> 2002-08-19 16:37:15 +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
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
78ab3f7355 now calling isAddSiteDenied() (placed in root/securityFunctions.js) 2002-08-13 14:53:11 +00:00