-
Notifications
You must be signed in to change notification settings - Fork 65
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
Support for Hardcover integration #1178
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat(migrations): create new columns for daily user activities * chore(migrations): remove newlines * feat(backend): store data in new dua columns * chore(backend): change data type of muscles stored in db * chore: make start time less than end time * chore: make start date less than end date * chore(backend): common input struct for date range * chore(backend): add comment to input struct * chore(frontend): adapt to new gql schema * chore(utils): add debug logs for user activity calculation * feat(models): add new struct to return response for analytics * build(models/dependent): add new deps * build(backend): add new required deps * feat(backend): add new query for getting fitness analytics * feat(backend): add query fragment for fitness analytics * build(services/statistics): add new deps to crate * feat(services/statistics): calculate hour counts * feat(backend): complete implementation of fitness statistics * feat(backend): compute additional fields * feat(migrations): add new column to store value * feat(backend): allow saving value in application cache * feat(backend): cache fitness analytics for 2 hours * feat(frontend): add basic fitness analytics page * fix(frontend): pass correct schema to parser * feat(backend): add new preference for fitness analytics * feat(frontend): add fitness analytics to sidebar * feat(frontend): design basic webpage * feat(frontend): do most calculations on the server loader * feat(frontend): get fallback search params * feat(frontend): allow specifying custom time ranges * feat(frontend): fetch data for fitness analytics * chore(services/cache): log when cache key found * Revert "chore(services/cache): log when cache key found" This reverts commit ca8e59d. * feat(frontend): display basic pie chart * refactor(frontend): extract component to display chart container * feat(frontend): allow changing how many muscles to display * feat(frontend): save count of muscles shown in local storage * feat(frontend): also allow setting analytics timespan to "All Time" * chore(docs): remove fragment from link * feat(frontend): add bar chart for exercises done * chore(frontend): minor enhancements to chart * feat(frontend): handle cases when no analytics present * feat(backend): save igdb settings in application cache * feat(backend): save listennotes settings in application cache * perf(backend): remove extra parameter * refactor(backend): change function name * perf(backend): do not make a useless clone * feat(backend): save tmdb settings in application cache * fix(providers): cache tmdb settings in the database * chore(migrations): make column non nullable * chore(backend): adapt to new database schema * refactor(backend): change function names * chore(frontend): minor changes to graphs * chore(gql): fix formatting of query * feat(frontend): use better colors for graphs * fix(frontend): remove text align from page heading * chore(frontend): select entire text when focusing on input * chore(frontend): change how props are structured * feat(frontend): function to convert utc hour to local hour * feat(frontend): start section to display time of day * fix(utils/database): calculate hour correctly * feat(frontend): generate correct data for time of day chart * fix(frontend): generate correct arrays * feat(frontend): display bubble chart for time of day * chore(frontend): better types of stuff * docs: better wording for authentication caveat * feat(backend): setting to exclude exercise from analytics * feat(utils/database): respect new exercise setting * fix(services/fitness): handle edge case for updating exercise settings * feat(frontend): allow excluding exercise from analytics * feat(frontend): display the active episode for shows and podcasts * feat(frontend): remove scroll margin when it is no longer first exercise * fix(providers): do not unwrap directly * perf(services/fitness): do not cast json to text when filtering on muscles * chore(enums): some other changes * feat(migrations): new columns for daily_user_activity * feat(migrations): drop entire table and recreate it * feat(backend): adjust daily user activity calculation to new database schema * fix(services/statistics): adjust daily user activity calculation to new database schema * fix(services/statistics): change fallback to include in same millenium * chore(backend): make the expiry of application cache nullable * chore(backend): change names of jobs * feat: more resilient logic for validating pro keys * chore(backend): general changes * perf(utils/dependent): only get key if cache is being respect * chore(migrations): add fixme comment * feat: change "re-evaluate" to "revise" * fix(frontend): change btn text * feat(backend): allow scheduling user for workout revision * chore(utils/database): add log after scheduling * feat(backend): deploy all changes at once * feat(backend): implement scheduled workout revision * chore(services/fitness): add log statement * build(ts): update nodejs deps * perf(utils/database): preselect all exercises * fix(frontend): send old event attribute * docs: move instructions around * docs: change orders of headings * docs: change word of release section * refactor(models/common): order of enum elements * feat(models/common): add key for metadata recently consumed * feat(utils/dependent): mark metadata as recently consumed when marking progress * feat(backend): return whether media is recently consumed * feat(frontend): highlight media which are currently in progress * chore(frontend): change some colors * chore(frontend): sort prop ordering * fix(frontend): make box-shadow smaller * refactor(backend): functions to mark and get entity recently consumed * feat(backend): get whether person and metadata group were recently consumed * feat(backend): mark metadata as recently consumed * feat(frontend): display when entity interacted with * chore(migrations): schedule all users for workout revision * fix(utils/dependent): use Epley formula for one rm calculation below 10 reps * fix(migrations): insert correct cache value into database * fix(migrations): run query only when there are more than 0 users * chore(services/fitness): add log for each user whose workouts are being revised * fix(utils/dependent): use Epley for reps higher than 10 * refactor(utils/dependent): use filter instead of mutable variable * ci: Run CI * fix(services/misc): do not get recommendations for custom metadata * chore(backend): lift up analytics * chore(frontend): adapt to new gql schema * feat(backend): return entire analytics from single endpoint * Revert "feat(backend): return entire analytics from single endpoint" This reverts commit f20a4de. * feat(frontend): respect features enabled when displaying fitness charts * chore(frontend): run formatter * feat(frontend): allow starting media from outside * refactor(frontend): remove duplicated code * feat(frontend): load analytics page on client side * fix(frontend): do not display counter if not allowed * feat(frontend): change the time of day graph * feat(frontend): display time ranges for analytics page * build(frontend): add screenshot deps * feat(frontend): button to download the analytics page as png * fix(frontend): add background color to container to fix screenshots * feat(frontend): move to using new grid container * feat(frontend): do not display border if not applicable * feat(backend): remove the activity section * feat(frontend): move activity graph to analytics section * feat(frontend): adjust activity section to be more in sync with other graphs * feat(frontend): use radar chart for time of day * feat(frontend): display workout counts * fix(frontend): time of day * Revert "Revert "feat(backend): return entire analytics from single endpoint"" This reverts commit 001debc. * feat(backend): return user analytics correctly * feat(frontend): display all entity types in scatter chart * ci: Run CI * feat(frontend): display polar radius axis * chore(frontend): always display chart * Revert "chore(frontend): always display chart" This reverts commit d80fc94. * feat(frontend): filter out hours which do not have anything associated * chore(frontend): sort attributes by length * feat(backend): start making identifier the primary column * feat(backend): allow naming exercises similarly * feat(migrations): change names of indices * feat(frontend): start adapting to new graphql schema * chore(frontend): adapt to new gql schema * ci: Run CI * fix(frontend): cleanup remaining stuff * fix(backend): do not schedule user for workout revision if exercise name changed * feat(backend): change `name` key of workouts to `id` * feat(frontend): adapt to new gql schema * fix(services/importer): send correct details to the importer * refactor(backend): extract common fn to generate exercise id * fix(services/importer): select correct attribute of exercise * fix(services/importer): select correct attribute of exercise * chore(services/importer): import set lot for strong app * feat(backend): send user measurements * fix(migrations): collapse two queries into one * feat(frontend): do not change case a lot * fix(frontend): render filter only on the frontend * ci: Run CI * refactor(backend): do not create new services for integrations * fix(frontend): remove curly braces * ci: Run CI * build(backend): change dependency tree * build(backend): change dependency tree * refactor(backend): move models around * refactor(models/common): move structs around * feat(backend): get rid of latest user summary query * feat(frontend): adapt to new graphql schema * refactor(backend): collapse two queries into one * feat(frontend): adapt to new gql schema * feat(backend): add query to get user analytics parameters * fix(services/statistics): apply null ordering * build(backend): change dependency tree * refactor(services/statistics): call function serially * feat(frontend): use new loader query * feat(frontend): capture screen after 1.5 seconds * perf(backend): save user's analytics parameters * ci: Run CI * perf(models): do not serialize none values * fix(frontend): better wording * chore(frontend): remove useless zod usage * chore(services/importer): add some more logs in plex importer * refactor(backend): sync data to owned collection separately * feat(backend): migrate for existing plex sink integrations * fix(services/user): respect sync to owned collection in input * feat(frontend): adapt to new gql schema * fix(frontend): do not make input required * docs: add info about ryot yank integration * feat(backend): allow syncing to owned collection from plex * ci: Run CI * docs: improve documentation * feat(backend): return only the id for workouts and workout templates list queries * fix(services/fitness): specify column of correct model * feat(frontend): adapt to new gql schema * feat(frontend): add skeleton loader for fitness entity * feat(frontend): make loader more presentable * refactor(frontend): some minor changes * fix(frontend): handle cases when no daily user activities are present * feat(backend): do not use application cache for user workout revision * feat(backend): return some other data * feat(frontend): display fitness statistics * feat(frontend): display distance travelled * feat(backend): return total rest time * fix(utils/database): store rest time in correct unit * feat(frontend): display rest time * ci: Run CI * refactor(frontend): create correct props * feat(frontend): make the text dim * feat(ts-utils): add function to format numbers * feat(frontend): format workout reps number with compact notation * fix(frontend): better position for workout btn * feat(frontend): display watermark in captured screenshot * feat(frontend): hide counter in captured screenshot * fix(frontend): additional padding for statistics card * fix(frontend): additional padding for statistics card * feat(frontend): add pro validation for saving image * refactor(frontend): change it to an enum * refactor(frontend): change watch times to enum * feat(frontend): hide analytics graph for non pro users * ci: Run CI
* feat(backend): allow setting rpe for sets * chore(gql): request rpe field for a set * chore(frontend): allow setting rpe for sets * chore(frontend): remove padding and change wordings * feat(frontend): allow opening modal to adjust RPE * feat(frontend): add information about RPE * chore: remove devcontainer config * docs: update running docs * chore: remove useless file * feat(frontend): allow adjust rpe * feat(frontend): send rpe settings to backend * docs: fix grammar * perf(services/exporter): remove n+1 query
* feat(utils/dependent): start implementing new import strategy * chore(services/importer): change order of attributes * build(backend): add either deps * feat(backend): start implementing new import function * feat(utils/dependent): complete import refresh logic * docs: add information about importing time * feat(utils/dependent): move progress update to actual update processing * refactor(utils/dependent): use match stmts * chore(utils/dependent): better display of ids * fix(utils/dependent): change sleep time according to the number of items to be imported * chore(utils/dependent): log the sleep time computed * feat(utils/dependent): shuffle metadata before starting import * docs: give rough estimate of the time * docs: increase rough estimate of importing time * fix(frontend): use correct wording * feat(frontend): add btns to drop anime/manga * feat(frontend): change conditions under which we show change state buttons * Revert "feat(frontend): change conditions under which we show change state buttons" This reverts commit 525ca02. * feat(frontend): handle cases for anime and manga * refactor(frontend): change the variable name * feat(migrations): add new column to track specifics partial state * feat(backend): respect new column * chore(backend): respect new metadata column * fix(utils/dependent): sleep before starting processing * chore(backend): remove retry from jobs * chore(utils/dependent): remove all the fuckery i did * chore(utils/dependent): remove more stuff * refactor(utils/dependent): remove commit beforehand * feat(utils/dependent): add final metadata update strategy * feat(utils/dependent): exponential backoff to calculate sleep time * fix(utils/dependent): calculate sleep time only when required * feat(backend): remove useless new column for metadata * build(backend): remove unused dep * chore(utils/dependent): better wording for comments * refactor(utils/dependent): change name of var * refactor(backend): always deploy jobs to update entities * fix(utils/dependent): also include lot in failed step * fix(utils/dependent): include the identifier from our db * fix(services/importer): use correct fail step variant * refactor(backend): reduce number of variants * feat(utils/dependent): handle errors when committing to the db * fix(utils/dependent): handle cases when an exercise does not exist * fix(backend): use debug logs instead of errors for non critical errors * docs: revise the estimated time * chore(services/exporter): apply clippy suggested lints * docs: remove estimated code * feat(migrations): add new column to import report * fix(migrations): set estimated finish time for imports * feat(backend): calculate estimated time to finish correctly * fix(services/misc): handle invalidating import jobs * chore(gql): request new field * fix(services/importer): set correct value of estimated time * feat(frontend): display more details for import reports * docs: grammar mistake * fix(services/importer): do not allow failing easily * refactor(utils/dependent): change order of function args * fix(utils/dependent): do not let import fail at any step * fix(services/importer): correct value for estimated time to finish * fix(frontend): ternary operator * chore(frontend): order of props * refactor(backend): move function to dependent utils * refactor(backend): use inbuilt function to get export data * refactor(services/exporter): use internal function to get items to export * refactor(backend): move function to dependent utils * refactor(services/exporter): use internal function to get metadata group items to export * refactor(backend): move function to dependent utils * refactor(services/exporter): use internal function to get person items to export * fix(models/importer): remove untagged eum * feat(migrations): handle old import reports * perf(services/exporter): increase the number of pages we get * chore(services/exporter): add more logs to the export process * refactor(backend): move function to dependent utils * refactor(services/exporter): use internal function to get workout items to export * refactor(backend): move function to dependent utils * refactor(services/exporter): use internal function to get workout template items to export * refactor(backend): do not encode null values * ci: Run CI * refactor(backend): get `take` in search input * chore(frontend): adapt to new gql schema * chore(frontend): adapt to new gql schema * refactor(backend): allow exporting fitness entities in bulk * refactor(services/exporter): change name of enum variants * ci: Run CI * refactor(services/exporter): change order of attributes * fix(models/database) set the finished on in the correct state * fix(services/fitness): allow specifying take for exercises list * refactor(backend): move function to dependent utils * feat(backend): return just ids of exercises * refactor(backend): allow exporting exercises in bulk * feat(frontend): adapt to new gql schema * ci: Run CI * refactor(migrations): do not reassign variable in macro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1110.