Commit Graph
34 Commits
Author SHA1 Message Date
Daniel Hall 8793a36364 Rewrote if-else to switch for LDAP results 2024-02-17 22:38:19 -08:00
Daniel Hall ac31258f88 Removed unnecessary trailing newline 2024-02-17 22:29:29 -08:00
Daniel Hall 683525aad2 Removed unused password parameter from createUserFromLDAP 2024-02-17 22:27:57 -08:00
Daniel Hall bc62b213a5 Lower-cased and removed punctuation for errors
Fixes linting
2024-02-17 22:27:08 -08:00
Daniel Hall f6ecd6d39b Added dashboard login for LDAP users 2024-02-17 22:23:38 -08:00
Daniel Hall fdceb555bf Removed unused logs 2024-02-17 22:23:12 -08:00
Daniel Hall 6301cb25bc Fix User struct from having not null passwords
This is required for LDAP auth to work, blank passwords don't work anyway.
2024-02-17 22:13:52 -08:00
Daniel Hall 408d325c2c Move LDAP into a seperate file 2024-02-17 22:12:56 -08:00
Daniel e944817f8b Merge with upstream
Merge pull request #1 from BetaPictoris/master
2024-02-15 11:00:04 -08:00
Daniel f8b0fbbfa2 Merge branch 'ldap_auth' into master 2024-02-15 10:59:33 -08:00
Daniel 90b5324179 gofmt handlers 2023-12-08 23:15:51 -08:00
Daniel 05149961b5 Used log to log instead of fmt 2023-12-08 23:15:10 -08:00
Daniel 84e29da258 Merge branch 'master' into ldap_auth 2023-12-08 23:12:25 -08:00
Daniel 7c6e1957fb Simplified code using gofmt 2023-12-08 23:10:26 -08:00
Daniel df42923f7b Made LDAP query log message match others 2023-12-08 23:04:13 -08:00
Daniel 4799fb2441 Update go-ldap/ldap to v3 2023-12-01 12:31:24 -08:00
Daniel 322aa0747a Made WithUser middleware private 2023-11-30 14:23:51 -08:00
Daniel 7558bb3f23 Merge branch 'master' into ldap_auth 2023-11-11 17:12:27 -08:00
Daniel e770eaa07a Fixed old references to use the new style
Readded goldap
Fixed `c.DB` to `c.dbc`
Fixed `WithUser`
2023-11-10 13:58:33 -08:00
Daniel a24b7c07cb Merge branch master into ldap_auth 2023-11-10 13:47:47 -08:00
BetaPictoris c03e10454c Fixed merge conflicts 2023-10-28 17:05:50 -07:00
BetaPictoris a99d63ab12 Fixed nil password causing invalid dereferences 2023-10-27 16:02:47 -07:00
BetaPictoris 667cf731fd Extract out LDAP connection creation 2023-10-27 15:48:41 -07:00
BetaPictoris 38ea72bbc6 Only try to login if there is exactly 1 user, otherwise return an error. 2023-10-27 10:53:43 -07:00
BetaPictoris d6d51ed9f7 Update username error message to match Subsonic API 2023-10-27 10:50:33 -07:00
beta 9e5b8d4ac8 Fixed newLDAPUser being reset 2023-09-09 09:55:29 -07:00
beta 238856ad73 Fixed newLDAPUser def 2023-09-09 09:49:48 -07:00
beta 7de6cf1e9e Fixed use of newLDAPUser 2023-09-09 09:48:54 -07:00
beta e7d6fdab69 Fixed bug where two requests got merged 2023-09-09 09:37:36 -07:00
beta 94027dcf9b Fixed variable defs 2023-09-09 09:28:57 -07:00
beta 46dac6d463 Check errors in ldap do handler 2023-09-09 09:27:12 -07:00
Daniel fc08e0a171 Merge branch 'sentriz:master' into ldap_auth 2023-09-05 02:53:33 +00:00
Daniel a644f0ff5c feat(transcode): add MP3 320 transcoding profile (#363) 2023-09-04 23:29:24 +00:00
Daniel c317046fc9 Merge branch 'sentriz:master' into ldap_auth 2023-08-15 15:39:05 -07:00