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

Update mocha to the latest version 🚀 #42

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Oct 3, 2017

Version 4.0.0 of mocha just got published.

Dependency mocha
Current Version 3.5.3
Type devDependency

The version 4.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of mocha.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v4.0.0

4.0.0 / 2017-10-02

You might want to read this before filing a new bug! 😝

💥 Breaking Changes

For more info, please read this article.

Compatibility

  • #3016: Drop support for unmaintained versions of Node.js (@boneskull):
    • 0.10.x
    • 0.11.x
    • 0.12.x
    • iojs (any)
    • 5.x.x
  • #2979: Drop support for non-ES5-compliant browsers (@boneskull):
    • IE7
    • IE8
    • PhantomJS 1.x
  • #2615: Drop Bower support; old versions (3.x, etc.) will remain available (@ScottFreeCode, @boneskull)

Default Behavior

  • #2879: By default, Mocha will no longer force the process to exit once all tests complete. This means any test code (or code under test) which would normally prevent node from exiting will do so when run in Mocha. Supply the --exit flag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)

Reporter Output

👎 Deprecations

  • #2493: The --compilers command-line option is now soft-deprecated and will emit a warning on STDERR. Read this for more info and workarounds (@ScottFreeCode, @boneskull)

🎉 Enhancements

  • #2628: Allow override of default test suite name in XUnit reporter (@ngeor)

📖 Documentation

🔩 Other

Commits

The new version differs by 48 commits.

  • d69bf14 Release v4.0.0
  • 171b9f9 pfix "prepublishOnly" potential portability problem
  • 60e39d9 Update link to wiki (GitHub at the leading --)
  • 804f9d5 Update link because GitHub ate the leading --
  • 3326c23 update CHANGELOG for v4.0.0 [ci skip]
  • 6dd9252 add link to wiki on --compilers deprecation
  • 96318e1 Deprecate --compilers
  • 92beda9 drop bower support
  • 58a4c6a remove unused .npmignore
  • 7af6611 kill Date#toISOString shim
  • 43501a2 reduce noise about slow tests; make a few tests faster, etc.
  • fa228e9 update --exit / --no-exit integration test for new default behavior
  • 3fdd3ff Switch default from forced exit to no-exit
  • c5d69e0 add integration tests for --exit/--no-exit
  • 3a7f8dc enhance runMochaJSON() helper by returning the subprocess instance

There are 48 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@codecov
Copy link

codecov bot commented Oct 3, 2017

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   90.48%   90.48%           
=======================================
  Files           5        5           
  Lines         431      431           
  Branches       46       46           
=======================================
  Hits          390      390           
  Misses         40       40           
  Partials        1        1

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 d1ca559...7682304. Read the comment docs.

@codecov
Copy link

codecov bot commented Oct 3, 2017

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   90.48%   90.48%           
=======================================
  Files           5        5           
  Lines         431      431           
  Branches       46       46           
=======================================
  Hits          390      390           
  Misses         40       40           
  Partials        1        1

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 d1ca559...7682304. Read the comment docs.

@herflis herflis merged commit b5e48da into master Oct 3, 2017
@herflis herflis deleted the greenkeeper/mocha-4.0.0 branch October 3, 2017 09:20
gallayl added a commit that referenced this pull request Nov 6, 2017
* 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
herflis added a commit that referenced this pull request Nov 24, 2017
* 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]chore: Update version number

* [KFI]style: Add missing space and a equal sign

* [KFI]style: Add missing semicolons

* [KFI]feat(Upload): Add scenario as param of the upload request action

* [KFI]test(Upload): Fix tests with the new scenario param

* [KFI]feat(Upload): Add ODataOptions param with scenario to the upload epic

* [KFI]fix(Epics): Fix deleteContent epic at its success branch with correct handling of the id of the

* [KFI]chore: Update sn-client-js and sn-client-auth-google
herflis added a commit that referenced this pull request Dec 4, 2017
* 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(Epics): Move content conversion from application level to Epic level

* [KFI]fix(Epics): Fix update epic to handle content changes

* [KFI]chore: Update version number to 3.4.1
herflis added a commit that referenced this pull request Dec 5, 2017
* 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant