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
Gregor Zurowski
478f512d2c
add tests for Last.FM ArtistGetSimilar ( #355 )
...
* Add tests for Last.FM client `ArtistGetSimilar`
* [Minor] Fix typo in test
2023-08-17 11:29:15 +00:00
sentriz
56bd2c6432
add a test for orphaned genres
2023-08-16 22:52:26 +01:00
brian-doherty
8309425c9e
parse podcast description from HTML to text just as with episodes ( #354 )
2023-08-16 19:13:39 +00:00
Daniel
c317046fc9
Merge branch 'sentriz:master' into ldap_auth
2023-08-15 15:39:05 -07:00
sentriz
5700558a3f
swap order of require.Equal() args
...
we had the order of require.Equal() arguments mixed up. it should be
(expected, actual) not the other way around
updated with
find . -name "*_test.go" -exec gofmt -r "require.Equal(a, b) -> require.Equal(b, a)" -w '{}' \+
2023-08-15 22:38:38 +01:00
archekb and sentriz
d5f8e23a89
feat(subsonic): gracefully handle missing podcast episode paths when returning playlists
...
fixes #345
* fix return playlist if file not found and do not add to playlist not downloaded podcast
---------
Co-authored-by: sentriz <senan@senan.xyz >
2023-08-15 14:49:18 +00:00
brian-doherty
7d2c4fbb5c
feat(podcast): parse podcast episode descriptions from HTML to plain text ( #351 )
2023-08-14 21:14:13 +00:00
Gregor Zurowski
09413ea06e
add tests for LastFM similar tracks ( #347 )
...
* Rename and reuse image struct
* Add LastFM test for similar tracks
2023-08-13 21:33:52 +00:00
Gregor Zurowski
78c7fbe493
add VSCode .devcontainer to Git ignore list ( #348 )
2023-08-13 21:33:16 +00:00
BetaPictoris
a558947da6
Fixed SetSetting err checking
2023-08-06 03:20:29 -07:00
BetaPictoris
e5f815c79e
Fixed filter labels
2023-08-06 03:14:43 -07:00
BetaPictoris
80f5facbd2
Added c.DB.SetSetting (errcheck)
2023-08-06 03:12:36 -07:00
BetaPictoris
23d23c7c6a
Fixed r param revive
2023-08-06 03:04:59 -07:00
BetaPictoris
1fd8c9b2c3
Fix else if (gocritic)
2023-08-06 03:02:13 -07:00
BetaPictoris
9c56bf61ab
Fixed for LDAP connection
2023-08-06 03:00:00 -07:00
BetaPictoris
79b28ef653
Fixed ineffassign to
2023-08-06 02:58:40 -07:00
BetaPictoris
d8338590fd
Added LDAP user creation
2023-08-06 02:54:17 -07:00
BetaPictoris
fdb2ec66de
Added LDAP auth if there is a user
2023-08-06 01:33:21 -07:00
BetaPictoris
6c8f5fa968
Added go-ldap dep
2023-08-06 00:43:20 -07:00
BetaPictoris
6602495032
Added a way of disabling LDAP auth
2023-08-06 00:40:26 -07:00
BetaPictoris
6b2f853b3c
Removed eURL file
2023-08-05 22:12:13 -07:00
BetaPictoris
23e797e62a
Addd default value for LDAP config page
2023-08-05 22:11:05 -07:00
BetaPictoris
1fab192195
Added TODO
2023-08-05 18:48:01 -07:00
BetaPictoris
98be763e37
Added saving of LDAP settings
2023-08-05 18:46:47 -07:00
BetaPictoris
830ab090fd
Fixed typo
2023-08-05 18:42:27 -07:00
BetaPictoris
13bb999bd5
Made TLS checkbox work.
...
TODO: Make the styles match the rest of the page and move them out of inline.
2023-08-05 17:06:37 -07:00
BetaPictoris
ae9f95aa75
Added LDAP route
2023-08-05 16:43:03 -07:00
BetaPictoris
c5b35a6ff1
Added LDAP config template
2023-08-05 16:30:54 -07:00
BetaPictoris
cf3f6666e0
Added LDAP link
2023-08-05 15:19:10 -07:00
archekb
8f05f33ab8
subsonic: make homepageURL parameter optional
...
By the https://opensubsonic.netlify.app/docs/endpoints/createinternetradiostation/ the `homepageURL` is not requirement option
2023-08-02 10:08:49 +00:00
brian-doherty and Brian Doherty
5fb9c49ed2
fix(podcasts): make sure we use safeFilename for podcast episodes too ( #339 )
...
Co-authored-by: Brian Doherty <brian@mediaserver.dohertyfamily.me >
2023-07-17 10:58:36 +00:00
Senan Kelly
b4df1fa3f6
Update README.md
2023-07-10 12:50:34 +00:00
sentriz
637aae9b36
make getTopSongs return an empty list when there's no results
...
https://github.com/tamland/airsonic-refix/issues/99
2023-07-10 13:25:13 +01:00
sentriz
c5cac5b987
auto migrate plays before migration
2023-06-30 16:12:42 +01:00
Gregor Zurowski
2e879f6f16
add test for LastFM top tracks ( #330 )
2023-06-29 21:11:57 +00:00
brian-doherty and Brian Doherty
7982ffc0b4
feat(subsonic): change frequent album list to use total time played per album instead of play count. ( #331 )
...
Co-authored-by: Brian Doherty <brian@mediaserver.dohertyfamily.me >
2023-06-29 21:11:15 +00:00
brian-doherty and Brian Doherty
cbab68b057
feat(subsonic): improve search2 and search3 when there are multiple words searched on. ( #335 )
...
Co-authored-by: Brian Doherty <brian@mediaserver.dohertyfamily.me >
2023-06-29 20:59:22 +00:00
brian-doherty and Brian Doherty
c45c3c9041
rename podcast and podcast episode filenames to be safe at startup. ( #337 )
...
Co-authored-by: Brian Doherty <brian@mediaserver.dohertyfamily.me >
2023-06-29 20:58:15 +00:00
sentriz
5e3b8daf96
add lastfm client to subsonic controller
2023-05-22 13:05:34 +01:00