- Added support for Faster Whisper transcription via Jigasi and Skynet. - Updated .env.example to include new environment variables for transcription settings. - Enhanced Jitsi Docker Compose configuration to include Skynet and Jigasi services. - Introduced new API endpoints for managing organizational folders in the drive service. - Updated Nextcloud initialization script to enable external file mounting. - Improved error handling and response structures in the drive API. - Added new properties for organization settings related to transcription and agenda management.
17 lines
498 B
Go
17 lines
498 B
Go
package nextcloud
|
|
|
|
import "testing"
|
|
|
|
func TestJoinBaseURL(t *testing.T) {
|
|
base := "http://nextcloud:80"
|
|
got := joinBaseURL(base, "remote.php/dav/calendars/user/personal/event.ics")
|
|
want := "http://nextcloud:80/remote.php/dav/calendars/user/personal/event.ics"
|
|
if got != want {
|
|
t.Fatalf("joinBaseURL = %q, want %q", got, want)
|
|
}
|
|
got = joinBaseURL(base, "/remote.php/dav/calendars/user/personal/event.ics")
|
|
if got != want {
|
|
t.Fatalf("joinBaseURL with slash = %q, want %q", got, want)
|
|
}
|
|
}
|