From 0f8268c93e6210d368f9dcd1900274871a9eacdf Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 30 Apr 2017 09:16:55 +0200 Subject: Add client_credentials as grant_type Therefore, username and password are no longer needed Signed-off-by: Thomas Citharel Allow to have global clients, auth through direct token or auth code and bring scopes Signed-off-by: Thomas Citharel fix review Signed-off-by: Thomas Citharel remove redirect uri requirement on specific clients add back password and depreciate it enforce state Signed-off-by: Thomas Citharel Allow apps to register themselves A handful of changes Signed-off-by: Thomas Citharel change timeout values Signed-off-by: Thomas Citharel set access_token lifetime to 1 year and double for refresh_token Signed-off-by: Thomas Citharel --- .../Resources/translations/messages.da.yml | 99 +++++++++++----------- 1 file changed, 50 insertions(+), 49 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/translations/messages.da.yml') diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 02dd04f2..adf896ee 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml @@ -156,6 +156,7 @@ config: # and: 'One rule AND another' # matches: 'Tests that a subject is matches a search (case-insensitive).
Example: title matches "football"' # notmatches: 'Tests that a subject is not matches a search (case-insensitive).
Example: title notmatches "football"' + entry: page_titles: # unread: 'Unread entries' @@ -442,55 +443,55 @@ import: # description: 'This importer will import all your Instapaper articles. On the backup (https://pinboard.in/settings/backup) page, click on "JSON" in the "Bookmarks" section. A JSON file will be downloaded (like "pinboard_export").' # how_to: 'Please select your Pinboard export and click on the below button to upload and import it.' -developer: - # page_title: 'API clients management' - # welcome_message: 'Welcome to the wallabag API' - # documentation: 'Documentation' - # how_to_first_app: 'How to create my first application' - # full_documentation: 'View full API documentation' - # list_methods: 'List API methods' - # clients: - # title: 'Clients' - # create_new: 'Create a new client' - # existing_clients: - # title: 'Existing clients' - # field_id: 'Client ID' - # field_secret: 'Client secret' - # field_uris: 'Redirect URIs' - # field_grant_types: 'Grant type allowed' - # no_client: 'No client yet.' - # remove: - # warn_message_1: 'You have the ability to remove this client. This action is IRREVERSIBLE !' - # warn_message_2: "If you remove it, every app configured with that client won't be able to auth on your wallabag." - # action: 'Remove this client' - # client: - # page_title: 'API clients management > New client' - # page_description: 'You are about to create a new client. Please fill the field below for the redirect URI of your application.' - # form: - # name_label: 'Name of the client' - # redirect_uris_label: 'Redirect URIs' - # save_label: 'Create a new client' - # action_back: 'Back' - # client_parameter: - # page_title: 'API clients management > Client parameters' - # page_description: 'Here are your client parameters.' - # field_name: 'Client name' - # field_id: 'Client ID' - # field_secret: 'Client secret' - # back: 'Back' - # read_howto: 'Read the howto "Create my first application"' - # howto: - # page_title: 'Developer > How to create my first application' - # description: - # paragraph_1: 'The following commands make use of the HTTPie library. Make sure it is installed on your system before using it.' - # paragraph_2: 'You need a token to communicate between your 3rd application and wallabag API.' - # paragraph_3: 'To create this token, you need to create a new client.' - # paragraph_4: 'Now, create your token (replace client_id, client_secret, username and password with the good values):' - # paragraph_5: 'The API will return a response like this:' - # paragraph_6: 'The access_token is useful to do a call to the API endpoint. For example:' - # paragraph_7: 'This call will return all the entries for your user.' - # paragraph_8: 'If you want to see all the API endpoints, you can have a look to our API documentation.' - # back: 'Back' +apps: + # page_title: 'Apps' + # allow: + # title: 'A new application would like to connect to your account' + # permissions: + # read: + # label: 'Read your data' + # desc: '%name% will be able to access the list and contents of your entries, tags and annotations.' + # write: + # label: 'Edit your data' + # desc: '%name% will be able to edit and manage (including deleting) your entries, tags and annotations.' + # user: + # label: 'Edit your user settings' + # desc: '%name% will be able to manage your user account.' + #featured: + # title: 'Featured apps' + #list: + # title: 'Authorized apps' + #old_clients: + # create_new: 'Create a new client' + # title: 'Old clients (depreciated)' + # list: 'Old clients list' + # field_id: 'Client ID' + # field_secret: 'Client secret' + # no_client: 'No client yet.' + #remove: + # warn_message_1: 'You have the ability to remove the client %name%. This action is IRREVERSIBLE !' + # warn_message_2: "If you remove it, every app configured with that client won't be able to auth on your wallabag." + # action: 'Remove the client %name%' + #old_client: + # page_title: 'Apps > New client' + # page_description: 'You are about to create a new client. Please fill the field below for the redirect URI of your application.' + # form: + # name_label: 'Name of the client' + # save_label: 'Create a new client' + # action_back: 'Back' + # parameters: + # page_title: 'Apps > Client parameters' + # page_description: 'Here are your client parameters.' + # field_name: 'Client name' + # field_id: 'Client ID' + # field_secret: 'Client secret' + # back: 'Back' + # app: + # created_at: 'Created at: %date%' + # documentation: + # title: 'Documentation' + # full_documentation: 'Full documentation' + # list_methods: 'List API methods' user: # page_title: Users management -- cgit v1.2.3