Skip to main content Help Control Panel

Login   A+   A-

YACS «   Releases «  

October-2 - Distributed authentication, Simple Search RSS API and more

YACS better promotes the concept of small sites involved into large clouds of servers with the introduction of authentication services. If you have registered once as Joe at foo.bar.com, and if this server supports authentication back-end services, you will be able to login at any YACS server by providing the fully qualified user name joe@foo.bar.com, and the password as usual.

To design this feature we have selected to reuse the drupal.login XML-RPC primitive as implemented into Drupal. Yes, this means that YACS can authenticate a user registered at a Drupal server.

Also, YACS better implements the Simple Search RSS API on the back-end side. Search requests can now scope either articles, comments, files, links images or user profiles.

In order to speed syndication, we have implemented compression in RSS fetching, and a separate feed has been created to transmit contents of published pages.

-  Now you can register only once, and be authenticated at other servers easily. We have implemented the drupal.login XML-RPC primitive, both as a client (users/login.php) and as a server (services/xml_rpc_drupal.login_hook.php), to enable remote authentication. The actual authentication process has been implemented in Users::login() in users/users.php. On remote authentication, YACS creates 'shadow' user profiles linked to the origin server. When asked to change passwords on a shadow record, YACS redirects to the origin server (users/password). By implementing an existing XML-RPC API, YACS is compatible with existing Drupal resources for user authentication.

-  YACS better implements the Simple Search RSS API, and allows for typed search. This means that when using services/search.php you can specify if you are interested in articles, comments, files, links, images or users. Internally, search queries can now be turned to RSS in more modules than before: files/files.php, images/images.php, links/links.php and users/users.php

-  To fetch RSS feeds accepts gzip transfer encoding. YACS already supported compression for feeds it provides. Now it is also able to process feeds compressed by others. See feeds/feeds.php.

-  Similarly, YACS also accepts compression for XML-RPC calls. See services/call.php.

-  Page content is not provided anymore in standard feeds, because of the overload added on network transfers. feeds/rss_2.0.php provides only some introductory text. Advanced bloggers will use a brand new feed created to suit their needs, including the ability to fetch full contents, at articles/feed.php. This change has been reflected at the index page for feeds, at feeds/index.php. The index pages for articles, at articles/index.php, offers links to both feeds.

-  First and last names are better handled in users/fetch_vcard.php, the script that build vcards.

-  New debugging messages have been added to feed processing, at feeds/feeds.php

-  The source field now accepts local references, such as [user=alfred]. Implemented in articles, in files, in images. See Links::transform_reference() in links/links.php.

-  More characters are now converted to ASCII in file names for attachments, to better comply with RFC 822. See for example files/edit.php.

-  Bug fixed in Logger::notify(). Saved message is not cut anymore. See agents/logger.php

-  Every include directive has been changed to include_once, just in case...

Rate this page
Posted by Bernard on Oct. 2 2004, (popular)