Skip to content

Add HTML container listing - #833

Merged
jvherweg merged 3 commits into
mainfrom
feat/container-listing-html-continued
Jul 22, 2021
Merged

jvherweg merged 3 commits into
mainfrom
feat/container-listing-html-continued

Conversation

@RubenVerborgh

@RubenVerborgh RubenVerborgh commented Jul 21, 2021 •

Copy link
Copy Markdown
Member

Closes #818

An integration test currently fails, but it otherwise works beautifully: https://css.verborgh.org/solid-community-server/

@RubenVerborgh RubenVerborgh added this to the v1.0.0 milestone Jul 21, 2021
@RubenVerborgh
RubenVerborgh requested a review from jvherweg July 21, 2021 20:45
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch 2 times, most recently from 9664d8a to d2a3ac7 Compare July 21, 2021 20:50
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html branch from 03db6bc to 838b077 Compare July 21, 2021 20:56
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from d2a3ac7 to 3cfba90 Compare July 21, 2021 20:56
@RubenVerborgh

Copy link
Copy Markdown
Member Author

@joachimvh 3cfba90 builds nicely, but when I start requiring the identifier strategy, integration tests for pod creation start failing. I played around with it a bit, but I think you'll be able to fix it faster.

@jvherweg
jvherweg force-pushed the feat/container-listing-html branch 3 times, most recently from f9b05e3 to f694fb7 Compare July 22, 2021 09:03
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from 908b79e to 3d37319 Compare July 22, 2021 09:04
@jvherweg

Copy link
Copy Markdown
Member

@joachimvh 3cfba90 builds nicely, but when I start requiring the identifier strategy, integration tests for pod creation start failing. I played around with it a bit, but I think you'll be able to fix it faster.

It's the dynamic pod creation that fails, so the ones that where each pod has their own config. It's because using the converters now required having access to the identifier strategy due to this change. I'm guessing the import for that just needs to be added in the default config that gets used there https://github.com/solid/community-server/blob/main/templates/config/defaults.json

@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from 3d37319 to 56ea006 Compare July 22, 2021 09:12
Base automatically changed from feat/container-listing-html to main July 22, 2021 09:12
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from 56ea006 to 239b033 Compare July 22, 2021 09:12

@jvherweg jvherweg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some comments, going to have a look into the integration error now

Comment thread templates/error/container.md.hbs Resolved
@jvherweg
jvherweg force-pushed the feat/container-listing-html-continued branch from 239b033 to 6b2f00f Compare July 22, 2021 10:03
@jvherweg

Copy link
Copy Markdown
Member

I've pushed a fix for the integration issue (typing this before CI finished, what can go wrong). The problem is that the config templates use urn:solid-server:template for their identifiers instead of urn:solid-server:default. I originally wrote it like this to really make sure that nothing bad can be done through injection. But in practice this is probably not needed anyway since the instantiation of these pods happens completely separately from the server config. I just changed the identifier strategy URI now, but we could probably change all of them.

@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from 6b2f00f to 5826cfb Compare July 22, 2021 11:24
@RubenVerborgh
RubenVerborgh requested a review from jvherweg July 22, 2021 11:25
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from 5826cfb to ac7daf2 Compare July 22, 2021 11:28
@RubenVerborgh
RubenVerborgh force-pushed the feat/container-listing-html-continued branch from ac7daf2 to e1d461b Compare July 22, 2021 12:15
@jvherweg
jvherweg merged commit 40a3dcb into main Jul 22, 2021
@jvherweg
jvherweg deleted the feat/container-listing-html-continued branch July 22, 2021 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create HTML converter for containers

2 participants