Commit Graph

30 Commits

Author SHA1 Message Date
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