Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Add privacy policy and terms and conditions
Acho Arnold2a17060eba83
diff --git a/web/components/FixedHeader.vue b/web/components/FixedHeader.vuenew file mode 100644index 00000000..2122c58f--- /dev/null+++ b/web/components/FixedHeader.vue@@ -0,0 +1,33 @@+<template>+ <v-app-bar elevation="0" color="#121212" height="70" fixed>+ <v-container>+ <v-row>+ <v-col class="w-full d-flex">+ <router-link+ :to="{ name: 'index' }"+ class="text--primary text-h4 text-decoration-none"+ :class="{+ 'mt-5': $vuetify.breakpoint.mdAndDown,+ 'mt-4': !$vuetify.breakpoint.mdAndDown,+ }"+ >+ <v-avatar v-if="$vuetify.breakpoint.lgAndUp" tile size="30">+ <v-img contain :src="require('@/assets/img/logo.svg')"></v-img>+ </v-avatar>+ HTTP SMS+ </router-link>+ <v-spacer></v-spacer>+ <v-btn+ exact-path+ class="primary mt-5 mb-5"+ :large="$vuetify.breakpoint.lgAndUp"+ :to="{ name: 'login' }"+ >+ Get Started+ <span v-if="$vuetify.breakpoint.lgAndUp"> For Free</span>+ </v-btn>+ </v-col>+ </v-row>+ </v-container>+ </v-app-bar>+</template>diff --git a/web/nuxt.config.js b/web/nuxt.config.jsindex 1a6e53f3..e8a137fd 100644--- a/web/nuxt.config.js+++ b/web/nuxt.config.js@@ -5,15 +5,42 @@ export default {// Global page headers: https://go.nuxtjs.dev/config-headhead: {titleTemplate: '%s',- title: 'Http SMS - Convert your android phone into an SMS Gateway.',+ title: 'HTTP SMS - Convert your android phone into an SMS Gateway.',htmlAttrs: {lang: 'en',},meta: [{ charset: 'utf-8' },{ name: 'viewport', content: 'width=device-width, initial-scale=1' },- { hid: 'description', name: 'description', content: '' },+ {+ hid: 'description',+ name: 'description',+ content:+ 'Use your android phone to send and receive SMS messages using a simple HTTP API.',+ },{ name: 'format-detection', content: 'telephone=no' },+ { hid: 'twitter:site', name: 'twitter:site', content: '@NdoleStudio' },+ {+ hid: 'twitter:card',+ name: 'twitter:card',+ content: 'summary_large_image',+ },+ {+ hid: 'og:title',+ name: 'og:title',+ content: 'HTTP SMS - Convert your android phone into an SMS Gateway.',+ },+ {+ hid: 'og:description',+ name: 'og:description',+ content:+ 'Use your android phone to send and receive SMS messages using a simple HTTP API.',+ },+ {+ hid: 'og:image',+ name: 'og:image',+ content: 'https://httpsms.com/header.png',+ },],link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],},diff --git a/web/pages/index.vue b/web/pages/index.vueindex 613a5811..d392b01f 100644--- a/web/pages/index.vue+++ b/web/pages/index.vue@@ -1,35 +1,6 @@<template><div>- <v-app-bar elevation="0" color="#121212" height="70" fixed>- <v-container>- <v-row>- <v-col class="w-full d-flex">- <h2- class="text--primary text-h4"- :class="{- 'mt-5': $vuetify.breakpoint.mdAndDown,- 'mt-4': !$vuetify.breakpoint.mdAndDown,- }"- >- <v-avatar v-if="$vuetify.breakpoint.lgAndUp" tile size="30">- <v-img contain :src="require('@/assets/img/logo.svg')"></v-img>- </v-avatar>- HTTP SMS- </h2>- <v-spacer></v-spacer>- <v-btn- exact-path- class="primary mt-5 mb-5"- :large="$vuetify.breakpoint.lgAndUp"- :to="{ name: 'login' }"- >- Get Started- <span v-if="$vuetify.breakpoint.lgAndUp"> For Free</span>- </v-btn>- </v-col>- </v-row>- </v-container>- </v-app-bar>+ <fixed-header></fixed-header><v-container class="pb-16"><v-row :class="{ 'py-16': $vuetify.breakpoint.lgAndUp }"><v-col@@ -50,8 +21,8 @@Convert your android phone into an SMS gateway.</h1><h2 class="text--secondary text-h5 mt-8 mb-8">- Use your android phone to send and receive SMS messages using an- intuitive HTTP API.+ Use your android phone to send and receive SMS messages using a+ simple HTTP API.</h2><div :class="{ 'text-center': $vuetify.breakpoint.mdAndDown }"><v-btn@@ -153,8 +124,8 @@<div><h3 class="text-h3 mb-1">Open Source</h3><h5 class="text-h6 font-weight-light">- HttpSms is transparent and fully open source. The source code is- available+ HTTP SMS is transparent and fully open source. The source code+ is available<atarget="_blank"class="text-decoration-none"@@ -435,6 +406,22 @@ Console.WriteLine(await response.Content.ReadAsStringAsync());:href="$store.getters.getAppData.githubUrl">Open Source</v-btn>+ <v-btn+ text+ rounded+ class="my-2"+ outlined+ :to="{ name: 'privacy-policy' }"+ >Privacy Policy</v-btn+ >+ <v-btn+ text+ rounded+ class="my-2"+ outlined+ :to="{ name: 'terms-and-conditions' }"+ >Terms And Conditions</v-btn+ ></v-col><v-col class="text-center mb-n4" cols="12"><p class="text--secondary text-subtitle-2">diff --git a/web/pages/login.vue b/web/pages/login.vueindex 77886db5..693fcb5d 100644--- a/web/pages/login.vue+++ b/web/pages/login.vue@@ -7,7 +7,15 @@xl="3":class="{ 'mt-n16': $vuetify.breakpoint.lgAndUp }">- <h3 class="text-h3 text-center mb-4">Login or Sign Up</h3>+ <div class="text-center mb-5">+ <v-avatar tile size="45" class="mt-n8 mr-4">+ <v-img contain :src="require('@/assets/img/logo.svg')"></v-img>+ </v-avatar>+ <span class="text-h3">Welcome</span>+ </div>+ <p class="text--secondary text-h6 text-center">+ Login to the HTTP SMS dashboard+ </p><v-card max-width="360" class="mx-auto"><v-card-text class="px-0"><no-ssr>diff --git a/web/pages/privacy-policy/index.vue b/web/pages/privacy-policy/index.vuenew file mode 100644index 00000000..f795c65c--- /dev/null+++ b/web/pages/privacy-policy/index.vue@@ -0,0 +1,190 @@+<template>+ <div>+ <fixed-header></fixed-header>+ <v-container class="mt-16">+ <v-row>+ <v-col cols="10" offset="1" class="mt-8">+ <h1 class="text-h4 font-weight-bold mb-4">Privacy Policy</h1>+ <p>+ Ndole Studio built the HTTP SMS service as an open source project.+ This SERVICE is provided by Ndole Studio and is intended for use as+ is. This page is used to inform visitors regarding our policies with+ the collection, use, and disclosure of Personal Information if+ anyone decided to use our Service. If you choose to use our Service,+ then you agree to the collection and use of information in relation+ to this policy. The Personal Information that we collect is used for+ providing and improving the Service. We will not use or share your+ information with anyone except as described in this Privacy Policy.+ The terms used in this Privacy Policy have the same meanings as in+ our Terms and Conditions, which are accessible at HTTP SMS unless+ otherwise defined in this Privacy Policy.+ </p>+ <h2 class="text-h6 text--secondary">+ Information Collection and Use+ </h2>+ <p>+ For a better experience, while using our Service, we may require you+ to provide us with certain personally identifiable information,+ including but not limited to email,full name. The information that+ we request will be retained by us and used as described in this+ privacy policy.+ </p>+ <p>+ HTTP SMS does use third-party services that may collect information+ used to identify you. Link to the privacy policy of third-party+ service providers used by HTTP SMS+ </p>+ <ul class="mb-4">+ <li>+ <a+ href="https://www.google.com/policies/privacy/"+ class="text-decoration-none"+ target="_blank"+ rel="noopener noreferrer"+ >Google Play Services</a+ >+ </li>+ <li>+ <a+ href="https://firebase.google.com/policies/analytics"+ class="text-decoration-none"+ target="_blank"+ rel="noopener noreferrer"+ >Google Analytics for Firebase</a+ >+ </li>+ <li>+ <a+ href="https://sentry.io/privacy/"+ target="_blank"+ class="text-decoration-none"+ rel="noopener noreferrer"+ >Sentry</a+ >+ </li>+ <li>+ <a+ href="https://segment.com/legal/privacy/"+ target="_blank"+ class="text-decoration-none"+ rel="noopener noreferrer"+ >Segment</a+ >+ </li>+ </ul>+ <h2 class="text-h6 text--secondary">Log Data</h2>+ <p>+ We want to inform you that whenever you use our Service, in a case+ of an error in the app we collect data and information (through+ third-party products) on your phone and computer called Log Data.+ This Log Data may include information such as your device Internet+ Protocol (“IP”) address, device name, operating system version, the+ configuration of the app when utilizing our Service, the time and+ date of your use of the Service, and other statistics.+ </p>+ <h2 class="text-h6 text--secondary">Cookies</h2>+ <p>+ Cookies are files with a small amount of data that are commonly used+ as anonymous unique identifiers. These are sent to your browser from+ the websites that you visit and are stored on your device's internal+ memory. This Service does not use these “cookies” explicitly.+ However, the app may use third-party code and libraries that use+ “cookies” to collect information and improve their services. You+ have the option to either accept or refuse these cookies and know+ when a cookie is being sent to your device. If you choose to refuse+ our cookies, you may not be able to use some portions of this+ Service.+ </p>+ <h2 class="text-h6 text--secondary">Service Providers</h2>+ <p>+ We may employ third-party companies and individuals due to the+ following reasons:+ </p>+ <ul>+ <li>To facilitate our Service;</li>+ <li>To provide the Service on our behalf;</li>+ <li>To perform Service-related services; or</li>+ <li>To assist us in analyzing how our Service is used.</li>+ </ul>+ <p>+ We want to inform users of this Service that these third parties+ have access to their Personal Information. The reason is to perform+ the tasks assigned to them on our behalf. However, they are+ obligated not to disclose or use the information for any other+ purpose.+ </p>+ <h2 class="text-h6 text--secondary">Security</h2>+ <p>+ We value your trust in providing us your Personal Information, thus+ we are striving to use commercially acceptable means of protecting+ it. But remember that no method of transmission over the internet,+ or method of electronic storage is 100% secure and reliable, and we+ cannot guarantee its absolute security.+ </p>+ <h2 class="text-h6 text--secondary">Links to Other Sites</h2>+ <p>+ This Service may contain links to other sites. If you click on a+ third-party link, you will be directed to that site. Note that these+ external sites are not operated by us. Therefore, we strongly advise+ you to review the Privacy Policy of these websites. We have no+ control over and assume no responsibility for the content, privacy+ policies, or practices of any third-party sites or services.+ </p>+ <h2 class="text-h6 text--secondary">Children’s Privacy</h2>+ <p>+ These Services do not address anyone under the age of 13. We do not+ knowingly collect personally identifiable information from children+ under 13 years of age. In the case we discover that a child under 13+ has provided us with personal information, we immediately delete+ this from our servers. If you are a parent or guardian and you are+ aware that your child has provided us with personal information,+ please contact us so that we will be able to do the necessary+ actions.+ </p>+ <h2 class="text-h6 text--secondary">+ Changes to This Privacy Policy+ </h2>+ <p>+ We may update our Privacy Policy from time to time. Thus, you are+ advised to review this page periodically for any changes. We will+ notify you of any changes by posting the new Privacy Policy on this+ page.+ </p>+ <p>This policy is effective as of 2022-10-09</p>+ <h2 class="text-h6 text--secondary">Contact Us</h2>+ <p>+ If you have any questions or suggestions about our Privacy Policy,+ do not hesitate to contact us at+ <a+ class="text-decoration-none font-weight-bold"+ href="mailto:[email protected]"+ >[email protected]</a+ >.+ </p>+ <v-divider class="mx-16"></v-divider>+ <div class="text-center mt-8 mb-4">+ <back-button></back-button>+ </div>+ </v-col>+ </v-row>+ </v-container>+ </div>+</template>++<script lang="ts">+import Vue from 'vue'++export default Vue.extend({+ name: 'PrivacyIndex',+ data() {+ return {+ to: '/',+ }+ },+ head() {+ return {+ title: 'Privacy Policy - Http SMS',+ }+ },+})+</script>diff --git a/web/pages/settings/index.vue b/web/pages/settings/index.vueindex 7c590cd1..dbc6b2d0 100644--- a/web/pages/settings/index.vue+++ b/web/pages/settings/index.vue@@ -60,7 +60,7 @@class="mb-n2"@click:append="apiKeyShow = !apiKeyShow"></v-text-field>- <div>+ <div class="d-flex"><copy-button:block="$vuetify.breakpoint.mdAndDown":large="$vuetify.breakpoint.mdAndDown"diff --git a/web/pages/terms-and-conditions/index.vue b/web/pages/terms-and-conditions/index.vuenew file mode 100644index 00000000..56f56680--- /dev/null+++ b/web/pages/terms-and-conditions/index.vue@@ -0,0 +1,181 @@+<template>+ <div>+ <fixed-header></fixed-header>+ <v-container class="mt-16">+ <v-row>+ <v-col cols="10" offset="1" class="mt-8">+ <h1 class="text-h4 font-weight-bold mb-4">Terms and Conditions</h1>+ <p>+ By downloading or using the app and using the HTTP SMS service,+ these terms will automatically apply to you – you should make sure+ therefore that you read them carefully before using the app. You’re+ not allowed to copy or modify the app, any part of the app, or our+ trademarks in any way. You’re not allowed to attempt to extract the+ source code of the app, and you also shouldn’t try to translate the+ app into other languages or make derivative versions. The app+ itself, and all the trademarks, copyright, database rights, and+ other intellectual property rights related to it, still belong to+ Ndole Studio.+ </p>+ <p>+ Ndole Studio is committed to ensuring that the app is as useful and+ efficient as possible. For that reason, we reserve the right to make+ changes to the app or to charge for its services, at any time and+ for any reason. We will never charge you for the app or its services+ without making it very clear to you exactly what you’re paying for.+ </p>+ <p>+ The HTTP SMS app stores and processes personal data that you have+ provided to us, to provide our Service. It’s your responsibility to+ keep your phone and access to the app secure. We therefore recommend+ that you do not jailbreak or root your phone, which is the process+ of removing software restrictions and limitations imposed by the+ official operating system of your device. It could make your phone+ vulnerable to malware/viruses/malicious programs, compromise your+ phone’s security features and it could mean that the HTTP SMS app+ won’t work properly or at all.+ </p>+ <p>+ HTTP SMS does use third-party services that declare their Terms and+ Conditions. Link to Terms and Conditions of third-party service+ providers used by the app+ </p>+ <ul class="mb-2">+ <li>+ <a+ href="https://policies.google.com/terms"+ class="text-decoration-none"+ target="_blank"+ rel="noopener noreferrer"+ >Google Play Services</a+ >+ </li>+ <li>+ <a+ href="https://firebase.google.com/terms/analytics"+ class="text-decoration-none"+ target="_blank"+ rel="noopener noreferrer"+ >Google Analytics for Firebase</a+ >+ </li>+ <li>+ <a+ href="https://sentry.io/terms/"+ target="_blank"+ class="text-decoration-none"+ rel="noopener noreferrer"+ >Sentry</a+ >+ </li>+ <li>+ <a+ href="https://segment.com/legal/terms/"+ class="text-decoration-none"+ target="_blank"+ rel="noopener noreferrer"+ >Segment</a+ >+ </li>+ </ul>+ <p>+ You should be aware that there are certain things that Ndole Studio+ will not take responsibility for. Certain functions of the app will+ require the app to have an active internet connection. The+ connection can be Wi-Fi or provided by your mobile network provider,+ but Ndole Studio cannot take responsibility for the app not working+ at full functionality if you don’t have access to Wi-Fi, and you+ don’t have any of your data allowance left.+ </p>+ <p>+ If you’re using the app outside of an area with Wi-Fi, you should+ remember that the terms of the agreement with your mobile network+ provider will still apply. As a result, you may be charged by your+ mobile provider for the cost of data for the duration of the+ connection while accessing the app, or other third-party charges. In+ using the app, you’re accepting responsibility for any such charges,+ including roaming data charges if you use the app outside of your+ home territory (i.e. region or country) without turning off data+ roaming. If you are not the bill payer for the device on which+ you’re using the app, please be aware that we assume that you have+ received permission from the bill payer for using the app.+ </p>+ <p>+ Along the same lines, Ndole Studio cannot always take responsibility+ for the way you use the app i.e. You need to make sure that your+ device stays charged – if it runs out of battery and you can’t turn+ it on to avail the Service, Ndole Studio cannot accept+ responsibility.+ </p>+ <p>+ With respect to Ndole Studio’s responsibility for your use of the+ app, when you’re using the app, it’s important to bear in mind that+ although we endeavor to ensure that it is updated and correct at all+ times, we do rely on third parties to provide information to us so+ that we can make it available to you. Ndole Studio accepts no+ liability for any loss, direct or indirect, you experience as a+ result of relying wholly on this functionality of the app.+ </p>+ <p>+ At some point, we may wish to update the app. The app is currently+ available on Android – the requirements for the system(and for any+ additional systems we decide to extend the availability of the app+ to) may change, and you’ll need to download the updates if you want+ to keep using the app. Ndole Studio does not promise that it will+ always update the app so that it is relevant to you and/or works+ with the Android version that you have installed on your device.+ However, you promise to always accept updates to the application+ when offered to you, We may also wish to stop providing the app, and+ may terminate use of it at any time without giving notice of+ termination to you. Unless we tell you otherwise, upon any+ termination, (a) the rights and licenses granted to you in these+ terms will end; (b) you must stop using the app, and (if needed)+ delete it from your device.+ </p>+ <h2 class="text-h6 text--secondary">+ Changes to This Terms and Conditions+ </h2>+ <p>+ We may update our Terms and Conditions from time to time. Thus, you+ are advised to review this page periodically for any changes. We+ will notify you of any changes by posting the new Terms and+ Conditions on this page.+ </p>+ <p>These terms and conditions are effective as of 2022-10-09</p>+ <h2 class="text-h6 text--secondary">Contact Us</h2>+ <p>+ If you have any questions or suggestions about our Terms and+ Conditions, do not hesitate to contact us at+ <a+ class="text-decoration-none font-weight-bold"+ href="mailto:[email protected]"+ >[email protected]</a+ >.+ </p>+ <v-divider class="mx-16"></v-divider>+ <div class="text-center mt-8 mb-4">+ <back-button></back-button>+ </div>+ </v-col>+ </v-row>+ </v-container>+ </div>+</template>++<script lang="ts">+import Vue from 'vue'++export default Vue.extend({+ name: 'TermsAndConditionsIndex',+ data() {+ return {+ to: '/',+ }+ },+ head() {+ return {+ title: 'Terms And Conditions - Http SMS',+ }+ },+})+</script>diff --git a/web/static/favicon.ico b/web/static/favicon.icoindex d751f60c..49e7a301 100644Binary files a/web/static/favicon.ico and b/web/static/favicon.ico differdiff --git a/web/static/header.png b/web/static/header.pngnew file mode 100644index 00000000..cf9766f8Binary files /dev/null and b/web/static/header.png differdiff --git a/web/static/icon.png b/web/static/icon.pngdeleted file mode 100644index 2c0b8719..00000000Binary files a/web/static/icon.png and /dev/null differdiff --git a/web/static/v.png b/web/static/v.pngdeleted file mode 100644index a2ce2353..00000000Binary files a/web/static/v.png and /dev/null differdiff --git a/web/static/vuetify-logo.svg b/web/static/vuetify-logo.svgdeleted file mode 100644index 145b6d13..00000000--- a/web/static/vuetify-logo.svg+++ /dev/null@@ -1 +0,0 @@-<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.5 100"><defs><style>.cls-1{fill:#1697f6;}.cls-2{fill:#7bc6ff;}.cls-3{fill:#1867c0;}.cls-4{fill:#aeddff;}</style></defs><title>Artboard 46</title><polyline class="cls-1" points="43.75 0 23.31 0 43.75 48.32"/><polygon class="cls-2" points="43.75 62.5 43.75 100 0 14.58 22.92 14.58 43.75 62.5"/><polyline class="cls-3" points="43.75 0 64.19 0 43.75 48.32"/><polygon class="cls-4" points="64.58 14.58 87.5 14.58 43.75 100 43.75 62.5 64.58 14.58"/></svg>