google-sharp/ChangeLog

217 строки
7.6 KiB
Plaintext
Исходник Постоянная ссылка Обычный вид История

2007-05-09 Stephane Delcroix <stephane@delcroix.org>
* src/Mono.Google.Picasa/PicasaAlbum.cs: new UploadPicture (string,
string, string) interface.
2007-03-30 Stephane Delcroix <stephane@delcroix.org>
* src/Mono.Google.Picasa/PicasaPicture.cs:
* src/Mono.Google.Picasa/GDataApi.cs: Adding support for picture tagging and
a new public constructor for pictures.
* sample/*: new tag-image.cs sample.
2007-03-28 Stephane Delcroix <stephane@delcroix.org> * configure.ac: switch to gmcs. * src/Mono.Google/GoogleService.cs: changing this enum to a class, adding a ServiceCode method. * src/Mono.Google/Authentication.cs: * src/Mono.Google/GoogleConnection.cs: changes to authenticate against ClientLogin as described at http://code.google.com/apis/accounts/AuthForInstalledApps.html. No longer send cookies but the Authentication header instead (if the user is authenticated). Make it fails on Authenticate with null password. * src/Mono.Google/MultipartRequest.cs: use multipart/related, get the auth token from GoogleConnection. * src/Mono.Google.Picasa/XmlUtil.cs: Some chages to fit the protocol changes, some new helper methods. * src/Makefile.am: * src/Mono.Google.Picasa/Makefile.am: * src/Mono.Google.Picasa/PicasaV1.cs: * src/Mono.Google.Picasa/GDataApi.cs: removed PicasaV1 replaced by GDataApi. GDataApi contain urls for accessing PicasaWeb using GData, as detailed at http://code.google.com/apis/picasaweb/gdata.html. * src/Mono.Google.PicasaWeb.cs: * src/Mono.Google.PicasaAlbum.cs: * src/Mono.Google.PicasaPicture.cs: Some changes in the API and the code to reflect the way of how the protocol works (e.g. UploadPicture return a PicasaPicture, the <entry> related to the top level gallery is parsed at construct time for PicasaWeb, ...). The PicasaWeb.DeleteAlbum code is disabled for now. * sample/*: adapation for some minor API changes, new upload-image.cs sample. svn path=/trunk/google-sharp/; revision=75075
2007-03-28 19:02:37 +04:00
2007-03-28 Stephane Delcroix <stephane@delcroix.org>
* configure.ac: switch to gmcs.
* src/Mono.Google/GoogleService.cs: changing this enum to a class,
adding a ServiceCode method.
* src/Mono.Google/Authentication.cs:
* src/Mono.Google/GoogleConnection.cs: changes to authenticate against
ClientLogin as described at
http://code.google.com/apis/accounts/AuthForInstalledApps.html. No
longer send cookies but the Authentication header instead (if the user
is authenticated). Make it fails on Authenticate with null password.
* src/Mono.Google/MultipartRequest.cs: use multipart/related, get the
auth token from GoogleConnection.
* src/Mono.Google.Picasa/XmlUtil.cs: Some chages to fit the protocol
changes, some new helper methods.
* src/Makefile.am:
* src/Mono.Google.Picasa/Makefile.am:
* src/Mono.Google.Picasa/PicasaV1.cs:
* src/Mono.Google.Picasa/GDataApi.cs: removed PicasaV1 replaced by GDataApi.
GDataApi contain urls for accessing PicasaWeb using GData, as detailed
at http://code.google.com/apis/picasaweb/gdata.html.
* src/Mono.Google.PicasaWeb.cs:
* src/Mono.Google.PicasaAlbum.cs:
* src/Mono.Google.PicasaPicture.cs: Some changes in the API and the
code to reflect the way of how the protocol works (e.g. UploadPicture
return a PicasaPicture, the <entry> related to the top level gallery
is parsed at construct time for PicasaWeb, ...). The
PicasaWeb.DeleteAlbum code is disabled for now.
* sample/*: adapation for some minor API changes, new upload-image.cs
sample.
2007-03-16 Stephane Delcroix <stephane@delcroix.org>
* src/Mono.Google.Picasa/PicasaPicture.cs: Add parser and get'er for
reading Tags.
2007-03-16 Stephane Delcroix <stephane@delcroix.org>
* src/Mono.Google.Picasa/PicasaAlbum.cs: Fixes the namespaces in
GetPictures ().
* src/Mono.Google.Picasa/PicasaPicture.cs: Fixes the date parsing in
ParsePictureInfo ().
2007-03-16 Stephane Delcroix <stephane@delcroix.org>
* src/Mono.Google.Picasa/PicasaWeb.cs: required patch to deal with
latest picasaweb.google.com changes.
2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaWeb.cs: there have been some changes in
picasaweb.google.com and this change is "needed" now. Patch from
Stephane Delcroix.
2006-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaAlbum.cs: allow using the new
authkey value for URLs.
* docs/*: updated.
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/Authentication.cs: make the captcha_url relative to
the url given in the error response.
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/AuthErrorCode.cs: removed.
* src/Mono.Google/Authentication.cs:
* src/Mono.Google/Makefile.am:
* src/Makefile.am: CaptchaRequired is reported as 'cr'.
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/Authentication.cs: 'CaptchaRequired' is reported as
'cr'. Fix typo in format.
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/GoogleConnection.cs:
* src/Mono.Google/Authentication.cs:
* src/Mono.Google/CaptchaException.cs:
* src/Mono.Google/Makefile.am:
* src/Mono.Google/AuthErrorCode.cs:
* src/Makefile.am: handle the case when google sends a captcha
challenge. We will now throw a CaptchaException with the image url and
and token. We should show the user the image and request authentication
again using the token and the user input. If this is not possible,
the user should be told about CaptchaException.UnlockCaptchaURL if he
wants to disable captchas fos his IP/machine/user.
2006-09-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/GoogleConnection.cs: avoid nullref.
2006-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/GoogleConnection.cs: some changes to make it work on
the MS runtime. Copied from System.Net.
2006-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaV1.cs: send the authtoken in the query
string. This will give us the cookie for further access.
* src/Mono.Google/GoogleConnection.cs: add an ApplicationName property that
needs to be set when Assembly.GetEntryAssembly returns null (non-root
appdomains). Also keep the authtoken around.
* src/Mono.Google/Authentication.cs: use the same method as picasa2 to
authenticate. Two requests, no redirects, and we get 2 cookies plus the
authtoken.
* src/Makefile.am: reference System.Web.
2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaWeb.cs: fix nullref when the user is not
authenticated and tries to create or delete an album. Should fix b.g.o.
#354621.
2006-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaWeb.cs: use the invariant culture when
generating the creation date. Hopefully fixes b.g.o. #354295.
2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaAlbum.cs: they added a new 'bytesused'
to tell the size of the album.
2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/Makefile.am:
* src/Makefile.am:
* src/Mono.Google.Picasa/PicasaWeb.cs:
* src/Mono.Google.Picasa/XmlUtil.cs:
* src/Mono.Google.Picasa/PicasaAlbum.cs: use System.Xml to write the
POST requests. Support the 'description' argument.
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Makefile.am:
* src/Makefile.am:
* src/Mono.Google.Picasa/Makefile.am:
* src/Mono.Google.Picasa/UploadProgressEventArgs.cs:
* src/Mono.Google.Picasa/UploadProgressEventHandler.cs: upload progress
event handler.
* src/Mono.Google.Picasa/PicasaPicture.cs: use the right format for date
parsing. Some fields are now optional, as we can download public albums
or private albums with known id without the need for an authenticated
user.
* src/Mono.Google.Picasa/PicasaAlbum.cs: new static method to get the
pictures from known albums (user, album id needed). New
UploadProgress event to give feedback while uploading.
* src/Mono.Google.Picasa/PicasaV1.cs: retrieve the upgrade storage link
* and album RSS.
* src/Mono.Google/MultipartRequest.cs: if the response throws, don't
intercept that exception so that the user knows what's going on. Support
for buffering in a stream different than the request stream, needed when
the upload progress event is used.
2006-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google/GoogleConnection.cs: make DownloadToStream work on
slow connections.
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaWeb.cs: actually send the description
field when provided.
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaWeb.cs: added a new overload of
DeleteAlbum.
* src/Mono.Google.Picasa/PicasaAlbumCollection.cs:
* src/Mono.Google.Picasa/PicasaPictureCollection.cs: rename a
parameter.
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* src/Mono.Google.Picasa/PicasaWeb.cs: simplify building POST requests
and added DeleteAlbum.
* src/Mono.Google.Picasa/PicasaAlbum.cs: simplify buildint POST
request.
* src/Mono.Google.Picasa/DeleteAlbumException.cs: new exception.
* src/Mono.Google/MultipartRequest.cs: wrapper for easy creation of a
multipart/form-data web request.