wiltonsr / TrelloJSON2Kanboard

Plugin for Importing Trello Projects from JSON Files to Kanboard.
MIT License
18 stars 5 forks source link

PHP Curl necessary for import? #7

Closed cloter closed 2 months ago

cloter commented 3 months ago

I have a local kanboard installed (with PHP/Curl) and the import works. On another (web hosted) it does not have PHP/Curl and the import does not even start (the window does not pupup). I asked support to install the Curl extension for PHP, will that (maybe) sove the problem?

wiltonsr commented 3 months ago

Hi, @cloter

I asked support to install the Curl extension for PHP, will that (maybe) solve the problem?

Probably, yes. The curl is a requirement for the plugin to function correctly.

On another (web hosted) it does not have PHP/Curl and the import does not even start (the window does not pupup).

This happens because we use curl to validate communication with Trello and to download attachments.

https://github.com/wiltonsr/TrelloJSON2Kanboard/blob/af92e09ec5a055d747c2c2f0de3f0f4b81c07df8/Controller/TrelloJSON2KanboardController.php#L24

I will fix the code to validate the existence of curl.

wiltonsr commented 3 months ago

@cloter, please test with new release 1.5.0.

cloter commented 3 months ago

@wiltonsr, thank you so much for the quick response! I witll try ver 1.5.0.

cloter commented 3 months ago

And it was my bad for not reading the readme text first! Sorry about that.

cloter commented 3 months ago

Since we're at this, would it be possible to add a limitation on who has access to the plugin? For example, grant access to managers and not regular users? It could be connected to the flag that limits regular users from creating personal projects (or a setting on the Config page).

wiltonsr commented 3 months ago

Since we're at this, would it be possible to add a limitation on who has access to the plugin? For example, grant access to managers and not regular users?

Unfortunately, this is out of scope for now.

wiltonsr commented 3 months ago

Hello, @cloter

Let me know if the new release solves your problem.

If everything is okay, please feel free to close this issue.

wiltonsr commented 2 months ago

Closing due to inactivity.

Feel free to reopen if the problem persists.