From a9763c811ce8a32b250dc3bfc1d7416a84471eec Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 8 Aug 2021 08:56:35 +0200 Subject: [PATCH] Cleanup --- tools/Crowdin-Android-Importer.patch | 29 ---------------- tools/crowdin.sh | 37 -------------------- tools/zoho.log | 50 ---------------------------- 3 files changed, 116 deletions(-) delete mode 100644 tools/Crowdin-Android-Importer.patch delete mode 100644 tools/crowdin.sh delete mode 100644 tools/zoho.log diff --git a/tools/Crowdin-Android-Importer.patch b/tools/Crowdin-Android-Importer.patch deleted file mode 100644 index e0eeebd35a..0000000000 --- a/tools/Crowdin-Android-Importer.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/crowdin.py b/crowdin.py -old mode 100755 -new mode 100644 -diff --git a/helper.py b/helper.py -index d3a57c9..7ef7d14 100644 ---- a/helper.py -+++ b/helper.py -@@ -109,8 +109,12 @@ def GetResDirectory(path): - - - def GetTargetStringsXml(targetResDirectory, langCode): -- country = langCode[0:2] -- variant = langCode[3:] -+ if langCode == 'fil': -+ country = 'fil' -+ variant = '' -+ else: -+ country = langCode[0:2] -+ variant = langCode[3:] - if variant is not None and len(variant) > 0: - variant = "-r" + variant - -@@ -127,4 +131,4 @@ def IsSingleFolderUpdate(path): - def IsDefaultStringsXml(path): - if "res/values/strings.xml" in path: - return True -- return False -\ No newline at end of file -+ return False diff --git a/tools/crowdin.sh b/tools/crowdin.sh deleted file mode 100644 index b5432d251d..0000000000 --- a/tools/crowdin.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -. tools/config.sh - -#https://github.com/mendhak/Crowdin-Android-Importer -#git clone https://github.com/mendhak/Crowdin-Android-Importer.git -#sudo apt-get install python python-pip -#sudo apt-get install libssl-dev libcurl4-openssl-dev -#pip install pycurl - -rm -R ${project_dir}/app/src/main/res/values-iw/ -rm -R ${project_dir}/app/src/main/res/values-ar-rBH/ -rm -R ${project_dir}/app/src/main/res/values-ar-rEG/ -rm -R ${project_dir}/app/src/main/res/values-ar-rSA/ -rm -R ${project_dir}/app/src/main/res/values-ar-rYE/ -rm -R ${project_dir}/app/src/main/res/values-fi* -rm -R ${project_dir}/app/src/main/res/values-nb/ - -python ${importer_dir}/crowdin.py --p=app/src/main -a=get -i open-source-email -k ${api_key} - -mkdir -p ${project_dir}/app/src/main/res/values-iw/ -mkdir -p ${project_dir}/app/src/main/res/values-ar-rBH/ -mkdir -p ${project_dir}/app/src/main/res/values-ar-rEG/ -mkdir -p ${project_dir}/app/src/main/res/values-ar-rSA/ -mkdir -p ${project_dir}/app/src/main/res/values-ar-rYE/ -mkdir -p ${project_dir}/app/src/main/res/values-nb/ - -cp -R ${project_dir}/app/src/main/res/values-he/* ${project_dir}/app/src/main/res/values-iw/ -cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rBH/ -cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rEG/ -cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rSA/ -cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rYE/ -cp -R ${project_dir}/app/src/main/res/values-no/* ${project_dir}/app/src/main/res/values-nb/ - -sed -i s/-2016/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml -sed -i s/–2016/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml -sed -i s/-2017/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml -sed -i s/–2017/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml diff --git a/tools/zoho.log b/tools/zoho.log deleted file mode 100644 index 16e8d9d21b..0000000000 --- a/tools/zoho.log +++ /dev/null @@ -1,50 +0,0 @@ -@Jul 24, 2019 - -There is a bug in the Zoho IMAP server causing all messages to be returned when searching for messages by flag (UNSEEN, FLAGGED, etc), despite specifying a SINCE. - -This causes all messages to be synchronized/downloaded, causing a lot of unnecessary traffic for both the user (inconveniently hitting rate limits as well) and for your servers. - -See attachment for a protocol log demonstrating this rather serious issue. - -The log was captured using imap.zoho.eu - - -07-24 17:07:32.020 26182 27215 I System.out: BG25 SEARCH OR SINCE 23-Jul-2019 (UNSEEN) ALL -07-24 17:07:32.034 26182 27215 I System.out: * SEARCH 1 -07-24 17:07:32.034 26182 27215 I System.out: BG25 OK Success -07-24 17:07:32.035 26182 27214 I System.out: BG26 IDLE -07-24 17:07:32.041 26182 27214 I System.out: + idling -07-24 17:07:32.041 26182 27215 I System.out: DONE -07-24 17:07:32.052 26182 27214 I System.out: BG26 OK IDLE terminated -07-24 17:07:32.053 26182 27215 I System.out: BG27 FETCH 1 (FLAGS UID) -07-24 17:07:32.093 26182 27215 I System.out: * 1 FETCH (FLAGS (\Recent \Seen) UID 3) -07-24 17:07:32.093 26182 27215 I System.out: BG27 OK Success -07-24 17:07:32.093 26182 27214 I System.out: BG28 IDLE -07-24 17:07:32.103 26182 27214 I System.out: + idling -07-24 17:07:32.104 26182 27215 I System.out: DONE -07-24 17:07:32.110 26182 27214 I System.out: BG28 OK IDLE terminated -07-24 17:07:32.110 26182 27215 I System.out: BG29 FETCH 1 (ENVELOPE INTERNALDATE RFC822.SIZE FLAGS BODYSTRUCTURE UID BODY.PEEK[HEADER] RFC822.SIZE INTERNALDATE) -07-24 17:07:32.127 26182 27215 I System.out: * 1 FETCH (FLAGS (\Recent \Seen) INTERNALDATE "08-Jul-2019 23:10:22 +0000" ... redacted - -07-24 17:48:15.563 27990 28576 I System.out: * CAPABILITY IMAP4rev1 UNSELECT CHILDREN XLIST NAMESPACE IDLE MOVE ID AUTH=PLAIN SASL-IR UIDPLUS ESEARCH LIST-EXTENDED LIST-STATUS WITHIN LITERAL- APPENDLIMIT=10485760 - - -@Jul 26, 2019 - -Thank you for contacting Zoho Mail support. - -From the records we see that your account ... is not being accessed via IMAP from any IMAP client. Kindly help us with the email address of the Zoho account in which you faced this issue. - -We will check with that and assist you further. - - -@Jul 27, 2019 - -We have escalated this to our development team. We will check with them and get back to you at the earliest. Please bear with us until then. - -Your patience is greatly appreciated! - - -@Jul 29, 2019 - -We have checked with our development team and the bug you have reported will be fixed in our upcoming updates. We will keep you notified once we get this fixed. Please bear with us until then.