4169 Commits

Author SHA1 Message Date
João Vitória Silva
3cc9409b98 Frontend revamp with Vue
[frontend] Fixed background colors. Footer and navbar are grey and the rest is black. Gives a better contrast between the elements
[frontend] Moved search logic to footer. It is now possible to search in every view if the user is logged by user and gear. Activity is missing.
[frontend] Changed icon and link color to "link-body-emphasis", meaning in dark theme it will be white and in light theme it will be black.
[frontend] Fixed routing on user page when navigating between users. Now user data is updated.
2024-05-17 15:22:11 +01:00
João Vitória Silva
bb15c72135 Frontend revamp with Vue
[frontend] Fixed issue on loading modals
[frontend] Added all modals to FollowersListComponent
2024-04-26 12:12:47 +01:00
João Vitória Silva
8edef8e14c Frontend revamp with Vue
[frontend] Continued missing follower logic on user view. Calls to backend missing
[frontend] Fixed minor UI issues
2024-04-24 16:12:15 +01:00
João Vitória Silva
c46e51f4e4 Frontend revamp with Vue
[frontend] Started missing follower logic on user view
2024-04-23 13:05:27 +01:00
João Vitória Silva
9a61a483c6 Frontend revamp with Vue
[frontend] Fixed an issue on loading for Gear view
2024-04-23 09:56:07 +01:00
João Vitória Silva
632c193b0b Frontend revamp with Vue
[frontend] Started user view, missing follower logic
[frontend] Created settings view for navigation logic
[frontend] Fixed navigation links for settings and user page on some places
2024-04-22 16:48:39 +01:00
João Vitória Silva
9118625545 Frontend revamp with Vue
[frontend] Added success and error toast components logic
2024-04-04 16:21:36 +01:00
João Vitória Silva
dc4763e553 Frontend revamp with Vue
[frontend] Activity view page completed
[README] README file updated
2024-04-04 10:50:47 +01:00
João Vitória Silva
de44b32eab Frontend revamp with Vue
[frontend] Activity view delete activity action completed
2024-04-03 17:34:12 +01:00
João Vitória Silva
a30e2aa5dc Merge branch 'frontend_revamp_vue' of https://github.com/joaovitoriasilva/endurain into frontend_revamp_vue 2024-04-03 15:48:16 +01:00
João Vitória Silva
d685e69a1f Frontend revamp with Vue
[frontend] Activity view map, stats and graph completed, activity gear missing
[frontend] Home page shows banner displaying activity upload status when uploading .gpx file
[frontend] Home page updates week and month status on activity upload
[frontend] Fixed minor UI issues
2024-04-03 15:48:12 +01:00
João Vitória Silva
30fba8d067 Update Crowdin configuration file 2024-03-07 17:00:44 +00:00
João Vitória Silva
bc55e7346d Frontend revamp with Vue
[frontend] Gear view implemented
[frontend] Activity view started
[frontend] Map logic separated from ActivitySummary logic
[frontend] Fixed minor UI issues
2024-02-23 11:13:56 +00:00
João Vitória Silva
7625dc441c Frontend revamp with Vue
[frontend] Added back button in Gears view
[frontend] Added page not found view
[frontend] Fixed minor UI issues
2024-02-21 16:34:54 +00:00
João Vitória Silva
a821373db0 Frontend revamp with Vue
[frontend] Gears view implemented
[frontend] Service logic aggregated in utils file to allow better code management and reusability
2024-02-21 15:50:44 +00:00
João Vitória Silva
5d9784671d Frontend revamp with Vue
[backend] Added missing ENV variables to docker files
[backend] Router "/activities/create/upload" uses user ID from token instead of parameter
[frontend] Home view implemented
[frontend] API calls logic redone to be reusable
2024-02-20 17:52:45 +00:00
João Vitória Silva
f62bc18ce4 Frontend revamp with Vue
Infinite scrolling implemented for user activities in home view
2024-02-20 10:12:21 +00:00
João Vitória Silva
67ee678075 Frontend revamp with Vue
Login, logout and home page mainly done
2024-02-19 19:00:10 +00:00
João Vitória Silva
939f86be98 Frontend revamp with Vue 2024-02-16 18:53:11 +00:00
João Vitória Silva
0bc1e0ac91 Fixed user able to login with wrong password
[backend] Fixed an issue where user authentication SQLAlchemy query was not correct, resulting in a user being able to login with a wrong password
[backend] Fixed an issue where alembic config file would overlap existing loggers configured
v0.1.5
2024-02-14 18:26:14 +00:00
João Vitória Silva
85be8cac26 Strava not linked exception
[backend] Fixed an issue where if Strava was not linked it raised an exception. Now it logs it instead
[backend] Fixed issue on not closing properly the .gpx files after processing them
2024-02-12 11:56:29 +00:00
João Vitória Silva
3824f34e40 Merge pull request #10 from joaovitoriasilva/backend_revamp
Backend revamp | Strava gear | User password change
v0.1.4
2024-02-10 17:58:18 +00:00
João Vitória Silva
c0f516cb29 Frontend docker composer bug fix 2024-02-10 17:53:59 +00:00
João Vitória Silva
0f52a2467c Alembic added
[backend] Alembic is now implemented. DB creation, updates and default user creations is handled by Alembic
2024-02-10 15:32:02 +00:00
João Vitória Silva
043ed2be8e Backend revamp
[backend] (Re)Added scheduler to get last day Strava activities periodically
[backend] Increased size from 45 to 250 chars to activities table column "brand", "model" and "nickname"
[backend] Added column "description" to activities table
[backend] Strava gear flow finished
[frontend] Fixed some issues related to new backend logic
2024-02-09 22:39:05 +00:00
João Vitória Silva
bb82338e2e Backend revamp
[backend] Added validation to location_based_on_coordinates function to only query the geocode endpoint if latitude and longitude are set
[backend] Fixed error in location_based_on_coordinates function on URL encoding
[backend] Strava activity processing will use geocode endpoint to retrieve activity start location instead of Strava provided values
[backend] Added description column to activity DB
2024-02-09 12:03:45 +00:00
João Vitória Silva
61a0be196f Backend revamp
[README] Added new FRONTEND_HOST to backend env table
[README] Added link to Endurain Mastodon profile
[docker-compose] Added new env variable
[backend] (Re)Added scheduler to refresh strava tokens periodically
[backend] Strava activities flow finished
[backend] Strava gear id in activity and gear DB tables changed from int to str (Strava uses a string for gear id)
[frontend] Fixed some issues related to new backend logic
[frontend] It is not possible to delete a Strava activity from UI
[frontend] Link to Strava activity replaced with a logo
2024-02-09 11:24:54 +00:00
João Vitória Silva
bbae13c1bf Backend revamp
[README] Added new FRONTEND_HOST to backend env table
[README] Added link to Endurain Mastodon profile
[docker-compose] Added new env variable
[backend] (Re)Added scheduler to remove expired tokens periodically
[backend] Strava activities flow (re)added
[backend] Added ability to unlink Strava (it will delete from the DB Strava info like defined in Strava API terms and services)
2024-02-08 16:01:46 +00:00
João Vitória Silva
20ea418a6d Backend revamp
- [backend] Finished followers functions
- [backend] Finished gear functions
- [backend] Created new route for searching user by its username and changed current one to search if username contains
- [backend] read_activities_followed_user_activities_pagination function not returning an array
- [backend] Fixed user not active returning a bad code
- [backend requirements] Locked Python modules version
- [frontend] Fixed bugs related to backend revamp
- [frontend] User page not displaying correct avatar image based on gender
- [README] Updated README file
2024-02-08 11:47:38 +00:00
João Vitória Silva
f4e7732ccb Backend revamp
- [backend] Fixed bug in activities functions route "read_activities_useractivities_thismonth_number" - Not returning 0 when activities is None
- [backend] Started followers functions
- [backend] (Re)Add opentelemetry flow
- [backend requirements] Locked Python modules version
- [frontend] Fixed bugs related to backend revamp
- [frontend] Fixed logout flow
- [frontend Docker image] Added php.ini to increase file upload limit to 20MB and post limit to 26MB
2024-02-07 23:14:44 +00:00
João Vitória Silva
ff4083ad7b Backend revamp
- [backend] Session functions finished
- [backend] User functions finished
- [backend] Activities functions started
- [backend] Activity streams functions started
- [backend] Gear functions started
- [backend] Separated dependencies structure to several files
2024-02-07 16:05:38 +00:00
João Vitória Silva
5e9773962c Backend revamp
- [backend] Session functions started
- [backend] User functions finished
- [backend] Activities functions started
2024-02-05 18:11:38 +00:00
João Vitória Silva
23bdc5fc6f Merge pull request #5 from joaovitoriasilva/refactor-removeActivityStreamFromActivitiesDBTable
Refactor - Remove streams from activities DB table
v0.1.3
2024-01-08 16:34:31 +00:00
João Vitória Silva
0f08cc2bc9 Refactor - Remove streams from activities DB table
- Removed waypoints column on activities DB table
- Added strava_gear_id column to activities DB table in order to prepare
DB schema to store this value
- Added new DB table activities_stream
- Adapted code to support new DB schema
2024-01-08 16:28:37 +00:00
João Vitória Silva
0217e70162 Create phpmd.yml 2024-01-08 10:51:54 +00:00
João Vitória Silva
1b3ebab5e0 Merge pull request #4 from joaovitoriasilva/Backend-optimization-v0.1.2
Backend optimization v0.1.2
v0.1.2
2024-01-08 10:35:36 +00:00
João Vitória Silva
d197c6a475 Backend optimizations
- Added constants file
- Added api version to metadata on api responses
- Fixed bug that some routes raised an exception when date and datetime
columns where set in the database and not properly parsed before JSON
Response
2024-01-08 00:13:21 +00:00
João Vitória Silva
51ec61c3e1 Backend optimization 2024-01-06 23:37:57 +00:00
João Vitória Silva
ad74fd7104 Backend optimization 2024-01-05 23:40:35 +00:00
João Vitória Silva
3477c34366 Create FUNDING.yml 2024-01-04 09:48:15 +00:00
João Vitória Silva
3287e82e88 Backend optimziation
Activity controller
Gear controller
2024-01-03 08:47:12 +00:00
João Vitória Silva
22d36dd16e Added default admin user creation
- Added default admin user creation (please read README file for more information)
 - Removed some imports from functions to the top of the document like it is supposed to
 - Changed backend .env file to backend root instead of config folder
 - docker-compose.yml updated
 - Removed config folder and not used files inside of it
 - README file updated
v0.1.1
2023-12-25 21:26:29 +00:00
João Vitória Silva
ee87c0b63c Update docker-image_backend_latest_manual.yml v0.1.0 2023-12-22 22:08:30 +00:00
João Vitória Silva
01f4c4432a Create docker-image_frontend_latest_manual.yml 2023-12-22 22:08:13 +00:00
João Vitória Silva
37cbe5ba7c Create docker-image_backend_latest_manual.yml 2023-12-22 22:06:09 +00:00
João Vitória Silva
f24a9d9ca1 Add GNU GPLv3 license 2023-12-22 22:03:15 +00:00
João Vitória Silva
9a523f2fe8 Update docker-compose.yml 2023-12-22 21:46:39 +00:00
João Vitória Silva
1c1d3d76d6 Updated db.py
Added default value to activities visibility column
2023-12-22 12:55:30 +00:00
João Vitória Silva
f3d48f879c Updated GitHub repo link
- Updated GitHub repo link
- Added additional info for Strava integration in Readme file
2023-12-22 12:48:20 +00:00
João Vitória Silva
acfe1c545f Fixed bug on Strava call
Updated docker-composer file and added .env file for frontend
2023-12-22 12:41:01 +00:00