Commit Graph
100 Commits
Author SHA1 Message Date
Adrien 2b0eb40ab1 🚧 Run linters in poetry virtual environment
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:59:10 +01:00
Adrien 8082f7f012 🚧 Remove the deps installation and disable mypy caching
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:56:18 +01:00
Adrien 2d9d7c51b5 🚧 Add gcc to the CI image
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:52:34 +01:00
Adrien 63cdbcb46e 🚧 Install dependencies before running the linters
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:46:12 +01:00
Adrien 825a852c67 🚧 Fix reviewdog path
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:34:51 +01:00
Adrien 812d7c0a61 🚧 Format reviewdog command and use temp file
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:31:47 +01:00
Adrien 63abb677cb 🚧 Try to run linters on pull_request event
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 19:13:13 +01:00
Adrien a089bbbf78 🔊 Print env variables
ci/woodpecker/push/lint Pipeline was successful
2024-02-11 19:09:06 +01:00
Adrien 55401dcd0c 🚧 Add gitea_address secret
ci/woodpecker/push/lint Pipeline was successful
2024-02-11 19:05:15 +01:00
Adrien 58c18a0479 🚧 Enable REVIEWDOG_GITEA_API_TOKEN
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 18:54:05 +01:00
Adrien 2eb8d59a0e 🚧 Fix typo
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
2024-02-11 18:38:47 +01:00
Adrien 137c28387c 🚧 Fix eviewdog path
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 18:37:23 +01:00
Adrien 0cddf9dc7e 🚧 Fix reviewdog version and setup ruff
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 18:34:51 +01:00
Adrien bccbfe0ff3 🚧 First reviewdog try
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 18:30:43 +01:00
Adrien 10ecd40ef5 💚 Force the linters to run even if the previous one fails.
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 17:52:28 +01:00
Adrien 6687c2de15 💚 Run backend linters on commits only
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed
Try to force the linters to run even if the previous one fails.
2024-02-11 17:48:01 +01:00
Adrien c8732a0375 Run Mypy linter on backend pull requests
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed
2024-02-11 17:40:06 +01:00
Adrien ff808e7c8f 💚 Don't run linters on master, develop and release/* branches
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline was successful
2024-02-11 17:24:24 +01:00
Adrien 7ac719db24 👷 Run Ruff linter on back-end pull requests
ci/woodpecker/manual/lint Pipeline was successful
2024-02-11 17:06:04 +01:00
Adrien a8277fd018 👷 First try
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-02-03 18:04:09 +01:00
Adrien e98b24303c 🎨 Cleanup code formatting 2024-02-02 23:02:39 +01:00
Adrien f6bd241db3 Merge branch 'readme' into develop 2024-01-08 23:05:38 +01:00
Adrien eead35f822 📝 Add Docs section to the TODO list 2024-01-08 23:03:59 +01:00
Adrien 3ff9a91bd0 Merge branch 'readme' into develop 2024-01-07 11:44:23 +01:00
Adrien d7bef20ffc 📄 Rewrite reference of the origin of the project name 2024-01-07 11:42:44 +01:00
Adrien c2c8c81759 📄 Replace WIP tag with a reference to the origin of the project name 2024-01-07 11:39:04 +01:00
Adrien 98dbf5dfe2 📄 Add WIP tag to the README file 2024-01-07 11:35:46 +01:00
Adrien 3873fdb719 Merge branch 'readme' into develop 2024-01-07 11:30:03 +01:00
Adrien 4236f33cb9 📝 Add technical stack description to the README 2024-01-07 11:19:14 +01:00
Adrien 60ce90b633 🚧 Add C4 Container diagram 2024-01-06 17:45:58 +01:00
Adrien c52fc69560 🚧 Add plantuml block to the README to test gitea rendering 2024-01-06 13:32:17 +01:00
Adrien e9a13c662e 📝 Change the presentation video chroma subsampling
Cf. https://bugzilla.mozilla.org/show_bug.cgi?id=1368063
2023-12-22 11:36:01 +01:00
Adrien 93625f12b1 📝 Add thumbnail to the presentation video 2023-12-22 11:27:30 +01:00
Adrien b7ed3f83b8 📝 Add main readme file
Signed-off-by: Adrien <me@adrien.run>
2023-12-22 11:03:29 +01:00
Adrien f1a47c9621 📝 First try to embed a video in the readme page 2023-12-22 10:59:44 +01:00
Adrien 7843309f0a 📝 Add a video showing what carrramba-encore-rate service is 2023-12-22 10:48:22 +01:00
Adrien cebc9077c3 👽️ Add of the StopAreaStopAssociationFields pdeid and pdeversion fields
These fields have been added by IDFM in its relations resource.
For now, these fields are not used.
2023-10-22 23:41:27 +02:00
Adrien f862e124a6 Merge branch 'k8s-integration' into develop 2023-10-22 23:37:44 +02:00
Adrien 1bb75b28eb ♻️ Use of relative imports for api modules 2023-10-22 23:34:58 +02:00
Adrien 0a7337a313 ♻️ Put api_server and db_updater scripts on the backend root 2023-10-22 23:31:35 +02:00
Adrien fcd1ae78c3 🐛 Fix IP to bind in the api config file for local use 2023-09-20 22:24:02 +02:00
Adrien ec1b4100a3 🐛 Fix validation issue in /api/stop/{stop_id}/destinations responses 2023-09-20 22:22:13 +02:00
Adrien 37ec05bf3b Merge branch 'k8s-integration' into develop 2023-09-20 22:14:56 +02:00
Adrien 3434802b31 🎨 Reorganize back-end code 2023-09-20 22:08:32 +02:00
Adrien bdbc72ab39 🐛 Front: Fix URL used to fetch transport mode representation 2023-09-10 12:25:38 +02:00
Adrien 4cc8f60076 🐛 Front: Use the public API server to fetch data 2023-09-10 12:17:48 +02:00
Adrien cf5c4c6224 🔒️ Fix CORS allowed origins and methods 2023-09-10 12:07:20 +02:00
Adrien f69aee1c9c 🔒️ Remove driver and password from configuration file
Password will be provided by vault using an env variable.
2023-09-10 12:04:25 +02:00
Adrien 8c493f8fab ♻️ Remove pg_trgm creation from the db session init
The pg_trgm extension will be created during db init, by the db-updated image.
2023-09-10 11:46:24 +02:00
Adrien 4fce832db5 ♻️ Rename docker file building api image 2023-09-10 11:45:08 +02:00
Adrien bfc669cd11 ♻️ Use pydantic-settings to handle config file 2023-09-09 23:35:18 +02:00
Adrien 4056b3a739 🐛 Error raised by frontend Map component if no stop found 2023-09-09 23:18:03 +02:00
Adrien f7f0fdb980 ️ Use of integer to store Line and Stop id
Update Line and Stop schemas.
2023-09-09 23:05:18 +02:00
Adrien 6c149e844b 💥 Remove /widget static endpoint
This endpoint shall be served by a dedicated static HTTP server.
2023-06-13 05:45:33 +02:00
Adrien f5529bba24 Merge branch 'remove-db-filling-from-backend' into develop 2023-06-13 05:44:00 +02:00
Adrien 5da918c04b 👽️ Take the last IDFM format into account 2023-06-11 22:41:44 +02:00
Adrien 2eaf0f4ed5 Use of db merge when adds fails due to single key violations 2023-06-11 22:28:15 +02:00
Adrien c42b687870 🐛 Fix IdfmInterface circular import issue 2023-06-11 22:24:09 +02:00
Adrien d8adb4f52d ♻️ Remove code in charge or db filling from IdfmInterface 2023-06-11 22:22:05 +02:00
Adrien 5e7f440b54 ♻️ Add the db_updater package 2023-06-11 22:18:47 +02:00
Adrien 824536ddbe 💥 Rename API_KEY to IDFM_API_KEY 2023-05-28 12:45:03 +02:00
Adrien 7fbdd0606c ️ Reduce the size of the backend docker image 2023-05-28 12:40:10 +02:00
Adrien 581f6b7b8f 🐛 Add workaround for fastapi-cache issue #144 2023-05-28 10:45:14 +02:00
Adrien 404b228cbf 🔥 Remove env variables from backend dockerfile 2023-05-26 23:55:58 +02:00
Adrien e2ff90cd5f ️ Use Redis to cache REST responses 2023-05-26 18:10:47 +02:00
Adrien cd700ebd42 🐛 The backend shall serve requests once the database reachable 2023-05-26 18:09:24 +02:00
Adrien c44a52b7ae ♻️ Add backend and frontend to docker-compose 2023-05-26 18:01:04 +02:00
Adrien b3b36bc3de Replace rich with icecream for temporary tracing 2023-05-11 21:44:58 +02:00
Adrien 5e0d7b174c 🏷️ Fix some type issues (mypy) 2023-05-11 21:40:38 +02:00
Adrien b437bbbf70 🎨 Split main into several APIRouters 2023-05-11 21:17:02 +02:00
Adrien 85fdb28cc6 🐛 Set default value to Settings.clear_static_data 2023-05-11 20:31:24 +02:00
Adrien b894d68a7a ♻️ Use of pydantic to manage config+env variables
FastAPI release has been updated allowing to use lifespan parameter
to prepare/shutdown sub components.
2023-05-10 22:30:30 +02:00
Adrien ef26509b87 🐛 Fix invalid line id returned by /stop/{stop_id}/nextPassages endpoint 2023-05-09 23:25:30 +02:00
Adrien de82eb6c55 🔊 Reformat error logs generated by frontend BusinessData class 2023-05-08 17:25:14 +02:00
Adrien 0ba4c1e6fa ️ Stop.postal_region and Line.id/operator_id can be integer values 2023-05-08 17:15:21 +02:00
Adrien 0f1c16ab53 💄 Force App to use 100% of the shortest side 2023-05-08 16:17:56 +02:00
Adrien 5692bc96d5 🐛 Check backend return codes before handling data 2023-05-08 15:05:43 +02:00
Adrien d15fee75ca ♻️ Fix /stop/ endpoints inconsistency 2023-05-08 13:44:44 +02:00
Adrien 93047c8706 ♻️ Use declarative table configuration to define backend db tables 2023-05-08 13:17:09 +02:00
Adrien c84b78d3e2 🚑️ /stop responses didn't return StopArea.stops fields 2023-05-07 12:36:38 +02:00
Adrien c6e3881966 Add sqlalchemy-utils types dependency 2023-05-07 12:20:28 +02:00
Adrien b713042359 🗃️ Use of dedicated db sessions 2023-05-07 12:18:12 +02:00
Adrien 5505209760 ️ Replace asyncpg with psycopg 2023-05-07 11:24:02 +02:00
Adrien 6aa28f7bfb 🔨 Add OTel/Jeager to start HTTP/SQL requests monitoring 2023-05-02 23:02:09 +02:00
Adrien 07d43bfcb4 ⬆️ Add sqlalchemy-utils dep 2023-05-01 23:22:51 +02:00
Adrien 6eb78d7307 ️ /stop API endpoint uses stop and towns names to resolve queries 2023-05-01 22:42:02 +02:00
Adrien bcedf32bec Merge branch 'reduce-frontend-bundle-size' into develop 2023-05-01 22:36:37 +02:00
Adrien e9a651e47e ♻️ Refactor StopsSearchMenu + load Map lazily + placeholder 2023-04-25 21:47:10 +02:00
Adrien 245bc4d261 ️ All provided location are in EPSG:3857, remove proj4 from frontend 2023-04-23 11:20:44 +02:00
Adrien d94027da9a 💥 All location points provided by backend are in EPSG:3857 2023-04-23 11:14:11 +02:00
Adrien 8fafdb3dde ️ Replace hope-ui based IconHamburgerMenu with a custom one 2023-04-22 17:06:02 +02:00
Adrien da2fb1f41c ️ Replace hope-ui Input with a custom component in StopSearchMenu 2023-04-22 16:56:52 +02:00
Adrien e81f81b7a7 🚸 Add debounce mechanism to stop name input 2023-04-22 12:31:26 +02:00
Adrien 61610fa2ba Merge branch 'add-stop-area-repr-and-stop-destinations' into develop 2023-04-22 12:31:01 +02:00
Adrien ee14d60db7 🐛 Old stops still displayed on map once the stop search narrowed 2023-04-15 18:24:47 +02:00
Adrien a2728cfc0c 💄 Redesign StopSearchMenu (map panel)
- Replace leaflet with openlayers
- Add stop areas shape to map
- Display stop destinations sub-panel on click
2023-04-14 11:56:41 +02:00
Adrien 0a7d74a215 ♻️ Store StopArea Stops in BusinessDataStore when looking for stops 2023-04-14 11:36:54 +02:00
Adrien 1b713dbc0e Add StopDestinations to the frontend business data 2023-04-14 11:33:29 +02:00
Adrien 1ffd3cbe94 Add StopShape to the frontend business data 2023-04-14 11:29:25 +02:00
Adrien 42817f7b0c 🚚 Fix the transport mode location issue 2023-04-14 11:20:19 +02:00