kromitgmbh / titra

titra - modern open source project time tracking for freelancers and small teams
https://titra.io
GNU Affero General Public License v3.0
404 stars 55 forks source link

Integrating titra with Wekan #90

Closed jsteyn closed 2 years ago

jsteyn commented 2 years ago

I'm following the instructions on integrating titra with Wekan on this page: https://github.com/kromitgmbh/titra/wiki/Wekan-integration

However, I do not have the "Setting" item as shown in this screenshot. In stead I have a "Details" option. Screenshot

There is a 'Settings' option on the menu when clicking on the circle with one's initials on the far right hand top corner of the screen but that page does not have the 'Enable Wekan Integration' option.

Can you please advise?

faburem commented 2 years ago

Thanks for bringing this to our attention, it looks like the docs need some update since things have changed a bit in the UI in the last couple of months. You can find the Wekan setting now in the administration page - it should be enabled by default in a new deployment though. Please note that you have to claim admin rights first as documented in the wiki to see this page. Screenshot_20220112-183646_Chrome.jpg

jsteyn commented 2 years ago

Hi Fabian

Thanks again for your help. (I hope I'm not driving you nuts with my questions). I managed to claim administrator rights and then I managed to follow the instructions further to obtain the URL. However, when I paste the URL in the 'Wekan integration' field, it does not authenticate. To test, I pasted the URL in a browser window and it seems to work as all of the information is downloaded in json format.

Regards Jannetta

faburem commented 2 years ago

Hi Jannetta, I am happy to help - did you see the prerequisites part in the wiki about the Wekan integration: image

I am not sure about your setup but I assume that you are also hosting Wekan in a docker container, in that case you can check out the Wekan docker example on how to enable the proper CORS settings.

Best, Fabian

jsteyn commented 2 years ago

Hi Fabian I was running wekan as a snap app before but I have now changed to running it in a docker. I have checked the CORS variables. However, I am still not having any luck integrating titra with Wekan. I include some screen shots if it will help

wekan_cors titra_wekanenable .

faburem commented 2 years ago

Hi Jannetta, can you maybe post a screenshot of your browser console output when you are trying to connect your Wekan instance? That would probably provide some more insights and help us troubleshooting.

Best regards, Fabian

jsteyn commented 2 years ago

Nothing seems to be happening in the console. (Is this what you meant?)

wekan_console

faburem commented 2 years ago

Did you make sure you can ping the host floki.local from 192.168.1.28? Titra is checking the format and connection before accepting the input therefore you can not save it.

jsteyn commented 2 years ago

floki.local is 192.168.1.28

faburem commented 2 years ago

okay, in that case I am pretty sure that the titra docker container does not know how to resolve floki.local. Docker networking is a bit tricky, basically you have to make sure that both containers are in the same network and can resolve/ping each other, here is a brief tutorial on this topic: https://docs.docker.com/network/network-tutorial-standalone/ .

faburem commented 2 years ago

I assume this issue is either resolved or not relevant any more. Feel free to open it again or create a new issue if you still have this or other problems!