Commit Graph

21 Commits

Author SHA1 Message Date
Jonathan Bernard 5bcd4d91c3 Finished initial implementation of songs and services page. 2015-03-17 19:46:50 -05:00
Jonathan Bernard 29f00f806b Restructured project to version builds and move CSS into src.
* Added a new version implementation to the build. The build task now triggers
  an increment to the build version.
* Reconfigured the war plugin to filter source files and replace the @version@
  token with the project version and to rename css and js files to include the
  version number in the filename.
2015-03-17 18:15:13 -05:00
Jonathan Bernard f6f3222855 Started working on front-end MVC (WIP). 2015-03-17 14:40:54 -05:00
Jonathan Bernard b6536c0794 Added test cases and test data for the database layer. 2015-03-07 14:20:06 -06:00
Jonathan Bernard c323df219e Fixed LIKE queries in DB layer. 2015-03-07 14:18:49 -06:00
Jonathan Bernard e13bf171b1 Added user login endpoint. 2015-03-07 14:18:05 -06:00
Jonathan Bernard 66cd8f579a Added equals implementations on model classes. 2015-03-07 14:16:52 -06:00
Jonathan Bernard f55cabe242 Update migration script to use the new database properties file. 2015-03-05 14:22:11 -06:00
Jonathan Bernard 4f247cba37 Fixed bug in buildToken and buildUser. 2015-03-03 16:29:15 -06:00
Jonathan Bernard d84ec06afb Started working on an embeddable test version of the service for unit testing. 2015-03-03 16:28:38 -06:00
Jonathan Bernard 6ed3bd399b Started working on the front-end. 2015-03-02 21:27:05 -06:00
Jonathan Bernard 43ba9216e5 Further API implmentation. 2015-03-02 21:26:06 -06:00
Jonathan Bernard dc5cb78320 Added support for cross-origin requests (CORS). 2015-03-02 21:24:58 -06:00
Jonathan Bernard 83a0f7275c Implemented token-based API authentication.
Replaced the ApiKey concept with ephemeral tokens. Users and apps obtain a
token by authenticating the user credentials (to be implemented). The service
then generates a temporary token that is stored by the client and sent with
every request using the `Authorization-Token` header. The server verifies this
token to recognize and authenticate the request. With an authenticated user,
the server can use the user's role to authorize requests.

This implementation uses JSR 250 SecurityContext and security annotations.
2015-03-02 21:20:25 -06:00
Jonathan Bernard 38e0432c1e Updated build file to handle a local deployment and Jetty instance. 2015-03-02 20:36:28 -06:00
Jonathan Bernard 37208fa381 Added web deployment description, context configuration, service, and song endpoint implementations. 2015-02-20 17:28:42 -06:00
Jonathan Bernard d71f6003ef Added data and migration scripts to migrate data from 1.0 DB. 2015-02-20 17:27:49 -06:00
Jonathan Bernard e867732209 Created DB CRUD interface. 2015-02-20 17:27:05 -06:00
Jonathan Bernard 134afd5945 Updated build with WAR plugin as well as dependencies needed for the REST API. 2015-02-20 17:23:30 -06:00
Jonathan Bernard 3e07dc20bf Created model objects and DB layer. 2015-02-20 01:08:17 -06:00
Jonathan Bernard f2dc674181 Initial commit: .gitignore and build.gradle. 2015-02-17 16:45:18 -06:00