sentriz
2fdc1f41a2
feat: add more and unify stats
...
Release-As: 0.16.1
2023-10-31 19:14:08 +00:00
sentriz
ce991b4d85
use sync.Pool instead of bpool
2023-10-04 20:54:42 +01:00
sentriz
97e9675dca
reorg packages
2023-10-04 20:52:06 +01:00
Senan Kelly
e9accfb71f
refactor: refactor controllers and use standard library ( #385 )
2023-09-30 21:40:51 +00:00
Senan Kelly
f119659acf
refactor scrobblers ( #383 )
...
- no need to explicitly pass api key
- move packages up a level
- catch more errors by extended scrobbler interface with IsUserAuthenticated
- move interface to server
- delete scrobbber package, clients implicitly satisfy Scrobble
this also helps with gonic-lastfm-sync
2023-09-27 00:13:00 +00:00
sentriz
e3dd812b6c
feat(ci): add a bunch more linters
2023-09-22 19:05:55 +02:00
Gregor Zurowski
dbcccdc811
add initial Last.FM tests ( #329 )
...
* Move model into separate file
* Separate Last.FM client and scrobbler
* Use separate Last.FM client and scrobbler
* Fix playcount attribute name
* Add initial test for Last.FM client
2023-05-20 11:24:03 +00:00
sentriz
7dc9575e52
feat: store and use m3u files on filesystem for playlists
...
closes #306
closes #307
closes #66
2023-05-06 18:42:52 +01:00
sentriz
222256cccb
feat(admin): update stylesheet
2023-03-04 13:22:33 +00:00
Brian Doherty
5e66261f0c
feat(subsonic): add avatar support
...
closes : #228
2022-07-20 23:18:35 +01:00
brian-doherty
7ab378accb
feat(subsonic): add internet radio support
...
* Initial commit of internet radio support.
* Added first test for internet radio.
* Refactor to prepare for more test cases.
* Added a few more tests. Realized that I was not calling as admin so added ability to mock admin.
* Added more internet radio tests. Added proper JSON unmarshaling for ID.
* More test cases. Fixed some accidental tabs in files.
* Fixed some more tabs.
* lint fixes
* Changed placeholder for homepage URL to fit into box.
* Finished out internet radio test cases. Found a few bad error codes in internet radio AND podcasts (mea culpa).
* Realized that delete via website was not checking properly if id existed. Fixed.
gofmt
2022-06-21 22:33:21 +01:00
sentriz
8b803ecf20
refactor: move shared packages up a level
2022-04-13 01:10:46 +01:00
sentriz
9c1f9784be
chore: upgrade sqlite
2022-01-05 13:50:55 +00:00
sentriz
62ccf01a3a
unfunny the comments
2021-12-20 16:51:26 +00:00
sentriz
0c871d888b
refactor(admin): use go1.16 embed for templates and assets
2021-05-08 18:37:55 +01:00
Alex McGrath
10fca91785
Add download all button and include options to automatically download new episodes
2021-03-04 19:38:34 +00:00
Alex McGrath
37fca3a087
add some podcast nit changes and make podcasts mandatory
2021-02-03 20:45:30 +00:00
Alex McGrath
9c4286b0e2
add support for subsonic podcast api
2021-02-03 20:45:30 +00:00
sentriz
a18929ad01
add custom listenbrainz url support and make ui "consistent"
...
Co-authored-by: spezifisch <spezifisch@users.noreply.github.com >
Co-authored-by: Alex McGrath <amk@amk.ie >
2021-01-12 11:26:36 +00:00
sentriz
2dcbdf312a
let admins and users change usernames
2020-07-16 23:29:48 +01:00
sentriz
fd96bfe6a8
periodically clean sessions
2020-05-19 19:19:47 +01:00
sentriz
c65606ba1f
add some go-critic suggestions
2020-05-07 04:31:47 +01:00
sentriz
ee9335f71e
remove globals
2020-05-07 03:24:50 +01:00
sentriz
b02ade3415
update golangci lint linter list
2020-05-02 04:22:26 +01:00
sentriz
a541f97cd8
lastfm: rename scrobbleopts scrobbleoptions
2020-05-01 17:51:45 +01:00
sentriz
295bf5677f
make the "raw" handlers a bit more consistent
...
also, todo: think about deleting them
2020-04-25 03:17:50 +01:00
sentriz
f52ce807af
upgrade sqlite3
2020-04-25 01:55:46 +01:00
sentriz
1ff5845a02
refactor server startup into jobs
2020-04-18 19:35:15 +01:00
sentriz
256143a025
move senan.xyz/g/ to go.senan.xyz
2020-04-02 16:46:04 +01:00
sentriz
32e7ac14d1
add httponly, and samesite option to sessions
...
closes #52
2020-04-01 04:07:24 +01:00
sentriz
b63428344a
clean up controllers
2020-03-26 01:42:15 +00:00
sentriz
52d2dbcce9
move assets to server package
2020-03-22 01:11:48 +00:00
sentriz
a3fce34cba
add nocache template func
2020-03-12 01:25:24 +00:00
sentriz
acadca6a02
add crud for custom transcode selection profile
2020-03-12 01:25:24 +00:00
sentriz
1b1049a1b7
fix some lint errors
2020-03-12 01:25:24 +00:00
sentriz
554a74cba5
fix user date format and create helper
...
closes #38
2020-02-23 04:09:02 +00:00
sentriz
a42edc3441
move models into db package
2020-02-19 20:08:37 +00:00
sentriz
2e85c95018
support proxy prefix
2020-01-27 17:02:53 +00:00
sentriz
7de773d4c5
use middlewares for notfoundhandler routes
2020-01-22 13:44:54 +00:00
sentriz
8e5d397082
add param abstraction to request context
2020-01-22 13:44:28 +00:00
sentriz
fd098f60d6
show version in cli and web
2019-11-27 15:42:03 +00:00
sentriz
2b3825b24d
set flash limit to avoid cookie length
2019-11-27 02:22:14 +00:00
sentriz
dd93aa5e74
add playlist support
2019-11-27 01:46:13 +00:00
sentriz
605c587fd9
add multiple flash support
2019-11-27 01:44:45 +00:00
sentriz
7e601acf42
fix formatting directives
2019-08-21 15:04:41 +01:00
sentriz
9c2f2e381b
remove response writer from most admin handlers
2019-08-21 15:04:41 +01:00
sentriz
e7c98808bb
add 404 handler for admin
2019-08-21 15:04:40 +01:00
sentriz
f2b8735685
export golint
2019-07-31 15:11:50 +01:00
sentriz
5444b328fd
seperate routes, provide robust handler types, use mux
2019-07-31 15:11:46 +01:00