| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Set audio folder | Santo Cariotti | 2024-11-29 | 2 | -2/+6 |
| | | |||||
| * | Cache system to avoid duplicated alerts within 10 mins | Santo Cariotti | 2024-11-29 | 1 | -0/+35 |
| | | |||||
| * | Use Expo on the AppState | Santo Cariotti | 2024-11-29 | 5 | -18/+34 |
| | | | | | | This because since Rust 1.83 it is suggested to not use the static reference cloning | ||||
| * | Catch errors from audio server | Santo Cariotti | 2024-10-28 | 1 | -2/+9 |
| | | |||||
| * | Fix new position creation time | Santo Cariotti | 2024-10-20 | 1 | -1/+2 |
| | | |||||
| * | Save notification's position info | Santo Cariotti | 2024-10-20 | 3 | -96/+93 |
| | | | | | | Since we save the last user's position only, we can't be able to link a notification to a position. So, the better thing is to save a redundant lat/lng | ||||
| * | Filter positions by list of moving activities | Santo Cariotti | 2024-10-18 | 2 | -22/+52 |
| | | |||||
| * | Use only one position per user | Santo Cariotti | 2024-10-18 | 2 | -131/+89 |
| | | |||||
| * | Use `AppState` instead of `String` using some traits | Santo Cariotti | 2024-09-16 | 9 | -132/+151 |
| | | |||||
| * | Use tracing rather than std(out|err) | Santo Cariotti | 2024-09-16 | 3 | -5/+5 |
| | | |||||
| * | Text-to-speach API for alert sound generation | Santo Cariotti | 2024-09-13 | 4 | -1/+132 |
| | | |||||
| * | Fix import | Santo Cariotti | 2024-09-12 | 1 | -4/+1 |
| | | |||||
| * | Each alert has text{1,2,3} for the three possible area | Santo Cariotti | 2024-09-12 | 4 | -192/+256 |
| | | | | | Alert level is moved to the notification struct | ||||
| * | doc: Show readme.md in main.rs file | Santo Cariotti | 2024-09-11 | 1 | -0/+1 |
| | | |||||
| * | Fix polygon validation | Santo Cariotti | 2024-09-10 | 1 | -1/+9 |
| | | |||||
| * | Fix notification for alert with no position IDs | Santo Cariotti | 2024-09-10 | 1 | -24/+28 |
| | | |||||
| * | Remove `OnFoot` moving activity | Santo Cariotti | 2024-09-10 | 1 | -5/+0 |
| | | |||||
| * | Fix query to get positions for notifications | Santo Cariotti | 2024-09-09 | 1 | -6/+11 |
| | | |||||
| * | Mutation for notification update | Santo Cariotti | 2024-09-08 | 2 | -1/+134 |
| | | |||||
| * | Filter notifications by optional id and optional seen | Santo Cariotti | 2024-09-08 | 2 | -13/+28 |
| | | |||||
| * | Add `userEdit` and `userPasswordEdit` mutations | Santo Cariotti | 2024-09-07 | 2 | -0/+148 |
| | | |||||
| * | Formatted | Santo Cariotti | 2024-09-07 | 2 | -2/+2 |
| | | |||||
| * | Use submodules mutations and query for types | Santo Cariotti | 2024-09-07 | 7 | -538/+599 |
| | | |||||
| * | Fixs with clippy | Santo Cariotti | 2024-09-05 | 4 | -6/+10 |
| | | |||||
| * | Send notifications by Expo API | Santo Cariotti | 2024-09-05 | 4 | -2/+70 |
| | | |||||
| * | Create notifications from a new alert | Santo Cariotti | 2024-09-05 | 2 | -68/+97 |
| | | |||||
| * | Keep a device token for the user notification | Santo Cariotti | 2024-09-05 | 2 | -9/+66 |
| | | |||||
| * | Notification must be filtered by seen field | Santo Cariotti | 2024-09-03 | 2 | -13/+17 |
| | | |||||
| * | Add notification type | Santo Cariotti | 2024-09-03 | 3 | -0/+157 |
| | | |||||
| * | Fix typo | Santo Cariotti | 2024-09-03 | 1 | -2/+2 |
| | | |||||
| * | Add user query used to find an user by id | Santo Cariotti | 2024-09-03 | 2 | -1/+74 |
| | | |||||
| * | Limit `users` query to admins only | Santo Cariotti | 2024-09-03 | 1 | -1/+9 |
| | | |||||
| * | Add name and address fields for users | Santo Cariotti | 2024-09-03 | 2 | -3/+17 |
| | | |||||
| * | Add examples on doc | Santo Cariotti | 2024-09-03 | 2 | -0/+85 |
| | | |||||
| * | Add extended area field for alerts | Santo Cariotti | 2024-09-01 | 2 | -18/+72 |
| | | |||||
| * | Add filter for alert by id | Santo Cariotti | 2024-08-30 | 2 | -4/+19 |
| | | |||||
| * | Use timestamp for `created_at` field | Santo Cariotti | 2024-08-30 | 5 | -58/+17 |
| | | |||||
| * | Return user_id on JWT creation | Santo Cariotti | 2024-08-30 | 2 | -2/+5 |
| | | |||||
| * | Add CORS | Santo Cariotti | 2024-08-29 | 1 | -2/+10 |
| | | |||||
| * | Valid the polygon before the alert creation | Santo Cariotti | 2024-08-29 | 2 | -6/+36 |
| | | |||||
| * | Fix order of lat/lng | Santo Cariotti | 2024-08-26 | 1 | -2/+2 |
| | | |||||
| * | Add alerts | Santo Cariotti | 2024-08-26 | 5 | -30/+206 |
| | | | | | | | | | | | | | | | | | | | | | | A payload for alert creation can be ``` { "query": "mutation NewAlert($input: AlertInput!) { newAlert(input: $input) { id createdAt level } }", "variables": { "input": { "points": [ { "latitude": 40.73061, "longitude": -73.935242 }, { "latitude": 40.741895, "longitude": -73.989308 }, { "latitude": 40.712776, "longitude": -74.005974 }, { "latitude": 40.73061, "longitude": -73.935242 }, ], "level": "TWO" } } } ``` | ||||
| * | Add new position | Santo Cariotti | 2024-08-24 | 2 | -3/+68 |
| | | | | | | | | | | | | | | | | | | | ``` curl -X POST http://localhost:8000/graphql \ -H "Content-Type: application/json" \ -H "Authorization: Bearer TOKEN" \ -d '{ "query": "mutation NewPosition($input: PositionInput!) { newPosition(input: $input) { id userId createdAt latitude longitude movingActivity } }", "variables": { "input": { "latitude": 44.502952, "longitude": 11.3114988, "movingActivity": "IN_VEHICLE" } } }' ``` | ||||
| * | Add `lastPositions` query with filter by `movingActivity` param | Santo Cariotti | 2024-08-23 | 2 | -0/+75 |
| | | |||||
| * | Add doc | Santo Cariotti | 2024-08-23 | 8 | -0/+35 |
| | | |||||
| * | Filter positions by user id | Santo Cariotti | 2024-08-23 | 3 | -12/+70 |
| | | |||||
| * | Add field `moving activity` | Santo Cariotti | 2024-08-22 | 1 | -2/+69 |
| | | | | | Following https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity | ||||
| * | Add position type and query on it | Santo Cariotti | 2024-08-22 | 6 | -2/+123 |
| | | |||||
| * | Add pagination | Santo Cariotti | 2024-08-22 | 2 | -4/+16 |
| | | | | | Query is `users(limit: X offset Y)` with defaults X=20 Y=0 | ||||
| * | Authentication for endpoints | Santo Cariotti | 2024-08-21 | 7 | -33/+84 |
| | | |||||
