Privacy
How TripTogether handles your personal data.
Who is responsible
The controller is the TripTogether team, a course project. Contact: contact@triptogether.example.
What we process
Your account
Name, first and last name, email, username, phone number, address, birth date, gender (optional), profile photo, a password hash, and the account role and ban status. The photo is stored in Supabase Storage.
Your trips
Trips you organize (destination, dates, group size, gender preference, budget, transport, theme), the requests you send to join a trip and its decision, and the trips you are a member of.
Trip chat messages
The messages you send in trip group chats and direct chats (text, sender, time sent) and the time you last read each conversation. They are visible to the other participants of that conversation, cannot be edited or deleted, and are kept until your account is deleted, when they are deleted too. The audit log records that a direct chat was started, never what was said.
Identity documents (optional)
You can add an ID card or passport photo, at sign-up or later in Edit profile, to get the Verified user badge. The image is read on our server only (OCR) to check that the machine-readable lines are valid, the document has not expired and the name matches your account. It is stored in a private bucket and only you can see it, through short-lived links. Admins see only the status, the document type and the expiry date, never the image. We store these fields: the document type, the issuing country, the expiry date, your name as read from the document and the verification date. The document number is not stored as a field, only as a keyed hash, to stop the same document being used by several accounts; the personal number (CNP) is not stored as a field either. The uploaded image itself does show them, and it is kept privately until you remove the document from Edit profile or your account is deleted.
Security data
Each sign-in session stores your IP address and user agent. Rate-limit counters keyed by your IP address (sign-in, sign-up) are deleted at the next cleanup once they have been idle for 24 hours (the cleanup runs while analytics data arrives, so on a quiet day it can take longer); the rate-limit keys of analytics are hashed. An audit log records account and trip changes.
Password reset
When you ask for a reset, we send a link to your email address. The link token is stored only as a hash and is valid for up to 1 hour. Reset requests are counted per IP address and per hashed email address in the same rate-limit table, and those counters are deleted once they have been idle for 24 hours.
Analytics (only if you accept)
An anonymous visitor id and session id, a hash of your IP address made with a salt that changes every day (the IP itself is not stored), device and browser family, the pages you visit, clicks, page timings and loading performance. These records are deleted after 30 days. Admin pages are never tracked.
Contact form
The contact form stores your name, email, topic and message in our database (Supabase) so we can answer you. They are deleted after about 12 months (removed when newer messages arrive). We do not store your raw IP address; a hash made with a daily-changing salt only limits spam.
Why, and on what legal basis
- Running your account and trips: performance of a contract.
- Analytics to improve the site: your consent, which you can refuse or withdraw at any time.
- Session IP and user agent, rate limiting and the audit log, to protect the service against abuse: our legitimate interest in security.
- Answering your contact message: our legitimate interest in answering you.
Who processes data for us
- Supabase: database and photo storage (region: Frankfurt, EU).
- Vercel: hosting (region fra1, Frankfurt).
- Google (Gmail): sends the password reset emails, so it receives your email address and the reset link. A copy of each email stays in the sender's Sent folder (your address and a link valid for up to 1 hour).
Translate button on trip descriptions (desktop Chrome only): the translation runs on your device with the browser's built-in translator. TripTogether sends nothing, and Chrome may download a language model from Google the first time.
Your rights
You can ask for access, correction, deletion, restriction or a copy of your data, and object to processing based on legitimate interest, by writing to the contact above. You can withdraw your consent at any time with the Cookie settings button in the footer. You can also complain to the Romanian data protection authority, ANSPDCP (dataprotection.ro).
If your browser sends a Global Privacy Control or Do Not Track signal, we treat it as a refusal of analytics.
Cookies and local storage
| Name | Purpose | Category | Duration |
|---|---|---|---|
| better-auth.session_tokenNamed __Secure-better-auth.session_token in production | Keeps you signed in | Necessary | Up to 7 days (renewed while you use the site) |
| tt_consent | Remembers your cookie choice | Necessary | 180 days |
| NEXT_LOCALE | Remembers the language you picked | Necessary | 1 year |
| tt_vid | Anonymous visitor id for analytics | Analytics (only with consent) | 180 days |
| tt_sid | Anonymous session id for analytics | Analytics (only with consent) | 30 minutes of inactivity |
| theme (localStorage) | Remembers light or dark mode | Necessary | Until you clear your browser data |
| tt_joiner_guide_dismissed (localStorage) | Remembers that you closed the quick guide on your dashboard | Necessary | Until you clear your browser data |
| tt_feed_return (sessionStorage) | Remembers your place in the trips list (page, page size, city filter) when you open a trip, so Back returns you there | Necessary | Until you return to the trips list or close the tab, at most 30 minutes |