-
Notifications
You must be signed in to change notification settings - Fork 23
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
Compatibility with Shaarli v0.12.0-beta #115
Comments
Hi @immanuelfodor, |
@kalvn Let me know if I can help. |
@ArthurHoaro thanks! Actually I have a question: do you know if there's a way to retrieve the current URL path ( I tried to access the |
It's not exactly what you asked for, but you could use |
The branch support-v012 was just finalized. I tested it pretty intensively with Shaarli v0.12.0-beta and found no issues so far. I didn't create a release yet but if anyone wants to do some test on his side, I would greatly appreciate :) I'll keep testing for a few days on my own and release it when Shaarli v0.12.0 is released. |
Did a git checkout to the new branch, works fine, looks awesome 🎉 However, I can't login at all after a logout. It seems to be a general Shaarli issue @ArthurHoaro on the master branch as the docker image was built from scratch. Deleted ipbans file, did a browser cache delete, used a different browser, nothing helped. |
I can't login even with the default template, this is an important info I think. The login redirect seems to be weird:
|
Maybe shaarli/Shaarli#1536 needs to be merged quick 😃 Edit: the force login false trick helped to get finally in. |
@immanuelfodor I merged shaarli/Shaarli#1536, it should fix the issue you had previously. |
@kalvn Awesome! You rule! |
@immanuelfodor I found the responsible line: https://github.com/kalvn/Shaarli-Material/blob/support-v012/material/page.header.html#L173 I'll fix that asap :) |
It's fixed with the last commit. |
Tested with the latest support-v012 branch, it's fixed, thanks! :) |
Hmm, I think I've found another bug: the CSS/JS resources are loaded without These weren't 404 URLs 4 days ago, so something must broke in the meantime. |
Or maybe Shaarli:master introduced a change that results in |
I think it's not related to Shaarli Material. I would say plugin developers must ensure external resources are added with the base path, as it's done here for example: https://github.com/kalvn/shaarli2mastodon/blob/master/shaarli2mastodon.php#L75 |
Wow, thanks for the example, I'm adding this to my plugins. Sorry for suspecting a bug here. |
Thanks but credit goes to https://github.com/shaarli/Shaarli/blob/master/plugins/wallabag/wallabag.php#L48 😉 |
Just to give a little more info about why:
|
Thanks for the insights! Based on this knowledge I also opened a shaarli-favicons PR to fix the same issue, shaaring is caring :) trailjeep/shaarli-favicons#3 |
shaarli/Shaarli#1558 happened in the meantime, so I'll also revert any related changes. @kalvn said in shaarli/Shaarli#1548 (comment) that Shaarli Material has been also updated accordingly, so I think this ticket can be closed finally. |
Updated all my plugins, they now work according to PR shaarli/Shaarli#1558 Also shaarli/Shaarli#1545 works fine with the theme. I think the |
Hi @kalvn,
According to shaarli/Shaarli#1511 we need to check and maybe update our plugins and themes to stay compatible with the changes in Shaarli's routing and templating. After upgrading Shaarli to latest master, nothing is displayed on the UI, a blank page is shown as the Material theme is not yet updated. Could you please look into the changes and fix the new errors caused by the refactoring?
The docker logs for the first fatal error that stop the page from rendering:
The text was updated successfully, but these errors were encountered: