commits
feat: add session expiration handling and cron job for refreshing sessions
This reverts commit 4ec6bb5f70b047edafe1f60e3dfb5995829dbe76, reversing
changes made to 1d902f131e5fe056b9e506e36ce86f44631e085c.
chore: migrate to Bun and update dependencies for improved performance
fix: refactor submit_listens to use thread for asynchronous processing and improve error handling
feat(musicbrainz): add MusicBrainz service with search and hydrate endpoints
- Implemented main server logic in musicbrainz/main.go
- Added searchHandler and hydrateHandler for handling requests
- Integrated database initialization and context-based shutdown
- Updated package.json to include a script for running the MusicBrainz service
remove xata client, replace with drizzle orm
- Added default value for primary key `id` in the following tables: albums, album_tracks, api_keys, artist_albums, artist_tracks, artists, dropbox_accounts, dropbox_directories, dropbox_paths, dropbox_tokens, dropbox, google_drive_accounts, google_drive_directories, google_drive_paths, google_drive_tokens, googledrive, loved_tracks, playlist_tracks, playlists, profile_shouts, queue_tracks, scrobbles, shout_likes, shout_reports, shouts, spotify_accounts, spotify_tokens, tracks, user_albums, user_artists, user_playlists, user_tracks, users, webscrobblers.
- Refactored queries in dropbox and join endpoints to use drizzle-orm for database interactions.
- Updated OAuth callback logic to handle dropbox tokens and user associations more efficiently.
feat: update workspace configuration and remove deprecated scripts
Add `pgpull` command to sync Rocksky Postgres database to local instance
- Added new entries to the journal for tracking purposes.
- Changed the import from tracks to playlists in user-playlists schema.
- Updated the playlistId reference in user-playlists to point to playlists instead of tracks.
- Modified the insert_album_track function to remove xata_createdat from the insert statement.
- Updated the insert_playlist_track function to remove added_by from the insert statement.
- Removed added_by field from the PlaylistTrack struct in xata.
- Added default value for primary key `id` in the following tables: albums, album_tracks, api_keys, artist_albums, artist_tracks, artists, dropbox_accounts, dropbox_directories, dropbox_paths, dropbox_tokens, dropbox, google_drive_accounts, google_drive_directories, google_drive_paths, google_drive_tokens, googledrive, loved_tracks, playlist_tracks, playlists, profile_shouts, queue_tracks, scrobbles, shout_likes, shout_reports, shouts, spotify_accounts, spotify_tokens, tracks, user_albums, user_artists, user_playlists, user_tracks, users, webscrobblers.
- Refactored queries in dropbox and join endpoints to use drizzle-orm for database interactions.
- Updated OAuth callback logic to handle dropbox tokens and user associations more efficiently.
- Added new entries to the journal for tracking purposes.
- Changed the import from tracks to playlists in user-playlists schema.
- Updated the playlistId reference in user-playlists to point to playlists instead of tracks.
- Modified the insert_album_track function to remove xata_createdat from the insert statement.
- Updated the insert_playlist_track function to remove added_by from the insert statement.
- Removed added_by field from the PlaylistTrack struct in xata.