44 Commits

Author SHA1 Message Date
Spring Operator
e1440b1095 DATAREST-1351 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 374 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0.html with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200).

Original Pull Request: #332
2019-03-22 10:25:26 +01:00
Spring Operator
fc7c7695f8 DATAREST-1351 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 13 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.pivotal.io with 2 occurrences migrated to:
  https://www.pivotal.io ([https](https://www.pivotal.io) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 26 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 13 occurrences

Original pull request: #309
2019-03-18 11:48:26 -05:00
Mark Paluch
f136fd4f31 DATAREST-1058 - Prepare next development iteration. 2017-06-07 11:50:56 +02:00
Mark Paluch
e64f9e944a DATAREST-1058 - Release version 2.5.11 (Hopper SR11). 2017-06-07 11:11:08 +02:00
Oliver Gierke
4ecb007adf DATAREST-1057 - Prepare next development iteration. 2017-04-19 21:02:14 +02:00
Oliver Gierke
f56485d92d DATAREST-1057 - Release version 2.5.10 (Hopper SR10). 2017-04-19 20:36:43 +02:00
Oliver Gierke
007a1ff582 DATAREST-1017 - Prepare next development iteration. 2017-04-19 13:01:02 +02:00
Oliver Gierke
ebc925804e DATAREST-1017 - Release version 2.5.9 (Hopper SR9). 2017-04-19 12:38:29 +02:00
Oliver Gierke
82e2cceecf DATAREST-989 - Prepare next development iteration. 2017-03-02 12:05:55 +01:00
Oliver Gierke
f92169d7fb DATAREST-989 - Release version 2.5.8 (Hopper SR8). 2017-03-02 11:30:05 +01:00
Oliver Gierke
1eff4ba0bd DATAREST-966 - Prepare next development iteration. 2017-01-26 12:04:55 +01:00
Oliver Gierke
5a1b58911f DATAREST-966 - Release version 2.5.7 (Hopper SR7). 2017-01-26 11:33:51 +01:00
Oliver Gierke
5a5d6d73ce DATAREST-932 - Prepare next development iteration. 2016-12-21 19:33:41 +01:00
Oliver Gierke
134ef39544 DATAREST-932 - Release version 2.5.6 (Hopper SR6). 2016-12-21 19:04:46 +01:00
Oliver Gierke
4c97011b2d DATAREST-915 - Prepare next development iteration. 2016-11-03 18:20:10 +01:00
Oliver Gierke
6d20ab6df5 DATAREST-915 - Release version 2.5.5 (Hopper SR5). 2016-11-03 17:56:32 +01:00
Oliver Gierke
7b357db535 DATAREST-903 - Prepare next development iteration. 2016-09-29 14:20:09 +02:00
Oliver Gierke
e09b22bf94 DATAREST-903 - Release version 2.5.4 (Hopper SR4). 2016-09-29 13:54:03 +02:00
Oliver Gierke
4e3b12db7d DATAREST-842 - Prepare next development iteration. 2016-09-20 11:19:00 +02:00
Oliver Gierke
dd90d3b32b DATAREST-842 - Release version 2.5.3 (Hopper SR3). 2016-09-20 10:54:50 +02:00
Oliver Gierke
094bb99cbd DATAREST-863 - Adapt to changes in Accept header lookup in Spring 4.3.
Spring 4.3's HeaderContentNegotiationStrategy switched from looking up the Accept header via the method returning a single (potentially comma separated) one to the method returning multiple headers in the first place. We now added an override of HttpServletRequestWrapper.getHeaders(…) to out custom adapter defaulting the media type to make sure the defaulting is visible and thus the right handler methods are looked up.

