Skip to content

Commit 13f21e0

Browse files
authored
v4 Release (#478)
* docs: add example for integrations * fix(frontend): redirect to exercise to correct page * fix(frontend): fetch correct number of exercises * fix(backend): fetch workouts in correct order * fix(backend): more efficient query * docs: add instructions about integration URLs * chore(frontend): remove useless module * chore(frontend): remove useless module for constants * chore(frontend): change name of module * docs: add note for all migrations * style(frontend): organize imports * feat(frontend): replace luxon with dayjs * chore(ts-utils): remove useless imports * docs: change the link for creating backups * chore(backend): remove fixme comment * feat(frontend): add new notification stuff * docs: change latest versions * fix(generated): use correct endpoint for codegen * feat(backend): add endpoint to get public collections list * feat(frontend): display basic collection list * scaffold(backend): include username in collection list * fix(frontend): display correct username Also apply a line clamp on the description. * fix(backend): send correct username * fix(frontend): set correct key to list * perf(frontend): load queries parallely * fix(frontend): filter out links correctly * feat(frontend): add basic collections page * fix(frontend): remove extra stuff from yours collection * feat(frontend): separate page for public collections * fix(backend): search on the correct fields * feat(frontend): complete public collections page * feat(config): add config param for frontend url * feat(backend): send url for media when sending notification * refactor(backend): fn to get frontend URL * fix(frontend): display duration correctly * refactor(frontend,ts-utils): function to humanize duration * refactor(frontend): extract set display to component * feat(frontend): display prs in popover * fix(frontend): do not make sorting clearable * chore(frontend): encode parameters * fix(frontend): adapt to new path parameters * chore(database): delete useless file * feat(backend): allow generating workouts with same id * feat(frontend): display original language * docs: thanks to contributors * docs: update version * fix(backend): update reviews correctly * feat(backend): include review visibility in exports * fix(backend): do not have separate user created job * feat(frontend): allow selecting a default tab * fix(database): add missing migration * fix(frontend): select correct date for calendar * fix(frontend): truncate exercise name * refactor(frontend): extract component to display exercise * feat(frontend): display exercise totals * chore(frontend): measure against correct metric * chore(frontend): increase sidebar width * feat(frontend): display weight units * feat(frontend): extract unit conversion * fix(frontend): add key to correct element * fix(frontend): truncate exercise names * feat(backend): use logs wheel instead of tracing subscriber * chore(graphql): remove useless field * feat(frontend): select default tab when saving preferences * feat(frontend): add fallback for loading workout * fix(frontend): use correct method to get time * refactor(frontend): stack workout stuff correctly * fix(frontend): use correct duration formatters * chore(frontend): start superset stuff * docs: update latest version * chore(frontend): change structure of exercise supersets * feat(frontend): basic UI for creating supersets * fix(frontend): remove useless attribute * feat(frontend): add crypto stuff * chore(backend): remove useless attributes * chore: general stuff * docs: add correct links * chore(*): adapt to new schema * chore: remove useless attributes * chore(frontend): use cookies for workout in progress * chore(frontend): remove identifier * Revert "chore(frontend): remove identifier" This reverts commit 732ca15. * fix(frontend): change ternary cond posn * fix(frontend): use correct attribute indexer * docs: bump version * feat(frontend): allow creating exercise superset * feat(frontend): display supersets for exercise * refactor(frontend): use import from react * docs: make clearer * chore(frontend): remove redundant comment * docs: use better link * chore(backend): add note when migration fails * docs: update migration version * feat(*): upload file using prefix * feat(backend): return the index of the exercise * chore(frontend): link to correct a specific part of the workout * chore(frontend): remove useless package * style(frontend): remove useless ternary * fix(frontend): handle edge cases for supersets * chore(frontend): remove useless exports * build(frontend): upgrade remix version ci(frontend): adapt to new remix outputs * fix(frontend): open drawer when clicked on rest timer * fix(frontend): use identifier for keys wherever possible * feat(frontend): set inProgressWorkout cookie correctly * fix(frontend): disable self exercise * feat(frontend): serialize cookie using inbuilt fn * try(frontend): try supersets with maps * Revert "try(frontend): try supersets with maps" This reverts commit 73a3ac6. * style(frontend): format files * fix(frontend): set identifier to `undefined` in separate loop * feat(frontend): do not render pagination if no pages * chore(frontned): replace undefined `elements` with `null` * fix(backend): handle cases when author asin in not present * refactor(frontend): extract fn to add exercises to workout * feat(frontend): add to workout from exercise details page * fix(frontend): disable btn instead of hiding it * chore(frontend): remove large text size from alert * build(frontend): upgrade dependencies * feat(database,backend): make `is_nsfw` nullable * feat(database): make changes to metadata table * fix(database): use unprepared stmts to create metadata * feat(backend): make specifics column nullable * feat(backend): migrate data from partial_metadata to metadata * feat(database): add table for metadata_to_metadata * feat(database): migrate partial_metadata associations * fix(database): make relation unique * fix(database): use correct relation * chore(database): add guard when migrating data * chore(database): add comment to delete migration * feat(database): update person related data * feat(database): add migration to delete useless tables * chore(database,backend): adjust codebase to new changes * feat(backend): remove useless entities * fix(backend): reverse episodes from itunes * feat(backend): change structire of models * feat(backend): change more types for new db schema * build(frontend): upgrade remix deps build(frontend): pin dependencies * feat(backend): change remaining database models * chore(frontend): adapt to new database structure * fix(backend): fetch required columns * fix(backend): set correct flag for metadata updates * fix(database): do not copy role column from partial_metadata relations * fix(backend): prevent double update * fix(backend): select correct role for tmdb authors * fix(backend): sort by role before returning contents * fix(frontend): set correct value of btn * fix(backend): do not download too much data from tmdb * fix(frontend): set correct default values * chore(database): do not migrate metadata to person details * build(frontend): add react confirm deps * feat(frontend): start to implement manual confirm * chore: add a forced exit * chore(frontend): delete duplicated files * ci: update remix version * fix(frontend): use fetcher form when possible * feat(frontend): use custom confirmation wherever possible * fix(backend): get the correct next episode * fix(frontend): get btn for delete history working * feat(backend): mutation to edit seen times * chore(frontend): add todo comment * chore(backend): change order of fields * feat(database): migration to add character column * feat(backend): get character details from providers * fix(backend): get tmdb crew details correctly * feat(backend): return person role when possible * fix(backend): get correct character details for tmdb * feat: display character for creators * feat(frontend): store exercise image urls in current workout * feat(frontend): display exercise images in current workout * chore(frontend): use more suitable component * feat(frontend): display exercise images on workout details * feat(frontend): add animation when opening exercise details in workout * feat(frontend): allow opening modal to edit seen times * feat(frontend): complete adjusting seen times * fix(frontend): stop rest timer after finishing workout * feat(backend): scaffold mutation to deploy an export job * fix(backend): change endpoint for playground * chore: use correct syntax for gql * feat(frontend): allow deploying export job * feat(frontend): change imports and exports page to data * fix(frontend): add key to map * fix(frontend): make input reactive * feat(backend): allow exporting people and media * chore(backend): remove useless route * refactor(backend): extract fns to export data * feat(config, backend): add config param to disable graphql playground * feat(backend): move export logic to separate function * feat(backend): complete exporter service * feat(backend): create model for storing data exports * Revert "feat(backend): create model for storing data exports" This reverts commit 877e90d. * feat(*): disable exports if file storage disabled * fix(backend): change name of backend export file * chore(backend): inject file storage into exporter service * fix(frontend): remove useless `console.log` * feat(backend): upload export to s3 * feat(backend): store started_at and ended_at timestamps in s3 metadata * feat(backend): store total workout time * feat(frontend): display total workout time in summary * perf(backend): write workouts to export one at a time * Revert "perf(backend): write workouts to export one at a time" This reverts commit d2a13b6. * feat(backend): scaffold resolver to get user exports * feat(backend): resolver to get all data exports * feat(frontend): display export links * fix(frontend): spelling error * feat(frontend): display number of exercises done in workout * fix(frontend): use function to display total units * fix(frontend): incorrect filter btn color * feat(frontend): display number times exercise done * feat(backend): store when a record was achieved on * feat(backend): basic history section * chore(frontend): use formatter from playground * feat(backend): calculate pace and volume for sets * feat(frontend): complete records section * chore(frontend): remove useless type * feat(backend): save exercise_idx in personal best * feat(frontend): display link to exercise * chore(frontend): do not uppercase unnecessarily * fix(backend): handle cases when there are no workouts * fix(backend): sort exports by ended * feat(backend): remove migrate code * fix(frontend): close file before uploading to s3 * feat(config): add umami configuration * fix(backend): remove default value for umami script * feat(frontend): add umami script to head * chore(backend): remove useless attribute * feat(backend): change config param for credentials change * chore(frontend): adapt to new gql schema * feat(backend): change the name of the export schema * chore(docs): update exporting information * docs: change media json to generic json * chore(backend): change media json to generic * chore(backend): change to generic json * chore(frontend): adapt to new gql schema * feat(frontend): start to display webhook url in UI * refactor(frontend): extract integration display to component * feat(frontend): animate appearance of copy text input * fix(frontend): select entire url on click * refactor(backend): move single file out of module * chore(frontend): move provider logos out of folder * chore(frontend): add basic manifest file * feat(frontend): send correct redirect params * refactor(frontend): extract constant to general module
1 parent 9106ba8 commit 13f21e0

File tree

248 files changed

+22036
-24225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+22036
-24225
lines changed

.devcontainer/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
ports:
1212
- "8000:8000"
1313
- "3000:3000"
14+
- "5000:5000"
1415
user: archlinux
1516

1617
minio:
@@ -23,15 +24,15 @@ services:
2324
command: server --console-address ":9001" /data
2425

2526
postgres:
26-
image: postgres:15-alpine
27+
image: postgres:16-alpine
2728
restart: unless-stopped
2829
volumes:
2930
- postgres_storage:/var/lib/postgresql/data
3031
environment:
3132
POSTGRES_PASSWORD: postgres
3233
POSTGRES_USER: postgres
3334
POSTGRES_DB: postgres
34-
command: postgres -c log_statement=all -c log_destination=stderr -c log_min_messages=debug1 -c log_line_prefix="%m [%p] " -c log_duration=on
35+
command: postgres -c log_statement=all -c log_destination=stderr -c log_min_messages=debug1 -c log_line_prefix="%m [%p] " -c log_duration=on -c shared_preload_libraries=pg_stat_statements -c pg_stat_statements.track=all
3536

3637
volumes:
3738
minio_storage:

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@ web-build/
4545
.nitro
4646
.cache
4747
docs/site
48-
*.log*
4948
.plasmo
49+
node_modules
50+
.cache
51+
remix-routes.d.ts

.moon/workspace.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$schema: "https://moonrepo.dev/schemas/workspace.json"
22

33
projects:
4-
browser-extension: "apps/browser-extension"
54
frontend: "apps/frontend"
65
kodi: "apps/kodi"
76
generated: "libs/generated"

0 commit comments

Comments
 (0)