Joachim Van Herwegen
Joachim Van Herwegen
> So these are authentication-dependent resources. Are they aliases for unique resources such as `/idp/47/pod` (which are only accessible with the right credentials)? Yes, if those would exist. The current...
Looking into having the URLs as follows. Using `account` instead of `idp` since if we're changing the entire API might as well change that now. ``` /account/login/ /account/login/password/ /account/login/password/create/ /account/$ID/...
A lot of relevant discussion can be found in https://github.com/CommunitySolidServer/CommunitySolidServer/pull/1100 A summary of how the server is currently started (when using CLI): 1. Components.js loads all the configs in `/app/variables/`...
> Bonus points if we can get rid of the `[Components.js] info` when `--help` is passed (and perhaps have a `Community Solid Server – Loading options overview` instead). That one...
> Also perhaps look at > > ``` > config/util/variables/default.json > config/app/variables/resolver/resolver.json > ``` > > duplication (or in another issue). Some explanation about this (so I can hopefully remember...
> Understood; but I'm talking about a hardwired hack here (if argv includes --help, then…). We could potentially change the line here https://github.com/CommunitySolidServer/CommunitySolidServer/blob/df2926a52ff7ca45a4a2b19871f293b791360c05/src/init/AppRunner.ts#L122 to something like `logLevel: argv.includes('--help') ? 'error'...
> The defaults don't show up in `--help` because the output of that depends on step 2a, while the defaults are defined in step 2b. The reason they are defined...
This is indeed a stopgap until such a feature would be available in Components.js. The main problem is that it is way easier for me to add this then to...
Overrides were added to Components.js. Going to shelve the first idea for now as that would actually make overriding more difficult.
#981 implements correct status codes by first checking existence of resources. This check would not be needed if metadata was returned that indicated this knowledge.