Skip to content
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 social features [1st part] #360

Merged
merged 406 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
406 commits
Select commit Hold shift + click to select a range
d9c6992
API - minor refacto on user service
SamR1 Jan 10, 2024
4fbc304
API - refacto (init administration services)
SamR1 Jan 10, 2024
9601873
API & Client - log action in db on report update & user (un-)suspension
SamR1 Jan 10, 2024
0928cbb
API - return admin action w/ report
SamR1 Jan 13, 2024
3ddc154
API - return actions and comments only when getting one report
SamR1 Jan 13, 2024
49278bf
Client - display admin actions on report detail
SamR1 Jan 13, 2024
ad57c25
Client - minor refacto
SamR1 Jan 14, 2024
3a0411a
Client - add label to textarea on report action
SamR1 Jan 14, 2024
980585b
Merge branch 'dev' into add-social-features
SamR1 Jan 17, 2024
ecd2945
API - report is not returned on creation since it is not displayed
SamR1 Jan 21, 2024
3e3f508
API - update admin action model
SamR1 Jan 21, 2024
05f5421
API - a suspended user can not be suspended again
SamR1 Jan 21, 2024
f557aef
API - add note to admin action
SamR1 Jan 27, 2024
c2d80ab
API - get suspension action for a given user
SamR1 Jan 27, 2024
8be7225
API - user can appeal a suspension (wip)
SamR1 Jan 27, 2024
4926eec
Client - add reason when (un-)suspending user account
SamR1 Jan 27, 2024
74573b9
Client - user can appeal a suspension (wip)
SamR1 Jan 27, 2024
ae1680f
API & Client - user can appeal suspension only once
SamR1 Jan 27, 2024
6bfceed
API - process suspension appeal
SamR1 Jan 28, 2024
05d4137
Client - process suspension appeal (wip)
SamR1 Jan 28, 2024
62f1cda
Client - buttons translations refacto
SamR1 Jan 28, 2024
b09118a
Client - add link to make appeal on user profile
SamR1 Jan 28, 2024
1c24f42
API - minor tests refacto
SamR1 Jan 28, 2024
c689c54
API - add missing tests
SamR1 Jan 28, 2024
280fe6c
API & Client - display notification when a user appeal suspension
SamR1 Jan 28, 2024
ba6eece
Client - minor refacto
SamR1 Jan 28, 2024
2558499
Client - hide report button after submitting report
SamR1 Jan 28, 2024
670bc9c
Merge branch 'dev' into add-social-features
SamR1 Feb 4, 2024
d8cf5e9
Client - minor refacto
SamR1 Feb 7, 2024
be67d24
Client - update report form display on workout detail
SamR1 Feb 7, 2024
fd5d017
Client - update report form display on comments
SamR1 Feb 7, 2024
6db6257
Merge branch 'dev' into add-social-features
SamR1 Feb 10, 2024
efd7664
API - report id and admin id are mandatory on user (un)-suspension
SamR1 Feb 14, 2024
9e23400
API & Client - refacto (rename 'note' column on admin_actions table)
SamR1 Feb 14, 2024
2f76bf0
Client - display admin action reason
SamR1 Feb 14, 2024
97bc35e
API - minor refacto on workouts decorator
SamR1 Feb 14, 2024
dc179bf
API - report creation refacto
SamR1 Feb 18, 2024
6d309e0
API & Client - allow deleting reported object or reporter (wip)
SamR1 Feb 18, 2024
437b6dc
API & Client - user suspension refacto
SamR1 Feb 21, 2024
cf516a0
API - tests refacto
SamR1 Feb 25, 2024
c16f55c
API - init workout/comment moderation
SamR1 Feb 25, 2024
5bfac2f
API - init admin action on workouts/comments
SamR1 Feb 25, 2024
9419861
API - create admin action on workout/comment suspension
SamR1 Feb 25, 2024
7b44fcc
API - exclude suspended workouts/comments (wip)
SamR1 Feb 28, 2024
b2753bb
Merge branch 'dev' into add-social-features
SamR1 Mar 2, 2024
12c8065
Merge branch 'dev' into add-social-features
SamR1 Mar 10, 2024
a316e51
Merge branch 'dev' into add-social-features
SamR1 Apr 13, 2024
632db9e
Merge branch 'dev' into add-social-features
SamR1 Apr 21, 2024
954af80
Merge branch 'dev' into add-social-features
SamR1 May 1, 2024
77598a5
Client - minor style fix on workout detail
SamR1 May 1, 2024
234f1ca
Client - handle content suspension in reports (WIP)
SamR1 May 1, 2024
d9c015d
Client - fix typo
SamR1 May 1, 2024
4e269b8
Merge branch 'dev' into add-social-features
SamR1 May 5, 2024
fd471fd
Merge branch 'dev' into add-social-features
SamR1 May 8, 2024
994a4bb
Merge branch 'dev' into add-social-features
SamR1 May 9, 2024
2a22a63
Merge branch 'dev' into add-social-features
SamR1 May 18, 2024
49f0be9
API & Client - return suspended comment only to owner or for report
SamR1 May 20, 2024
590b9df
API & Client - user can not like, comment or report suspended comment
SamR1 May 20, 2024
6250883
Merge branch 'dev' into add-social-features
SamR1 May 20, 2024
8c11cdf
Merge branch 'dev' into add-social-features
SamR1 May 22, 2024
b6fc2d7
API - return admin action with suspended comment
SamR1 May 29, 2024
3c29217
Client - refacto on appeal
SamR1 May 29, 2024
5b5496f
API & Client - move endpoint to process appeal
SamR1 May 29, 2024
c48f254
API - minor test mixin refacto
SamR1 May 29, 2024
325ca33
API & Client - handle comment suspension and appeal
SamR1 May 29, 2024
2bbc37b
Client - add missing 'en' translation
SamR1 Jun 1, 2024
dc9874a
API - return only owner suspended workout in timeline
SamR1 Jun 1, 2024
4407786
API & Client - handle workout suspension and appeal
SamR1 Jun 2, 2024
eb93bab
Client - add missing translations
SamR1 Jun 2, 2024
e9c73fb
Client - report placeholder translations refacto
SamR1 Jun 2, 2024
a842a83
Client - add visibility icon on workout card
SamR1 Jun 2, 2024
9f531a8
API - process workout suspension appeal
SamR1 Jun 2, 2024
134fcc2
Client - add button to hide appeal status
SamR1 Jun 2, 2024
a4c67a7
API & Client - user can report comment, user or workout once
SamR1 Jun 2, 2024
18c2479
Client - init files for 'cs', 'eu' and 'pt' translations
SamR1 Jun 2, 2024
cc10143
Merge branch 'dev' into add-social-features
SamR1 Jun 29, 2024
550c9ec
Client - minor fix
SamR1 Jul 3, 2024
38b4c20
API - rename endpoint
SamR1 Jul 3, 2024
3878f7d
API - send email on user account suspension/reactivation
SamR1 Jul 3, 2024
7e39fda
Merge branch 'dev' into add-social-features
SamR1 Jul 14, 2024
80a7ee0
API - minor refacto
SamR1 Jul 14, 2024
9d9eab7
API & Client - return light version of users in comment & admin actions
SamR1 Jul 14, 2024
ff1628d
API - add function to format date in emails
SamR1 Jul 17, 2024
1eb557c
API - minor refacto
SamR1 Jul 17, 2024
266ca94
API - update tests mixin
SamR1 Jul 17, 2024
c117da0
API - send email on comment/workout suspension
SamR1 Jul 17, 2024
0c4a550
Client - fix error in timeline when loading workouts
SamR1 Jul 17, 2024
5fd52e6
API - improve admin action loading (wip)
SamR1 Jul 17, 2024
c0c2030
API - send email on comment/workout un-suspension
SamR1 Jul 20, 2024
f4addd3
Merge branch 'dev' into add-social-features
SamR1 Jul 20, 2024
90a8f60
API - move admin action creation and email sending in services
SamR1 Jul 21, 2024
6f35db1
API - refacto
SamR1 Jul 21, 2024
0b4b690
API - move appeal process in report service
SamR1 Jul 21, 2024
e1166ad
API & Client - send a warning to user
SamR1 Jul 21, 2024
c78244e
API - minor refacto on reports email service
SamR1 Jul 24, 2024
99f2570
API - update comment/workout (un-)suspension email templates
SamR1 Jul 24, 2024
6817f20
API - add reported comment/workout in user warning email
SamR1 Jul 24, 2024
634d03a
API & Client - a user can only receive one warning per report
SamR1 Jul 24, 2024
a0f1ce3
API - minor refacto
SamR1 Jul 24, 2024
2484ae8
Client - add spinner on report loading and update
SamR1 Jul 24, 2024
23b5375
API & Client - create a notification on comment/workout (un-)suspension
SamR1 Jul 24, 2024
c525f1d
API & Client - display user warning in notifications (wip)
SamR1 Jul 27, 2024
ab6e9e7
Client - minor refacto for existing composable
SamR1 Jul 27, 2024
d9af2bd
Client - refacto loading and sucess for comments and workouts (wip)
SamR1 Jul 27, 2024
c0e3d26
Client - add composables for app, appeal, auth. user and equipments
SamR1 Jul 28, 2024
658fea8
API - speedup tests by handling records only on workouts & records tests
SamR1 Jul 28, 2024
7c82c26
API - minor refacto on workout serializer
SamR1 Jul 28, 2024
8dc2f7d
API - return a light version of workout when getting a list, to improve
SamR1 Jul 31, 2024
a7420f8
API - user serializer refacto (wip)
SamR1 Jul 31, 2024
50288e2
API & Client - user serializer returns light version by default
SamR1 Jul 31, 2024
9afbd5a
Merge branch 'dev' into add-social-features
SamR1 Aug 3, 2024
3470cd0
Merge remote-tracking branch 'origin/dev' into add-social-features
SamR1 Aug 3, 2024
92afc8d
API - fix datetime usage
SamR1 Aug 4, 2024
50785d6
Client - improve notifications display
SamR1 Aug 4, 2024
84e4df4
Client - change default sort in reports list
SamR1 Aug 4, 2024
2c0b2a9
Client - display only one error message in user profil
SamR1 Aug 4, 2024
96691fc
API - tests refacto
SamR1 Aug 4, 2024
02bdb04
API - fix user report creation when content report exists for same user
SamR1 Aug 4, 2024
33bacee
Client - update reports table labels in administration
SamR1 Aug 4, 2024
f550d5d
Client - notifications minor fixes
SamR1 Aug 4, 2024
704f093
Client - display notification date
SamR1 Aug 4, 2024
159d130
Client - hide appeal button for comment in notifs when notif is warning
SamR1 Aug 4, 2024
d285cd4
Client - add button to hide appeal in report
SamR1 Aug 4, 2024
9ddebce
API & Client - handle appeal when user/content are already reactivated
SamR1 Aug 11, 2024
a45987a
Client - fix user appeal
SamR1 Aug 14, 2024
0786506
API - add tests on new emails + fix
SamR1 Aug 14, 2024
def191d
Merge branch 'dev' into add-social-features
SamR1 Aug 25, 2024
5a4e77c
Merge branch 'dev' into add-social-features
SamR1 Sep 1, 2024
ea7be93
Client - display Profil and Notifications buttons on user warning page
SamR1 Sep 1, 2024
2efc814
Client - update user appeal display in admin notifications
SamR1 Sep 1, 2024
2e18cfa
API & Client - process appeal on user warning (wip)
SamR1 Sep 1, 2024
2edb889
Merge branch 'dev' into add-social-features
SamR1 Sep 21, 2024
54dadc7
API & Client - create notif when user warning has been lifted (wip)
SamR1 Sep 22, 2024
d293ba1
API - init email for user warning lifting (WIP)
SamR1 Sep 22, 2024
1701c1d
API - send email when user warning is lifted
SamR1 Sep 29, 2024
c435e6a
API - tests refacto
SamR1 Sep 29, 2024
962fe5d
API - report must exists on admin action creation
SamR1 Sep 29, 2024
e83d9ba
API & Client - report action refacto
SamR1 Sep 29, 2024
c9f6cc0
API & Client - fix user suspension on comment/workout reports
SamR1 Sep 29, 2024
1dc93d3
API - send email on appeal approval on user/comment/workout suspension
SamR1 Sep 29, 2024
e9ae49f
Client - fix translations on description and notes
SamR1 Sep 29, 2024
f7587a6
API & Client - fix user detail display when user is not an admin
SamR1 Sep 29, 2024
53f5cbb
Client - minor fixes
SamR1 Oct 2, 2024
b04f246
API & Client - minor refacto
SamR1 Oct 2, 2024
0a805a9
Merge branch 'dev' into add-social-features
SamR1 Oct 6, 2024
6c91a6e
Client - fix appeal in notifications
SamR1 Oct 6, 2024
6caec1d
Merge branch 'dev' into add-social-features
SamR1 Oct 9, 2024
ecb4cfe
Merge branch 'dev' into add-social-features
SamR1 Oct 12, 2024
580013d
API & Client - update existing appeal on suspension lifting
SamR1 Oct 12, 2024
4681f3f
API & Client - handle reactivation when object already reativated
SamR1 Oct 12, 2024
4e1975b
API & Client - display report associated with suspension in user info
SamR1 Oct 13, 2024
036a72f
Client - fix user picture color on notification marked as read
SamR1 Oct 13, 2024
0bd1ba7
API - fix email on auth user account info
SamR1 Oct 13, 2024
45711d2
Client - fix buttons color and translation on report detail
SamR1 Oct 13, 2024
0a8392b
Merge branch 'dev' into add-social-features
SamR1 Oct 30, 2024
5778512
API & Client - improve workout suspension display + fix
SamR1 Nov 1, 2024
696bee2
API & Client - improve comment suspension display
SamR1 Nov 1, 2024
6d98f4a
API - send email when appeal is rejected
SamR1 Nov 1, 2024
c5dd56d
Merge remote-tracking branch 'origin/dev' into add-social-features
SamR1 Nov 9, 2024
067ac8a
Client - add missing notification types
SamR1 Nov 9, 2024
63db498
Client - add button to access report & missing filters on reports
SamR1 Nov 10, 2024
f5f62d3
API & Client - display in admin in unresolved reports exists
SamR1 Nov 10, 2024
59559d3
API & Client - display user report actions in admin (wip)
SamR1 Nov 10, 2024
f71cdf4
API & Client - add moderation tab in user profile + refacto
SamR1 Nov 11, 2024
da865ca
Client - update link to user when display in administration
SamR1 Nov 11, 2024
597d277
API & Client - handle user suspension in profile
SamR1 Nov 11, 2024
45ccfe9
API & Client - minor refacto
SamR1 Nov 11, 2024
174d866
Client - fix Description and Notes
SamR1 Nov 11, 2024
70de5cd
API - return equipment only to workout owner
SamR1 Nov 11, 2024
68d98f5
API & Client - create notification on user registration
SamR1 Nov 11, 2024
a97dd48
API - fix report action model
SamR1 Nov 11, 2024
91abd04
API - display public workouts only from followed users in timeline
SamR1 Nov 13, 2024
545c555
API - fix workout like response
SamR1 Nov 13, 2024
c9bd63f
Client - update dark theme
SamR1 Nov 13, 2024
a6c21ce
Client - fix like icon
SamR1 Nov 13, 2024
596f583
Client - fix notifications
SamR1 Nov 13, 2024
13980f4
API - fix notification creation on appeal
SamR1 Nov 13, 2024
bb86af5
Client - fix user suggestion background on dark theme
SamR1 Nov 13, 2024
2dd7db3
API - minor tests refacto
SamR1 Nov 13, 2024
8e1e720
API - fix mention notification
SamR1 Nov 13, 2024
8d7c15a
Client - add 'no-console' rule (warn) to ESlint config
SamR1 Nov 16, 2024
c5bc882
API - do not display comment (follower only) notification when user
SamR1 Nov 16, 2024
d52c0cc
API - create mention notification if comment notification does not exist
SamR1 Nov 16, 2024
a09ca22
Client - minor refacto
SamR1 Nov 17, 2024
6a430bf
Client - mention workout owner in comment
SamR1 Nov 17, 2024
d528bb7
Client - make users suggestions on comments tabbable
SamR1 Nov 17, 2024
bae0a2f
API - improve get comments query performances
SamR1 Nov 17, 2024
724432b
Client - display suspension on replies
SamR1 Nov 17, 2024
99ccd19
Merge branch 'dev' into add-social-features
SamR1 Nov 17, 2024
f563bf8
Client - fix mentions
SamR1 Nov 20, 2024
4e9ecff
Client - fix workout and comment display for unauthenticated user
SamR1 Nov 20, 2024
fe0a688
API - add comments to user data export
SamR1 Nov 20, 2024
4ebf02e
lint fix
SamR1 Nov 20, 2024
6eda1b6
API - add new roles: owner and moderator
SamR1 Nov 24, 2024
98f4e31
Client - add new OAuth2 scopes
SamR1 Nov 27, 2024
f11daa4
API & Client - display user information only for authenticated users
SamR1 Nov 27, 2024
5b9d501
Client - update user picture size on small resolutions in notifications
SamR1 Nov 27, 2024
a8e3100
Client - display 404 when user not found
SamR1 Nov 27, 2024
4e634d5
Client - do not load comments when displaying segment
SamR1 Nov 27, 2024
856f012
Client - empty error message on route change
SamR1 Nov 27, 2024
f9e7160
Client - fix message when segment not found
SamR1 Nov 27, 2024
0cc2482
Client - style update
SamR1 Nov 27, 2024
c710c9d
Client - update privacy policy (wip)
SamR1 Nov 30, 2024
a4aff93
Client - get parent comment visibility when comment is a reply
SamR1 Dec 1, 2024
1105971
API - add missing tests on comment creation
SamR1 Dec 1, 2024
e173d53
API - minor test refacto
SamR1 Dec 1, 2024
93ebe9c
API - fix comment and workout models for moderator
SamR1 Dec 1, 2024
b6e2331
API & Client - refacto on visibility levels
SamR1 Dec 4, 2024
b1925ea
API - update minimal role on endpoints for getting reports
SamR1 Dec 4, 2024
642ecc6
Client - fix tabs in user profile
SamR1 Dec 4, 2024
ef4e161
Client - fix profile style on small resolutions
SamR1 Dec 4, 2024
f972f66
API & Client - fix getting notifications based on status
SamR1 Dec 4, 2024
7492559
API - update endpoints documentation
SamR1 Dec 4, 2024
028a7c3
Client - update notes title (since they are private)
SamR1 Dec 7, 2024
bb10403
Client - add visibility level in workouts list
SamR1 Dec 7, 2024
dfc07de
Client - update OAuth2 endpoints translations
SamR1 Dec 7, 2024
0b031ab
Client - do not display 'YOU' in profile
SamR1 Dec 7, 2024
35f1db4
API & Client - remove comment replies for now
SamR1 Dec 7, 2024
134ec9d
Merge branch 'dev' into add-social-features
SamR1 Dec 7, 2024
39ef0ff
API & Client - replace 'admin' query param with 'role'
SamR1 Dec 7, 2024
dea050d
Client - prevent moderator from accessing pages requiring admin role
SamR1 Dec 7, 2024
1625c7e
APi & Client - get users followed by user on username completion
SamR1 Dec 7, 2024
8575d91
Client - display error when fetching comments fails
SamR1 Dec 8, 2024
93d657b
Client - add hints to use Markdown in comments, notes and description
SamR1 Dec 8, 2024
35d19d3
Client - add info about private notes on workout creation
SamR1 Dec 8, 2024
0b6b017
Client - fix image background on user name completion
SamR1 Dec 8, 2024
e8adbe0
API - update endpoints documentation
SamR1 Dec 8, 2024
9e551cb
API - delete admin or moderation related notification on role change
SamR1 Dec 8, 2024
eae5377
API & Client - fix user profile display
SamR1 Dec 8, 2024
d1db359
API - rollback on users refactoring
SamR1 Dec 8, 2024
1f6a537
Client - remove code about reply
SamR1 Dec 8, 2024
3ce5550
Client - update navbar style + add missing title
SamR1 Dec 11, 2024
79b1f83
Client - add missing labels
SamR1 Dec 11, 2024
b5f9216
Client - update link to user when user card is displayed in admin
SamR1 Dec 11, 2024
6361183
API - update relationships to improve performances
SamR1 Dec 11, 2024
d4784eb
API & Client - display only types for existing notifications in select
SamR1 Dec 11, 2024
250c5c3
API - update mail content for comment
SamR1 Dec 11, 2024
d8f0c5d
API - always return priavte when workout map is not visible
SamR1 Dec 11, 2024
3735463
update documentation
SamR1 Dec 11, 2024
f4025ca
upgrade nh3 to 0.2.19
SamR1 Dec 11, 2024
fcedfc9
build dist files
SamR1 Dec 11, 2024
f02a2cc
update e2e tests
SamR1 Dec 11, 2024
c3e694c
fix e2e tests
SamR1 Dec 11, 2024
aa94232
Client - hide navigation buttons when user is not workout owner
SamR1 Dec 11, 2024
7fcc459
Client - update user card link
SamR1 Dec 11, 2024
3e0be96
build dist files
SamR1 Dec 11, 2024
cec6477
update Makefile
SamR1 Dec 14, 2024
c4f9017
update documentation
SamR1 Dec 14, 2024
fa7f47f
Client - update partially privacy policy translations
SamR1 Dec 14, 2024
a2d0d1e
build dist files
SamR1 Dec 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/.tests-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
EMAIL_URL: "smtp://none:[email protected]:1025"
FLASK_APP: fittrackee/__main__.py
SENDER_EMAIL: [email protected]
UI_URL: https://0.0.0.0:5000

