|
| 1 | +import { |
| 2 | + Container, |
| 3 | + Divider, |
| 4 | + List, |
| 5 | + ListItem, |
| 6 | + ListItemDecorator, |
| 7 | + Typography, |
| 8 | +} from '@mui/joy' |
| 9 | +import { |
| 10 | + CheckCircle, |
| 11 | + RemoveCircle, |
| 12 | +} from '@mui/icons-material' |
| 13 | +import React from 'react' |
| 14 | + |
| 15 | +export class PrivacyPolicy extends React.Component { |
| 16 | + render(): React.ReactNode { |
| 17 | + return ( |
| 18 | + <Container |
| 19 | + maxWidth='md' |
| 20 | + sx={{ py: 4, px: 2 }} |
| 21 | + > |
| 22 | + <Typography level='h1'>Privacy Policy</Typography> |
| 23 | + <Typography |
| 24 | + level='body-sm' |
| 25 | + sx={{ mt: 1, mb: 3, color: 'text.tertiary' }} |
| 26 | + > |
| 27 | + Last updated: March 2026 |
| 28 | + </Typography> |
| 29 | + |
| 30 | + <Section title='Overview'> |
| 31 | + <Typography> |
| 32 | + Task Wizard is a self-hostable, privacy-focused task management |
| 33 | + application. Because you can host it on your own infrastructure, you |
| 34 | + retain full control over your data. No user information is sent to the |
| 35 | + Task Wizard maintainers or any centralized service operated by them. |
| 36 | + </Typography> |
| 37 | + </Section> |
| 38 | + |
| 39 | + <Section title='Data We Collect'> |
| 40 | + <Typography sx={{ mb: 1 }}> |
| 41 | + Task Wizard is designed to collect the minimum data necessary to |
| 42 | + function: |
| 43 | + </Typography> |
| 44 | + <BulletList |
| 45 | + icon={<CheckCircle color='success' />} |
| 46 | + items={[ |
| 47 | + 'Authentication identifiers from Microsoft Entra ID (directory ID and object ID) — used solely to identify your account', |
| 48 | + 'Task data you create: titles, due dates, recurrence rules, completion status, and labels', |
| 49 | + 'Notification preferences and scheduled notification metadata', |
| 50 | + 'Request metadata for operational logging: IP address, user agent, HTTP method, route, and status code (request bodies and tokens are never logged)', |
| 51 | + ]} |
| 52 | + /> |
| 53 | + </Section> |
| 54 | + |
| 55 | + <Section title='Data We Do NOT Collect'> |
| 56 | + <BulletList |
| 57 | + icon={<RemoveCircle color='disabled' />} |
| 58 | + items={[ |
| 59 | + 'Personal names, email addresses, or passwords — these fields were explicitly omitted from the data model', |
| 60 | + 'Tracking cookies, analytics identifiers, or advertising data', |
| 61 | + 'Telemetry or usage analytics', |
| 62 | + ]} |
| 63 | + /> |
| 64 | + </Section> |
| 65 | + |
| 66 | + <Section title='How Your Data Is Stored'> |
| 67 | + <Typography> |
| 68 | + All data is stored in a database (SQLite by default, or MySQL) on |
| 69 | + a backend server. |
| 70 | + </Typography> |
| 71 | + <Typography sx={{ mt: 1 }}> |
| 72 | + The database is not encrypted at rest by default. Server |
| 73 | + administrators are encouraged to apply operating-system-level or |
| 74 | + disk-level encryption to protect stored data. |
| 75 | + </Typography> |
| 76 | + </Section> |
| 77 | + |
| 78 | + <Section title='Authentication and Security'> |
| 79 | + <BulletList |
| 80 | + icon={<CheckCircle color='success' />} |
| 81 | + items={[ |
| 82 | + 'Authentication is delegated to Microsoft Entra ID using OAuth 2.0 and OpenID Connect — no passwords are stored or processed by the application', |
| 83 | + 'JWT tokens are verified against Entra ID\'s public signing keys (JWKS) on every request', |
| 84 | + 'WebSocket connections are authenticated using the same token verification', |
| 85 | + 'Rate limiting is applied (300 requests per minute per IP address) to mitigate abuse', |
| 86 | + 'All database queries use parameterized statements to prevent SQL injection', |
| 87 | + 'CORS is configurable per deployment to restrict cross-origin access', |
| 88 | + 'HTTPS is recommended and should be configured via a reverse proxy in front of the application', |
| 89 | + ]} |
| 90 | + /> |
| 91 | + </Section> |
| 92 | + |
| 93 | + <Section title='Third-Party Services'> |
| 94 | + <BulletList |
| 95 | + icon={<CheckCircle color='success' />} |
| 96 | + items={[ |
| 97 | + 'Microsoft Entra ID - contacted for authentication only; no task or personal data is shared', |
| 98 | + 'Gotify or webhook endpoints (optional) - if configured by you, only minimal task completion text is sent to the endpoint you choose', |
| 99 | + ]} |
| 100 | + /> |
| 101 | + <Typography sx={{ mt: 1 }}> |
| 102 | + No other external services are contacted by the application. |
| 103 | + </Typography> |
| 104 | + </Section> |
| 105 | + |
| 106 | + <Section title='Data Retention and Deletion'> |
| 107 | + <BulletList |
| 108 | + icon={<CheckCircle color='success' />} |
| 109 | + items={[ |
| 110 | + 'Sent notifications are automatically deleted within 10 minutes', |
| 111 | + 'Deleting your account removes all associated data including tasks, labels, and notifications', |
| 112 | + 'As a self-hostable application, the server administrator has full control over data retention, backups, and purging', |
| 113 | + ]} |
| 114 | + /> |
| 115 | + </Section> |
| 116 | + |
| 117 | + <Section title='Open Source and Transparency'> |
| 118 | + <Typography> |
| 119 | + Task Wizard is open-source software. The entire codebase is publicly |
| 120 | + available and can be audited by anyone. Automated security scanning |
| 121 | + is performed via CodeQL and dependency updates are managed through |
| 122 | + Dependabot. |
| 123 | + </Typography> |
| 124 | + </Section> |
| 125 | + |
| 126 | + <Divider sx={{ my: 3 }} /> |
| 127 | + |
| 128 | + <Section title='Disclaimers'> |
| 129 | + <Typography> |
| 130 | + This software is provided “as is”, without warranty of |
| 131 | + any kind, express or implied. While the project follows security best |
| 132 | + practices, no system is perfect and vulnerabilities may exist. |
| 133 | + </Typography> |
| 134 | + <Typography sx={{ mt: 1, fontWeight: 600 }}> |
| 135 | + Use at your own risk. |
| 136 | + </Typography> |
| 137 | + <Typography sx={{ mt: 1 }}> |
| 138 | + The maintainers are not liable for any data loss, security breaches, |
| 139 | + or damages arising from the use of this software. Because Task |
| 140 | + Wizard is self-hostable, the security of your deployment ultimately |
| 141 | + depends on you: keep your server, reverse proxy, operating system, |
| 142 | + and dependencies up to date. |
| 143 | + </Typography> |
| 144 | + </Section> |
| 145 | + |
| 146 | + <Section title='Changes to This Policy'> |
| 147 | + <Typography> |
| 148 | + This policy may be updated as the application evolves. Changes will |
| 149 | + be reflected in the “last updated” date at the top of |
| 150 | + this page. |
| 151 | + </Typography> |
| 152 | + </Section> |
| 153 | + </Container> |
| 154 | + ) |
| 155 | + } |
| 156 | +} |
| 157 | + |
| 158 | +interface SectionProps { |
| 159 | + title: string |
| 160 | + children: React.ReactNode |
| 161 | +} |
| 162 | + |
| 163 | +class Section extends React.Component<SectionProps> { |
| 164 | + render(): React.ReactNode { |
| 165 | + return ( |
| 166 | + <section style={{ marginBottom: 24 }}> |
| 167 | + <Typography |
| 168 | + level='h3' |
| 169 | + sx={{ mb: 1 }} |
| 170 | + > |
| 171 | + {this.props.title} |
| 172 | + </Typography> |
| 173 | + {this.props.children} |
| 174 | + </section> |
| 175 | + ) |
| 176 | + } |
| 177 | +} |
| 178 | + |
| 179 | +interface BulletListProps { |
| 180 | + icon: React.ReactNode |
| 181 | + items: string[] |
| 182 | +} |
| 183 | + |
| 184 | +class BulletList extends React.Component<BulletListProps> { |
| 185 | + render(): React.ReactNode { |
| 186 | + return ( |
| 187 | + <List size='sm'> |
| 188 | + {this.props.items.map((item, index) => ( |
| 189 | + <ListItem key={index}> |
| 190 | + <ListItemDecorator sx={{ alignSelf: 'flex-start', mt: 0.5 }}> |
| 191 | + {this.props.icon} |
| 192 | + </ListItemDecorator> |
| 193 | + {item} |
| 194 | + </ListItem> |
| 195 | + ))} |
| 196 | + </List> |
| 197 | + ) |
| 198 | + } |
| 199 | +} |
0 commit comments