aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Overload authorize directive to check against service contextJakob Odersky2018-02-091-26/+35
| | | | | | | | | | | This enables checking permissions when a service request is constructed synthetically. An example where this may be useful is in the case where an authorization token is not available as a header but can be obtained elsewhere, such as a session cookie. The service context may then be explicitly constructed with said token and reuse the existing permissions checking functionality.
* change type variableArtRand2018-02-081-4/+3
|
* remove old importArtRand2018-02-081-1/+0
|
* remove dal methodArtRand2018-02-081-4/+0
|
* add testArtRand2018-02-081-2/+16
|
* second attempt, don't touch dal, make a trait of converter helper methodsArtRand2018-02-081-0/+14
|
* add fromStringOrThrow to DalArtRand2018-02-071-0/+5
|
* Reduce log levelsv1.7.3Jakob Odersky2018-02-011-2/+1
| | | | Amends #107
* Reduce log level of request reportingv1.7.2Jakob Odersky2018-01-312-2/+2
|
* Merge pull request #106 from drivergroup/zsmith/remove-auth-idv1.7.0zachdriver2018-01-292-15/+7
|\ | | | | Remove auth ID from AuthUserInfo and add expiration time to token
| * Add expirationTime to AuthTokenUserInfoZach Smith2018-01-252-2/+6
| |
| * Remove authId from AuthTokenUserInfo and remove AuthUser case classZach Smith2018-01-252-13/+1
| |
* | Default paginationvlad2018-01-261-0/+5
|/
* Hotfix for swagger: keep javascript new line formattingv1.6.14Jakob Odersky2018-01-231-3/+3
|
* Merge pull request #105 from drivergroup/swaggerv1.6.13Jakob Odersky2018-01-2342-57/+27000
|\ | | | | Include swagger UI in core
| * Use dynamic name in generated swagger UIJakob Odersky2018-01-222-3/+35
| |
| * Include swagger UI in coreJakob Odersky2018-01-2242-57/+26968
| | | | | | | | | | | | | | | | | | These changes centralize the location of the swagger UI web files. The git attributes instruct GitHub to treat the web files as vendored code, as to not be included in the project code statistics. See https://github.com/github/linguist for a more detailed explanation.
* | We don't need a constructor for the system time providerJakob Odersky2018-01-161-0/+1
|/
* add PUT and PATCH responses to RestService TraitMarvin Bertin2018-01-091-0/+12
|
* Merge pull request #100 from drivergroup/service-exception-test-namesStewart Stewart2018-01-081-2/+2
|\ | | | | Make test descriptions for service exceptions not lie
| * Make test descriptions for service exceptions not lieStewart Stewart2018-01-081-2/+2
| |
* | Add InetAddress JSON formatZach Smith2017-12-202-0/+32
|/
* Merge pull request #97 from drivergroup/zsmith/new-headers-corsv1.6.10zachdriver2017-12-141-0/+2
|\ | | | | Add new ResourceCount and PageCount headers to list of allowed CORS h…
| * Add new ResourceCount and PageCount headers to list of allowed CORS headersZach Smith2017-12-141-0/+2
| |
* | Change default binding network interface to accomodate ipv4Zach Smith2017-12-131-5/+5
|/ | | | | | ::0 is an IPv6-only network address, which forces the app to always use v6. This is a problem in Travis currently, which apparently doesn't support IPv6. Changing to 0.0.0.0 should allow both v4 and v6
* Add headers for resource and page countZach Smith2017-12-111-0/+2
|
* App initialization convenience methodsv1.6.8vlad2017-11-221-1/+7
|
* Apply new formattingJakob Odersky2017-11-2031-182/+212
|
* Use sqlDateToDate instead of Date.fromJavaDateZach Smith2017-11-142-8/+2
|
* Rename to follow slick naming conventionsZach Smith2017-11-141-8/+8
|
* Move java date conversion to Date object helper methodZach Smith2017-11-142-12/+10
|
* Add offset method to PaginationZach Smith2017-11-141-1/+3
|
* Add implicit GetResult definitionsZach Smith2017-11-141-0/+38
|
* Merge pull request #85 from drivergroup/zsmith/login-auditsv1.6.6zachdriver2017-11-092-9/+36
|\ | | | | Add originatingIP to ServiceRequestContext
| * OriginatingIP -> OriginatingIpZach Smith2017-11-082-11/+11
| |
| * Remove unnecessary type annotationZach Smith2017-11-061-1/+1
| |
| * Add originatingIP to ServiceRequestContextZach Smith2017-11-032-9/+36
| |
* | Merge pull request #89 from drivergroup/initv1.6.5v1.6.4v1.6.3Vlad Uspensky2017-11-084-2/+144
|\ \ | | | | | | App initialization convenience methods
| * | App initialization convenience methodsvlad2017-11-081-1/+1
| | |
| * | App initialization convenience methodsvlad2017-11-081-8/+10
| | |
| * | App initialization convenience methodsvlad2017-11-084-11/+151
| |/
* | Add tests for CORS headersZach Smith2017-11-072-1/+58
| |
* | Add default headers to basic routes defined in DriverAppZach Smith2017-11-071-1/+6
|/
* Two small methods for Role for compatibility with PDS UIvlad2017-11-021-1/+6
|
* Add DriverRouteTestZach Smith2017-11-014-4/+95
|
* Remove duplicate allowOrigin functionZach Smith2017-10-311-11/+4
|
* Change transformWith to recoverWithZach Smith2017-10-312-8/+8
|
* Add ExternalServiceException and use in ServiceTransportZach Smith2017-10-313-7/+25
|
* Remove duplicate CORS header code from errorResponse methodZach Smith2017-10-311-15/+2
|
* Move all CORS headers to DriverRoute from DriverAppZach Smith2017-10-312-37/+36
|