Skip to content

Commit

Permalink
Merge pull request #443 from tochi-y/1.7.8_es6.6.1-dev
Browse files Browse the repository at this point in the history
Release v1.7.8c_es6.6.1
  • Loading branch information
tochi-y authored Jul 8, 2019
2 parents 4abaf6c + 6996a5a commit 0be7663
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
40 changes: 22 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.7.8c
BUG FIXES:
* FIX: Close opened resources properly. ([#436](https://github.com/personium/personium-core/issues/436))

## 1.7.8b
BUG FIXES:
* There is a part that is not closed after executing HttpClient execute.([#406](https://github.com/personium/personium-core/issues/406))
Expand Down Expand Up @@ -244,10 +248,10 @@ IMPROVEMENTS:
NEW FEATURES:
* Event Processing Functions
* New Cell control objects "Rule" is introduced for managing event processing rules.
see ([#89](https://github.com/personium/personium-core/issues/89))
see ([#89](https://github.com/personium/personium-core/issues/89))

BREAKING CHANGES:
* Interfaces of Messaging and external event acceptance API's are changed:
* Interfaces of Messaging and external event acceptance API's are changed:
* RequestRelation is now replaced with RequestObjects.
see ([#103](https://github.com/personium/personium-core/issues/103))
* External event JSON structure has changed.
Expand Down Expand Up @@ -363,7 +367,7 @@ BREAKING CHANGES:
| 1 |Unit Configuration file name|dc-config.properties|personium-unit-config.properties||
| 2 |XML name space/URN|`xmlns:dc='urn:x-dc1:xmlns'` |`xmlns:p='urn:x-personium:xmlns'`| WebDAV Property data, bar file document or Authn API|
| 3 |HTTP request header|`X-Dc-Xxxxx`|`X-Personium-Xxxxx`| All APIs with original request header |
| 4 |POST request parameters' key|`dc_xxxxx`|`p_xxxxx`| APIs with post parameters |
| 4 |POST request parameters' key|`dc_xxxxx`|`p_xxxxx`| APIs with post parameters |
| 5 |Core APIs for Engine Javascript|`dc.xxxx`|`_p.xxxxx`| Engine service script (server-side logic)|

IMPROVEMENTS:
Expand All @@ -372,24 +376,24 @@ IMPROVEMENTS:
* In addition, renamed Cell administoration previlege name from `dc:all` to `p:root`.



## 1.4.1

IMPROVEMENTS:
- core *[UriUtils.java, CellEsImpl.java,TokenEndPointResource.java etc]* :<br>
A new custom URL scheme `personium-localunit` is introduced for more flexible server operation.<br>
A new custom URL scheme `personium-localunit` is introduced for more flexible server operation.<br>
It is now supported in major APIs handling URL.
* You can write `personium-localunit:/cell1/` instead of `https://myunit.example/cell1/` in fields such as `Box.Schema` or `ExtCell.Url` when referring within the same Unit.

* In previous versions, Unit FQDN change requires data conversion in most cases.
* By using this new URL scheme, links among Cells on a Unit can be kept without data conversion after Unit FQDN change.

BUG FIXES:

- core *[DcEngineSvcCollectionResource.java etc]*, engine *[FsServiceResourceSourceManager.java etc]*: <br>
The script file could not be loaded for enabling custom API was fixed. (Issue #27)

- core *[DavCmpFsImpl.java]*:<br>
- core *[DavCmpFsImpl.java]*:<br>
The bug that the content length is always reset to 0 at updating WebDAV file was fixed.(Issue #29)

## 1.4.0
Expand Down Expand Up @@ -448,12 +452,12 @@ IMPROVEMENTS:
Fixed the known issue in V1.3.23 about [Create Account API](https://github.com/personium/io/wiki/Account#create).
* Account object's `"Type"` value can be validated when you create a new Account.
* Available values are:<br> `"basic"`,`"oidc:google"` or these space-separated values such as `"oidc:google basic"`.
* If the above check fails, the response code will be `400 Bad Request`.
* If the above check fails, the response code will be `400 Bad Request`.

- core *[TokenEndPointResource.java etc]*:<br>
Fixed the bug about password authentication.
* Added checking that Account object's `"Type"` value contains `"basic"` at the time of password authentication.
* If the above check fails, the response code will be `400 Bad Request`.
* If the above check fails, the response code will be `400 Bad Request`.

## 1.3.23

Expand All @@ -466,7 +470,7 @@ IMPROVEMENTS:
* When authenticating an account with OIDC, use [Authentication API](https://github.com/personium/io/wiki/Authentication-and-Authorization) with request body `"grant_type=urn:x-dc1:oidc:google&id_token=[ID_TOKEN]"` . If you need more information with __OAuth2.0 ID Token__, refer to [Google Developers site](https://developers.google.com/identity/protocols/OpenIDConnect).

- core *[DavDestination.java, DavMoveResource.java, DavCollectionResource.java, DavCmpEsImpl.java, etc.]*:<br>
* MOVE method([RFC2518](https://tools.ietf.org/html/rfc2518#section-8.9)) for WedDAV collections and stored files are implemented. (Some restrictions apply.)
* MOVE method([RFC2518](https://tools.ietf.org/html/rfc2518#section-8.9)) for WedDAV collections and stored files are implemented. (Some restrictions apply.)
* MOVE method requires `Destination:` header which is absolute URI expressing the name or the directory to be changed to. MOVE method can be used by below items:

1. WebDAV collections.
Expand All @@ -481,17 +485,17 @@ IMPROVEMENTS:

######Rename collection (end slash is required)
```curl
curl -X MOVE "http://[FQDN]/[cell]/[box]/[collection]/[old_name]/"
curl -X MOVE "http://[FQDN]/[cell]/[box]/[collection]/[old_name]/"
-H "Destination:http://[FQDN]/[cell]/[box]/[collection]/[new_name]/" -i -k -s
```

######Rename file
######Rename file
```curl
curl -X MOVE "http://[FQDN]/[cell]/[box]/[collection]/[dir]/old.txt"
-H "Destination:http://[FQDN]/[cell]/[box]/[collection]/[dir]/new.txt" -i -k -s
```

######Move file
######Move file
```curl
curl -X MOVE "http://[FQDN]/[cell]/[box]/[collection]/[from]/file.txt"
-H "Destination:http://[FQDN]/[cell]/[box]/[collection]/[to]/file.txt" -i -k -s
Expand Down Expand Up @@ -525,8 +529,8 @@ BACKWARD INCOMPATIBILITIES:
KNOWN ISSUES:

- core :
Response code for client authentication failure with OAuth 2.0 (__auth endpoint) should be 401 and include
"WWW-Authenticate" response header. However current version of personium.io returns response code 400 without
Response code for client authentication failure with OAuth 2.0 (__auth endpoint) should be 401 and include
"WWW-Authenticate" response header. However current version of personium.io returns response code 400 without
authenticate header due to compatibility for existing applications.


Expand Down Expand Up @@ -572,7 +576,7 @@ BACKWARD INCOMPATIBILITIES:
|:--- |:----|
| Prior to V1.3.22 | Nothing is Returned. |
| From V1.3.22 | Bad Request(400) |

|| When the format of operand value is different from the type of property. |
|:--- |:----|
| Prior to V1.3.22 | If the operand value is castable to the type of assocaiated property, the operand is treated as valid.<br/>If not castable, retunrs Bad Request(400). |
Expand Down Expand Up @@ -616,7 +620,7 @@ IMPROVEMENTS:

BUG FIXES:

- core *[DcEngineSvcCollectionResource.java]*, engine *[DcResponse.java]*:
- core *[DcEngineSvcCollectionResource.java]*, engine *[DcResponse.java]*:
Status code 500 was returned when "Transfer-Encoding: chuncked" header was given on engine response. Fixed.

- core *[AccessContext.java, DcCoreAuthzException.java, etc.]*:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>io.personium</groupId>
<artifactId>personium-core</artifactId>
<packaging>war</packaging>
<version>1.7.8c_es6.6.1-SNAPSHOT</version>
<version>1.7.8c_es6.6.1</version>
<name>personium-core Maven Webapp</name>
<url>http://maven.apache.org</url>
<licenses>
Expand Down

0 comments on commit 0be7663

Please sign in to comment.