That previously missing caused the DelegatingHandlerMapping selecting the redirect to the HAL browser in case a request to the API root was sent without an accept header as the defaulting of the header to application/hal+json wasn't properly exposed anymore and the redirect to the browser — declaring a produces clause of text/html — was not causing any media type mismatch anymore.
2016-08-04 21:15:26 -07:00
Oliver Gierke
d58d628098 DATAREST-804 - Prepare next development iteration. 2016-06-15 14:17:52 +02:00
Oliver Gierke
c0262db1d3 DATAREST-804 - Release version 2.5.2 (Hopper SR2). 2016-06-15 13:45:52 +02:00
Oliver Gierke
d73d85d9fa DATAREST-815 - Tweaked HalBrowser controller implementation to consider proxied requests.
We now use the APIs in place in Spring MVC to make sure we create proper redirects for requests that carry proxy headers so that the redirect target is still going through the proxy.
2016-04-27 15:34:22 +02:00
Oliver Gierke
c3bdae7520 DATAREST-802 - Prepare next development iteration. 2016-04-06 22:51:43 +02:00
Oliver Gierke
df7499608b DATAREST-802 - Release version 2.5.1 (Hopper SR1). 2016-04-06 22:32:15 +02:00
Oliver Gierke
69d62019d6 DATAREST-790 - Prepare next development iteration. 2016-04-06 16:38:18 +02:00
Oliver Gierke
c49a29a247 DATAREST-790 - Release version 2.5 GA (Hopper). 2016-04-06 16:35:59 +02:00
Oliver Gierke
5f3bb2f90e DATAREST-790 - Fix build to be re-runnable without cleaning.
Changed the Ant-Run task to copy artifacts into the classpath rather than moving them so that a repeated build run will find the artifacts again.
2016-04-06 15:07:39 +02:00
Oliver Gierke
9e58ab92c5 DATAREST-720 - HAL Browser fragment now considers the context path if set.
Removed some obsolete Maven dependency versions along the way.
2016-04-01 12:59:37 +02:00
Oliver Gierke
05c723fe50 DATAREST-782 - Prepare next development iteration. 2016-03-18 11:15:51 +01:00
Oliver Gierke
03a720d1c0 DATAREST-782 - Release version 2.5 RC1 (Hopper). 2016-03-18 11:15:00 +01:00
Oliver Gierke
c74576b91e DATAREST-756 - Prepare next development iteration. 2016-02-12 15:43:39 +01:00
Oliver Gierke
1c850a5909 DATAREST-756 - Release version 2.5 M1 (Hopper). 2016-02-12 15:42:47 +01:00
Spring Buildmaster
123b7a01c2 DATAREST-663 - Prepare next development iteration. 2015-09-01 02:46:04 -07:00
Spring Buildmaster
1a38f96602 DATAREST-663 - Release version 2.4.0.RELEASE (Gosling GA). 2015-09-01 02:46:01 -07:00
Greg Turnquist
be67f3e5b0 DATAREST-627 - HAL Browser now uses JSON Editor view for resources exposing metadata.
In case a link relation's target exposes a profile link (via HTTP HEAD and "Link" response header), we now try to obtain a JSON schema from the target resource and use a custom view based on the JSON Editor library fro non-GET requests.

This creates a customized, user friendly pop-up dialog for data entry with a nice polished look. If there is no profile link, we use a fallback editor for raw JSON input.

Original pull request: #191.
2015-08-31 18:59:15 +02:00
Oliver Gierke
06b6b266db DATAREST-654 - Added suport for internationalization of enum values.
RepositoryRestConfiguration now exposes an option to enable enum value serialization and a nested configuration object to tweak the details.

If enabled, a Jackson serializer and deserializer is registered trying to resolve the enum values from the Spring Data REST resource bundle using the fully-qualified enum value name as key. If no explicitly configured value is configured a default translation is triggered that capitalizes the lowercased value name replacing the underscores with spaces (e.g. PAYMENT_EXPECTED -> Payment expected). This can be opted out of, of course.

On the parsing side the deserializer will also consult the resourcebundle and default translation but also accepting the enum name as is (also opt-outable).

Deprecated non-bean-style accessors for projection and metadata configuration on RepositoryRestConfiguration to make these options tweakable via Spring Boot application properties by default.
2015-08-21 15:22:27 +02:00
Spring Buildmaster
1d7e7f4ea4 DATAREST-634 - Prepare next development iteration. 2015-08-04 05:06:47 -07:00
Spring Buildmaster
402d7c9382 DATAREST-634 - Release version 2.4.0.RC1 (Gosling RC1). 2015-08-04 05:06:44 -07:00
Oliver Gierke
7bcf34ce15 DATAREST-565 - HalBrowser controller now uses context-relative redirects. 2015-06-16 15:28:56 +02:00
Spring Buildmaster
42fc85afdc DATAREST-563 - Prepare next development iteration. 2015-06-02 01:58:14 -07:00
Spring Buildmaster
0604e7b876 DATAREST-563 - Release version 2.4.0 M1 (Gosling). 2015-06-02 01:58:12 -07:00
Oliver Gierke
85ced098c6 DATAREST-293 - Added new module to easily add a HAL browser to Spring Data REST apps.
Added a module that repackages the webjar version of the HAL browser. The repackaging is necessary to be able to control the exposure of the browser dynamically and prevent Spring Boot's auto-exposure of webjars from kicking in.

Tweaked BasePathAwareHandlerMapping to default the Accept header to the one defined in the configuration if none is present in the request or */* is given. This will make sure we default to a JSON dialect in case no header is set.
2015-04-14 18:13:02 +02:00