Update proxy information.

This commit is contained in:
NBTX
2020-02-26 23:48:24 +00:00
parent 4758acc413
commit f609d36818
18 changed files with 32 additions and 32 deletions

View File

@@ -342,7 +342,7 @@
- Serialize a request into JSON? [\#4](https://github.com/liyasthomas/postwoman/issues/4) - Serialize a request into JSON? [\#4](https://github.com/liyasthomas/postwoman/issues/4)
- Add brand new logo to the project [\#244](https://github.com/liyasthomas/postwoman/pull/244) ([caneco](https://github.com/caneco)) - Add brand new logo to the project [\#244](https://github.com/liyasthomas/postwoman/pull/244) ([caneco](https://github.com/caneco))
- Feature/pre request script [\#231](https://github.com/liyasthomas/postwoman/pull/231) ([nickpalenchar](https://github.com/nickpalenchar)) - Feature/pre request script [\#231](https://github.com/liyasthomas/postwoman/pull/231) ([nickpalenchar](https://github.com/nickpalenchar))
- Add the ApolloTV proxy server [\#217](https://github.com/liyasthomas/postwoman/pull/217) ([NBTX](https://github.com/NBTX)) - Add the Apollo Software proxy server [\#217](https://github.com/liyasthomas/postwoman/pull/217) ([NBTX](https://github.com/NBTX))
- bug: keeping information on page change [\#211](https://github.com/liyasthomas/postwoman/pull/211) ([breno-pereira](https://github.com/breno-pereira)) - bug: keeping information on page change [\#211](https://github.com/liyasthomas/postwoman/pull/211) ([breno-pereira](https://github.com/breno-pereira))
- Work in Progress: feature/allow-collections-importing [\#209](https://github.com/liyasthomas/postwoman/pull/209) ([vlad0337187](https://github.com/vlad0337187)) - Work in Progress: feature/allow-collections-importing [\#209](https://github.com/liyasthomas/postwoman/pull/209) ([vlad0337187](https://github.com/vlad0337187))
- Feature/log errors [\#207](https://github.com/liyasthomas/postwoman/pull/207) ([nickpalenchar](https://github.com/nickpalenchar)) - Feature/log errors [\#207](https://github.com/liyasthomas/postwoman/pull/207) ([nickpalenchar](https://github.com/nickpalenchar))

View File

@@ -161,7 +161,7 @@ _Collections are synced with local session storage_
- Access APIs served in non-HTTPS (`http://`) - Access APIs served in non-HTTPS (`http://`)
- Use custom Proxy URL - Use custom Proxy URL
_Official Postwoman Proxy is hosted by ApolloTV - **[Privacy policy](https://apollotv.xyz/legal)**_ _Official Postwoman Proxy is hosted by Apollo Software - **[Privacy Policy](https://apollosoftware.xyz/legal/postwoman)**_
📜 **Pre-Request Scripts β**: Snippets of code associated with a request that are executed before the request is sent. 📜 **Pre-Request Scripts β**: Snippets of code associated with a request that are executed before the request is sent.

View File

@@ -2,7 +2,7 @@ import axios from "axios";
const axiosWithProxy = async (req, { state }) => { const axiosWithProxy = async (req, { state }) => {
const { data } = await axios.post( const { data } = await axios.post(
state.postwoman.settings.PROXY_URL || "https://postwoman.apollotv.xyz/", state.postwoman.settings.PROXY_URL || "https://postwoman.apollosoftware.xyz/",
req req
); );
return data; return data;

View File

@@ -37,7 +37,7 @@ const chromeWithProxy = (req, { state }) =>
method: "post", method: "post",
url: url:
state.postwoman.settings.PROXY_URL || state.postwoman.settings.PROXY_URL ||
"https://postwoman.apollotv.xyz/", "https://postwoman.apollosoftware.xyz/",
data: req data: req
} }
} }

View File

@@ -5,7 +5,7 @@ const extensionWithProxy = async (req, { state }) => {
const { data } = await window.__POSTWOMAN_EXTENSION_HOOK__.sendRequest({ const { data } = await window.__POSTWOMAN_EXTENSION_HOOK__.sendRequest({
method: "post", method: "post",
url: url:
state.postwoman.settings.PROXY_URL || "https://postwoman.apollotv.xyz/", state.postwoman.settings.PROXY_URL || "https://postwoman.apollosoftware.xyz/",
data: req data: req
}); });
return data; return data;

View File

@@ -15,7 +15,7 @@ const firefoxWithProxy = (req, { state }) =>
window.firefoxExtSendRequest({ window.firefoxExtSendRequest({
method: "post", method: "post",
url: url:
state.postwoman.settings.PROXY_URL || "https://postwoman.apollotv.xyz/", state.postwoman.settings.PROXY_URL || "https://postwoman.apollosoftware.xyz/",
data: req data: req
}); });
}); });

View File

@@ -79,9 +79,9 @@ export default {
disabled: "Deaktiviert", disabled: "Deaktiviert",
proxy: "Proxy", proxy: "Proxy",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Postwomans offizieller Proxy wird durch ApolloTV bereitgestellt.", "Postwomans offizieller Proxy wird durch Apollo Software bereitgestellt.",
read_the: "Lies die", read_the: "Lies die",
apollotv_privacy_policy: "ApolloTV Datenschutzerklärung", apollosw_privacy_policy: "Apollo Software Datenschutzerklärung",
contact_us: "Kontaktiere uns", contact_us: "Kontaktiere uns",
connect: "Verbinden", connect: "Verbinden",
disconnect: "Trennen", disconnect: "Trennen",

View File

@@ -86,9 +86,9 @@ export default {
disabled: "Disabled", disabled: "Disabled",
proxy: "Proxy", proxy: "Proxy",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Postwoman's Official Proxy is hosted by ApolloTV.", "Postwoman's Official Proxy is hosted by Apollo Software.",
read_the: "Read the", read_the: "Read the",
apollotv_privacy_policy: "ApolloTV privacy policy", apollosw_privacy_policy: "Apollo Software privacy policy",
contact_us: "Contact us", contact_us: "Contact us",
connect: "Connect", connect: "Connect",
disconnect: "Disconnect", disconnect: "Disconnect",

View File

@@ -79,9 +79,9 @@ export default {
disabled: "Deshabilitado", disabled: "Deshabilitado",
proxy: "Proxy", proxy: "Proxy",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Proxy Oficial de Postwoman está hospedado en ApolloTV.", "Proxy Oficial de Postwoman está hospedado en Apollo Software.",
read_the: "Leer la", read_the: "Leer la",
apollotv_privacy_policy: "Política de Privacidad de ApolloTV", apollosw_privacy_policy: "Política de Privacidad de Apollo Software",
contact_us: "Contáctenos", contact_us: "Contáctenos",
connect: "Conectar", connect: "Conectar",
disconnect: "Desconectar", disconnect: "Desconectar",

View File

@@ -79,9 +79,9 @@ export default {
disabled: "غیر فعال", disabled: "غیر فعال",
proxy: "پراکسی", proxy: "پراکسی",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"پراکسی Postwoman برروی هاست ApolloTV قرار دارد.", "پراکسی Postwoman برروی هاست Apollo Software قرار دارد.",
read_the: "بخوانید", read_the: "بخوانید",
apollotv_privacy_policy: "خط مشی رازداری ApolloTV", apollosw_privacy_policy: "خط مشی رازداری Apollo Software",
contact_us: "Contact us", contact_us: "Contact us",
connect: "Connect", connect: "Connect",
disconnect: "Disconnect", disconnect: "Disconnect",

View File

@@ -79,9 +79,9 @@ export default {
disabled: "Désactivé", disabled: "Désactivé",
proxy: "Proxy", proxy: "Proxy",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Le proxy officiel de Postwoman est hébergé par ApolloTV.", "Le proxy officiel de Postwoman est hébergé par Apollo Software.",
read_the: "Lire la", read_the: "Lire la",
apollotv_privacy_policy: "politique de confidentialité ApolloTV", apollosw_privacy_policy: "politique de confidentialité Apollo Software",
contact_us: "Contactez nous", contact_us: "Contactez nous",
connect: "Relier", connect: "Relier",
disconnect: "Déconnecter", disconnect: "Déconnecter",

View File

@@ -79,9 +79,9 @@ export default {
disabled: "dinonaktifkan", disabled: "dinonaktifkan",
proxy: "Proksi", proxy: "Proksi",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Proksi Resmi Postwoman dalam penginangan ApolloTV.", "Proksi Resmi Postwoman dalam penginangan Apollo Software.",
read_the: "Bacalah", read_the: "Bacalah",
apollotv_privacy_policy: "kebijakan privasi ApolloTV", apollosw_privacy_policy: "kebijakan privasi Apollo Software",
contact_us: "Hubungi kami", contact_us: "Hubungi kami",
connect: "Menghubungkan", connect: "Menghubungkan",
disconnect: "Memutuskan", disconnect: "Memutuskan",

View File

@@ -81,7 +81,7 @@ export default {
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Postwomanの公式プロキシは、Apollo TVがホストしています。", "Postwomanの公式プロキシは、Apollo TVがホストしています。",
read_the: "プライバシーポリシー", read_the: "プライバシーポリシー",
apollotv_privacy_policy: "を読む", apollosw_privacy_policy: "を読む",
contact_us: "お問い合わせ", contact_us: "お問い合わせ",
connect: "接続", connect: "接続",
disconnect: "切断", disconnect: "切断",
@@ -241,5 +241,5 @@ export default {
go_home: "ホームに戻る", go_home: "ホームに戻る",
reload: "リロード", reload: "リロード",
enter_curl: "cURLを入力", enter_curl: "cURLを入力",
empty: "空" empty: "空"
}; };

View File

@@ -80,7 +80,7 @@ export default {
proxy: "Proxy", proxy: "Proxy",
postwoman_official_proxy_hosting: "Postwoman's alojamento proxy oficial", postwoman_official_proxy_hosting: "Postwoman's alojamento proxy oficial",
read_the: "Leia o", read_the: "Leia o",
apollotv_privacy_policy: "ApolloTV Política de Privacidade", apollosw_privacy_policy: "Apollo Software Política de Privacidade",
contact_us: "Contate-Nos", contact_us: "Contate-Nos",
connect: "Conectar", connect: "Conectar",
disconnect: "Desconectar", disconnect: "Desconectar",

View File

@@ -79,9 +79,9 @@ export default {
disabled: "Aktif değil", disabled: "Aktif değil",
proxy: "Proxy", proxy: "Proxy",
postwoman_official_proxy_hosting: postwoman_official_proxy_hosting:
"Proxy Oficial de Postwoman está hospedado en ApolloTV.", "Proxy Oficial de Postwoman está hospedado en Apollo Software.",
read_the: "Leer la", read_the: "Leer la",
apollotv_privacy_policy: "ApolloTV gizlilik politikaları", apollosw_privacy_policy: "Apollo Software gizlilik politikaları",
contact_us: "Bizimle iletişime geçin", contact_us: "Bizimle iletişime geçin",
connect: "Bağlan", connect: "Bağlan",
disconnect: "Kesmek", disconnect: "Kesmek",

View File

@@ -78,9 +78,9 @@ export default {
enabled: "已启用", enabled: "已启用",
disabled: "已禁用", disabled: "已禁用",
proxy: "代理", proxy: "代理",
postwoman_official_proxy_hosting: "Postwoman的官方代理由ApolloTV托管", postwoman_official_proxy_hosting: "Postwoman的官方代理由Apollo Software托管",
read_the: "阅读", read_the: "阅读",
apollotv_privacy_policy: "ApolloTV隐私政策", apollosw_privacy_policy: "Apollo Software隐私政策",
contact_us: "联系我们", contact_us: "联系我们",
connect: "连接", connect: "连接",
disconnect: "断开", disconnect: "断开",

View File

@@ -572,7 +572,7 @@ export default {
method: "post", method: "post",
url: url:
this.$store.state.postwoman.settings.PROXY_URL || this.$store.state.postwoman.settings.PROXY_URL ||
`https://postwoman.apollotv.xyz/`, `https://postwoman.apollosoftware.xyz/`,
data: reqOptions data: reqOptions
} }
: reqOptions; : reqOptions;

View File

@@ -224,11 +224,11 @@
{{ $t("read_the") }} {{ $t("read_the") }}
<a <a
class="link" class="link"
href="https://apollotv.xyz/legal" href="https://apollosoftware.xyz/legal/postwoman"
target="_blank" target="_blank"
rel="noopener" rel="noopener"
> >
{{ $t("apollotv_privacy_policy") }} </a {{ $t("apollosw_privacy_policy") }} </a
>. >.
</p> </p>
</li> </li>
@@ -346,7 +346,7 @@ export default {
], ],
settings: { settings: {
SCROLL_INTO_ENABLED: SCROLL_INTO_ENABLED:
typeof this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED !== typeof this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED !==
"undefined" "undefined"
? this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED ? this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED
@@ -362,9 +362,9 @@ export default {
this.$store.state.postwoman.settings.PROXY_ENABLED || false, this.$store.state.postwoman.settings.PROXY_ENABLED || false,
PROXY_URL: PROXY_URL:
this.$store.state.postwoman.settings.PROXY_URL || this.$store.state.postwoman.settings.PROXY_URL ||
"https://postwoman.apollotv.xyz/", "https://postwoman.apollosoftware.xyz/",
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "", PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
EXTENSIONS_ENABLED: EXTENSIONS_ENABLED:
typeof this.$store.state.postwoman.settings.EXTENSIONS_ENABLED !== typeof this.$store.state.postwoman.settings.EXTENSIONS_ENABLED !==
"undefined" "undefined"
@@ -508,7 +508,7 @@ export default {
fb.writeSettings("syncEnvironments", true); fb.writeSettings("syncEnvironments", true);
}, },
resetProxy({ target }) { resetProxy({ target }) {
this.settings.PROXY_URL = `https://postwoman.apollotv.xyz/`; this.settings.PROXY_URL = `https://postwoman.apollosoftware.xyz/`;
target.innerHTML = this.doneButton; target.innerHTML = this.doneButton;
this.$toast.info(this.$t("cleared"), { this.$toast.info(this.$t("cleared"), {
icon: "clear_all" icon: "clear_all"