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

integrate icon plugin into MediaServer #369

Merged
merged 6 commits into from
Nov 13, 2023
Merged

integrate icon plugin into MediaServer #369

merged 6 commits into from
Nov 13, 2023

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Nov 9, 2023

Closes #329

Changes grew a little in scope to account for some refactoring opportunities that I saw, namely:

  • removes the projectPublicId constructor opt from BlobApi and IconApi in favor of using the id when defining the getMediaBaseUrl() opt
  • fixes issue where icon records were not being indexed by the project
  • adding tests for non-existent media assets in media server e2e tests

Copy link
Member

@gmaclennan gmaclennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. One small non-blocking change: There is a TODO about a failing test in tests/icon-api.js, but I think that test works now.

@achou11
Copy link
Member Author

achou11 commented Nov 13, 2023

One small non-blocking change: There is a TODO about a failing test in tests/icon-api.js, but I think that test works now.

Not sure how this PR would fix it, as I directly address in #370 (which re-enables it)

@achou11
Copy link
Member Author

achou11 commented Nov 13, 2023

Not sure how this PR would fix it, as I directly address in #370 (which re-enables it)

Sorry, I got the blobs api confused with the icon api

Test still fails though

@achou11 achou11 merged commit ec2c97e into main Nov 13, 2023
7 checks passed
@achou11 achou11 deleted the ac/media-server-icons branch November 13, 2023 16:02
gmaclennan added a commit that referenced this pull request Nov 14, 2023
* main:
  fix: fix writing to blob store when also calculating content hash (#370)
  integrate icon plugin into MediaServer (#369)
gmaclennan added a commit that referenced this pull request Nov 14, 2023
* fix/local-peers:
  new tests for duplicate connections
  fixed fake timers implementation for tests
  send invite to non-existent peer
  fix stream close before channel open
  fix: handle duplicate connections to LocalPeers
  fix: fix writing to blob store when also calculating content hash (#370)
  integrate icon plugin into MediaServer (#369)
  chore: Add debug logging (#373)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up http server for blobs and icons in MapeoManager
2 participants