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

Merge development into marketplace #2466

Merged
merged 83 commits into from
Jun 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
b9a5237
Allow customer to move past validation after one pass
brent-hoover Apr 17, 2017
6917f5c
Silencing needless warning
brent-hoover Apr 17, 2017
cca678a
Add missing imports
brent-hoover Apr 17, 2017
433bef6
When we get a "GetTax" error, revert to addressbook
brent-hoover Apr 17, 2017
5b64575
Capture and parse errors
brent-hoover Apr 17, 2017
564dfdf
Creating a "review and fix" address review screen
brent-hoover Apr 20, 2017
7f7a02a
Show highlited diff. Copy over values on click.
brent-hoover Apr 21, 2017
9a56646
Removing "debug" HTML
brent-hoover Apr 21, 2017
28db441
Add "review address" translation
brent-hoover Apr 21, 2017
f5c7c9e
Basic "review address" flow working
brent-hoover Apr 21, 2017
c5c79a4
Remove console.log
brent-hoover Apr 21, 2017
540c24e
Merge branch 'development' into brent-fix-issue-2104
brent-hoover Apr 25, 2017
9393e16
Fix missing import
brent-hoover Apr 25, 2017
9218f31
Fix import error
brent-hoover Apr 25, 2017
4ac11b2
Return to edit and refresh address when you cancel out of review
brent-hoover Apr 25, 2017
9f8da99
Make edit behave the same as add
brent-hoover Apr 25, 2017
3d972d0
Tweak styling
brent-hoover Apr 25, 2017
5ce8394
Merge branch 'development' into brent-fix-issue-2104
brent-hoover May 14, 2017
de48f0b
Merge branch 'development' into brent-fix-issue-2104
brent-hoover May 24, 2017
7e330d9
More and more style changes
brent-hoover May 24, 2017
4729320
Use proper color variables
brent-hoover May 25, 2017
31c0349
Create proper behaviors
brent-hoover May 25, 2017
62b9c45
Merge branch 'development' into brent-fix-issue-2104
brent-hoover May 25, 2017
1de63a3
Fix bad evaluation
brent-hoover May 25, 2017
e263769
Fix import order
brent-hoover May 25, 2017
239680d
Add i18n
brent-hoover May 25, 2017
c72247a
Don't throwback a step if tax fails
brent-hoover May 25, 2017
0d069d7
Make this more of an "exception" flag
brent-hoover May 26, 2017
c1c4b3f
Adding the license description with link on README (#2365)
rafaelstz May 30, 2017
df6739d
added Nigerian Naira to currency list in (#2366)
casoetan May 31, 2017
5b446c7
CollectionFS cfs:tempstore and cfs:worker to fix concurrency issues …
lcampanis Jun 4, 2017
eef7f18
Correct the way we record tax overrides
brent-hoover Jun 5, 2017
9cfe6e8
[WIP] Meteor 1.5 (#2371)
Jun 7, 2017
6d88f3c
Declare variable (#2401)
brent-hoover Jun 8, 2017
133e764
Implement missing router functions (#2393)
mikemurray Jun 8, 2017
ea5aa34
2332 Fix Improper Cart Merge (#2387)
abdulsemiu-atanda Jun 8, 2017
278756a
Change line width to match GH PR review width (#2407)
brent-hoover Jun 8, 2017
bcd7d1d
Orders updates (#2400)
kieckhafer Jun 8, 2017
f3ca0d4
use route permissions in register.js files (#2388)
Jun 8, 2017
1e4d7fc
Milestone 54 / Convert Navbar to React (#2306)
brent-hoover Jun 8, 2017
6e45ad6
Merge branch 'development' into brent-fix-issue-2104
brent-hoover Jun 8, 2017
a0b44da
import order
kieckhafer Jun 8, 2017
d202a0a
Merge pull request #2162 from reactioncommerce/brent-fix-issue-2104
kieckhafer Jun 8, 2017
18d45a2
remove duplicate babel preset packages
jshimko Jun 9, 2017
42ffc56
Merge pull request #2415 from reactioncommerce/fix-duplicate-packages
kieckhafer Jun 9, 2017
73274c9
Updated yarn.lock and removed npm-shrinkwrap.json
Jun 9, 2017
da41bc0
Admin should be able to invite a user with the same name (#2386)
Jun 12, 2017
754e66b
Merge branch 'master' into development
Jun 12, 2017
c8409ff
Update version
Jun 13, 2017
9858361
switch to Reaction’s new fork of Nodemailer (#2427)
jshimko Jun 13, 2017
4512d75
Added module aliases (#2436)
mikemurray Jun 15, 2017
352c98d
LingoHub Update :rocket: (#2420)
Jun 16, 2017
43e0a60
Add css style to differentiate read from unread notifications (#2442)
Jun 16, 2017
b2b8e7f
Remove acceptance tests (#2430)
brent-hoover Jun 16, 2017
5d0fc79
Fixed console error when dragging product images (#2443)
rhenshaw56 Jun 16, 2017
e4bade3
Add closeOnClick option to DropDownMenu component (#2418)
spencern Jun 16, 2017
22061d5
Merge commit '5d0fc792412a518adba0ba7c78e590de81e0525f' into spencer-…
spencern Jun 16, 2017
6d50cea
add missing "orders not found" text (#2424)
kieckhafer Jun 17, 2017
c5ee98a
Merge branch 'development' into Release-1.3.0
Jun 17, 2017
f7aa04b
Updated chai package
Jun 17, 2017
4efb14e
Merge branch 'Release-1.3.0' into development
Jun 17, 2017
dd0a77b
Bunyan and Loggly updates (#2425)
jshimko Jun 19, 2017
b64ee84
refactor default admin user creation (#2453)
jshimko Jun 19, 2017
72d1ad3
update memory usage in CircleCI build (#2462)
jshimko Jun 19, 2017
88c03f2
Merge branch 'development' into spencer-merge-dev-marketplace
spencern Jun 19, 2017
c72b6df
Merge branch 'development' into spencer-merge-dev-marketplace
spencern Jun 19, 2017
25e8942
Navbar hover issue (#2451)
rhenshaw56 Jun 20, 2017
cea9557
set css property overflow on horizontal to hidden (#2458)
rhenshaw56 Jun 20, 2017
1d0fd64
[WIP] 2452 fix on UI icon toolbar (#2460)
rhenshaw56 Jun 20, 2017
1a6a8f3
[WIP] 2356 fix on tag menu-sidebar glitch (#2472)
rhenshaw56 Jun 20, 2017
26fc276
Fix issue where Buffer was undefined
spencern Jun 20, 2017
114cd79
Fix Packages subscription not loading
spencern Jun 20, 2017
a38ce3d
Update packages subscription to take ShopId instead of ShopCursor whi…
spencern Jun 20, 2017
eb06418
Merge branch 'development' into spencer-merge-dev-marketplace
spencern Jun 20, 2017
b59263b
update media gallery new / deleted image indicators (#2469)
kieckhafer Jun 20, 2017
c9a0b28
Remove random regex checks on names. Fixes #2461 (#2471)
brent-hoover Jun 20, 2017
670ee6b
remove older Blaze based launchdock plugin (#2467)
jshimko Jun 20, 2017
e87ea72
2459 router range error fix (#2476)
prosf Jun 20, 2017
71decb3
Merge branch 'development' into spencer-merge-dev-marketplace
spencern Jun 20, 2017
c737ac9
2422 Fix on email invite link leading to blank screen (#2437)
rhenshaw56 Jun 21, 2017
c27f70e
Update current user's name on Navbar and profile page when address is…
Jun 21, 2017
3144dc3
Updated dependencies (#2463)
Jun 21, 2017
9993037
Merge branch 'development' into spencer-merge-dev-marketplace
Jun 21, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .bithoundrc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"mute": [
"wdio-mocha-framework",
"griddle-react",
"nodemailer",
"twilio",
"react-addons-create-fragment",
"react-addons-pure-render-mixin",
Expand Down
12 changes: 8 additions & 4 deletions .circleci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@ set -e
DOCKER_NAMESPACE=${DOCKER_NAMESPACE:-"reactioncommerce/reaction"}

# if we're not on a deployment branch or a Docker related PR branch, skip the Docker build/test
if [[ -z "$CIRCLE_TAG" && "$CIRCLE_BRANCH" != "development" && "$CIRCLE_BRANCH" != *"docker"* ]]; then
if [[ "$CIRCLE_BRANCH" != "master" && "$CIRCLE_BRANCH" != "development" && "$CIRCLE_BRANCH" != *"docker"* ]]; then
echo "Not running a deployment branch. Skipping the Docker build test."
exit 0
fi

# build new image
reaction build $DOCKER_NAMESPACE:latest
docker build --build-arg TOOL_NODE_FLAGS="--max-old-space-size=4096" -t reactioncommerce/reaction:latest .

# run the container and wait for it to boot
docker run --name reaction -p 3000:3000 -d $DOCKER_NAMESPACE:latest
docker-compose -f .circleci/docker-compose.yml up -d
sleep 30

# use curl to ensure the app returns 200's
docker exec reaction curl --retry 10 --retry-delay 10 -v http://localhost:3000
docker exec reaction bash -c "apt-get update && apt-get install -y curl && \
curl --retry 10 --retry-delay 10 -v http://localhost:3000"

# now change the image tag to the configured name
docker tag reactioncommerce/reaction:latest $DOCKER_NAMESPACE:latest
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
- image: node:7

environment:
- DOCKER_VERSION: 17.03.1-ce
- DOCKER_COMPOSE_VERSION: 1.13.0
- METEOR_ALLOW_SUPERUSER: true

steps:
Expand Down
6 changes: 4 additions & 2 deletions .circleci/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

set -e

## Required environment variables in your CircleCI dashboard
# (used to push to Docker Hub)
#
Expand All @@ -25,6 +23,8 @@ fi

## Development
if [[ "$CIRCLE_BRANCH" == "development" ]]; then
set -e

DOCKER_NAMESPACE=${DOCKER_NAMESPACE:-"reactioncommerce/reaction"}
DOCKER_NAMESPACE_DEV=${DOCKER_NAMESPACE_DEV:-"reactioncommerce/prequel"}

Expand All @@ -43,6 +43,8 @@ if [[ "$CIRCLE_BRANCH" == "master" ]]; then
VERSION=$(git describe --tags | grep "^v[0-9]\+\.[0-9]\+\.[0-9]\+$")

if [[ "$VERSION" ]]; then
set -e

DOCKER_NAMESPACE=${DOCKER_NAMESPACE:-"reactioncommerce/reaction"}

docker tag $DOCKER_NAMESPACE:latest $DOCKER_NAMESPACE:$VERSION
Expand Down
17 changes: 17 additions & 0 deletions .circleci/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Usage:
# docker-compose up -d

reaction:
container_name: reaction
image: reactioncommerce/reaction:latest
links:
- mongo
ports:
- "3000:3000"
environment:
ROOT_URL: "http://localhost"
MONGO_URL: "mongodb://mongo:27017/reaction"

mongo:
image: mongo:latest
command: mongod --storageEngine=wiredTiger
5 changes: 4 additions & 1 deletion .circleci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ localedef -i en_GB -f UTF-8 en_US.UTF-8


# install Docker client
DOCKER_VERSION="17.03.1-ce"
curl -L -o /tmp/docker-$DOCKER_VERSION.tgz https://get.docker.com/builds/Linux/x86_64/docker-$DOCKER_VERSION.tgz
tar -xz -C /tmp -f /tmp/docker-$DOCKER_VERSION.tgz
mv /tmp/docker/* /usr/bin
docker -v


# install Docker Compose
curl -L https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose


# install Meteor if it's not already
if [[ -f ~/.meteor/meteor ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ insert_final_newline = true
trim_trailing_whitespace = false

[*.js]
max_line_length = 160
max_line_length = 120
indent_brace_style = 1TBS
spaces_around_operators = true
quote_type = double
1 change: 1 addition & 0 deletions .meteor/.finished-upgraders
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ notices-for-facebook-graph-api-2
1.4.0-remove-old-dev-bundle-link
1.4.1-add-shell-server-package
1.4.3-split-account-service-packages
1.5-add-dynamic-import-package
34 changes: 16 additions & 18 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
# Core Meteor Packages
###

meteor-base@1.0.4 # Packages every Meteor app needs to have
meteor-base@1.1.0 # Packages every Meteor app needs to have
[email protected] # Packages for a great mobile UX
[email protected] # Compile .html files into Meteor Blaze views
[email protected] # ECMAScript 5 compatibility for older browsers.
ecmascript@0.7.3 # Enable ECMAScript2015+ syntax in app code
ecmascript@0.8.0 # Enable ECMAScript2015+ syntax in app code
[email protected] # ensure meteor method argument validation
[email protected] # security-related policies enforced by newer browsers
juliancwirko:postcss # CSS post-processing plugin (replaces standard-minifier-css)
abernix:standard-minifier-js # a minifier plugin used for Meteor apps by default
standard-minifier-js # a minifier plugin used for Meteor apps by default
[email protected] # ReactiveDict whose contents are preserved across Hot Code Push
[email protected] # Meteor transparent reactive programming library
[email protected].17
[email protected].18
[email protected]
[email protected]
[email protected].8
[email protected].9
[email protected]
[email protected]
[email protected]
Expand All @@ -34,17 +34,19 @@ [email protected]
amplify
mdg:validated-method
[email protected]
dynamic-import

# Meteor Auth Packages
accounts-base@1.2.17
accounts-base@1.3.0
[email protected]
accounts-facebook@1.1.1
accounts-google@1.1.2
accounts-twitter@1.2.1
accounts-facebook@1.2.0
accounts-google@1.2.0
accounts-twitter@1.3.0
[email protected]
# accounts-github
# accounts-weibo
# accounts-oauth
[email protected]
[email protected]
[email protected]


# Community Packages
alanning:roles
Expand All @@ -59,7 +61,6 @@ cfs:standard-packages
cfs:storage-adapter
cfs:ui
dispatch:run-as-user
jeremy:stripe
jparker:gravatar
juliancwirko:s-alert
juliancwirko:s-alert-stackslide
Expand All @@ -72,8 +73,8 @@ ongoworks:security
raix:ui-dropped-event
risul:moment-timezone
tmeasday:publish-counts
vsivsi:[email protected]
react-meteor-data
vsivsi:job-collection@=1.4.0
react-meteor-data@=0.2.9
percolate:migrations
gadicc:blaze-react-component

Expand All @@ -94,6 +95,3 @@ johanbrook:publication-collector
# meteorhacks:sikka # additional ddp, login security

# Custom Packages
[email protected]
[email protected]
[email protected]
2 changes: 1 addition & 1 deletion .meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@1.4.4.2
METEOR@1.5
52 changes: 27 additions & 25 deletions .meteor/versions
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
abernix:[email protected]
abernix:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].6
accounts-twitter@1.2.1
[email protected].7
accounts-twitter@1.3.0
alanning:[email protected]
aldeed:[email protected]
aldeed:[email protected]
Expand All @@ -19,14 +17,14 @@ [email protected]
[email protected]
[email protected]
[email protected]
babel-compiler@6.18.2
babel-compiler@6.19.2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
boilerplate-generator@1.0.11
boilerplate-generator@1.1.0
[email protected]
[email protected]
[email protected]
Expand Down Expand Up @@ -66,13 +64,16 @@ [email protected]
[email protected]
dispatch:[email protected]
dispatch:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].1
[email protected].3
[email protected]
[email protected]
[email protected].0
[email protected].1
[email protected]
gadicc:[email protected]
[email protected]
Expand All @@ -83,7 +84,6 @@ [email protected]
[email protected]
[email protected]
[email protected]
jeremy:[email protected]
johanbrook:[email protected]
jparker:[email protected]
jparker:[email protected]
Expand All @@ -96,28 +96,29 @@ kadira:[email protected]
[email protected]
[email protected]
[email protected]
localstorage@1.0.12
localstorage@1.1.0
[email protected]
matb33:[email protected]
mdg:[email protected]
mdg:[email protected]
[email protected]
meteor-base@1.0.4
meteor-base@1.1.0
meteorhacks:[email protected]
meteorhacks:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
modules@0.8.2
modules-runtime@0.7.10
momentjs:moment@2.17.1
[email protected].17
modules@0.9.1
modules-runtime@0.8.0
momentjs:moment@2.18.1
[email protected].18
[email protected]
[email protected]
mrt:[email protected]
natestrauser:[email protected]
[email protected].2
[email protected].3
[email protected]
[email protected]
[email protected]
Expand All @@ -130,13 +131,13 @@ percolate:[email protected]
practicalmeteor:[email protected]_1
practicalmeteor:[email protected]
practicalmeteor:[email protected]_2
[email protected].8
[email protected].9
raix:[email protected]
raix:[email protected]
[email protected]
[email protected]
[email protected]
[email protected].8
[email protected].9
[email protected]
[email protected]
[email protected]
Expand All @@ -149,6 +150,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Expand All @@ -162,5 +164,5 @@ [email protected]
[email protected]
[email protected]
vsivsi:[email protected]
[email protected].15
[email protected].16
[email protected]
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM reactioncommerce/base:v1.4.0
FROM reactioncommerce/base:v2.0.0

# Default environment variables
ENV ROOT_URL "http://localhost"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ Integration tests can be run at the command line with `reaction test`.
We ensure that all releases are deployable as [Docker](https://www.docker.com/) containers. While we don't regularly test other methods of deployment, our community has documented deployment strategies for AWS, [Digital Ocean](https://gist.github.com/jshimko/745ca66748846551692e24c267a56060), and Galaxy.

For an introduction to Docker deployment, [the Reaction deployment guide](https://docs.reactioncommerce.com/reaction-docs/master/deploying) has detailed examples. Reaction Commerce also offers a managed deployment platform integrated with the Reaction command line.

### License

Copyright © [GNU General Public License v3.0](./LICENSE.md)
7 changes: 7 additions & 0 deletions client/lib/buffer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// this is an expensive polyfill for clientside Buffer usage
// TODO refactor to remove this buffer dependency
global.Buffer = global.Buffer || require("buffer").Buffer; // eslint-disable-line

// how to refactor
// you can easily drop a breakpoint on the error in your browser's inspector, then refresh the page to hit the breakpoint and see via the call stack which package is trying to use Buffer
// https://github.com/meteor/meteor/issues/8645
3 changes: 3 additions & 0 deletions client/modules/accounts/components/auth/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export LoginButtons from "./loginButtons";
export SignIn from "./signIn";
export SignUp from "./signUp";
Loading