From ccdfa133f9cca1357b03828ad2b73c20b676f331 Mon Sep 17 00:00:00 2001 From: sorenabell Date: Tue, 18 Oct 2016 16:33:40 +0300 Subject: [PATCH] Docs: added authentication info --- docs/source/authentication.rst | 13 ++++++ docs/source/index.rst | 1 + .../locale/uk/LC_MESSAGES/authentication.po | 39 ++++++++++++++++++ docs/source/locale/uk/LC_MESSAGES/index.mo | Bin 1386 -> 1515 bytes docs/source/locale/uk/LC_MESSAGES/index.po | 6 --- docs/source/locale/uk/LC_MESSAGES/overview.mo | Bin 2410 -> 2539 bytes docs/source/locale/uk/LC_MESSAGES/overview.po | 9 ---- docs/source/locale/uk/LC_MESSAGES/tutorial.mo | Bin 1000 -> 1129 bytes docs/source/locale/uk/LC_MESSAGES/tutorial.po | 7 ---- 9 files changed, 53 insertions(+), 22 deletions(-) create mode 100644 docs/source/authentication.rst create mode 100644 docs/source/locale/uk/LC_MESSAGES/authentication.po diff --git a/docs/source/authentication.rst b/docs/source/authentication.rst new file mode 100644 index 0000000..7262511 --- /dev/null +++ b/docs/source/authentication.rst @@ -0,0 +1,13 @@ +.. _authentication: + +Authentication +============== + +For Document Service authentication **Basic Authenication scheme** (see :rfc:`2617#section-2`) is used. + +In this scheme: + + * **Username** is broker's id + + * **Password** is API key for Document Service + diff --git a/docs/source/index.rst b/docs/source/index.rst index 2907e1a..ed2fd4f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -22,6 +22,7 @@ Contents: :maxdepth: 2 overview + authentication tutorial Indices and tables diff --git a/docs/source/locale/uk/LC_MESSAGES/authentication.po b/docs/source/locale/uk/LC_MESSAGES/authentication.po new file mode 100644 index 0000000..0a3b866 --- /dev/null +++ b/docs/source/locale/uk/LC_MESSAGES/authentication.po @@ -0,0 +1,39 @@ +# +msgid "" +msgstr "" +"Project-Id-Version: openprocurement.documentservice 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-10-18 16:20+0300\n" +"PO-Revision-Date: 2016-10-18 16:29+0200\n" +"Last-Translator: Zoriana Zaiats \n" +"Language-Team: Ukrainian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: uk\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<" +"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 2.0\n" + +msgid "Authentication" +msgstr "Аутентифікація" + +msgid "" +"For Document Service authentication **Basic Authenication scheme** (see " +":rfc:`2617#section-2`) is used." +msgstr "" +"Для аутентифікації Document Service використовується **схема базової" +" аутентифікації** (див. " +":rfc:`2617#section-2`)." + +msgid "In this scheme:" +msgstr "У цій схемі:" + +msgid "**Username** is broker's id" +msgstr "**Ім'я користувача** - ідентифікатор майданчика" + +msgid "**Password** is API key for Document Service" +msgstr "**Пароль** - API ключ для Document Service" + + diff --git a/docs/source/locale/uk/LC_MESSAGES/index.mo b/docs/source/locale/uk/LC_MESSAGES/index.mo index bfcadf3f5653724823ed49869ce60f921c83744f..fec69e5a07213fd320c932ebaa7493484ba41bcf 100644 GIT binary patch delta 206 zcmaFG^_qJ^h$$lz1H&Ii1_pix28Msk3=F(LnvaEnfg4E60BI#4tpTJRfoi;gbS#kH zyRkEbiN#8xG<)(DCX@ProYJDi99_5kqTFIDg}eeVx7gO$S^>he)yPvdG_bWbR8Uh> z05J^|Z4C_->=g_YfXabYP*VfZ0#sw53Djc<)MKQ{?wfEt>!U delta 80 zcmaFO{fcWsh(!Y<1H&I6=4W7FsAXng;04mXK$;s!&j!*;Kzcclb_A+91*Btvd>&Q? XhRJ`K=20) ? 1 : 2);\n" "X-Generator: Lokalize 2.0\n" -#: ../../source/index.rst:12 msgid "Welcome to openprocurement.documentservice's documentation!" msgstr "Вітаємо на сайті документації по openprocurement.documentservice!" -#: ../../source/index.rst:14 msgid "" "Please report any problems or suggestions for improvement either via the " "`mailing list `_" @@ -32,19 +30,15 @@ msgstr "" "через `issue tracker " "`_." -#: ../../source/index.rst:19 msgid "Contents:" msgstr "Зміст:" -#: ../../source/index.rst:27 msgid "Indices and tables" msgstr "Індекси та таблиці" -#: ../../source/index.rst:29 msgid ":ref:`genindex`" msgstr ":ref:`genindex`" -#: ../../source/index.rst:30 msgid ":ref:`search`" msgstr ":ref:`search`" diff --git a/docs/source/locale/uk/LC_MESSAGES/overview.mo b/docs/source/locale/uk/LC_MESSAGES/overview.mo index df39650b38247ded61a0ce5d20b6b1453f59e4fa..cd871016b4bfb102e4246f0435d4bb2cbebe5794 100644 GIT binary patch delta 230 zcmaDQ^jdgAjxQq<1H&3-1_oOO28MO43=CXA`VEkt2Bg0O>B&I4kBxyL9!M*(Gce2s z(oI0x3rNdxFfbGY=}aKa%gDfRcjL}0%q&(4rP-5PSWM~za!QL5b9CMEi*k#t6!Hqd z++tf}YXu0?RwGZ<(7@K#P(e*i0mL*=v^6wTuvaip04fLa?QD%;QZ}|GASPIcfsLVo lLQM@s3s8-LCQy$dP>+!&m#?RA0i=0>=EQ8=d4+lMEEes}maLmt00i|Ay8r+H diff --git a/docs/source/locale/uk/LC_MESSAGES/overview.po b/docs/source/locale/uk/LC_MESSAGES/overview.po index b902e89..1cc3e9e 100644 --- a/docs/source/locale/uk/LC_MESSAGES/overview.po +++ b/docs/source/locale/uk/LC_MESSAGES/overview.po @@ -16,20 +16,16 @@ msgstr "" "=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 2.0\n" -#: ../../source/overview.rst:2 msgid "Overview" msgstr "Огляд" -#: ../../source/overview.rst:5 msgid "Documentation of related packages" msgstr "Документація пов’язаних пакетів" -#: ../../source/overview.rst:7 msgid "`OpenProcurement API `_" msgstr "" "`OpenProcurement API `_" -#: ../../source/overview.rst:9 msgid "" "`Open tender procedure (OpenUA) `_" @@ -37,7 +33,6 @@ msgstr "" "`Відкриті торги (OpenUA) `_" -#: ../../source/overview.rst:11 msgid "" "`Open tender procedure with publication in English (OpenEU) " "`_" @@ -45,7 +40,6 @@ msgstr "" "`Відкриті торги з публікацією англійською мовою (OpenEU) `_" -#: ../../source/overview.rst:13 msgid "" "`Reporting, negotiation procurement procedure and negotiation procedure " "for the urgent need `_" -#: ../../source/overview.rst:15 msgid "" "`Defense open tender `_" @@ -63,7 +56,6 @@ msgstr "" "`Процедура відкритих торгів для оборонних цілей `_" -#: ../../source/overview.rst:17 msgid "" "`Contracting API interface to OpenProcurement database " "`_" @@ -71,7 +63,6 @@ msgstr "" "`API для реєстрації даних пов’язаних з договором `_" -#: ../../source/overview.rst:19 msgid "" "`Relocation API `_" diff --git a/docs/source/locale/uk/LC_MESSAGES/tutorial.mo b/docs/source/locale/uk/LC_MESSAGES/tutorial.mo index 5bd0d3287211c95545ee5b68c78bd9adbf33377e..b528b653abedd78c2e1a3b8321693977252c7d1b 100644 GIT binary patch delta 215 zcmaFC{*q%tj2$Zz1A{6f5Hm0^Xfrb~xC7}xAT0o-XF~a_fV3-+{|QKI0BH*r1_pK@ zoyf9rRskc6l|pIuWJV^F`hc9$qQo3sxBQ~qVk?Eb0x-AO*4SDB!nD=MQ#CZOwKY^w zQ&Rvj4HRt+4HfJa3>1LMfqXk#BbbzptqF(;)?r{{XrNG21JMFhW1tDtV+hn^q{-#$ T>FcT+mReMtnZMbAX$2zygYPaG delta 82 zcmaFK@q&Fqj9m*O1A{6EGcYi$Vq#!$2htaSv;dHnV21EDfwU`-UkIc%fb@1C%?_j= TFmIeyz&Kf)Nqh4)rp=514d@MZ diff --git a/docs/source/locale/uk/LC_MESSAGES/tutorial.po b/docs/source/locale/uk/LC_MESSAGES/tutorial.po index 1f2a1a9..3285adf 100644 --- a/docs/source/locale/uk/LC_MESSAGES/tutorial.po +++ b/docs/source/locale/uk/LC_MESSAGES/tutorial.po @@ -16,31 +16,24 @@ msgstr "" "=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 2.0\n" -#: ../../source/tutorial.rst:4 msgid "Tutorial" msgstr "Туторіал" -#: ../../source/tutorial.rst:9 msgid "Upload document with registration" msgstr "Завантаження документа з реєстрацією" -#: ../../source/tutorial.rst:14 msgid "Register document upload:" msgstr "Зареєструвати завантаження документа:" -#: ../../source/tutorial.rst:19 msgid "or:" msgstr "або:" -#: ../../source/tutorial.rst:27 msgid "Upload document:" msgstr "Завантажити документ:" -#: ../../source/tutorial.rst:35 msgid "Upload document w/o registration" msgstr "Завантаження документа без реєстрації" -#: ../../source/tutorial.rst:43 msgid "Get document" msgstr "Отримання документа"