Skip to content

Commit 6f5b6ad

Browse files
authored
Merge pull request #433 from ever-co/develop
Develop
2 parents e4cd45f + cf57a2f commit 6f5b6ad

File tree

85 files changed

+10263
-8985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+10263
-8985
lines changed

README.md

+28-24
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
- Modern & Open Platform for **On-Demand Economy**
1414
- Supports Single-Store and Multi-Store / Multi-Vendor / Peer-to-Peer Marketplaces
1515
- Everything Reactive, Real-Time and Blazing Fast!
16-
- Headless Commerce framework, which allows different implementations of store-fronts, Admin UIs and client apps. Exposes rich GraphQL, REST and WS APIs.
16+
- Headless Commerce framework, which allows different implementations of store-fronts, Admin UIs and client apps. It exposes rich GraphQL, REST and WS APIs.
1717
- Mobile ordering App for customers to make On-Demand orders (Hybrid / PWA, iOS and Android using Ionic / Ionic Native)
1818
- Carrier (Driver) Mobile App for deliveries by carriers, drivers or service providers (iOS and Android using Ionic / Ionic Native)
1919
- Customizing Shopping e-commerce Website for customers to make in-browser On-Demand purchases of food, goods or services
2020
- Merchant Tablet App for Stores/Merchants/Warehouses to manage & track orders, organize deliveries, etc.
2121
- Admin Website used to manage all platform features and settings in the single Web-based interface
22-
- Multi-language and culture settings accross Platform (i18N)
22+
- Multi-language and culture settings across Platform (i18N)
2323
- Products Catalogs (global and per Merchant) with Multiple Product Images
24-
- Inventory/Stock Management and Real-time Order Management/Processing accross the Platform
25-
- Deliveries/Shipping management and processing accross Platform (shipping with real-time location tracking for On-Demand orders)
24+
- Inventory/Stock Management and Real-time Order Management/Processing across the Platform
25+
- Deliveries/Shipping management and processing across Platform (shipping with real-time location tracking for On-Demand orders)
2626
- Real-Time discounts, promotions and products/services availability updates
2727
- Customers registration, Guest Checkouts, Invitations (optional)
2828
- Gateway and Payment Processing (currently supported Payments Gateway - [Stripe](https://stripe.com))
@@ -32,7 +32,7 @@
3232

3333
- Tax Calculations
3434
- Third-party Shipping providers integrations
35-
- Users Roles / Permissions accross Platform
35+
- Users Roles / Permissions across Platform
3636
- Large products catalogs with products variants, facets and full-text search
3737

3838
You can also track feature requests from the community in the [separate repo](https://github.com/ever-co/feature-requests/issues).
@@ -62,23 +62,27 @@ Expect _lots_ of changes and some :bug: and please be nice! :stuck_out_tongue_wi
6262

6363
Please refer to our official [Platform Documentation](https://docs.ever.co) and to our [Wiki](https://github.com/ever-co/ever/wiki) (WIP).
6464

65-
For quick overview of each project in the Platform (Server, Admin, Shops, etc), you can search for README.md file in the root of the projects folders. For example, see [./backend/api/README.md](backend/api/README.md) for Server (Backend) related overview.
65+
For a quick overview of each project in the Platform (Server, Admin, Shops, etc.), you can search for README.md file in the root of the projects folders. For example, see [./backend/api/README.md](backend/api/README.md) for Server (Backend) related overview.
6666

6767
## Getting Started
6868

69-
We follow [Gitflow Workflow](https://nvie.com/posts/a-successful-git-branching-model) so the [`develop` branch](https://github.com/ever-co/ever/tree/develop) may be in an unstable or even broken state during development. Please use [releases](https://github.com/ever-co/ever/releases) or [`master` branch](https://github.com/ever-co/ever/tree/master) instead of the `develop` branch in order to get more stable code.
69+
We follow [Gitflow Workflow](https://nvie.com/posts/a-successful-git-branching-model), so the [`develop` branch](https://github.com/ever-co/ever/tree/develop) may be in an unstable or even broken state during development. Please use [releases](https://github.com/ever-co/ever/releases) or [`master` branch](https://github.com/ever-co/ever/tree/master) instead of the `develop` branch in order to get more stable code.
7070

7171
### Clone Repo
7272

7373
Clone the Ever Platform Git repo:
7474

7575
```
76-
git clone -c core.symlinks=true --recursive git@github.com:ever-co/ever.git
76+
git clone -c core.symlinks=true --recursive https://github.com/ever-co/ever.git
7777
```
7878

79-
Note: it's important to enable Git symlinks because they are used for shared modules (every project have symlinks to common shared modules in the /shared folder)
79+
Notes:
80+
81+
- if you want to use development branch (unstable, but latest development) clone using `--branch develop`
82+
- it's necessary to enable Git symlinks because they used for shared modules (every project has symlinks to shared modules in the /shared folder)
83+
- because of symlinks, you may need to clone from an elevated command prompt (on Windows)
8084

81-
If you use Git >= v2.14, it probably make sense to setup following globally:
85+
If you use Git >= v2.14, it probably makes sense to setup following globally:
8286

8387
```
8488
git config --global core.symlinks true
@@ -93,28 +97,28 @@ Notes:
9397

9498
### Yarn
9599

96-
Currently we are using `Yarn` (instead of `npm`), so make sure you have latest Yarn version installed before running Ever Platform:
100+
Currently, we are using `Yarn` (instead of `npm`), so make sure you have latest Yarn version installed before running Ever Platform:
97101

98102
```
99103
npm install -g yarn@latest
100104
```
101105

102106
### Quick installation
103107

104-
After git repo is cloned, just run following command to install/bootstrap all dependencies:
108+
After git repo cloned, just run following command to install/bootstrap all dependencies:
105109

106110
```
107111
yarn bootstrap
108112
```
109113

110-
This will install required packages in all Platform projects using Lerna
114+
Above command install required packages in all Platform projects using Lerna.
111115

112116
Note: if above command fails for any reason, you can try to install required packages manually by running `yarn` inside every sub-folder with 'package.json' file
113117

114118
### Lerna (manual installation)
115119

116120
We are using [Lerna](https://github.com/lerna/lerna) for mono-repo management.
117-
You need to run the following command from working folder where you cloned Ever git repo, which will install Lerna together with other packages:
121+
You need to run the following command from the working folder where you cloned Ever git repo, which install Lerna together with other packages:
118122

119123
```
120124
yarn
@@ -132,19 +136,19 @@ Now, after Lerna installed (locally or globally), you need to Bootstrap all depe
132136
yarn lerna bootstrap
133137
```
134138

135-
The command above will install all required packages for every sub-project of the Ever Platform.
139+
The command above install all required packages for every sub-project of the Ever Platform.
136140

137141
### MongoDB
138142

139-
Ever platform configured to use MongoDB by default and assume you have MongoDB service running and accepting connections on default `localhost:27017`. Please see relevant section in our [documentation](https://github.com/ever-co/ever/wiki/MongoDB).
143+
Ever platform configured to use MongoDB by default and assume you have MongoDB service running and accepting connections on the default `localhost:27017`. Please see relevant section in our [documentation](https://github.com/ever-co/ever/wiki/MongoDB).
140144

141145
### Platform Configuration
142146

143147
See relevant section in our [documentation](https://github.com/ever-co/ever/wiki/Ever-Platform-Configuration).
144148

145149
### Run Platform Projects
146150

147-
Finally, each project from Ever Platform can be started by single command from this list:
151+
Finally, each project from Ever Platform could start by single command from this list:
148152

149153
```
150154
yarn run:server # Run API server
@@ -155,7 +159,7 @@ Finally, each project from Ever Platform can be started by single command from t
155159
yarn run:carrier # Run Carrier Mobile app
156160
```
157161

158-
Note: on the first run, API Server (Backend) will create MongoDB local database `ever_development` with the following (default) Admin user
162+
Note: on the first run, API Server (Backend) creates MongoDB local database `ever_development` with the following (default) Admin user
159163

160164
161165
- password: `admin`
@@ -164,11 +168,11 @@ You can use credentials above to login into Platform Admin App, which available
164168

165169
## Metrics
166170

167-
According to [cloc](https://github.com/AlDanial/cloc) project, Ever Platform today has more than 120K lines of TypeScript, GraphQL, HTML / CSS and other code files. You can get more details at the relevant section of our [documentation](https://github.com/ever-co/ever/wiki/Metrics).
171+
According to [cloc](https://github.com/AlDanial/cloc) project, Ever Platform today has more than 120K lines of TypeScript, GraphQL, HTML / CSS and other code files. You can get more details in the relevant section of our [documentation](https://github.com/ever-co/ever/wiki/Metrics).
168172

169173
## Contribute
170174

171-
- Please give us :star: on Github, it **really** helps!
175+
- Please give us :star: on Github, it **helps**!
172176
- You are more than welcome to submit feature requests in the [separate repo](https://github.com/ever-co/feature-requests/issues)
173177
- Pull requests are always welcome! Please base pull requests against the _develop_ branch and follow the [contributing guide](.github/CONTRIBUTING.md).
174178

@@ -215,11 +219,11 @@ Ever Platform follows good security practices, but 100% security cannot be guara
215219
Ever Platform is provided AS IS without any warranty. Use at your own risk!
216220
See more details in the [LICENSE.md](LICENSE.md).
217221

218-
In production setup, all client-side to server-side (backend, APIs) communications should be encrypted using HTTPS/WSS/SSL (REST APIs, GraphQL endpoint, Socket.io WebSockets, etc).
222+
In a production setup, all client-side to server-side (backend, APIs) communications should be encrypted using HTTPS/WSS/SSL (REST APIs, GraphQL endpoint, Socket.io WebSockets, etc.).
219223

220224
## License
221225

222-
This software is available under different licenses
226+
This software is available under different licenses.
223227

224228
### _Ever Platform Community Edition_ License
225229

@@ -240,9 +244,9 @@ You should have received a copy of the relevant GNU Licenses along with this pro
240244

241245
### _Ever Platform Enterprise_ License
242246

243-
Alternatively, commercial versions of the software must be used in accordance with the terms and conditions of separate written agreement between you and Ever Co. LTD.
247+
Alternatively, commercial versions of the software must be used in accordance with the terms and conditions of a separate written agreement between you and Ever Co. LTD.
244248

245-
For more information about Ever® Platform Enterprise™ License please contact <mailto:[email protected]>.
249+
For more information about Ever® Platform Enterprise™ License, please contact <mailto:[email protected]>.
246250

247251
#### The default Ever® Platform™ license, without a valid Ever® Platform Enterprise™ License agreement, is the Ever® Platform Community™ Edition License.
248252

admin/website-angular/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"ionicons": "^4.5.5",
113113
"is-url": "^1.2.4",
114114
"jquery": "^3.3.1",
115+
"jsbarcode": "^3.11.0",
115116
"leaflet": "^1.4.0",
116117
"moment": "^2.24.0",
117118
"nebular-icons": "1.1.0",
@@ -148,12 +149,12 @@
148149
},
149150
"devDependencies": {
150151
"conventional-changelog-cli": "^2.0.12",
151-
"@angular-devkit/build-angular": "^0.13.7",
152-
"@angular-devkit/build-webpack": "^0.13.7",
153-
"@angular-devkit/architect": "^0.13.7",
154-
"@angular-devkit/core": "^7.3.7",
155-
"@angular-devkit/schematics": "^7.3.7",
156-
"@angular/cli": "^7.3.7",
152+
"@angular-devkit/build-angular": "^0.13.8",
153+
"@angular-devkit/build-webpack": "^0.13.8",
154+
"@angular-devkit/architect": "^0.13.8",
155+
"@angular-devkit/core": "^7.3.8",
156+
"@angular-devkit/schematics": "^7.3.8",
157+
"@angular/cli": "^7.3.8",
157158
"@angular/compiler-cli": "^7.2.11",
158159
"@angular/language-service": "^7.2.11",
159160
"@babel/core": "^7.4.0",
@@ -177,7 +178,6 @@
177178
"@types/yargs": "^13.0.0",
178179
"babel-loader": "^8.0.5",
179180
"codelyzer": "^4.5.0",
180-
"conventional-changelog-cli": "^2.0.11",
181181
"cross-env": "^5.2.0",
182182
"dotenv": "^6.2.0",
183183
"envalid": "^4.2.2",
@@ -198,9 +198,9 @@
198198
"ts-node": "^8.0.2",
199199
"tslint": "^5.12.1",
200200
"tslint-language-service": "^0.9.9",
201-
"yargs": "^13.1.0",
201+
"typescript": "~3.1.6",
202202
"webpack-dev-server": "^3.2.1",
203-
"typescript": "~3.1.6"
203+
"yargs": "^13.1.0"
204204
},
205205
"engines": {
206206
"node": ">=10.15.0",

admin/website-angular/src/app/@core/data/productsCategory.service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export class ProductsCategoryService {
5050
) {
5151
createProductsCategory(createInput: $productsCategory) {
5252
id
53+
image
5354
name {
5455
locale
5556
value
@@ -86,6 +87,8 @@ export class ProductsCategoryService {
8687
id: $id
8788
updateInput: $productsCategory
8889
) {
90+
id
91+
image
8992
name {
9093
locale
9194
value

admin/website-angular/src/app/@shared/carrier/forms/basic-info/basic-info-form.component.html

+10-6
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,18 @@
223223

224224
<div class="form-group row">
225225
<!-- TODO add translate -->
226-
<nb-checkbox class="col-sm-12" formControlName="isSharedCarrier"
227-
>Carrier can be shared?</nb-checkbox
226+
<nb-checkbox
227+
class="col-sm-12"
228+
formControlName="isSharedCarrier"
228229
>
229-
<nb-checkbox class="col-sm-12" formControlName="isActive">
230230
{{
231-
'CARRIERS_VIEW.CARRIER_PAGE.ACTIVE' | translate
232-
}}</nb-checkbox
233-
>
231+
'CARRIERS_VIEW.CARRIER_PAGE.CARRIER_CAN_BE_SHARED'
232+
| translate
233+
}}
234+
</nb-checkbox>
235+
<nb-checkbox class="col-sm-12" formControlName="isActive">
236+
{{ 'CARRIERS_VIEW.CARRIER_PAGE.ACTIVE' | translate }}
237+
</nb-checkbox>
234238
</div>
235239
</fieldset>
236240
</div>

admin/website-angular/src/app/@shared/carrier/forms/basic-info/basic-info-form.component.scss

-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@
1616
font-size: 1.1em;
1717
}
1818
}
19-
20-
.no-box-shadow {
21-
box-shadow: none;
22-
}

0 commit comments

Comments
 (0)