jobs:
python:
Expand Down
17 changes: 13 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,12 @@ docker-serve-client:
docker compose -f docker-compose-dev.yml exec fittrackee_client $(NPM) dev

docker-set-admin:
# deprecated command
docker compose -f docker-compose-dev.yml exec fittrackee ftcli users update $(USERNAME) --set-admin true

docker-set-role:
docker compose -f docker-compose-dev.yml exec fittrackee ftcli users update $(USERNAME) --set-role $(ROLE)

docker-shell:
docker compose -f docker-compose-dev.yml exec fittrackee docker/shell.sh

Expand Down Expand Up @@ -239,10 +243,6 @@ serve-python-dev:
echo 'Running on https://$(HOST):$(PORT)'
$(FLASK) run --with-threads -h $(HOST) -p $(PORT) --cert=adhoc

set-admin:
echo "Deprecated command, will be removed in a next version. Use 'user-set-admin' instead."
$(FTCLI) users update $(USERNAME) --set-admin true

test-all: test-client test-python

test-e2e:
Expand All @@ -252,6 +252,11 @@ test-e2e-client:
E2E_ARGS=client $(PYTEST) e2e --driver firefox $(PYTEST_ARGS)

test-python:
# for tests parallelization: 4 workers max.
# make test-python PYTEST_ARGS="-p no:warnings -n auto --maxprocesses=4"
$(PYTEST) fittrackee $(PYTEST_ARGS)

