policygen 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,242 @@
1
+ en:
2
+ privacy_policy:
3
+ title: Privacy Policy
4
+ last_updated: Last updated %{updated}
5
+ privacy_notice: This privacy policy ("Policy") for %{entity_name} ("we", "us", "our") describes how we collect, protect and use the personally identifiable information ("Personal Information") you ("user", "you" or "your") provide on %{entity_website} and any of its products or services (collectively, "Website" or "Services") such as
6
+ privacy_notice_web: Visit our website at %{entity_website} or use any website that is part of our network.
7
+ privacy_notice_mobile: Use our mobile applications or use any of our mobile applications that are part of our network.
8
+ privacy_notice_other: Use any of our other products or services, engage with our sales, marketing or any virtual or real world events that are part of our network.
9
+ privacy_questions: Please read this privacy policy carefully, it contains important information about your rights and how we handle your personal information. If you disagree or have concerns about our privacy policy, please do not use our website or services or contact us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
10
+ summary:
11
+ title: Summary (TL;DR)
12
+ text: This summary section is provided for your convenience. To read the full privacy policy, scroll down or click on any of the linked sections.
13
+ personal_information_question: What personal information do we collect and process?
14
+ personal_information_no: We do not collect any personal information from you. You can visit and use our website without providing any personal information.
15
+ personal_information_yes: We may collect and process personal information from you as you visit and use our website. You can find more information about the
16
+ personal_information_link: personal information we collect
17
+ sensitive_information_question: What sensitive information do we collect and process?
18
+ sensitive_information_no: We do not collect or process any sensitive information from you.
19
+ sensitive_information_yes: We may collect and process sensitive information from you as you visit and use our website. You can find more information about the
20
+ sensitive_information_link: sensitive information we collect
21
+ third_party_information_question: Do we collect information from third parties?
22
+ third_party_information_no: We do not collect information from third parties.
23
+ third_party_information_yes: We may collect information from third parties. You can find more information about the
24
+ third_party_information_link: third parties we collect information from
25
+ third_party_sharing_question: Do we share information with third parties?
26
+ third_party_sharing_no: We do not share information with third parties.
27
+ third_party_sharing_yes: We may share information with third parties. You can find more information about the
28
+ third_party_sharing_link: third parties we share information with
29
+ process_information_question: How do we process your information?
30
+ process_information: We process your information to provide you with the services you have requested or are interested in. We may also use your information for other purposes such as improving our services, communicating with you, security and compliance and law enforcement. All information is collected and processed for only valid legal reasons with your consent, which you can withdraw at any time.
31
+ process_information_link: More information about how we process your information
32
+ security_measures_question: How do we protect your information?
33
+ security_measures: We implement security measures to maintain the safety of your personal information. We take reasonable precautions and follow industry best practices to make sure it is not inappropriately lost, misused, accessed, disclosed, altered or destroyed.
34
+ security_measures_link: More information about how we protect your information
35
+ rights_question: How can you manage your personal information?
36
+ rights_link: You can manage your profile and privacy settings by visiting %{privacy_page}. You can also request to access, correct, update or delete your personal information by contacting us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
37
+ rights: You have the right to access, update or delete your personal information. You can also object to the processing of your personal information, ask us to restrict processing of your personal information or request portability of your personal information. If you would like to exercise any of these rights, please contact us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
38
+ sections:
39
+ title: Privacy Policy Sections
40
+ information_we_collect: Information we collect
41
+ how_we_use_information: How we use or process your information
42
+ legal_basis: Legal basis for information collection and processing
43
+ third_party_sharing: Information sharing and disclosure
44
+ web_tracking: Web tracking and cookies
45
+ security: How we protect your information
46
+ data_retention: Data retention
47
+ us_state_privacy-laws: US State Privacy Laws
48
+ privacy_rights: Your privacy rights
49
+ policy_changes: Changes to our privacy policy
50
+ contact: Contact us
51
+ information_we_collect:
52
+ disclosed:
53
+ heading: Information you disclose to us
54
+ no_personal_information: We do not collect any personal information from you. You can visit and use our website without providing any personal information.
55
+ personal_information: We collect personal information that you voluntarily disclose to us during your visit and use of our services, participate in sales or marketing events or contact us. Information may include
56
+ no_sensitive_information: We do not collect or process any sensitive information from you.
57
+ sensitive_information: We may collect sensitive information that you voluntarily disclose to us during your visit and use of our services, participate in sales or marketing events or contact us. Information may include
58
+ app_usage_data: We may collect and log app usage data such as the date and time the app on your device accesses our servers and what information and files have been downloaded to the app based on your device number, ip address or user account.
59
+ payment_data: We may collect and process payment information from you when you purchase our products or services, including credit cards, bank accounts, billing addresses, and other billing information.
60
+ payment_processor: We use third-party payment processors to assist us in processing your payment information securely. Such third-party processors' use of your personal information is governed by their respective privacy policies.
61
+ social_sign_in: We offer the ability to register using a third party social network such as Facebook, Google etc. If you use a social login we may collect profile and social data from your social account. This may include your name, email, profile picture.
62
+ name: Name
63
+ email: Email
64
+ phone: Phone numbers
65
+ address: Address
66
+ password: Password
67
+ ip_address: IP Address
68
+ device_id: Device ID
69
+ credit_card: Credit Card
70
+ location_data: Location Data
71
+ anonymized_usage_data: Anonymized usage data
72
+ ssn: Social security numbers
73
+ financial_data: Financial data
74
+ health_data: Health or Fitness data
75
+ biometric_data: Biometric data
76
+ genetic_data: Genetic data
77
+ political_affiliation: Political affiliation or voting data
78
+ sexual_orientation: Sexual orientation or preference data
79
+ criminal_history: Criminal or legal history
80
+ religion: Religious or philosophical beliefs
81
+ third_party:
82
+ heading: Information from third parties
83
+ data: We may collect information about you from third parties such as marketing partners, affiliates, and other sources we may use to update our records, identify new customers or prevent fraud. Examples of information we receive from other sources include
84
+ advertising_data: Advertising data
85
+ analytics_data: Analytics data
86
+ social_media_data: Social Media data
87
+ purchase_data: Purchase or commerce data
88
+ email_data: Email data
89
+ support_data: Support ticket data
90
+ crm_data: Sales data
91
+ job_data: Job or employment data
92
+ address_data: Mailing address data
93
+ behavior_data: Behavioral data
94
+ derived:
95
+ heading: Information derived from your use of our services
96
+ app_usage_data: We may collect and log app usage data such as the date and time the app on your device accesses our servers and what information and files have been downloaded to the app based on your device number, ip address or user account.
97
+ cookies: We may use cookies to collect information about you and your activity across our website. Cookies are small data files stored on your device that help us improve our services and your experience.
98
+ web_beacons: We may use web beacons, tracking pixels, and other tracking technologies on our website to help customize our website and improve your experience.
99
+ how_we_use_information:
100
+ usage: We use and process the information we collect for day to day running of our services, to improve our services, to communicate with you, to provide support, to protect our services, to comply with legal obligations and to enforce our terms and conditions.
101
+ specifics: Specific uses of information include
102
+ accounts: To create, manage and support user accounts to provide access to our services.
103
+ comunications: To communicate with you about your account, our services, sales, marketing, events, updates, user to user communications or other information.
104
+ orders: To process orders, transactions or payments and provide support and services.
105
+ legal_basis:
106
+ text: We collect and process your information for only valid legal reasons with your consent, which you can withdraw at any time. We may collect and process your information for the following reasons
107
+ consent: You have given us consent to collect and process your information for the purposes of providing you with our services, improving our services, communicating with you, security and compliance and law enforcement.
108
+ contract: The processing of your information is necessary for the performance of a contract to which you are a party, such as the terms of service or other agreements we have with you.
109
+ legal: The processing of your information is necessary to comply with a legal obligation, a court order or to exercise and defend legal claims.
110
+ vital_interests: The processing of your information is necessary to protect your vital interests or of another person.
111
+ public_interest: The processing of your information is related to a task that is carried out in the public interest or in the exercise of official authority vested in us.
112
+ legitimate_interests: The processing of your information is necessary for the purposes of the legitimate interests pursued by us or by a third party are not outweighed by your interests or fundamental rights. For example, we may process your information to
113
+ advertising: We may use your information to show you ads that are relevant to you, to improve our advertising and marketing campaigns, to analyze the effectiveness of our ads, to track your behavior and to personalize the content you see.
114
+ marketing: We may use your information to send you marketing communications, to promote our services, to send you promotional offers, to conduct surveys, track our marketing effectiveness or to provide you with information about our services.
115
+ analytics: We may use your information to monitor and analyze web traffic, to keep track of user behavior, to improve the user experience and to personalize the content you see.
116
+ security: We may use your information to protect our services, to enforce our terms and conditions, to comply with our legal obligations and to protect the rights and safety of others.
117
+ fraud_prevention: We may use your information to prevent fraudulent use of our service or to prevent fraudulent purchases or illegal activities.
118
+ third_party_sharing:
119
+ disclosure: We may share your information with third party vendors, service providers, contractors or agents who perform services for us or on our behalf and require access to such information to do that work.
120
+ disclosure_entities: Third parties we may disclose your information with include
121
+ business_transfers: During financing, acquisition or bankruptcy proceedings, your information may be shared with potential or actual acquirers or investors and their agents.
122
+ web_tracking:
123
+ text: We may use various web tracking technologies to collect information about you and your activity across our website.
124
+ cookies: We may use cookies to collect information about you and your activity across our website. Cookies are small data files stored on your device that help us improve our services and your experience.
125
+ web_beacons: We may use web beacons, tracking pixels, and other tracking technologies on our website to help customize our website and improve your experience.
126
+ analytics: We may use third party analytics providers to measure and evaluate access to and traffic on our website, create user navigation reports or marketing reports.
127
+ security:
128
+ text: We follow industry best practices to protect your information and implement security measures to maintain the safety of your personal information.
129
+ data_retention:
130
+ text: We retain your information for as long as necessary to provide you with our services, to comply with our legal obligations, to resolve disputes, to enforce our agreements or to protect our legal interests.
131
+ duration_default: Your data will only be kept for as long as you maintain an account with us.
132
+ duration_custom: Your data will be kept for a period of %{duration} after account closure.
133
+ deletion: Your data at the end of the retention period will be deleted or anonymized where possible, or if this is not possible, then securely stored and isolated from any further processing until deletion is possible.
134
+ privacy_rights:
135
+ text: You have the right to access, update or delete your personal information. You can also object to the processing of your personal information, ask us to restrict processing of your personal information or request portability of your personal information.
136
+ access_page: You can access, update or delete your personal information by visiting %{privacy_page} or by contacting us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
137
+ access_email: You can access, update or delete your personal information by contacting us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
138
+ objection: You can object to the processing of your personal information, ask us to restrict processing of your personal information or request portability of your personal information by contacting us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
139
+ policy_changes:
140
+ text: We may update this privacy policy from time to time. The updated version will be indicated by an updated "Revised" date and the updated version will be effective as soon as it is accessible. If we make material changes to this privacy policy, we may notify you either by prominently posting a notice of such changes or by directly sending you a notification. We encourage you to review this privacy policy frequently to be informed of how we are protecting your information.
141
+ contact:
142
+ text: If you have questions or comments about this privacy policy, you can contact us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
143
+ address: "%{entity_address}"
144
+ dpo: Data Protection Officer - %{dpo_name}
145
+ dpo_email: Data Protection Officer Email - <a href="mailto:%{dpo_email}" class="%{class}">%{dpo_email}</a>
146
+ dpo_phone: Data Protection Officer Phone - %{dpo_phone}
147
+ us_state_privacy_laws:
148
+ california:
149
+ heading: California Online Privacy Protection Act (CalOPPA)
150
+ text: CalOPPA requires commercial websites and online services to post a privacy policy. The law's reach stretches well beyond California to require a person or company in the United States (and conceivably the world) that operates websites collecting personally identifiable information from California consumers to post a conspicuous privacy policy on its website stating exactly the information being collected and those individuals with whom it is being shared, and to comply with this policy. See more information about CalOPPA compliance at <a href="https://consumercal.org/about-cfc/cfc-education-foundation/california-online-privacy-protection-act-caloppa-3/">consumercal.org</a>.
151
+ right_to_know: California residents have the right to know what personal information we collect, disclose, and sell about them. To exercise this right, California residents may submit a request to us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
152
+ right_to_delete: California residents have the right to request the deletion of their personal information. To exercise this right, California residents may submit a request to us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
153
+ right_to_opt_out: California residents have the right to opt out of the sale of their personal information. To exercise this right, California residents may submit a request to us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>.
154
+ do_not_track_heading: Do Not Track signals
155
+ do_not_track: We do not respond to Do Not Track signals.
156
+ shine_the_light_heading: Your California Privacy Rights (California's Shine the Light law)
157
+ shine_the_light: California residents have the right to request information about the personal information we have shared with third parties for their direct marketing purposes, including the categories of information and the names and addresses of those businesses. You can request this information once per calendar year. To make such a request, please contact us at <a href="mailto:%{privacy_email}">%{privacy_email}</a>.
158
+ minors_heading: California Privacy Rights for Minor Users (California Business and Professions Code Section 22581)
159
+ minors: California residents under 18 years of age may request the removal of any information that they posted to our website. To request removal of such information, please contact us at <a href="mailto:%{privacy_email}" class="%{class}">%{privacy_email}</a>. Note that the removal of such information does not ensure complete or comprehensive removal of the content or information posted on our website.
160
+ tos:
161
+ title: Terms of Service
162
+ last_updated: Last updated %{updated}
163
+ terms_notice: This terms of service ("Terms", "Agreement") are an agreement between %{entity_name} ("us", "we", "our" or "Company") and you ("User", "you" or "your"). This Agreement sets forth the general terms and conditions of your use of the %{entity_website} website and any of its products or services (collectively, "Website" or "Services").
164
+ agreement: These terms of service constitute a legal agreement between you on behalf of yourself or your organization and us. By accessing or using the website and services, you acknowledge that you have read, understood, and agree to be bound by these terms of service. If you are entering into this agreement on behalf of a company or other legal entity, you represent that you have the authority to bind such entity and its affiliates to these terms and conditions. If you do not have such authority or if you do not agree with these terms and conditions, you must not accept this agreement and may not use the website and services.
165
+ changes: We reserve the right to modify or replace these terms of service at any time. All changes will be published here alongside a change to the "Last updated" date. If a revision is material, we may make a reasonable effort to provide notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion.
166
+ age_limitation: You must be at least 18 years of age to use this website. By using this website and by agreeing to these terms of service, you warrant and represent that you are at least 18 years of age.
167
+ thirteen_limitation: You must be at least 13 years of age to use this website. If you are a minor in the jurisdiction in which you reside (e.g. under 18 years of age), you may only use this website under the supervision of a parent or legal guardian who agrees to be bound by these terms of service.
168
+ no_age_limitation: If you are a minor in the jurisdiction in which you reside (e.g. under 18 years of age), you may only use this website under the supervision of a parent or legal guardian who agrees to be bound by these terms of service.
169
+ sections:
170
+ title: Terms of Service Sections
171
+ user_accounts: User accounts
172
+ user_content: User generated content
173
+ purchasable_goods: Payments and Purchases
174
+ subscriptions: Subscriptions
175
+ prohibited_use: Prohibited use
176
+ termination: Termination
177
+ governing_law: Governing Law
178
+ disputes: Disputes
179
+ availability: Service Availability
180
+ liability_limitation: Limitation of Liability
181
+ indemnification: Indemnification
182
+ contact: Contact Us
183
+ user_accounts:
184
+ overview: When you create an account with us, you must provide us information that is accurate, complete, and current at all times. Failure to do so constitutes a breach of this agreement which may result in immediate termination of your account on our service.
185
+ security: You may not access the service through automated means, whether via bot or script unless through an officialy provided API. You are responsibile for using a secure password and maintaining the security of your account. You must notify us immediately upon becoming aware of any unauthorized access or breach of security of your account.
186
+ info: You may not create a profile or username that is offensive, promotes hate or violence, is otherwise objectionable, impersonates someone else, is illegal, or infringes on someone's intellectual property rights.
187
+ user_content:
188
+ overview: Our service allows you to post, link, store, share and otherwise make available certain information, text, graphics, videos, or other material ("Content"). You are responsible for the content that you post to the service, including its legality, reliability, and appropriateness.
189
+ removal: We reserve the right to remove any content that violates the terms of service, including content that is illegal, offensive, or that violates the rights of any person or entity.
190
+ license: By posting content to the service, you grant us the right and license to use, modify, publicly perform, publicly display, reproduce, and distribute such content on and through the service. You retain any and all of your rights to any content you submit, post or display on or through the service and you are responsible for protecting those rights.
191
+ purchasable_goods:
192
+ overview: We reserve the right to refuse or cancel your order at any time for certain reasons including but not limited to product or service availability, errors in the description or price of the product or service, error in your order or other reasons.
193
+ payment: We reserve the right to refuse or cancel your order if fraud, reselling or an unauthorized or illegal transaction is suspected.
194
+ purchases: You agree to provide current, complete, and accurate purchase and account information for all purchases made via the website. You agree to promptly update your account and other information, including your email address and credit card numbers and expiration dates, so that we can complete your transactions and contact you as needed.
195
+ subscriptions:
196
+ overview: Some parts of the service are billed on a subscription basis.
197
+ free_trial: We may offer a free trial for a limited period of time. You are free to cancel your subscription at any time during the free trial period.
198
+ auto_renew: You will be billed in advance on a recurring and periodic basis. Your subscription will automatically renew at the end of each billing cycle unless you cancel auto-renewal through your online account or by contacting our customer support team.
199
+ fee_changes: We reserve the right to change subscription fees for any reason. We will give you advanced notice before charging you a new fee.
200
+ refund_none: You may cancel your subscription at any time. We do not provide refunds for any subscription services. Your service will remain active until the end of the billing cycle.
201
+ refund_pro_rata: You may cancel your subscription at any time. We may provide a pro-rata refund for the remaining time left in your subscription.
202
+ refund_full: You may cancel your subscription at any time. We may provide a full refund for the remaining time left in your subscription.
203
+ prohibited_use:
204
+ overview: You may not use the service for any purpose outside of the the core service proposition. You may not use the service for any comemrcial activity that is not explicitly endorsed by us.
205
+ crawling: You may not use the service to crawl, scrape, or otherwise index information or user profile information or contact details from the service.
206
+ illegal: You may not use the service for any illegal or unauthorized purpose nor may you, in the use of the service, violate any laws in your jurisdiction (including but not limited to copyright laws).
207
+ harmful: You may not use the service to submit content that is harmful, abusive, racially or ethnically offensive, defamatory, infringing, invasive of personal privacy or publicity rights, or otherwise objectionable.
208
+ infringing: You may not use the service to submit content that infringes on the intellectual property rights of others, including patents, copyrights, trademarks, trade secrets, or other proprietary rights.
209
+ abusive: You may not use the service to target or coordinate abuse or harassment of others.
210
+ spam: You must not use the service to transmit any unsolicited commercial communications.
211
+ advertising: You must not use the service to transmit any advertising or promotional materials.
212
+ impersonation: You must not impersonate others or provide false information.
213
+ account_transfer: You must not transfer your account to another party without our consent.
214
+ termination:
215
+ overview: We may terminate or suspend your account and bar access to the service immediately, without prior notice or liability, under our sole discretion, for any reason whatsoever and without limitation, including but not limited to a breach of the terms.
216
+ effect: If you wish to terminate your account, you may simply discontinue using the service. All provisions of the terms which by their nature should survive termination shall survive termination, including, without limitation, ownership provisions, warranty disclaimers, indemnity and limitations of liability.
217
+ severability: If any provision of the terms is found to be unenforceable or invalid, then only that provision shall be modified to reflect the parties' intention or eliminated to the minimum extent necessary so that the terms shall otherwise remain in full force and effect and enforceable.
218
+ waiver: The failure to enforce any part of the terms shall not be considered a waiver of our right to later enforce that or any other part of the terms. Waiver of compliance in any particular instance does not mean that we will waive compliance in the future.
219
+ governing_law:
220
+ overview: These terms shall be governed and construed in accordance with the laws of %{governing_law}, without regard to its conflict of law provisions.
221
+ disputes:
222
+ mediation: In the event of a dispute arising under or relating to this agreement, the parties agree to first attempt to resolve the dispute by engaging in good faith with the other in a process of mediation before commencing arbitration or litigation.
223
+ arbitration: Any dispute arising under or relating to this agreement may only be brought in arbitration, administered by a single arbitrator in accordance with the rules of the arbitration institute of %{governing_law}.
224
+ litigation: Any dispute arising under or relating to this agreement may only be brought in the courts of the jurisdiction of %{governing_law}.
225
+ availability:
226
+ as_is: The Service is provided to You "AS IS" and "AS AVAILABLE" and with all faults and defects without warranty of any kind. To the maximum extent permitted under applicable law, the Company, on its own behalf and on behalf of its Affiliates and its and their respective licensors and service providers, expressly disclaims all warranties, whether express, implied, statutory or otherwise, with respect to the Service, including all implied warranties of merchantability, fitness for a particular purpose, title and non-infringement, and warranties that may arise out of course of dealing, course of performance, usage or trade practice. Without limitation to the foregoing, the Company provides no warranty or undertaking, and makes no representation of any kind that the Service will meet Your requirements, achieve any intended results, be compatible or work with any other software, applications, systems or services, operate without interruption, meet any performance or reliability standards or be error free or that any errors or defects can or will be corrected.
227
+ maintenance: The Company reserves the right to modify, suspend or discontinue, temporarily or permanently, the Service or any service to which it connects, with or without notice and without liability to You.
228
+ warranty: Without limiting the foregoing, neither the Company nor any of the company's provider makes any representation or warranty of any kind, express or implied (i) as to the operation or availability of the Service, or the information, content, and materials or products included thereon; (ii) that the Service will be uninterrupted or error-free; (iii) as to the accuracy, reliability, or currency of any information or content provided through the Service; or (iv) that the Service, its servers, the content, or e-mails sent from or on behalf of the Company are free of viruses, scripts, trojan horses, worms, malware, timebombs or other harmful components. Some jurisdictions do not allow the exclusion of certain types of warranties or limitations on applicable statutory rights of a consumer, so some or all of the above exclusions and limitations may not apply to You. But in such a case the exclusions and limitations set forth in this section shall be applied to the greatest extent enforceable under applicable law.
229
+ sla: Paid accounts are subject to the terms of the Service Level Agreement (SLA) provided by the Company. The SLA is subject to change at the Company's discretion.
230
+ sla_details: We are confident in providing a service with a %{amount} uptime guarantee over %{timeframe}. This uptime guarantee does not cover outages caused by equipment and/or events beyond our control, including but not limited to natural disasters, acts of war etc
231
+ sla_refund: If we fail to meet our uptime guarantee, we will provide a %{refund} refund for the affected period.
232
+ liability_limitation:
233
+ overview: In no event will our employees, directors, agents or contractors be liable to you for any direct, indirect, incidental, special, punitive or consequential damages resulting from any use or inability to use the service or for the cost of procurement of substitute services.
234
+ amount_paid: You agree that in no event will our total liability to you for all damages, losses, and causes of action exceed the amount paid by you for a time period of %{timeframe} prior to the event.
235
+ amount: You agree that in no event will our total liability to you exceed the total amount of %{amount}.
236
+ min_amount_paid_or_amount: You agree that in no event will our total liability to you exceed the lesser of the total amount paid by you for a time period of %{timeframe} prior to the event or %{amount}.
237
+ exceptions: The limitations of damages set forth above are fundamental elements of the basis of the bargain between us and you. Certain state and national laws do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you.
238
+ indemnification:
239
+ overview: You agree to indemnify and hold us and our employees, contractors, agents and directors harmless from any and all claims, losses, liabilities, demands, expenses, and costs, including legal fees, resulting from your use of the service or your violation of these terms of service.
240
+ contact:
241
+ text: If you have questions or comments about these terms, you can contact us at <a href="mailto:%{support_email}" class="%{class}">%{support_email}</a>.
242
+ address: "%{entity_address}"
@@ -0,0 +1,271 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Policygen
4
+ # Policygen configuration.
5
+ class Configuration
6
+ require "date"
7
+
8
+ # Which css framework to use
9
+ attr_accessor :css_framework
10
+
11
+ # Tailwind CSS configuration
12
+ attr_accessor :tailwind_config
13
+
14
+ # Your entity name
15
+ attr_accessor :entity_name
16
+
17
+ # Your entity website
18
+ attr_accessor :entity_website
19
+
20
+ # Your entity address
21
+ attr_accessor :entity_address
22
+
23
+ # Your support email
24
+ attr_accessor :support_email
25
+
26
+ # Your privacy policy email
27
+ attr_accessor :privacy_email
28
+
29
+ # Privacy policy last updated
30
+ attr_accessor :privacy_last_updated
31
+
32
+ # Terms of service last updated
33
+ attr_accessor :tos_last_updated
34
+
35
+ # Platforms the policies applies to
36
+ attr_accessor :platforms
37
+
38
+ # User locations the policy applies to
39
+ attr_accessor :locations
40
+
41
+ # Entity location
42
+ attr_accessor :entity_location
43
+
44
+ # Allow users under 18
45
+ attr_accessor :under_eighteen
46
+
47
+ # Allow users under 13
48
+ attr_accessor :under_thirteen
49
+
50
+ # Do you use social sign-in?
51
+ attr_accessor :social_sign_in
52
+
53
+ # Sell purchasable goods
54
+ attr_accessor :purchasable_goods
55
+
56
+ # Subscription
57
+ attr_accessor :subscription
58
+
59
+ # Free trial
60
+ attr_accessor :free_trial
61
+
62
+ # Auto renew subscription
63
+ attr_accessor :auto_renew
64
+
65
+ # Refund policy
66
+ attr_accessor :refund_policy
67
+
68
+ # Allow users to upload content
69
+ attr_accessor :user_content
70
+
71
+ # Assign a license to user uploaded content
72
+ attr_accessor :user_content_license
73
+
74
+ # Allow users to create accounts
75
+ attr_accessor :user_accounts
76
+
77
+ # Governing law for the terms of service
78
+ attr_accessor :governing_law
79
+
80
+ # Dispute resolution clause
81
+ attr_accessor :dispute_resolution
82
+
83
+ # Mediation clause
84
+ attr_accessor :mediation
85
+
86
+ # Prohibited uses clause
87
+ attr_accessor :prohibited_uses
88
+
89
+ # Service SLA
90
+ attr_accessor :service_sla
91
+
92
+ # Service SLA amount
93
+ attr_accessor :service_sla_amount
94
+
95
+ # Service SLA timeframe
96
+ attr_accessor :service_sla_timeframe
97
+
98
+ # Service SLA refund
99
+ attr_accessor :service_sla_refund
100
+
101
+ # Service SLA refund type
102
+ attr_accessor :service_sla_refund_type
103
+
104
+ # Service SLA custom clause
105
+ attr_accessor :service_sla_custom
106
+
107
+ # Limitation of liability clause
108
+ attr_accessor :liability_limitation
109
+
110
+ # Liability limitation type
111
+ attr_accessor :liability_limitation_type
112
+
113
+ # Liability timeframe
114
+ attr_accessor :liability_limitation_timeframe
115
+
116
+ # Liability amount
117
+ attr_accessor :liability_limitation_amount
118
+
119
+ # Collected personal information
120
+ attr_accessor :personal_information
121
+
122
+ # Collected sensitive information
123
+ attr_accessor :sensitive_information
124
+
125
+ # Collected third party data
126
+ attr_accessor :third_party_data
127
+
128
+ # Collected payment data
129
+ attr_accessor :payment_data
130
+
131
+ # Payment processors used
132
+ attr_accessor :payment_processors
133
+
134
+ # Do you store logs or app usage data?
135
+ attr_accessor :app_usage_data
136
+
137
+ # Do you disclose personal information to third parties?
138
+ attr_accessor :third_party_disclosure
139
+
140
+ # Third party entities you disclose personal information to
141
+ attr_accessor :third_party_disclosure_entities
142
+
143
+ # Do you sell/share personal information with third parties?
144
+ attr_accessor :third_party_sharing
145
+
146
+ # Third party entities you sell/share personal information with
147
+ attr_accessor :third_party_sharing_entities
148
+
149
+ # Do you have robust security measures in place?
150
+ attr_accessor :security_measures
151
+
152
+ # Do you use tracking cookies/web beacons?
153
+ attr_accessor :web_tracking
154
+
155
+ # Do you use third party analytics?
156
+ attr_accessor :third_party_analytics
157
+
158
+ # What do you need to perform to deliver your service?
159
+ attr_accessor :service_requirements
160
+
161
+ # What legal basis do you have for processing data?
162
+ attr_accessor :legal_basis
163
+
164
+ # Data retention period
165
+ attr_accessor :data_retention_period
166
+
167
+ # Do you support all US state privacy laws?
168
+ attr_accessor :us_state_privacy_laws
169
+
170
+ # Do you have a privacy management page to link to?
171
+ attr_accessor :privacy_page
172
+
173
+ # Do you have a Data Protection Officer (DPO)?
174
+ attr_accessor :dpo
175
+
176
+ # Your DPO's name
177
+ attr_accessor :dpo_name
178
+
179
+ # Your DPO's email
180
+ attr_accessor :dpo_email
181
+
182
+ # Your DPO's phone number
183
+ attr_accessor :dpo_phone
184
+
185
+ # Initializes a new instance of Configuration class.
186
+ def initialize
187
+ reset_defaults!
188
+ end
189
+
190
+ def default_tailwind_config
191
+ {
192
+ heading_color: "text-gray-900",
193
+ body_color: "text-gray-800",
194
+ link_color: "text-blue-500"
195
+ }
196
+ end
197
+
198
+ def get_tailwind_config(key)
199
+ @tailwind_config[key] || default_tailwind_config[key]
200
+ end
201
+
202
+ def reset_defaults!
203
+ @css_framework = :tailwind
204
+ @tailwind_config = {}
205
+
206
+ @entity_name = ""
207
+ @entity_website = ""
208
+ @entity_address = ""
209
+ @support_email = ""
210
+ @privacy_email = ""
211
+
212
+ @privacy_last_updated = Date.today.strftime("%Y-%m-%d")
213
+ @tos_last_updated = Date.today.strftime("%Y-%m-%d")
214
+
215
+ @platforms = [:web]
216
+ @locations = %i[us eu uk]
217
+ @entity_location = :us
218
+ @under_eighteen = false
219
+ @under_thirteen = false
220
+ @social_sign_in = false
221
+
222
+ @purchasable_goods = false
223
+ @subscription = false
224
+ @free_trial = false
225
+ @auto_renew = false
226
+ @refund_policy = :none
227
+ @user_content = false
228
+ @user_content_license = false
229
+ @user_accounts = false
230
+ @governing_law = :california
231
+ @dispute_resolution = :litigation
232
+ @mediation = false
233
+ @prohibited_uses = []
234
+
235
+ @service_sla = false
236
+ @service_sla_amount = 0
237
+ @service_sla_timeframe = nil
238
+ @service_sla_refund = false
239
+ @service_sla_refund_type = :full
240
+ @service_sla_custom = nil
241
+
242
+ @liability_limitation = false
243
+ @liability_limitation_type = :amount_paid
244
+ @liability_limitation_timeframe = nil
245
+ @liability_limitation_amount = 0
246
+
247
+ @personal_information = []
248
+ @sensitive_information = []
249
+ @third_party_data = []
250
+ @payment_data = false
251
+ @payment_processors = []
252
+ @app_usage_data = false
253
+ @third_party_disclosure = false
254
+ @third_party_disclosure_entities = []
255
+ @third_party_sharing = false
256
+ @third_party_sharing_entities = []
257
+ @security_measures = false
258
+ @web_tracking = false
259
+ @third_party_analytics = false
260
+ @service_requirements = []
261
+ @legal_basis = []
262
+ @data_retention_period = nil
263
+ @us_state_privacy_laws = false
264
+ @privacy_page = nil
265
+ @dpo = false
266
+ @dpo_name = nil
267
+ @dpo_email = nil
268
+ @dpo_phone = nil
269
+ end
270
+ end
271
+ end
@@ -0,0 +1,29 @@
1
+ module Policygen
2
+ module Css
3
+ class Classes
4
+ attr_reader :container_class,
5
+ :h1_class,
6
+ :h2_class,
7
+ :h3_class,
8
+ :section_class,
9
+ :body_class,
10
+ :ul_class,
11
+ :ol_class,
12
+ :bold_class,
13
+ :link_class
14
+
15
+ def initialize
16
+ @container_class = "policygen-container"
17
+ @h1_class = "policygen-h1"
18
+ @h2_class = "policygen-h2"
19
+ @h3_class = "policygen-h3"
20
+ @section_class = "policygen-section"
21
+ @body_class = "policygen-body-text"
22
+ @ul_class = "policygen-ul"
23
+ @ol_class = "policygen-ol"
24
+ @bold_class = "policygen-bold"
25
+ @link_class = "policygen-link"
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,29 @@
1
+ module Policygen
2
+ module Css
3
+ class Tailwind
4
+ attr_reader :container_class,
5
+ :h1_class,
6
+ :h2_class,
7
+ :h3_class,
8
+ :section_class,
9
+ :body_class,
10
+ :ul_class,
11
+ :ol_class,
12
+ :bold_class,
13
+ :link_class
14
+
15
+ def initialize
16
+ @container_class = "container mx-auto px-4"
17
+ @h1_class = "text-4xl font-bold #{Policygen.config.get_tailwind_config(:heading_color)}"
18
+ @h2_class = "text-2xl mt-4 font-bold #{Policygen.config.get_tailwind_config(:heading_color)}"
19
+ @h3_class = "text-xl mt-4 font-bold #{Policygen.config.get_tailwind_config(:heading_color)}"
20
+ @section_class = "mt-8"
21
+ @body_class = "mt-4 #{Policygen.config.get_tailwind_config(:body_color)}"
22
+ @ul_class = "list-disc list-inside #{Policygen.config.get_tailwind_config(:body_color)}"
23
+ @ol_class = "list-decimal list-inside #{Policygen.config.get_tailwind_config(:body_color)}"
24
+ @bold_class = "font-bold"
25
+ @link_class = "underline #{Policygen.config.get_tailwind_config(:link_color)}"
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,8 @@
1
+ require 'policygen/view_helpers'
2
+ module Policygen
3
+ class Railtie < Rails::Railtie
4
+ initializer "policygen.view_helpers" do
5
+ ActiveSupport.on_load(:action_view) { include Policygen::ViewHelpers }
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "i18n"
4
+ require "erb"
5
+ require_relative "css/tailwind"
6
+
7
+ module Policygen
8
+ class Renderer
9
+ def initialize
10
+ @config = Policygen.config
11
+ @css = css
12
+
13
+ unless I18n.load_path.include?(File.join(File.dirname(__FILE__), "../locales", "en.yml"))
14
+ I18n.load_path += Dir[File.join(File.dirname(__FILE__), "../locales", "*.yml")]
15
+ end
16
+ end
17
+
18
+ def privacy_policy
19
+ template = File.read(File.join(File.dirname(__FILE__), "../templates", "privacy_policy.html.erb"))
20
+ ERB.new(template).result(binding)
21
+ end
22
+
23
+ def terms_of_service
24
+ template = File.read(File.join(File.dirname(__FILE__), "../templates", "tos.html.erb"))
25
+ ERB.new(template).result(binding)
26
+ end
27
+
28
+ private
29
+
30
+ def css
31
+ return Policygen::Css::Tailwind.new if @config.css_framework == :tailwind
32
+
33
+ Policygen::Css::Classes.new
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,12 @@
1
+ require 'sinatra/base'
2
+ require 'policygen/view_helpers'
3
+
4
+ module Policygen
5
+ module Sinatra
6
+ def self.registered(app)
7
+ app.helpers Policygen::ViewHelpers
8
+ end
9
+ end
10
+ end
11
+
12
+ Sinatra.register Policygen::Sinatra
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Policygen
4
+ VERSION = "0.1.0"
5
+ end