Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.4.0 #539

Merged
merged 38 commits into from
Jun 14, 2019
Merged

Release 2.4.0 #539

merged 38 commits into from
Jun 14, 2019

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Jun 14, 2019

2.4.0 (2019-06-14)

Bug fixes

  • [ #536 ] Save current filters to component upon subscribe to watch collection (xbill82)
  • [ #533 ] Call createCollection from collection controller (jenow)
  • [ #526 ] Allow anonymous to log out (benoitvidis)
  • [ #521 ] Add overflow to mapping card (Njuelle)

New features

Enhancements

Others


berthieresteban and others added 30 commits March 27, 2019 15:46
What does this PR do ?
In a document details, change the values of the date type fields (if timestamp) to add human readable date.

* add readable date fields in documents details
* string interpolation
* for of loop
## What does this PR do ?

Save "sort" filter from a raw query in json mode.

### How should this be manually tested?

- open the admin console to see the content of a collection
- open "query options"
- switch to "raw json mode"
- add a query and sort filter like:
```json
{
  "query": {},
  "sort": {"foo": "asc"}
}
```
- click on search
- go into another collection
- go back to the first collection under the "raw json mode" search options
- sort should still be there

![a](https://user-images.githubusercontent.com/592088/55332348-7b7a8c80-5495-11e9-9fc7-baeac809cac5.png)
## What does this PR do ?
Add refresh button to document view

### How should this be manually tested?
  - Step 1 : npm run dev
  - Step 2 : Look at a document
  - Step 3 : Change it in another admin-console
  - Step 4 : Click on refresh button to see it updated
## What does this PR do ?

Port kuzzle sdk from version 5 to 6.

### Other changes

Uses async await when possible.
* [kzl-1086] enable source filtering
Add a replace button when updating a document since we now update it instead of replacing it to keep the original author, therefor it was not possible anymore to remove a field of a document.
Also added a tooltip on both button to explain what is the difference between update and replace.
In raw filter mode the user can set aggregations to the search but we didn't show them back in the search result.
…zle-admin-console into fix-create-collection-sdk-6
Import / export environment
Call createCollection from collection controller
## What does this PR do ?

This PR removes unauthorized actions from the admin console, at least for read-only access.

### How should this be manually tested?

1. Create a read-only user with the following role: 

```
{
  "controllers": {
    "auth": {
      "actions": {
        "getCurrentUser": true,
        "getMyCredentials": true,
        "getMyRights": true,
        "logout": true
      }
    },
    "collection": {
      "actions": {
        "getMapping": true,
        "list": true
      }
    },
    "document": {
      "actions": {
        "count": true,
        "get": true,
        "mGet": true,
        "scroll": true,
        "search": true
      }
    },
    "index": {
      "actions": {
        "list": true
      }
    }
  }
}
```
2. log in to the admin console
3. check ~no write action is available from~ all write actions are greyed out in the interface
## What does this PR do ?

Rename a link to koncorde documentation

### How should this be manually tested?

`npm run dev`
xbill82 and others added 6 commits May 22, 2019 12:02
Save current filters to component upon subscribe to watch collection
## What does this PR do ?

Add a new Column list view to view document and be able to select which column we want to see.
Those column will be saved in the local storage.

![column](https://user-images.githubusercontent.com/592088/57852301-17ace880-77e3-11e9-8e83-34447ca699e5.gif)
## What does this PR do ?

Add linter for vuejs and fix lint errors.
Also add lint job to travis.

### How should this be manually tested?

npm run lint
@Aschen Aschen added the release label Jun 14, 2019
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #539 into master will decrease coverage by 1.74%.
The diff coverage is 77.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
- Coverage   83.43%   81.68%   -1.75%     
==========================================
  Files          35       34       -1     
  Lines         803      770      -33     
==========================================
- Hits          670      629      -41     
- Misses        133      141       +8
Impacted Files Coverage Δ
src/services/filterManager.js 69.87% <0%> (-0.91%) ⬇️
src/vuex/modules/security/actions.js 100% <100%> (ø) ⬆️
src/vuex/modules/collection/actions.js 40% <61.53%> (-5.72%) ⬇️
src/vuex/modules/common/kuzzle/actions.js 89.58% <62.5%> (-0.22%) ⬇️
src/services/kuzzleWrapper.js 78.68% <73.68%> (-5.64%) ⬇️
src/vuex/modules/auth/actions.js 89.36% <90.62%> (-6.39%) ⬇️
src/vuex/modules/index/actions.js 97.36% <95%> (+1.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e4ebe0...88dbea1. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #539 into master will decrease coverage by 1.74%.
The diff coverage is 77.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
- Coverage   83.43%   81.68%   -1.75%     
==========================================
  Files          35       34       -1     
  Lines         803      770      -33     
==========================================
- Hits          670      629      -41     
- Misses        133      141       +8
Impacted Files Coverage Δ
src/services/filterManager.js 69.87% <0%> (-0.91%) ⬇️
src/vuex/modules/security/actions.js 100% <100%> (ø) ⬆️
src/vuex/modules/collection/actions.js 40% <61.53%> (-5.72%) ⬇️
src/vuex/modules/common/kuzzle/actions.js 89.58% <62.5%> (-0.22%) ⬇️
src/services/kuzzleWrapper.js 78.68% <73.68%> (-5.64%) ⬇️
src/vuex/modules/auth/actions.js 89.36% <90.62%> (-6.39%) ⬇️
src/vuex/modules/index/actions.js 97.36% <95%> (+1.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e4ebe0...88dbea1. Read the comment docs.

@Aschen Aschen merged commit 04adbc8 into master Jun 14, 2019
@Aschen Aschen deleted the 2.4.0-proposal branch June 14, 2019 10:56
@Aschen Aschen restored the 2.4.0-proposal branch September 23, 2019 09:06
@Aschen Aschen deleted the 2.4.0-proposal branch September 23, 2019 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants