GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.21k stars 416 forks source link

#1224 - added option to disable certificate's validation during Gitlab connection #1225

Closed sc0ttes closed 1 year ago

sc0ttes commented 1 year ago

While "Test connection" seems to have worked, it turned out that actually syncing the site had not been because of a typo in the client instantiation where the url parameter should have been host. Surprisingly that was set correctly for the test.

This was causing 401 Unauthorized errors anytime you tried to sync even though the connection test was succeeding.

This has now been tested on a self-hosted Gitlab instance and confirmed working.

dziudek commented 1 year ago

@sc0ttes - thank you for this change - I will also add translation possibility in the UI :)