Commit Graph
265 Commits
Author SHA1 Message Date
Andrew DeMaria cf849ee948 Added csrf token to html forms
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-21 09:48:09 -07:00
Andrew DeMaria d5ccb9bb78 Added other spring related information to error.jsp 2017-01-21 09:23:47 -07:00
Tom PowellandGitHub 438589c3cf Merge pull request #223 from muff1nman/booter-cleanup
Remove installation from project
2017-01-18 23:18:35 -08:00
Andrew DeMaria d681eda914 Remove installation from project
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-17 21:23:33 -07:00
Rémi Cocula 1f9d11c5a5 Code cleanup and comment. 2017-01-18 00:32:31 +01:00
Rémi Cocula 844b5de427 WIP metrics 2017-01-18 00:07:32 +01:00
Rémi Cocula b8b511e191 WIP metrics 2017-01-17 23:30:54 +01:00
François-Xavier Thomas 7326378f0a Tweak Tomcat performance
This commit does the following things :

* Increase Tomcat resource cache size to be able to actually store
  something in there.
* Increase Tomcat resource cache TTL to avoid costly evictions
* Put Jasper in production mode to avoid recompiling JSPs
2017-01-17 21:27:48 +01:00
Rémi Cocula 1b79f3ce62 Merge branch 'develop' into biconou_develop_PR_metrics 2017-01-16 22:07:06 +01:00
Andrew DeMaria 2948ae0f78 Fix remember me
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-15 14:09:47 -07:00
Andrew DeMaria 9df2660d1e Allow data source config type to be specified via system property
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-15 12:48:18 -07:00
Rémi Cocula ffcbed5611 Merge branch 'develop' into biconou_develop_PR_metrics 2017-01-14 13:10:23 +01:00
Andrew DeMaria d6d53ef2f6 Standardize import order and add maven plugin to check
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-13 19:58:48 -07:00
Andrew DeMaria 4dc97f8dbb Removed synchronized from dao layer and replaced with transactions
Also improved tests to be more spring like

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-13 18:35:20 -07:00
Rémi Cocula ded37073f2 Merge branch 'biconou_develop_PR_SpringBootMain' into biconou_develop_PR_metrics 2017-01-13 23:22:02 +01:00
Rémi Cocula 0e7c41d299 Merge branch 'develop' into biconou_develop_PR_metrics
Conflicts:
	libresonic-main/src/main/resources/application.properties
2017-01-13 22:18:37 +01:00
Rémi Cocula 3fe8b7c0df Refactor application configuration load. 2017-01-13 21:41:55 +01:00
Rémi Cocula 551fc4afcf Fix for issue 214.
POST rest requests must be excluded from csrf validation
getLicense rest api method is required.
2017-01-12 23:46:30 +01:00
Rémi Cocula ef3551929b Add Spring web minimal logging config 2017-01-12 22:02:04 +01:00
Rémi Cocula 5cf079e72b Add metrics filter 2017-01-12 21:53:52 +01:00
Andrew DeMaria 153ba1adfa Cleanup playlists controller and fix 404
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-07 14:50:21 -07:00
Andrew DeMaria 37b35cdb87 More logout fixes
- Ensure logout query parameters are allowed by spring security
- Allow GET request for logout

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-07 14:35:14 -07:00
Andrew DeMaria 6427b0ce59 Added back in force default login url
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-07 14:35:05 -07:00
Andrew DeMaria edc734dc43 Fixed logout jsp url reference
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-07 13:52:20 -07:00
Andrew DeMaria 0a16c2cb52 Merge remote-tracking branch 'origin/pr/210' into develop
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-07 13:32:16 -07:00
Andrew DeMaria fd9fd618af Fix #211
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-07 13:29:16 -07:00
Rémi Cocula 6027f7ce15 Fix after code review 2017-01-07 14:26:48 +01:00
Rémi Cocula 4c49c77641 Restore PasswordSettingsController 2017-01-05 23:23:47 +01:00
Eugene E. Kashpureff JrandGitHub da9661ef58 Merge pull request #205 from muff1nman/attempt-to-fix
Fix war deployment
2017-01-05 14:10:59 -08:00
Rémi Cocula 884826b3b8 WIP 2017-01-05 22:33:08 +01:00
Andrew DeMaria bbe20e2556 Fix podcast query
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-04 23:37:40 -07:00
Andrew DeMaria f57da83df1 Removed checkpoint call
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-04 23:37:35 -07:00
Andrew DeMaria 7b304cf57d Fix sql type error for postgres
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-04 23:37:29 -07:00
Andrew DeMaria 49dc5176d5 General fixups
- Fixed tomcat deployment
- Removed web.xml
- Migrated to servlet api 3
- Added back in logging error resolver
- Fixed error jsp page not working
- Fixed login path when deployed to tomcat
- Cleanup custom liquibase precondition class
- Made the hsql index check more robust

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-01-04 23:37:22 -07:00
Rémi Cocula 9e8876d34e Fix logout 2017-01-03 21:20:42 +01:00
Rémi Cocula 03938ca497 rest API migration. 2016-12-31 20:33:41 +01:00
Rémi Cocula dbda1132df rest API migration (WIP) + fixes. 2016-12-31 19:55:02 +01:00
Rémi Cocula 44de72c602 revert commit edd5cc9dd1 2016-12-31 19:03:44 +01:00
Rémi Cocula 08942fe9c5 Merge remote-tracking branch 'upstream/develop' into biconou_develop_PR_SpringBoot 2016-12-31 18:34:00 +01:00
Andrew DeMaria c6ff05fa7a Fixes #198 Use correct libresonic home
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2016-12-31 10:12:41 -07:00
Andrew DeMaria fac659eb24 Fixed assigning a playlist to a user
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2016-12-31 10:12:33 -07:00
Rémi Cocula 5b2297af96 rest API migration (WIP). 2016-12-31 13:51:22 +01:00
Eugene E. Kashpureff JrandGitHub bec74fa70e Merge pull request #195 from Tapchicoma/issue_130
Fix #130: cast icon is not visible
2016-12-30 23:07:39 -08:00
Rémi Cocula e51e2e8b10 delete wap controller. 2016-12-31 02:51:03 +01:00
Rémi Cocula edd5cc9dd1 Packages to scan listed in spring boot application rather than in xml file. 2016-12-31 02:47:45 +01:00
Rémi Cocula 4a015c2e94 Register of AdditionalPropertySourceConfigurer previously present in web.xml. 2016-12-31 02:23:32 +01:00
Rémi Cocula c28fb87a1f applicationContext clean up 2016-12-31 02:22:50 +01:00
David Russell 7d9aa70555 Use original file type for display formatting
The bitrate column uses the original file, so the file type column
should do the same for consistency.

Fixes #131

Signed-off-by: David Russell <david.russell.scotland@gmail.com>
2016-12-30 22:17:26 +00:00
Egor Berdnikov af06f9bfd7 Fixed #130: Google cast icon is not visible.
Fixed Google cast icon is not visible on newer Chrome versions.
Also fixed cast is not working because local ip address lookup
is not performing.

Signed-off-by: Egor Berdnikov <egorr.berd@gmail.com>
2016-12-30 20:17:59 +01:00
Rémi Cocula 473902cdca applicationContext-db must move to resources/classes 2016-12-30 19:54:23 +01:00