-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ add friend checkin to api #2717
Conversation
I have received a request to add an expiry date for trusted users, e.g. to use this for time-limited trips. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've only finished 5 files out of 24. Will resume in the evening or tomorrow.
Co-authored-by: Levin Herr <github@17d.me>
Co-authored-by: Levin Herr <github@17d.me>
Co-authored-by: Levin Herr <github@17d.me>
# Conflicts: # app/Http/Controllers/API/v1/SettingsController.php # app/Http/Controllers/API/v1/TransportController.php # app/Models/User.php # resources/views/includes/status.blade.php # storage/api-docs/api-docs.json
9d2713f
to
e062656
Compare
@MrKrisKrisu Hab's behoben/gemerged. Aber bitte teste dein feature einmal manuell durch, ob alles passt. Und auch ob ich nicht aus versehen was von dir beim Konflikte beheben gelöscht hab |
Danke. Von meiner Seite aus passt alles noch. |
1. Added a new UserSettings to specify who is allowed to checking in for a user (forbidden, friends, list)
friends = following each other
list = see "trusted users" below
2. New Attribute on Checkin-Endpoint "with"
3. New Endpoints to manage "trusted users"
Trusted Users are only required, if User allow a specific list of trusted users to check in for them.