This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into blacklist_feature
- Loading branch information
Showing
10 changed files
with
164 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"baseURL": "http://api.127.0.0.1.xip.io:3030", | ||
"mongodb": "mongodb://mongo:27017/hc_api", | ||
"host": "0.0.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
{ | ||
"baseURL": "http://172.25.0.11:3030", | ||
"seeder": { | ||
"runOnInit": true, | ||
"dropDatabase": true | ||
"dropDatabase": false | ||
}, | ||
"smtpConfig": { | ||
"host": "maildev", | ||
"port": 25, | ||
"ignoreTLS": true | ||
}, | ||
"thumbor": { | ||
"url": "http://localhost:8000", | ||
"url": "http://thumbor.127.0.0.1.xip.io:8000", | ||
"key": "" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: '3' | ||
version: '3.5' | ||
|
||
services: | ||
api: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
version: '3' | ||
version: '3.5' | ||
|
||
services: | ||
api: | ||
container_name: api.127.0.0.1.xip.io | ||
build: . | ||
depends_on: | ||
- mongo | ||
networks: | ||
- hc-network | ||
|
||
mongo: | ||
image: mongo | ||
networks: | ||
- hc-network | ||
command: "--smallfiles --logpath=/dev/null" | ||
|
||
# dns-proxy-server: | ||
# image: defreitas/dns-proxy-server | ||
# volumes: | ||
# - "/var/run/docker.sock:/var/run/docker.sock" | ||
# - "/etc/resolv.conf:/etc/resolv.conf" | ||
# - "./dns-proxy-server.config.json:/app/conf/config.json" | ||
# ports: | ||
# - 5380:5380 | ||
# hostname: dns.mageddo | ||
# networks: | ||
# - hc-network | ||
|
||
networks: | ||
hc-network: | ||
name: hc-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Feature: Save current newsfeed filters to usersettings | ||
As a user of human connection | ||
You would like to have my latest newsfeed filter settings saved | ||
In order to see the same selection of content next time I log in | ||
|
||
Background: | ||
Given this is your user account: | ||
| email | password | isVerified | | ||
| user@example.com | 1234 | true | | ||
|
||
Scenario: Save your language | ||
Given you are authenticated | ||
When you create your user settings via POST request to "/usersettings" with: | ||
""" | ||
{ | ||
"uiLanguage": "de" | ||
} | ||
""" | ||
Then your language "de" is stored in your user settings | ||
|
||
Scenario: Save your filter settings | ||
Given you are authenticated | ||
When you create your user settings via POST request to "/usersettings" with: | ||
""" | ||
{ | ||
"contentLanguages" : [ "en" ], | ||
"uiLanguage" : "en", | ||
"filter": { | ||
"categoryIds": [ | ||
"5b310ab8b801653c1eb6c426", | ||
"5b310ab8b801653c1eb6c427", | ||
"5b310ab8b801653c1eb6c428" | ||
] | ||
} | ||
} | ||
""" | ||
Then these category ids are stored in your user settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.