Facebooks BSD+Patents license, used for React, is not compatible with ASF policies. https://www.apache.org/legal/resolved#category-x
We need to switch, e.g. to https://preactjs.com/ We use React for the admin/edit mode in the project menu, phone verification dialog, and subscribing to individual pages.
Now they're going to license it as MIT. https://code.facebook.com/posts/300798627056246/relicensing-react-jest-flow-and-immutable-js/ So I guess we just have to upgrade to React 16 (once its out) to get the MIT licensed version.
React 16 is out. https://facebook.github.io/react/blog/2017/09/26/react-v16.0.html It does mention 15.6.2 is licensed under MIT too. We're on v0.14.3, but could help I guess if 16 has some backwards compatibility issue.
The react-drag and react-reorderable projects have had a few updates, but not much. Seems to work fine leaving them as-is.
Test:
npm run build
project.verify_phone
andphone.*
settings in.ini
.ini
file, changedebug = true
tofalse
and restart web server, which to confirm using using the minified react file instead of the full debug version works correctly too.Merged.