Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Merge release/3.4.2 (#58)
Browse files Browse the repository at this point in the history
* Merge release/3.0.1 branch (#35) (#36)

* fix(Epics): Fix checkoutLoginState at failure

checkoutLoginState epic is now return null instead of error message when user is not authenticated

* chore: Update version number

* [KFI]chore: Update version number

* sn-client-js update (#49)

* chore(package): update @types/redux-mock-store to version 0.0.11 (#37)

* chore(package): update semantic-release to version 8.0.0 (#38)

* Greenkeeper/sn client js 2.4.0 (#40)

* chore(package): update sn-client-js to version 2.4.0

* [KFI]chore(launch.json): fixed mocha debug profile for vs code

* [KFI]test(EpicsTest): Flatterned Select assertions, added RELOAD_CONTENTFIELDS_REQUEST field list (r

* Release/3.2.0 (#41)

* [KFI]fix(Epics): Remove requestContent call from the initSensenetStoreEpic

* [KFI]fix(Reducers): Fix userAvatarPath

For now userAvatarPath contains the Avatar field's value so it doesn't matter if the avatar is a
binary or a reference

* [KFI]test(ReducerTests): Fix userAvatarPath test

* [KFI]fix(Reducers): Fix fetch getError and order reducers

* [KFI]feat(Actions): Add two new Actions for selection and deselecting a Content

* [KFI]feat(Reducers): Change selected reducer to handle select and deselect actions

* [KFI]test(Actions): Add tests for select and deselect actions

* [KFI]test(Reducers): Add test for testing the selected Reducer handling select and deselect Actions

* [KFI]feat(Actions): Add actions for getting sn Actions of a content

* [KFI]test(Actions): Add tests for testing the new sn action getter Actions

* [KFI]feat(Reducers): Complete the Reducer of the content items

* [KFI]test(Reducers): Add test for testing the childrenactions reducer

* [KFI]feat(Reducers): Add a isOpened reducer

This reducer holds the id of the content where the actionmenu was opened last

* [KFI]fix(Reducers): Change action in isOpened reducer to REQUEST_CONTENT_ACTION

* [KFI]test(Reducers): Add test for testing isOpened reducer

* [KFI]feat(Reducers): Add a function to return the currently opened items id

* [KFI]refactor(Reducer): Rename getOpenedContentId to getOpenedContent

* [KFI]test(Reducers): Add a test for testing getOpenedContent function

* [KFI]feat(Actions): Add id as input attr to RequestContentActions Action

* [KFI]feat(Reducers): Add getChildrenActions function to return actions from the state tree

* [KFI]feat(Actions): Change RequestContentActions first input param to content

* [KFI]feat(Epics): Add getContentActions Epic

* [KFI]fix(GetActions): Fix GetActions action

* [KFI]feat(Reducers): Add getCurrentContent to get the path of the current content

* [KFI]fix(Epics): Fix loadContentActions epic

* [KFI]test: Improve epic tests

* [KFI]chore: Update version number

* [KFI]fix(Login): Fix action order and subscribing in the login process

* [KFI]test(Login): Add tests for testing the new login buffer action and epic

* [KFI]chore: Update version number

* chore(package): update mocha to version 4.0.0 (#42)

* chore(package): update typedoc to version 0.9.0 (#43)

* Merge release/3.2.2 (#44)

* [KFI]fix(Reducers): Fix entity list after update success action

* [KFI]test(Reducers): Add test for checking the entity list after update success

* [KFI]chore: Update version number

* [KFI]chore: Update version number

* [KFI]feat(Actions): Add an action to clear the selected reducer

* [KFI]test(Actions): Add test for testing the new clear selection action

* [KFI]chore: Update version number to 3.2.2

* Fileupload (#45)

* [KFI]feat(Actions): Add upload request, success and failure actions

* [KFI]test(Actions): Add tests for testing the new upload related actions

* [KFI]feat(Epics): Add new epic for upload a file

* [KFI]test(Epics): Add test for testing the upload epic

* [KFI]feat(Reducers): Change ids and entities reducer to handle UPLOAD_CONTENT_SUCCESS

* [KFI]test(Reducers): Add upload related reducer tests

* [KFI]chore: Update sn-client-js to 2.5.0

* [KFI]test(Epics): Fix epic tests related to sn-client-js upgrade

* [KFI]chore: Update version number to 3.3.0

* [KFI]fix(Epics): Add rxjs mergeMap import

* merge fix

* [KFI]refactor(project): replaced '@reactivex/rxjs' package with 'rxjs', updated imports

* [KFI]test(Epics): Fix Epic tests (#51)

* Feat/batchactions (#52)

* [KFI]feat(BatchActions): Add new reducer to handle batch action responses

* [KFI]feat(BatchActions): Add copy and move batch actions

* [KFI]feat(BatchActions): Modify batchActions reducers to handle general errors also

* [KFI]docs(BatchActions): Add some docs to the new reducers

* [KFI]test(BatchActions): Fix deleteBatch action tests to handle the new arguments

* [KFI]test(DeleteBatch): Fix tests

* [KFI]test(Reducers): Add tests to test batch response related reducers

* [KFI]fix(BatchActions): Add a path param to copybatch and movebatch to hold the target path

* [KFI]test(BatchActions): Add tests for testing the new batch actions

* [KFI]fix(BatchActions): Improve deleteBatch Epic

* [KFI]feat(Selection): Change select and deselect actions to handle a content except an id

* [KFI]test(Selection): Fix selection related tests

* [KFI]test(Selection): Fix selected reducer tests

* [KFI]feat(Selection): Add a new reducer to hold and handle selected content items for batch actions

* [KFI]fix(Selection): Fix selectedContentItems reducer and its tests

* [KFI]feat(Selection): Add new functions to return to value of selectedIds and selectedContentItems r

* [KFI]test(Selection): Add test for testing new selection reducers

* [KFI]feat(DeleteBatch): Change id param to contentItems

* [KFI]test(DeleteBatch): Fix deleteBatch related tests to handle content items as a param

* [KFI]feat(DeleteBatch): Complete deleteBatch functionality

* [KFI]test(DeleteBatch): Fix batch delete related tests

* [KFI]fix(BatchActions): Change copy and move batch actions first param to a contenlist object

* [KFI]test(BatchActions): Fix tests that are related to the changed param

* [KFI]feat(MoveBatch): Add move batch action to the ids and entities reducers

* [KFI]test(MoveBatch): Add moveBatch action related tests

* [KFI]feat(BatchActionEpics): Add move- and copyBatch epics

* [KFI]test(BatchEpics): Add copy- and movebatch epic tests

* Feat/addnew upload (#53)

* [KFI]feat(Actions): Add a new param to requestContentActions to make it possible to add custom actio

* [KFI]test(Actions): Fix RequestContentActions tests

* [KFI]feat(Epics): Change getContentActions epic to handle custom listitems

* [KFI]fix: Remove unused variables and add the check into the tsconfig.json to detect them in the fut

* [KFI]feat(Reducers): Add new reducer to retrieving children entities object

* [KFI]test(Reducers): Add test for testing getChildren reducer

* [KFI]feat(Authentication): Add stuff for google oauth (#54)

* [KFI]feat(Authentication): Add initial stuff for google oauth

* [KFI]test(Actions): Add google auth login test

* [KFI]chore: Update dependencies

* [KFI]fix(Actions): Change Actions method to GetActions in action loader epics

* [KFI]chore: Update version number to 3.4.2
  • Loading branch information
herflis authored Dec 5, 2017
1 parent 5eaffbd commit 09a4a6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sn-redux",
"version": "3.4.1",
"version": "3.4.2",
"description": "A set of redux actions, reducers and redux-ovbservable epics for Sense/Net ECM",
"main": "dist/src/sn-redux.js",
"scripts": {
Expand Down Expand Up @@ -86,7 +86,7 @@
"redux-observable": "^0.16.0",
"semantic-release": "^8.0.0",
"sn-client-auth-google": "^1.0.0",
"sn-client-js": "^3.0.0",
"sn-client-js": "^3.0.1",
"tslint": "^5.6.0",
"typedoc": "^0.9.0",
"typedoc-md-theme": "^1.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/Epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export module Epics {
return action$.ofType('LOAD_CONTENT_ACTIONS')
.mergeMap(action => {
let c = dependencies.repository.HandleLoadedContent(action.content, ContentTypes.GenericContent);
return c.Actions(action.scenario)
return c.GetActions(action.scenario)
.map(result => Actions.ReceiveContentActions(result))
.catch(error => Observable.of(Actions.ReceiveContentActionsFailure(error)))
})
Expand Down Expand Up @@ -433,7 +433,7 @@ export module Epics {
return action$.ofType('REQUEST_CONTENT_ACTIONS')
.mergeMap(action => {
let c = dependencies.repository.HandleLoadedContent(action.content, ContentTypes.GenericContent);
return c.Actions(action.scenario)
return c.GetActions(action.scenario)
.map(result => Actions.RequestContentActionsSuccess([...result, ...action.customItems], action.content.Id))
.catch(error => Observable.of(Actions.RequestContentActionsFailure(error)))
})
Expand Down

0 comments on commit 09a4a6e

Please sign in to comment.