Skip to content

Commit

Permalink
Merge branch 'release/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Oct 19, 2020
2 parents 5726935 + 1e7dd1e commit 4000f45
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This plugins provides IMAP SASL XOAUTH2 authentication mechanism for mail receiv

Currently implemented for:

* [Google (Gmail)](https://developers.google.com/gmail/imap/xoauth2-protocol)
* [Microsoft Azure (Microsoft 365)](https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth)
* [Google (G Suite and Gmail)](https://developers.google.com/gmail/imap/xoauth2-protocol)
* [Microsoft (Office 365 via Azure AD)](https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth)

![Configuration page](docs/screenshots/config.png)
![mail receiver setup](docs/screenshots/config_oauth_mailcollector.png)
Expand Down
Binary file added locales/pt_BR.mo
Binary file not shown.
140 changes: 140 additions & 0 deletions locales/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Jean Vergaças <[email protected]>, 2020
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-14 13:17+0000\n"
"PO-Revision-Date: 2020-10-15 13:49+0000\n"
"Last-Translator: Jean Vergaças <[email protected]>, 2020\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/teclib/teams/28042/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: front/authorization.callback.php:39
#, php-format
msgid "Authorization failed with error: %s"
msgstr "Falha na autorização com erro: %s"

#: front/authorization.callback.php:47
msgid "Unable to verify authorization code"
msgstr "Não é possível verificar o código de autorização"

#: front/authorization.callback.php:49
msgid "Unable to get authorization code"
msgstr "Incapaz de obter código de autorização"

#: front/authorization.callback.php:51
msgid "Unable to save authorization code"
msgstr "Incapaz de salvar código de autorização"

#: inc/authorization.class.php:51
msgid "Oauth authorization"
msgid_plural "Oauth authorizations"
msgstr[0] "Autorização Oauth"
msgstr[1] "Autorizações Oauth"

#: inc/authorization.class.php:92
msgid "Create an authorization"
msgstr "Crie uma autorização"

#: inc/authorization.class.php:100
msgid "No authorizations."
msgstr "Sem autorizações."

#: inc/authorization.class.php:104
msgid "Expires at"
msgstr "Expira em"

#: inc/authorization.class.php:135
msgid "Delete"
msgstr "Excluir"

#: inc/mailcollectorfeature.class.php:360
#, php-format
msgid "Mail receiver \"%s\" has been deactivated."
msgstr "O receptor de e-mail \"%s\" foi desativado."

#: inc/mailcollectorfeature.class.php:423
msgid "No associated receivers."
msgstr "Sem receptores associados."

#: inc/mailcollectorfeature.class.php:426
msgid "Name"
msgstr "Nome"

#: inc/mailcollectorfeature.class.php:427
msgid "Connection string"
msgstr "String de conexão"

#: inc/mailcollectorfeature.class.php:428
msgid "Login"
msgstr "Login"

#: inc/mailcollectorfeature.class.php:429
msgid "Is active ?"
msgstr "Está ativo?"

#: inc/application.class.php:48
msgid "Oauth IMAP application"
msgid_plural "Oauth IMAP applications"
msgstr[0] "Aplicação Oauth IMAP"
msgstr[1] "Aplicações Oauth IMAP"

#: inc/application.class.php:86 inc/application.class.php:119
msgid "Oauth provider"
msgstr "Provedor Oauth"

#: inc/application.class.php:92 inc/application.class.php:128
msgid "Client ID"
msgstr "ID do Cliente"

#: inc/application.class.php:98
msgid "Client secret"
msgstr "Segredo do cliente"

#: inc/application.class.php:104 inc/application.class.php:136
msgid "Tenant ID"
msgstr "ID do Cliente"

#: inc/application.class.php:177
msgid "Developer help for this provider"
msgstr "Ajuda do desenvolvedor para este provedor"

#: inc/application.class.php:316
msgid "Callback url"
msgstr "Url de callback"

#: inc/application.class.php:317
msgid "copy it in the management console of provider"
msgstr "copiá-lo no console de gerenciamento do provedor"

#: inc/application.class.php:371
msgid "Name cannot be empty"
msgstr "O nome não pode ser vazio"

#: inc/application.class.php:377
msgid "Invalid provider"
msgstr "Provedor inválido"

#: setup.php:81
msgid "Oauth IMAP"
msgstr "Oauth IMAP"

#: setup.php:97
msgid "Run \"composer install --no-dev\" in the plugin directory."
msgstr "Execute \"composer install --no-dev\" na pasta do plugin."

#: ajax/dropdownAuthorization.php:44
msgid "Create authorization for another user"
msgstr "Criar autorização para outro usuário"
5 changes: 5 additions & 0 deletions oauthimap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ It permits emails fetching from G Suite and Azure AD mailboxes.
<author>TECLIB'</author>
</authors>
<versions>
<version>
<num>1.0.3</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/pluginsGLPI/oauthimap/releases/download/1.0.3/glpi-oauthimap-1.0.3.tar.bz2</download_url>
</version>
<version>
<num>1.0.2</num>
<compatibility>~9.5.0</compatibility>
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
--------------------------------------------------------------------------
*/

define('PLUGIN_OAUTHIMAP_VERSION', '1.0.2');
define('PLUGIN_OAUTHIMAP_VERSION', '1.0.3');

// Minimal GLPI version, inclusive
define('PLUGIN_OAUTHIMAP_MIN_GLPI', '9.5');
Expand Down

0 comments on commit 4000f45

Please sign in to comment.