diff options
Diffstat (limited to 'plugins/shotwell-publishing')
4 files changed, 10 insertions, 10 deletions
diff --git a/plugins/shotwell-publishing/PicasaPublishing.c b/plugins/shotwell-publishing/PicasaPublishing.c index 5adb572..8547ca8 100644 --- a/plugins/shotwell-publishing/PicasaPublishing.c +++ b/plugins/shotwell-publishing/PicasaPublishing.c @@ -460,11 +460,11 @@ static void publishing_picasa_album_finalize (PublishingPicasaAlbum* obj); enum { PUBLISHING_PICASA_ALBUM_DIRECTORY_TRANSACTION_DUMMY_PROPERTY }; -#define PUBLISHING_PICASA_ALBUM_DIRECTORY_TRANSACTION_ENDPOINT_URL "http://picasaweb.google.com/data/feed/api/user/" "default" +#define PUBLISHING_PICASA_ALBUM_DIRECTORY_TRANSACTION_ENDPOINT_URL "https://picasaweb.google.com/data/feed/api/user/" "default" enum { PUBLISHING_PICASA_ALBUM_CREATION_TRANSACTION_DUMMY_PROPERTY }; -#define PUBLISHING_PICASA_ALBUM_CREATION_TRANSACTION_ENDPOINT_URL "http://picasaweb.google.com/data/feed/api/user/" "default" +#define PUBLISHING_PICASA_ALBUM_CREATION_TRANSACTION_ENDPOINT_URL "https://picasaweb.google.com/data/feed/api/user/" "default" #define PUBLISHING_PICASA_ALBUM_CREATION_TRANSACTION_ALBUM_ENTRY_TEMPLATE "<?xml version='1.0' encoding='utf-8'?><entry xmlns='http://www.w3.org/" \ "2005/Atom' xmlns:gphoto='http://schemas.google.com/photos/2007'><title" \ " type='text'>%s</title><gphoto:access>%s</gphoto:access><category sche" \ @@ -888,7 +888,7 @@ PublishingPicasaPicasaPublisher* publishing_picasa_picasa_publisher_construct (G #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp1_ = host; #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" - self = (PublishingPicasaPicasaPublisher*) publishing_rest_support_google_publisher_construct (object_type, _tmp0_, _tmp1_, "http://picasaweb.google.com/data/"); + self = (PublishingPicasaPicasaPublisher*) publishing_rest_support_google_publisher_construct (object_type, _tmp0_, _tmp1_, "https://picasaweb.google.com/data/"); #line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp2_ = publishing_picasa_publishing_parameters_new (); #line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" diff --git a/plugins/shotwell-publishing/PicasaPublishing.vala b/plugins/shotwell-publishing/PicasaPublishing.vala index 621ae12..976ba42 100644 --- a/plugins/shotwell-publishing/PicasaPublishing.vala +++ b/plugins/shotwell-publishing/PicasaPublishing.vala @@ -67,7 +67,7 @@ public class PicasaPublisher : Publishing.RESTSupport.GooglePublisher { public PicasaPublisher(Spit.Publishing.Service service, Spit.Publishing.PluginHost host) { - base(service, host, "http://picasaweb.google.com/data/"); + base(service, host, "https://picasaweb.google.com/data/"); this.publishing_parameters = new PublishingParameters(); load_parameters_from_configuration_system(publishing_parameters); @@ -473,7 +473,7 @@ internal class Album { internal class AlbumDirectoryTransaction : Publishing.RESTSupport.GooglePublisher.AuthenticatedTransaction { - private const string ENDPOINT_URL = "http://picasaweb.google.com/data/feed/api/user/" + + private const string ENDPOINT_URL = "https://picasaweb.google.com/data/feed/api/user/" + "default"; public AlbumDirectoryTransaction(Publishing.RESTSupport.GoogleSession session) { @@ -491,7 +491,7 @@ internal class AlbumDirectoryTransaction : private class AlbumCreationTransaction : Publishing.RESTSupport.GooglePublisher.AuthenticatedTransaction { - private const string ENDPOINT_URL = "http://picasaweb.google.com/data/feed/api/user/" + + private const string ENDPOINT_URL = "https://picasaweb.google.com/data/feed/api/user/" + "default"; private const string ALBUM_ENTRY_TEMPLATE = "<?xml version='1.0' encoding='utf-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gphoto='http://schemas.google.com/photos/2007'><title type='text'>%s</title><gphoto:access>%s</gphoto:access><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'></category></entry>"; diff --git a/plugins/shotwell-publishing/YouTubePublishing.c b/plugins/shotwell-publishing/YouTubePublishing.c index 2d28be0..21d4ad9 100644 --- a/plugins/shotwell-publishing/YouTubePublishing.c +++ b/plugins/shotwell-publishing/YouTubePublishing.c @@ -376,7 +376,7 @@ static void publishing_you_tube_you_tube_publisher_real_do_logout (PublishingRES enum { PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_CHANNEL_DIRECTORY_TRANSACTION_DUMMY_PROPERTY }; -#define PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_CHANNEL_DIRECTORY_TRANSACTION_ENDPOINT_URL "http://gdata.youtube.com/feeds/users/default" +#define PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_CHANNEL_DIRECTORY_TRANSACTION_ENDPOINT_URL "https://gdata.youtube.com/feeds/users/default" static void publishing_you_tube_you_tube_publisher_finalize (GObject* obj); static gpointer publishing_you_tube_publishing_options_pane_privacy_description_ref (gpointer instance); static void publishing_you_tube_publishing_options_pane_privacy_description_unref (gpointer instance); @@ -414,7 +414,7 @@ GType publishing_you_tube_upload_transaction_get_type (void) G_GNUC_CONST; enum { PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_DUMMY_PROPERTY }; -#define PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_ENDPOINT_URL "http://uploads.gdata.youtube.com/feeds/api/users/default/uploads" +#define PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_ENDPOINT_URL "https://uploads.gdata.youtube.com/feeds/api/users/default/uploads" #define PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_UNLISTED_XML "<yt:accessControl action='list' permission='denied'/>" #define PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_PRIVATE_XML "<yt:private/>" #define PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_METADATA_TEMPLATE "<?xml version='1.0'?>\n" \ diff --git a/plugins/shotwell-publishing/YouTubePublishing.vala b/plugins/shotwell-publishing/YouTubePublishing.vala index 48241bd..bf2399a 100644 --- a/plugins/shotwell-publishing/YouTubePublishing.vala +++ b/plugins/shotwell-publishing/YouTubePublishing.vala @@ -104,7 +104,7 @@ private class PublishingParameters { public class YouTubePublisher : Publishing.RESTSupport.GooglePublisher { private class ChannelDirectoryTransaction : Publishing.RESTSupport.GooglePublisher.AuthenticatedTransaction { - private const string ENDPOINT_URL = "http://gdata.youtube.com/feeds/users/default"; + private const string ENDPOINT_URL = "https://gdata.youtube.com/feeds/users/default"; public ChannelDirectoryTransaction(Publishing.RESTSupport.GoogleSession session) { base(session, ENDPOINT_URL, Publishing.RESTSupport.HttpMethod.GET); @@ -518,7 +518,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, GLib.Object { } internal class UploadTransaction : Publishing.RESTSupport.GooglePublisher.AuthenticatedTransaction { - private const string ENDPOINT_URL = "http://uploads.gdata.youtube.com/feeds/api/users/default/uploads"; + private const string ENDPOINT_URL = "https://uploads.gdata.youtube.com/feeds/api/users/default/uploads"; private const string UNLISTED_XML = "<yt:accessControl action='list' permission='denied'/>"; private const string PRIVATE_XML = "<yt:private/>"; private const string METADATA_TEMPLATE ="""<?xml version='1.0'?> |