summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use submodules mutations and query for typesSanto Cariotti2024-09-077-538/+599
|
* Add logoSanto Cariotti2024-09-061-2/+2
|
* Add readmeSanto Cariotti2024-09-061-0/+87
|
* Fix scripts and add composeSanto Cariotti2024-09-063-0/+37
|
* Add script and configuration for KubernetesSanto Cariotti2024-09-0610-0/+191
|
* release: version 0.0.3-alpha.3Santo Cariotti2024-09-052-2/+2
|
* docker: fix missed libSanto Cariotti2024-09-051-1/+2
|
* release: version 0.0.3-alpha.2Santo Cariotti2024-09-052-2/+2
|
* cd: fix tag for latestSanto Cariotti2024-09-051-0/+1
|
* release: version 0.0.3-alpha.1Santo Cariotti2024-09-052-2/+2
|
* cd: add the last version as `latest` versionSanto Cariotti2024-09-051-0/+1
|
* Fixs with clippySanto Cariotti2024-09-054-6/+10
|
* release: version 0.0.3Santo Cariotti2024-09-052-2/+2
|
* Send notifications by Expo APISanto Cariotti2024-09-056-7/+570
|
* Create notifications from a new alertSanto Cariotti2024-09-052-68/+97
|
* Keep a device token for the user notificationSanto Cariotti2024-09-053-9/+67
|
* release: version 0.0.2-aSanto Cariotti2024-09-032-2/+2
|
* Notification must be filtered by seen fieldSanto Cariotti2024-09-032-13/+17
|
* release: version 0.0.2Santo Cariotti2024-09-033-2/+3
|
* Add notification typeSanto Cariotti2024-09-036-2/+172
|
* Fix typoSanto Cariotti2024-09-031-2/+2
|
* Add auto commitSanto Cariotti2024-09-031-0/+2
|
* release: 0.0.1-aSanto Cariotti2024-09-031-1/+1
|
* Add user query used to find an user by idSanto Cariotti2024-09-032-1/+74
|
* Limit `users` query to admins onlySanto Cariotti2024-09-031-1/+9
|
* Add name and address fields for usersSanto Cariotti2024-09-033-3/+19
|
* Add metadata on Cargo configSanto Cariotti2024-09-031-0/+6
|
* ci: docsSanto Cariotti2024-09-031-38/+24
|
* Add examples on docSanto Cariotti2024-09-033-1/+86
|
* ci: add docSanto Cariotti2024-09-031-0/+48
|
* cd: add `release.sh` and fix textSanto Cariotti2024-09-022-4/+11
|
* cd: add step to publish a build in ghcrSanto Cariotti2024-09-023-1/+68
|
* Add extended area field for alertsSanto Cariotti2024-09-012-18/+72
|
* Add filter for alert by idSanto Cariotti2024-08-302-4/+19
|
* Use timestamp for `created_at` fieldSanto Cariotti2024-08-305-58/+17
|
* Return user_id on JWT creationSanto Cariotti2024-08-302-2/+5
|
* Add CORSSanto Cariotti2024-08-292-3/+11
|
* Valid the polygon before the alert creationSanto Cariotti2024-08-292-6/+36
|
* Fix order of lat/lngSanto Cariotti2024-08-261-2/+2
|
* Add alertsSanto Cariotti2024-08-266-30/+220
| | | | | | | | | | | | | | | | | | | | | 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 positionSanto Cariotti2024-08-242-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` paramSanto Cariotti2024-08-232-0/+75
|
* Add docSanto Cariotti2024-08-238-0/+35
|
* Filter positions by user idSanto Cariotti2024-08-233-12/+70
|
* Add field `moving activity`Santo Cariotti2024-08-224-2/+74
| | | | Following https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity
* Add position type and query on itSanto Cariotti2024-08-229-3/+135
|
* Add paginationSanto Cariotti2024-08-222-4/+16
| | | | Query is `users(limit: X offset Y)` with defaults X=20 Y=0
* Create rust.ymlSanto Cariotti2024-08-211-0/+22
|
* Authentication for endpointsSanto Cariotti2024-08-219-33/+133
|
* Add loginSanto Cariotti2024-08-218-7/+353
| | | | | | | | | | | | | | | | Fields sent are ``` { "query": "mutation Login($input: LoginCredentials!) { login(input: $input) { accessToken tokenType } }", "variables": { "input": { "email": "....", "password": "..." } } } ```