Commit Graph

336 Commits

Author SHA1 Message Date
Erik Ziegler
ec1946e379
ci(e2e): Fix cypress test memory issues by splitting build step out (#738) 2019-07-30 14:51:28 +02:00
Erik Ziegler
a4112c46a5
fix(package.json): Bump WADO Image Loader dependency, remove unnecessary worker and codec paths (#727)
Note: had to disable sourcemaps for commonjs modules. This seems to be the only way to prevent memory issues on CircleCI.
2019-07-30 11:00:08 +02:00
David Wire
e73d009c21 fix(package.json): Resolve react/react-dom dependency conflict for embedded users (#734)
* fix(package.json): Resolve react/react-dom dependency conflict for embedded users

Some of the recent changes around the script-tag support for ohif/Viewers included moving react and
react-dom from peerDependencies to dependencies. This caused an error for embedded consumers of the
viewer because there could be multiple versions of react included. The error in the console points
to this link: https://reactjs.org/warnings/invalid-hook-call-warning.html. These changes are
necessary to resolve the issue for embedded users and don't seem to break the standalone version
either.

* fix(script-tag/index.html): Add `react` and `react-dom` as external scripts for cypress tests

The cyrpress tests won't pass unless we add the `react` and `react-dom` dependencies as external
scripts since they're no longer first order depdencies.
2019-07-30 08:30:23 +02:00
Erik Ziegler
f826341631 fix(package.json): Bump VTK extension to fix jitter issues in MPR view 2019-07-29 21:20:11 +02:00
Egor Lezhnin
40bf1a2efd feat(fuzzyMatching): fuzzymatching for query parameters if server config indicates support 2019-07-29 09:56:07 -04:00
Erik Ziegler
b1df019c49 fix(package.json): Update @ohif/i18n to 0.2.3 2019-07-29 10:03:48 +02:00
Erik Ziegler
5802cf18eb
fix(script-tag): Include React and ReactDOM as dependencies and add installViewer function to simplify script tag usage. (#721) 2019-07-29 08:20:07 +02:00
Danny Brown
210c2e8d2c
fix: clear annotations toolbar button 2019-07-26 16:38:37 -04:00
Erik Ziegler
da318c9c8c
feat(DicomUploader): Make DICOM Uploader work with all DICOMWeb servers (#717)
* feat(DicomUploader): Make DICOM Uploader work with all DICOMWeb servers

* Bump viewerbase version
2019-07-26 15:04:28 +02:00
Danny Brown
ba261a0d54
fix: support for next/previous image hotkeys via cornerstone extension update
* Bump @ohif/extenions-cornerstone react-cornerstone-viewport dep and cut release

* fix: bump @ohif/extension-cornerstone version to latest

* Catching the yarn lock changes

* Cut new release for cornerstone extension and update Viewers to use it

* Add new commands to netlify dmeo

* Flip directions for next/previous image
2019-07-23 15:39:56 -04:00
Danny Brown
5a13194203
fix(react-cornerstone-viewport): Viewport resizes on stack scroll (#709)
* Bump @ohif/extenions-cornerstone react-cornerstone-viewport dep and cut release

* fix: bump @ohif/extension-cornerstone version to latest

* Catching the yarn lock changes
2019-07-23 13:00:02 -04:00
Erik Ziegler
a2cc477a1a fix(package.json): Update @ohif/extension-microscopy to 0.0.12 2019-07-22 15:47:45 +02:00
Erik Ziegler
83d7d59954
fix(package.json): Update ohif-core and dicomweb-client to fix Palette Color BulkData retrieval (#703) 2019-07-22 15:09:55 +02:00
Erik Ziegler
f547fdf832
fix(OpenIDConnect): Stop storing tokens in sessionStorage. Prefix OIDC routes automatically. Add logout button (#698) 2019-07-21 16:43:42 +02:00
Erik Ziegler
54e0e32e22
fix(package.json): Bump ohif-core, extension-microscopy, and dicomweb-client (#697) 2019-07-21 10:04:07 +02:00
Erik Ziegler
71f11a4856 fix(package.json): Update microscopy, pdf, and html extensions to fix thumbnail labels 2019-07-19 18:24:43 +02:00
Erik Ziegler
a34d47c850
fix(package.json): Bump cornerstone-tools to 3.16.0 (#690) 2019-07-19 17:48:29 +02:00
Erik Ziegler
f758741950
fix(package.json): Update @ohif/extension-cornerstone to fix loading issue (#689) 2019-07-19 17:07:35 +02:00
Erik Ziegler
104343aad5
fix(package.json): Bump @ohif/vtk-extension usage to fix performance issues, add Slab MIP (#686) 2019-07-18 13:52:06 +02:00
Erik Ziegler
2f104b5e91
feat(ViewerLocalFileData): Add drag/drop to load DICOM files in the Viewer at /local (#644) 2019-07-11 13:49:29 +02:00
Erik Ziegler
f256ac5a7d
fix(package.json): Fix issues with babel-core causes undefined _objectSpread2 (#650) 2019-07-11 12:59:33 +02:00
Egor Lezhnin
4a09f33446 feat(GoogleCloud): Initial commits to include the Healthcare API Adapter (#584)
* This is a React port of https://github.com/quantumsoftgroup/healthcare-api-adapter - It still needs some UI cleanup.
2019-07-10 09:26:19 +02:00
Erik Ziegler
4095629310
fix(package.json): Bump @ohif/extension-cornerstone to 0.0.40 (#638) 2019-07-09 18:38:31 +02:00
João Felipe de Medeiros Moreira
ff2c1cb2f1 test(E2E): End-to-end tests for script tag (#633)
fix #621
2019-07-09 18:08:18 +02:00
Erik Ziegler
562d63fa74 fix(package.json): Update @ohif/extension-dicom-microscopy to fix resizing behaviour
fix #550
2019-07-08 14:31:23 +02:00
Evren Ozkan
dd6acb2d03 feat(extension-cornerstone): Add additional tools: Magnify, ROI Window, Probe, Ellipse, Rectangle, Invert, Rotate Right, Flip H, Flip V, Clear 2019-07-08 13:49:56 +02:00
Danny Brown
5ac9048ef0
feat: extension panels
* Snapshot -- Switching branches
* fix classes and hooks for panel componet
* Restore button functionality
* feat: support for expandableToolMenu
* Shift cornerstoneTools config up a layer, and use globalToolSync
* Remaining initCornerstoneTools changes
* Pull in Segmentation Plugin
* Shift MeasurementsPanel to an extension
* Note regarding where data is coming from
* Make sure measurement callback is available
* Bump core version
* Shift MeasurementsTable to a local extensions directory
* Register appCommands as an extension
* Update package dependencies and yarn lock
* Support for panel width
* Ability to pass props to our panel component
* Add a safety check around calling our tacked on method for tool options
* Left sidebar plugins + fix activeIndex prop passed to sidebar.
* fix: viewer height
Now in a shared container w/ top bar, so we need to factor that in when calculating height
* lock file latest
* Update thumbnails if studies has changes
* bump cornerstone version to resolve globalToolSynch history issue
* Default panel to open; studies optional
* Bump minor version for ohif-cornestone-extension
* Simplify button logic
* Accommodate odd roundedButtonGroup value change emit
* Map viewers + selectedViewport instead of pulling off the window
2019-07-04 14:09:13 -04:00
Erik Ziegler
57d2ae23ae ci(package.json): Change settings for viewer.ohif.org to use Locize CDN 2019-06-30 23:40:03 +02:00
Erik Ziegler
fd6ec04514 feat(package.json): Update i18n approach to optionally use Locize CDN depending on config. Bump @ohif/extension-vtk @ohif/i18n 2019-06-30 23:10:43 +02:00
Erik Ziegler
8a4306d1b0 fix(package.json): Bump vtk extension and react-viewerbase 2019-06-29 11:35:20 +02:00
Rodrigo Antinarelli
16cea8681e @ohif/i18n: Fix issues with exports and update docs (#598)
* update i18n version -- already published

* update ohif/i18n version and add modules

* update ohif/i18n version

* update translating documentation

* replace addLocales method and exported modules

* lock files

* Update index.js

* fix(@ohif/i18n): export custom methods in the main i18n object

`initI18n`, `addLocales` and `T` are now being exported inside the main `i18n` object.

* remove unecessary dependencies

* update vtk-extension lock file
2019-06-29 09:33:38 +02:00
Erik Ziegler
cb565427b3 fix(package.json): Bump ohif-core to fix broken multiframe usage with WADO-RS
fix #539
2019-06-28 17:56:13 +02:00
biharck
edb0db349b feat(OHIFStandaloneViewer.js): adding NProgress loading bar on top of the page 2019-06-27 15:28:37 +02:00
Erik Ziegler
5a3f3e3eff fix(package.json): Update react-viewerbase and extension-vtk to ensure old @ohif/i18n is not used 2019-06-27 15:12:42 +02:00
Erik Ziegler
722d68c85a fix(package.json): Update vtk-extension to fix i18n issues 2019-06-27 14:09:20 +02:00
Rodrigo Antinarelli
d04bb323f7 @ohif-i18n - Replace use of context to import locales (#575) 2019-06-27 12:01:11 +02:00
Erik Ziegler
2bdcb7c5f7 fix(extension-dicom-microscopy): Update to 0.0.8 to use retrieveRendered by default 2019-06-24 13:32:11 +02:00
João Felipe de Medeiros Moreira
612832069d ci: add e2e tests with cypress
* Creates E2E tests using Cypress and includes two tests

* Improves yarn.lock file

* Includes documentation

* Cypress project id

* test e2e w/ ci and video

* run unit command before e2e

* Also cache cypress

* Persist cypress to next build step

* Try a different path

* Try without working dir

* Persist less data, but restore yarn/cypress cache in next step

* Install cypress to invalidate cache

* Add e2e as a blocker for merged publishing
2019-06-22 10:02:07 -04:00
Danny Brown
51d1679dfb
Merge branch 'master' into feature/extensions-panels-and-docs 2019-06-21 00:00:33 -04:00
dannyrb
f4e4cfdf39 lock file 2019-06-20 23:50:06 -04:00
dannyrb
23de20d7d3 Bump extension and ohif-core versions 2019-06-20 23:30:52 -04:00
Danny Brown
39d844f106
Merge branch 'master' into dev-react-proxy 2019-06-18 21:05:13 -04:00
dannyrb
b542ce4437 port html extension 2019-06-17 16:23:31 -04:00
dannyrb
6050721d33 Use reselect to compute our activeContexts 2019-06-17 14:20:32 -04:00
dannyrb
80047ff518 Thunk and logger for redux 2019-06-17 10:40:01 -04:00
Erik Ziegler
f47ce6e629 feat(@ohif/extension-vtk): Add visible crosshair lines to MPR mode
re #562
2019-06-17 14:48:11 +02:00
Erik Ziegler
bd0c7b75e7 feat(@ohif/extension-vtk): Add oblique rotate button to MPR mode
re #563
2019-06-15 16:03:12 +02:00
Erik Ziegler
24a8d7bca2
feat(@ohif/extension-vtk): Update app to include basic MPR with VTK (#557) 2019-06-15 14:26:09 +02:00
Rodrigo Antinarelli
56e3982111 update @ohif/i18n 2019-06-13 16:20:36 -03:00
Rodrigo Antinarelli
1cbbbd6989 update i18n 2019-06-13 15:31:33 -03:00
romulo bordezani
59489ae3c6 Merge branch 'feature/i18n-basics' of github.com:romulobordezani/Viewers into feature/i18n-basics 2019-06-13 14:25:19 -03:00
romulo bordezani
082656182b i18n implementation - Updating yarn.lock 2019-06-13 14:17:04 -03:00
Rodrigo Antinarelli
8c608dc05b update branch 2019-06-12 13:22:46 -03:00
Erik Ziegler
9f82ef1682
chore(package.json): Update ohif-core (0.5.8) and react-viewerbase (0.7.1) (#546) 2019-06-12 14:58:30 +02:00
romulo bordezani
ab0e2fe9e2 i18n implementation - Adding final packages 2019-06-12 03:43:02 -03:00
romulo bordezani
0c8cd3fbe9 Language Detection implementation, bug fixes related to i18n and debugger helper added. 2019-06-11 20:05:14 -03:00
romulo bordezani
fe4db3b2c5 VTK extension - i18n implementation. 2019-06-10 19:33:15 -03:00
romulo bordezani
d5909f8d74 Merge branch 'master' of https://github.com/OHIF/Viewers into feature/i18n-basics
# Conflicts:
#	extensions/ohif-vtk-extension/package.json
#	extensions/ohif-vtk-extension/rollup.config.js
#	extensions/ohif-vtk-extension/yarn.lock
#	package.json
#	src/App.js
#	src/components/Header/Header.js
#	yarn.lock
2019-06-10 14:54:18 -03:00
dannyrb
5325d2d2fe bump versions 2019-06-08 15:08:09 -04:00
Rodrigo Antinarelli
ebb2e83925 WIP - using yalc for react-viewerbase 2019-06-07 19:54:22 -03:00
romulo bordezani
0753e9ec3c Merge branch 'master' of https://github.com/OHIF/Viewers into feature/i18n-basics
# Conflicts:
#	extensions/ohif-vtk-extension/package.json
#	extensions/ohif-vtk-extension/rollup.config.js
#	extensions/ohif-vtk-extension/yarn.lock
#	package.json
#	src/App.js
#	src/components/Header/Header.js
#	yarn.lock
2019-06-07 17:55:53 -03:00
João Felipe Medeiros Moreira
42cb8e32c7 Configures hif-vtk-extention to use ohif-i18n for translation and include load more locations 2019-06-07 15:35:54 -03:00
Rodrigo Antinarelli
520f07ec23 remove yalc react-viewerbase 2019-06-05 17:09:35 -03:00
Erik Ziegler
d20492ac62
docs(circleci): Set up automatic deploys to GCP for hosting viewer.ohif.org (#491) 2019-06-05 22:08:28 +02:00
dannyrb
531abe0fbd bump dependent package versions 2019-06-05 12:37:36 -04:00
diego0020
1c3f3cfcf6 initial prototype 2019-06-05 09:11:13 -05:00
romulo bordezani
236a115112 i18n - Multiple languages overrides 2019-06-04 18:16:07 -03:00
Biharck Araujo
9c58ea8f55 fix(extension-dicom-microscopy): bump microscopy and ohif-core deps, scope package name (#513) 2019-06-04 08:54:02 +02:00
romulo bordezani
543d8d33c1 i18n - extension extraction 2019-06-03 17:56:36 -03:00
dannyrb
5c164d6518 fix: grab the latest and greatest icon updates 2019-05-30 14:56:46 -04:00
romulo bordezani
376b2c518a i18n basic setup 2019-05-30 15:41:15 -03:00
dannyrb
b6e5faba1b bumpity bump bump 2019-05-30 12:57:46 -04:00
dannyrb
2b874f9564 bump to latest react-viewerbase 2019-05-30 12:13:56 -04:00
dannyrb
b78a780ff2 Bump to latest ohif-vtk-extension 2019-05-30 11:59:58 -04:00
dannyrb
30ac5d1144 Bump to latest published deps 2019-05-30 00:28:16 -04:00
Evren Ozkan
6b8d1a695b
fix(layout): Fix the issues with displaying vtkjs viewports (#500)
* fix(dependencies): Bump react-cornerstone-viewport to 0.1.29

* fix(dependencies): Bump ohif-cornerstone-extension to 0.0.32

* fix(layout): Get missing display set fields in viewport specific data from the original display set

* fix(layout): Cache the viewport data to be used for the replaced viewport when it is empty since viewportSpecificData is cleaned when viewport is changed
2019-05-28 19:02:33 -04:00
Evren Ozkan
f1f2981415
fix(dependencies): Bump cornerstone-tools to 3.11.0 (#497) 2019-05-28 10:49:01 -04:00
Evren Ozkan
3c8e646f0f
fix(dependencies): Bump react-cornerstone-viewport to 0.1.28 (#490)
* fix(dependencies): Bump react-cornerstone-viewport to 0.1.28

* fix(dependencies): Bump ohif-cornerstone-extension to 0.0.31
2019-05-27 19:02:05 -04:00
Evren Ozkan
3bae254a6f
fix(hotkeys): Fix the issues with hotkeys (#488)
* wip viewport

* refactoring to do not use dispatch from window

* fixing server active testing

* fix(dependencies): Bump ohif-core to 0.5.5
2019-05-27 11:31:39 -04:00
dannyrb
768ac472f9 Add semantic-release/exec extension 2019-05-21 13:05:58 -04:00
dannyrb
dea917bea4 Fix cpx command on linux? 2019-05-20 21:25:44 -04:00
dannyrb
ed80dd003f Bump to latest versions (fixes some misc. icon issues) 2019-05-20 11:24:26 -04:00
dannyrb
c0d6e4cee9 Try shelling out to use our GITHUB_TOKEN env variable 2019-05-16 01:17:09 -04:00
dannyrb
462d4b5f10 Rename command to publish 2019-05-15 23:54:47 -04:00
dannyrb
c90c3e2f98 Publish docs to gh-pages on merge to master 2019-05-15 23:12:46 -04:00
Evren Ozkan
e9c54f17de
fix(dependencies): Bump ohif-cornerstone-extension to 0.0.30 (#430) 2019-05-15 18:54:20 -04:00
dannyrb
f925c8a380 bumpity bump bump 2019-05-15 15:09:48 -04:00
dannyrb
f1df6ebba5 bump 2019-05-15 09:22:48 -04:00
dannyrb
2cd3bf2848 bump 2019-05-14 22:15:52 -04:00
dannyrb
25ae0bddc6 feat(CinePlayer): expose cornerstone enabled element for use in CINE player button actions 2019-05-14 22:00:35 -04:00
Evren Ozkan
065a81d6e7
fix(measurements): Show missing measurements in measurement table (#426)
- Bump cornerstone-tools to 3.9.0, ohif-core to 0.5.2 and react-viewerbase to 0.4.1
- Add bidirectional, elliptical, circle and rectangle roi tools
- Support labeling and context-menu for all annotation tools
- Sort measurements by lesion naming number to show the last added measurement in the end in measurement table
2019-05-13 18:07:57 -04:00
dannyrb
f42459eb9e Trying to setup local CORS; better docker dir naming 2019-05-10 00:09:04 -04:00
dannyrb
429392e88e Local orthanc instance w/ persistant storage 2019-05-09 23:17:25 -04:00
dannyrb
925a1dfb73 Add an aliased start script 2019-05-09 15:47:38 -04:00
Danny Brown
b7f100f601
Merge branch 'react' into docs/orthanc-proxy 2019-05-09 12:10:16 -04:00
dannyrb
f495ccfa3f Clean up oidc config 2019-05-07 15:42:11 -04:00
Evren Ozkan
c9ddb23d9c
Add measurement table functions (#415)
* fix(measurements): Add measurement table functions
- Support for labeling measurements and adding measurement description
- Jump to measurement when clicked on measurement table

* fix(layout): Fix the issues with layout when switched with different plugins

* fix(measurements): Support for deleting measurements in measurement table

* fix(measurements): Add context menu for measurements

* fix(dependencies): Bump ohif-core to 0.4.2
2019-05-02 17:12:06 -04:00
Evren Ozkan
4532d2fe7f bump(dependencies): Bump ohif-cornerstone-extension to 0.0.28 and react-viewerbase to 0.3.2 2019-04-30 16:47:14 -04:00
dannyrb
686f613fd0 Use absolute path for webworker scripts 2019-04-30 16:11:06 -04:00
dannyrb
81cf8cbd7c Set ENV variables in scripts instead of in build 2019-04-30 13:36:25 -04:00
dannyrb
b5cac7191d add .js to app config 2019-04-30 10:08:10 -04:00
biharck
b186e86906 adding --max_old_space_size=4096 to the build:web task 2019-04-30 10:35:35 -03:00
biharck
e39e3dd5d5 merge from ract and adding docker-compose PACs configuration files 2019-04-30 10:32:53 -03:00
dannyrb
88733202de Use default config when building for scripts package 2019-04-29 16:17:02 -04:00
dannyrb
6177a02f18 Shift default config to own file 2019-04-29 13:29:37 -04:00
dannyrb
0d5ac9ce4c Fix build script to point at /demo 2019-04-29 13:21:14 -04:00
dannyrb
4127126388 remove homepage key 2019-04-29 12:58:57 -04:00
dannyrb
e43139eec5 Be a bit more explicit with homepage url 2019-04-29 09:50:31 -04:00
dannyrb
6286893eb8 Rollup support for dynamic import 2019-04-29 08:58:15 -04:00
dannyrb
a7f77ca543 Send over everything, not just top level dir 2019-04-29 08:35:58 -04:00
dannyrb
f02559c778 Try an all-in-one script 2019-04-29 07:03:54 -04:00
dannyrb
5aba221957 Try to limit heap size during build 2019-04-28 19:12:51 -04:00
dannyrb
5cdfc64ccf Set PUBLIC_URL to demo 2019-04-28 15:35:10 -04:00
dannyrb
3447c80a6a Split build command; one for web, one for package source 2019-04-28 14:59:47 -04:00
biharck
bfedc907bb merging with react branch 2019-04-26 22:34:57 -03:00
dannyrb
5a91b5704b fix(package.json): Test automatic build and release w/ semantic-release 2019-04-26 14:39:03 -04:00
dannyrb
e55787e184 ci(package.json): Support for yarn run cm via commitizen for well formatted commit messages 2019-04-26 14:37:25 -04:00
dannyrb
6038546f52 prep --> preBuild 2019-04-26 13:00:24 -04:00
dannyrb
5b15d39871 Shuffle some test coverage setting around 2019-04-26 12:58:43 -04:00
dannyrb
e9952a7511 Try removing max-old-space-size now that we've removed bad directories 2019-04-26 12:50:13 -04:00
dannyrb
28d1fde2ed Attempt to set NODE_OPTIONS before running tests 2019-04-26 12:33:17 -04:00
dannyrb
8a0915c49f Update scripts to match CI memory limits 2019-04-26 12:25:23 -04:00
dannyrb
895f13257a Use exact version of ohif-core 2019-04-26 11:50:07 -04:00
dannyrb
62de1a3721 Add codecov dev dependency 2019-04-25 16:50:44 -04:00
dannyrb
256ba0d42f Configure jest -- fix a few common issues 2019-04-25 16:44:41 -04:00
dannyrb
ad8b554f04 add semantic-release dev dependency 2019-04-25 15:46:48 -04:00
dannyrb
15cfe428df Remove unused deploys 2019-04-17 14:33:13 -04:00
dannyrb
6a44da2d16 Use yarn run 2019-04-16 16:48:51 -04:00
dannyrb
f7a55ae382 Shift to prebuild 2019-04-16 16:36:20 -04:00
dannyrb
09291acbd5 Make sure version.js exists before we build 2019-04-16 16:34:52 -04:00
dannyrb
822ee3143d Remove sha file creation (contained most recent commit hash) 2019-04-16 16:29:09 -04:00
dannyrb
c7539184aa Re-order dependencies 2019-04-16 12:19:14 -04:00
dannyrb
038d807d08 OS safe copy command 2019-04-16 12:15:40 -04:00
dannyrb
bd605b9752 More shifting 2019-04-15 16:55:51 -04:00
Erik Ziegler
aca17e4d38
feat(netlify) Add static site deployment from Netlify (add /viewer to the deploy preview URL) (#232) 2018-07-23 10:19:52 +02:00
Erik Ziegler
71053b91e3 Add Travis CI setup with Gitbook build / deploy to gh-pages, StandaloneViewer build / deploy to AWS S3, and ohif/viewer docker image build / push to dockerhub 2018-07-05 21:55:03 +02:00