Skip to content

Commit

Permalink
Read s3 creds for upload from URL in private network (VPN) - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Puchkov committed Nov 18, 2020
1 parent 50d5afe commit deee448
Show file tree
Hide file tree
Showing 26 changed files with 401 additions and 492 deletions.
30 changes: 14 additions & 16 deletions data/translations/Internationalization_ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ Press Space to open the side panel.</source>
<context>
<name>ImgS3Uploader</name>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Upload image to S3</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -532,69 +532,67 @@ Press Space to open the side panel.</source>
<translation type="obsolete">S&apos;està pujant la imatge</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="169"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Uploading Image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Delete image from S3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Deleting image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="108"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="112"/>
<source>URL copied to clipboard.</source>
<translation type="unfinished">L&apos;URL s&apos;ha copiat al porta-retalls.</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="134"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<source>Unable to remove screenshot from the remote storage.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="136"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="140"/>
<source>Network error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="142"/>
<source>Possibly it doesn&apos;t exist anymore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="143"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<source>Do you want to remove screenshot from local history anyway?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="151"/>
<source>Remove screenshot from history?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="164"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="191"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="380"/>
<source>Retrieving configuration file with s3 creds...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="184"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="168"/>
<source>S3 Creds URL is not found in your configuration file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="187"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="376"/>
<source>Error</source>
<translation type="unfinished">Error</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="188"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="372"/>
<source>Unable to get s3 credentials, please check your VPN connection and try again</source>
<translation type="unfinished"></translation>
</message>
Expand Down
30 changes: 14 additions & 16 deletions data/translations/Internationalization_cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ Stiskněte mezerník pro otevření postranního panelu.</translation>
<context>
<name>ImgS3Uploader</name>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Upload image to S3</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -539,69 +539,67 @@ Stiskněte mezerník pro otevření postranního panelu.</translation>
<translation type="obsolete">Nahrává se obrázek</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="169"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Uploading Image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Delete image from S3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Deleting image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="108"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="112"/>
<source>URL copied to clipboard.</source>
<translation type="unfinished">Adresa (URL) zkopírována do schránky.</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="134"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<source>Unable to remove screenshot from the remote storage.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="136"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="140"/>
<source>Network error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="142"/>
<source>Possibly it doesn&apos;t exist anymore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="143"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<source>Do you want to remove screenshot from local history anyway?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="151"/>
<source>Remove screenshot from history?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="164"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="191"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="380"/>
<source>Retrieving configuration file with s3 creds...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="184"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="168"/>
<source>S3 Creds URL is not found in your configuration file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="187"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="376"/>
<source>Error</source>
<translation type="unfinished">Chyba</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="188"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="372"/>
<source>Unable to get s3 credentials, please check your VPN connection and try again</source>
<translation type="unfinished"></translation>
</message>
Expand Down
30 changes: 14 additions & 16 deletions data/translations/Internationalization_de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ Drücke die Leertaste um das Seitenmenü zu öffnen.</translation>
<context>
<name>ImgS3Uploader</name>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Upload image to S3</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -535,69 +535,67 @@ Drücke die Leertaste um das Seitenmenü zu öffnen.</translation>
<translation type="obsolete">Bild hochladen</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="169"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Uploading Image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Delete image from S3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Deleting image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="108"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="112"/>
<source>URL copied to clipboard.</source>
<translation type="unfinished">URL kopiert.</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="134"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<source>Unable to remove screenshot from the remote storage.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="136"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="140"/>
<source>Network error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="142"/>
<source>Possibly it doesn&apos;t exist anymore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="143"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<source>Do you want to remove screenshot from local history anyway?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="151"/>
<source>Remove screenshot from history?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="164"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="191"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="380"/>
<source>Retrieving configuration file with s3 creds...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="184"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="168"/>
<source>S3 Creds URL is not found in your configuration file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="187"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="376"/>
<source>Error</source>
<translation type="unfinished">Fehler</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="188"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="372"/>
<source>Unable to get s3 credentials, please check your VPN connection and try again</source>
<translation type="unfinished"></translation>
</message>
Expand Down
30 changes: 14 additions & 16 deletions data/translations/Internationalization_es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ Presiona Espacio para abrir el panel lateral.</translation>
<context>
<name>ImgS3Uploader</name>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Upload image to S3</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -535,69 +535,67 @@ Presiona Espacio para abrir el panel lateral.</translation>
<translation type="obsolete">Subiendo Imagen</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="50"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="169"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="49"/>
<source>Uploading Image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Delete image from S3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="56"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="55"/>
<source>Deleting image...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="108"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="112"/>
<source>URL copied to clipboard.</source>
<translation type="unfinished">URL copiada al portapapeles.</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="134"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<source>Unable to remove screenshot from the remote storage.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="136"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="140"/>
<source>Network error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="138"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="142"/>
<source>Possibly it doesn&apos;t exist anymore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="143"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<source>Do you want to remove screenshot from local history anyway?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="147"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="151"/>
<source>Remove screenshot from history?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="164"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="191"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="380"/>
<source>Retrieving configuration file with s3 creds...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="184"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="168"/>
<source>S3 Creds URL is not found in your configuration file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="187"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="376"/>
<source>Error</source>
<translation type="unfinished">Error</translation>
</message>
<message>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="188"/>
<location filename="../../src/tools/storage/s3/imgs3uploader.cpp" line="372"/>
<source>Unable to get s3 credentials, please check your VPN connection and try again</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit deee448

Please sign in to comment.