test-python-cov:
# for tests parallelization: 4 workers max.
# make test-python PYTEST_ARGS="-p no:warnings -n auto --maxprocesses=4"
$(PYTEST) fittrackee --cov-config .coveragerc --cov=fittrackee --cov-report term-missing $(PYTEST_ARGS)
Expand Down Expand Up @@ -282,7 +287,11 @@ user-reset-password:

ADMIN := true
user-set-admin:
# deprecated command
$(FTCLI) users update $(USERNAME) --set-admin $(ADMIN)

user-set-role:
$(FTCLI) users update $(USERNAME) --set-role $(ROLE)

user-update-email:
$(FTCLI) users update $(USERNAME) --update-email $(EMAIL)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Map data from [OpenStreetMap](https://www.openstreetmap.org).
**Under heavy development (some features may be unstable).**
(see [issues](https://github.com/SamR1/FitTrackee/issues) and [documentation](https://samr1.github.io/FitTrackee) for more info.)

![FitTrackee Dashboard Screenshot](https://samr1.github.io/FitTrackee/en/_images/fittrackee_screenshot-01.png)
![FitTrackee Dashboard Screenshot](https://samr1.github.io/FitTrackee/en/_images/dashboard.png)

## Translations

Expand Down
Binary file added docs/en/_images/administration-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/equipment-detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/equipments-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/en/_images/fittrackee_screenshot-01.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-02.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-03.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-04.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-05.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-06.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-07.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-08.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-09.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-10.png
Binary file not shown.
Binary file removed docs/en/_images/fittrackee_screenshot-11.png
Binary file not shown.
Binary file added docs/en/_images/notifications.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/oauth2-app-authorization.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/oauth2-client-creation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/sports-administration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/statistics-by-sport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/statistics-by-time-period.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/users-directory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/workout-detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_images/workouts-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion docs/en/_sources/api/auth.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ Authentication and account
auth.accept_privacy_policy,
auth.get_user_data_export,
auth.request_user_data_export,
auth.download_data_export
auth.download_data_export,
auth.get_blocked_users,
auth.get_user_suspension,
auth.appeal_user_suspension,
auth.get_user_sanction,
auth.appeal_user_sanction
14 changes: 14 additions & 0 deletions docs/en/_sources/api/comments.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Comments
########

.. autoflask:: fittrackee:create_app()
:endpoints:
comments.get_workout_comments,
comments.get_workout_comment,
comments.post_workout_comment,
comments.update_workout_comment,
comments.like_comment,
comments.undo_comment_like,
comments.appeal_comment_suspension,
comments.delete_workout_comment

8 changes: 8 additions & 0 deletions docs/en/_sources/api/follow_requests.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Follow requests
###############

.. autoflask:: fittrackee:create_app()
:endpoints:
follow_requests.get_follow_requests,
follow_requests.accept_follow_request,
follow_requests.reject_follow_request
5 changes: 5 additions & 0 deletions docs/en/_sources/api/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ API documentation

auth
configuration
comments
equipments
equipment_types
follow_requests
oauth2
notifications
records
reports
sports
stats
timeline
users
workouts
10 changes: 10 additions & 0 deletions docs/en/_sources/api/notifications.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Notifications
#############

.. autoflask:: fittrackee:create_app()
:endpoints:
notifications.get_auth_user_notifications,
notifications.update_user_notifications,
notifications.get_status,
notifications.mark_all_as_read,
notifications.get_notification_types
14 changes: 14 additions & 0 deletions docs/en/_sources/api/reports.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Reports
########

.. autoflask:: fittrackee:create_app()
:endpoints:
reports.get_reports,
reports.get_report,
reports.get_unresolved_reports_status,
reports.create_report,
reports.update_report,
reports.create_action,
reports.process_appeal


6 changes: 6 additions & 0 deletions docs/en/_sources/api/timeline.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Timeline
########

.. autoflask:: fittrackee:create_app()
:endpoints:
timeline.get_user_timeline
9 changes: 8 additions & 1 deletion docs/en/_sources/api/users.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ Users
users.get_single_user,
users.get_picture,
users.update_user,
users.delete_user
users.delete_user,
users.follow_user,
users.unfollow_user,
users.get_followers,
users.get_following,
users.block_user,
users.unblock_user,
users.get_user_sanctions
5 changes: 4 additions & 1 deletion docs/en/_sources/api/workouts.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ Workouts
workouts.post_workout,
workouts.post_workout_no_gpx,
workouts.update_workout,
workouts.delete_workout
workouts.delete_workout,
workouts.like_workout,
workouts.undo_workout_like,
workouts.appeal_workout_suspension
11 changes: 6 additions & 5 deletions docs/en/_sources/cli.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,14 @@ Remove blacklisted tokens expired for more than provided number of days.
``ftcli users create``
""""""""""""""""""""""
.. versionadded:: 0.7.15
.. versionchanged:: 0.8.4 User preference for interface language is added.

Create a user account.

.. note::
- the newly created account is already active.
- the CLI allows to create users when registration is disabled.

.. versionchanged:: 0.8.4

User preference for interface language is added.

.. cssclass:: table-bordered
.. list-table::
Expand Down Expand Up @@ -147,8 +145,9 @@ Can be used if redis is not set (no dramatiq workers running).
``ftcli users update``
""""""""""""""""""""""
.. versionadded:: 0.6.5
.. versionchanged:: 0.9.0 Add ``--set-role`` option. ``--set-admin`` is now deprecated.

Modify a user account (admin rights, active status, email and password).
Modify a user account (role, active status, email and password).

.. cssclass:: table-bordered
.. list-table::
Expand All @@ -160,7 +159,9 @@ Modify a user account (admin rights, active status, email and password).
* - ``USERNAME``
- Username.
* - ``--set-admin BOOLEAN``
- Add/remove admin rights (when adding admin rights, it also activates user account if not active).
- [DEPRECATED] Add/remove admin rights (when adding admin rights, it also activates user account if not active).
* - ``--set-role ROLE``
- Set user role (when setting 'moderator', 'admin' and 'owner' role, it also activates user account if not active).
* - ``--activate``
- Activate user account.
* - ``--reset-password``
Expand Down
Loading
Loading