summaryrefslogtreecommitdiff
path: root/docs/reference
Commit message (Collapse)AuthorAgeFilesLines
* remove deprecated proxy_uri propertiesDaniel Kolesa2021-06-171-2/+0
|
* Merge branch 'drop-deprecated-apis' into 'master'Philip Withnall2021-06-172-35/+0
|\ | | | | | | | | core: Drop ClientLogin authorizer See merge request GNOME/libgdata!40
| * core: Drop ClientLogin authorizerPhilip Withnall2021-06-172-35/+0
| | | | | | | | | | | | | | | | | | | | | | It’s been deprecated by Google for a number of years, and is completely unsupported in all of their newer REST APIs. Its main flaws are that it requires the user’s password to be passed to potentially untrusted code (normalising the user typing their password into any old text entry), and that it can’t support the interactive authentication required for 2FA. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* | remove deprecated youtube apiDaniel Kolesa2021-06-172-53/+0
|/
* Merge branch 'remove-contacts' into 'master'Philip Withnall2021-06-172-212/+0
|\ | | | | | | | | remove deprecated contacts service See merge request GNOME/libgdata!39
| * remove deprecated contacts serviceDaniel Kolesa2021-06-172-212/+0
| |
* | Merge branch 'remove-freebase' into 'master'Philip Withnall2021-06-173-204/+0
|\ \ | |/ |/| | | | | remove deprecated freebase service See merge request GNOME/libgdata!33
| * remove deprecated freebase serviceDaniel Kolesa2021-06-173-204/+0
| |
* | Merge branch 'remove-deprecated-documents' into 'master'Philip Withnall2021-06-171-2/+0
|\ \ | | | | | | | | | | | | remove deprecated documents service api See merge request GNOME/libgdata!37
| * | remove deprecated documents service apiDaniel Kolesa2021-06-171-2/+0
| |/
* | Merge branch 'remove-deprecated-calendar' into 'master'Philip Withnall2021-06-171-12/+0
|\ \ | | | | | | | | | | | | remove deprecated calendar service apis See merge request GNOME/libgdata!38
| * | remove deprecated calendar service apisDaniel Kolesa2021-06-171-12/+0
| |/
* | remove deprecated oauth1 authorizerDaniel Kolesa2021-06-172-35/+0
|/
* documents: Add gdata_documents_entry_can_editwip/oholy/documents-shared-drives-supportOndrej Holy2021-02-111-0/+1
| | | | | | | | | | Entries on Shared Drives, or Shared with me are not always editable. Let's add gdata_documents_entry_can_edit to allow GVfsBackendGoogle to set file permissions accordingly. It would be nice to make also canDelete, canRename and canListChildren available, but it would require libgdata port to Drive API v3 unfortunatelly. Relates: https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/114
* documents: Add gdata_documents_entry_get_shared_with_me_dateOndrej Holy2021-02-111-0/+1
| | | | | | | | Let's make available the SharedWithMeDate property to make implementation of the Shared with me folder for GVfsBackendGoogle easier. Relates: https://gitlab.gnome.org/GNOME/gvfs/-/issues/444 Relates: https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/114
* documents: Add Shared Drives supportOndrej Holy2021-02-111-0/+38
| | | | | | | | | | | | | | It seems that the existing documents APIs works nicely with the files on Shared Drives (formerly Team Drives), although it is possible that some small changes will be needed to handle differences: https://developers.google.com/drive/api/v2/shared-drives-diffs However, the main problem is that there is no way currently to get the list of Shared Drives IDs and their names. Let's add new APIs for it which will be consequently used by GVfs. Relates: https://gitlab.gnome.org/GNOME/gvfs/-/issues/377 Fixes: https://gitlab.gnome.org/GNOME/libgdata/-/issues/25
* all: Fix various typos and incorrect terminologyPhilip Withnall2020-06-181-1/+1
| | | | | | | | | | | | | Done using: ``` codespell \ --builtin clear,rare,usage \ --skip './po/*' --skip './help/*/*.po' --skip './.git/*' --skip './NEWS*' \ --write-changes . ``` and then some manual checking and editing. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* docs: Change next version label to 0.17.11Philip Withnall2019-08-211-3/+3
| | | | | | We’re not ready to release 0.18.0 yet. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* docs: Added "Index of new symbols" section for 0.18.0 API versionMayank Sharma2019-07-301-0/+4
| | | | | | Various new symbols have been added in 0.18.0 and these symbols need to be shown in documentation under a new section. The gdata-docs.xml file is updated in this commit to reflect upon these new symbols.
* documents: Added "properties" list to GDataDocumentsEntryMayank Sharma2019-07-291-0/+3
| | | | | | | | | | | The parse_json and get_json functions have been augmented to support parsing the "properties" list on a file/folder's metadata. The "properties" list of GDataDocumentsEntry corresponds to the "properties" list on a file/folder object's metadata. This list stores all the public/private custom properties and is writable. The "properties" list has elements of of type GDataDocumentsProperty, and functions to search/remove/add such properties have also been added.
* documents: Added GDataDocumentsProperty to support Property ResourceMayank Sharma2019-07-292-0/+27
| | | | | | | | | | | | | Google Drive API (v2) supports custom file properties on file/folder metadata and allows to store key-value pairs there. We add GDataDocumentsProperty which corresponds to a Property Resource, and provides functionality to create public/private custom property. The documentation has also been updated (a new section added for GDataDocumentsProperty). GDataDocumentsProperty class will later be used to add a list of "properties" on GDataDocumentsEntry, accessible through the file/folder metadata.
* Release version 0.17.100.17.10Philip Withnall2019-06-251-0/+4
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* build: Drop autotools build systemPhilip Withnall2019-06-251-119/+0
| | | | | | | | | We’re using Meson now! This also means we drop the ChangeLog; use `git log` now. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #27
* build: Port from Autotools to mesonMayank Sharma2019-06-255-20/+120
| | | | | | | | Automake 1.16.1 has issues with generating a valid Makefile. Since, libgdata is one of the core-deps of GNOME, it should be ported from Autotools + make to meson + ninja. Significant contributions from both Iñigo Martínez and Mayank Sharma.
* tasks: Turn 'position' and 'parent' into writable propertiesGeorges Basile Stavracas Neto2018-09-181-0/+2
| | | | | | | | This will be used by GNOME To Do through Evolution-Data-Server to manipulate the position of the task in the list. Additional test checks were added to ensure the propeties behave as expected.
* Release version 0.17.90.17.9Philip Withnall2017-08-231-0/+4
| | | | Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* docs: Add GDataDocumentsMetadata to the documentation indexPhilip Withnall2017-08-232-2/+3
| | | | | | | Also relabel the ‘Documents API’ to ‘Documents/Drive API’ to make it a bit clearer that it now covers Google Drive. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* Add GDataDocumentsMetadata for quota informationMichael Terry2017-08-081-0/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=785885
* Release version 0.17.70.17.7Philip Withnall2017-03-051-0/+4
|
* core: Support pagination using page tokens from JSONPhilip Withnall2017-02-241-0/+1
| | | | | | | | | | | | | | | Based on a patch by Milan Crha <mcrha@redhat.com>. This reworks how pagination is implemented so that multiple pagination mechanisms are supported explicitly, making the code a lot clearer. A lot of the new services use pageToken parameters, which we did not previously support — so this fixes support for pagination in the Google Tasks service, for example. This also means that we can drop the hacky pagination support from GDataDocumentsService. https://bugzilla.gnome.org/show_bug.cgi?id=775813
* core: Add a public wrapper for GDataParsable:get_content_typeDebarshi Ray2017-01-311-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777980
* docs: Use gtk-doc entity functionality to drop version.xmlPhilip Withnall2017-01-083-6/+5
| | | | | | | gtk-doc can now generate an entities file to do this for us. This bumps our gtk-doc dependency to 1.25, which was released in March 2016.
* documents: add file-size propertyDavid Newgas2016-11-061-0/+1
| | | | | | | | This property applies to all non-doc/sheet/slide/form documents. It is similar but distinct from the quota-used property, which is not set if the file's size isn't counting against the current user's quota. https://bugzilla.gnome.org/show_bug.cgi?id=773057
* docs: Expand privacy discussion in the libgdata documentationPhilip Withnall2016-09-201-0/+11
| | | | | Mention HTTP versus HTTPS, and the need to encrypt files on disk if you are handling the user’s data (which you are with Google Drive).
* Release version 0.17.2LIBGDATA_0_17_2Philip Withnall2015-07-101-0/+4
|
* docs: Add gdata-documents-utils.h to IGNORE_HFILESPhilip Withnall2015-07-081-0/+1
| | | | It’s a private header and shouldn’t be in the documentation.
* docs: Fix multiply-defined index IDsPhilip Withnall2015-07-021-2/+2
| | | | | | The api-index-full.xml and api-index-deprecated.xml files already define those two IDs, so we can’t define them again in gdata-docs.xml. Use role instead, whatever that is.
* core: Add GDataOAuth2Authorizer:refresh-token APIPhilip Withnall2015-06-161-0/+2
| | | | | | | | | | | | | Add new API to allow the refresh token from an OAuth 2 authorizer to be stored by an application and restored into a new GDataOAuth2Authorizer instance (a cold start). This adds the following new API: • GDataOAuth2Authorizer:refresh-token • gdata_oauth2_authorizer_dup_refresh_token() • gdata_oauth2_authorizer_set_refresh_token() It does not add any new tests. https://bugzilla.gnome.org/show_bug.cgi?id=750746
* documents: Add support for editing ACLs using Drive v2Debarshi Ray2015-06-102-0/+19
| | | | | | | | | | | | | | | A new sub-class was introduced to set JSON as the content-type for Drive v2. It was a good opportunity to move the Drive-specific JSON parsing code from the base class. New API added: • GDataDocumentsAccessRule This new class must be used in place of GDataAccessRule for any interactions with the Drive API. This is essentially a soft API break, but it’s unavoidable. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* calendar: Re-enable support for ACLs with version 3 of the APIPhilip Withnall2015-05-272-5/+24
| | | | | | | | | | | | This was non-trivial. New API added: • GDataCalendarAccessRule Due to how this new class overrides GDataAccessRule, it must be used in place of GDataAccessRule for any interactions with the Calendar API. This is essentially a soft API break for anyone who uses calendars. It’s unavoidable. https://bugzilla.gnome.org/show_bug.cgi?id=664353
* calendar: Port to the Calendar API version 3Philip Withnall2015-05-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Deprecated API: • GDataCalendarFeed:timezone, gdata_calendar_feed_get_timezone() • GDataCalendarFeed:times-cleaned, gdata_calendar_feed_get_times_cleaned() • GDataBatchable implementation in GDataCalendarService • gdata_calendar_service_insert_event(), gdata_calendar_service_insert_event_async() • GDataCalendarCalendar:times-cleaned, gdata_calendar_calendar_get_times_cleaned() • GDataCalendarCalendar:edited, gdata_calendar_calendar_get_edited() API changes: • GDataBatchable implementation in GDataCalendarService will now always fail • ACLs are temporarily not supported; support for them will be re-added in future when they have been ported to the new API • Add gdata_calendar_service_insert_calendar_event(), gdata_calendar_service_insert_calendar_event_async() This includes a partial update of the unit tests, but most of them have been disabled pending updates. https://bugzilla.gnome.org/show_bug.cgi?id=664353
* Release version 0.17.0LIBGDATA_0_17_0Philip Withnall2015-04-241-0/+4
|
* docs: Add missing Freebase symbol to sections.txtPhilip Withnall2015-04-241-0/+1
|
* youtube: Port to the YouTube API version 3Philip Withnall2015-04-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecated API: • GDataYouTubeQuery:format, gdata_youtube_query_get_format(), gdata_youtube_query_set_format() • GDataYouTubeQuery:has-location • GDataYouTubeQuery:language, gdata_youtube_query_get_language(), gdata_youtube_query_set_language() • GDataYouTubeQuery:sort-order, gdata_youtube_query_get_sort_order(), gdata_youtube_query_set_sort_order() • GDataYouTubeQuery:uploader, gdata_youtube_query_get_uploader(), gdata_youtube_query_set_uploader() • GDataYouTubeSortOrder • GDataYouTubeUploader • GDataYouTubeContent • GDataYouTubeFormat • GDataYouTubeVideo:video-id, gdata_youtube_video_get_video_id() • gdata_youtube_video_look_up_content() (use gdata_youtube_video_get_player_uri() instead) • GDATA_YOUTUBE_RATING_TYPE_SIMPLE • GDataYouTubeCredit, GDATA_YOUTUBE_CREDIT_ENTITY_PARTNER • GDataYouTubeVideo:credit, gdata_youtube_video_get_credit() • GDataYouTubeVideo:is-draft, gdata_youtube_video_is_draft(), gdata_youtube_video_set_is_draft() • GDATA_YOUTUBE_*_FEED except GDATA_YOUTUBE_MOST_POPULAR_FEED (all others have been deprecated online and will transparently return the most popular videos from the past 24 hours) API changes: • GDataYouTubeQuery:restriction no longer accepts IP addresses • All GDataCommentable functionality on GDataYouTubeVideo is disabled at runtime until the v3 YouTube API for comments is finished online • Not all properties of a GDataYouTubeVideo may be retrieved when doing searches, retrieving related videos, or listing standard feeds — to guarantee getting all properties, use gdata_service_query_single_entry() for the video in question; common properties such as title, description, player URI and thumbnails will always be retrieved Internally, the GDataYouTubeControl and GDataYouTubeGroup APIs have been removed, but they were never visible publicly, so this is not an API break. Due to the transition from v2 to v3 of the YouTube API, your client’s developer key may stop working. Refresh it here: https://developers.google.com/youtube/registering_an_application https://bugzilla.gnome.org/show_bug.cgi?id=687597
* youtube: Add a GDataYouTubeFeed helper class for parsing feedsPhilip Withnall2015-04-222-0/+18
| | | | | | | | | | | | This parses YouTube-specific properties of the feed — specifically, the total-results and items-per-page, which were previously handled in a service-agnostic manner by GDataFeed, but YouTube doesn’t conform to that. This adds the following new API: • GDataYouTubeFeed https://bugzilla.gnome.org/show_bug.cgi?id=687597
* atom: Add macros for shared and viewedDebarshi Ray2015-04-131-0/+2
| | | | | | | | | Having pre-defined and documented macros demystifies these strange URL-like strings for the application developer. This adds the following new API: • GDATA_CATEGORY_SCHEMA_LABELS_SHARED • GDATA_CATEGORY_SCHEMA_LABELS_VIEWED
* freebase: Add GType for GDataFreebaseSearchResultItemCarlos Garnacho2014-12-231-0/+1
| | | | | | | | Making it a boxed type makes it friendly to bindings, as there's some more embedded knowledge about how to deal with this type memory-wise. https://bugzilla.gnome.org/show_bug.cgi?id=737936
* core: Add a GDataOAuth2Authorizer for OAuth 2.0 supportPhilip Withnall2014-09-212-0/+35
| | | | | | | | | | | | | | | | | This adds a new GDataAuthorizer subclass to support OAuth 2.0 authorisation, which is needed for the Google Tasks unit tests. This includes support for all Google OAuth 2.0 features (note that Google’s implementation of OAuth 2.0 is not entirely standard, so this OAuth 2.0 authoriser cannot be used outside of Google’s services). It includes full unit tests too. New API: • GDATA_OAUTH2_REDIRECT_URI_OOB • GDATA_OAUTH2_REDIRECT_URI_OOB_AUTO • GDataOAuth2Authorizer https://bugzilla.gnome.org/show_bug.cgi?id=646285
* Release version 0.16.0LIBGDATA_0_16_0Philip Withnall2014-09-181-0/+4
|
* docs: Remove unnecessary clean rules from documentation Makefile.amPhilip Withnall2014-09-181-10/+0
| | | | These are now correctly included in gtk-doc.make.