Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vmcj
Copy link
Collaborator

@vmcj vmcj commented May 20, 2025

This should fix the the /organizations/id/logo.{svg,png} issue. Only opening this to make sure no one else works on this in parallel. Did not test with the presentation client yet if it works out of the box.

  • The URLs are resolvable and provide the right file.
  • The warning about the re-used URL would run on every check for directory changes. This is a bit verbose as this shouldn't happen in practice I think a bit of verbosity is less of an issue (although ugly).
  • There is a remark that the current code wouldn't handle a similar case, I'm not sure if its besides similar really this case so I left the TODO for now.
  • I suspect the ext can be added in a better way, this was the result of a long flight of debugging (and not much changes in the end) but a second pass will be needed.

Michael Vasseur and others added 10 commits June 2, 2025 09:01
When there are two files with the same name but different extensions, use
a different href to refer to them.

This can happen when the folder contains logo.png and logo.svg, or any
other resource where there are two or more supported file extensions.

Fixes icpctools#1111.
For every Trace.ERROR we now optionally also ship to Sentry. There are other calls which are informative from the CDS perspective which are logged to Sentry as they are important in the contest perspective.
This only affects people developing with IntelliJ Idea
When starting P100 we expect the CDS to have a contest and P100 to get that contest in the feed, currently we would get the teamnumber, get the team in the Contest concept for the logo which would fail as the feed is not done reading yet.

The proper fix would be to get the "global" property to get if we're done reading the feed and only then starting the presentation (for some of them) but finding that thread was hard.
This reverts commit bf91955.

We still didn't get the logo and this got too slow.
Always null out entries in the main array

Otherwise, the resolver will only remove the first
object when removing multiple objects.

Signed-off-by: cubercsl <[email protected]>
@deboer-tim
Copy link
Collaborator

We merged #1116 in May. Can we close this draft, or do you still want to change something?

@vmcj vmcj closed this Aug 1, 2025
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.

4 participants