-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from qld-gov-au/develop
Develop to master
- Loading branch information
Showing
13 changed files
with
127 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ ckan.redis.url = redis://redis:6379 | |
# Add ``datapusher`` to enable DataPusher | ||
# Add ``resource_proxy`` to enable resource proxying and get around the | ||
# same origin policy | ||
ckan.plugins = stats text_view image_view recline_view publications_qld_theme qgovext csrf_filter resource_type_validation | ||
ckan.plugins = stats text_view image_view recline_view publications_qld_theme qgovext csrf_filter resource_type_validation ssm_config | ||
|
||
# Define which views should be created by default | ||
# (plugins must be loaded in ckan.plugins) | ||
|
@@ -171,12 +171,6 @@ ckan.hide_activity_from_users = %(ckan.site_id)s | |
smtp.test_server = localhost:8025 | ||
smtp.mail_from = [email protected] | ||
|
||
## Harvester settings | ||
ckan.harvest.mq.type = redis | ||
ckan.harvest.mq.hostname = redis | ||
ckan.harvest.mq.port = 6379 | ||
ckan.harvest.mq.redis_db = 0 | ||
|
||
## Logging configuration | ||
[loggers] | ||
keys = root, ckan, ckanext | ||
|
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
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ Feature: Login Redirection | |
Scenario: As a Sysadmin I set the visibility of a public record to private for the following scenarios | ||
Given "SysAdmin" as the persona | ||
When I log in | ||
Then I visit "/dataset/edit/annakarenina" | ||
Then I visit "/dataset/edit/test-dataset" | ||
When I select "True" from "private" | ||
And I fill in "author_email" with "[email protected]" | ||
And I press "Update Dataset" | ||
|
@@ -35,7 +35,7 @@ Feature: Login Redirection | |
@private_dataset | ||
Scenario: As an unauthenticated user, when I visit the URL of a private dataset I see the login page | ||
Given "Unauthenticated" as the persona | ||
When I visit "/dataset/annakarenina" | ||
When I visit "/dataset/test-dataset" | ||
Then I should see a login link | ||
|
||
@public_dataset | ||
|
@@ -48,16 +48,16 @@ Feature: Login Redirection | |
@private_dataset | ||
Scenario: As an unauthenticated organisation member, when I visit the URL of a private dataset I see the login page. Upon logging in I am taken to the private dataset | ||
Given "TestOrgMember" as the persona | ||
When I visit "/dataset/annakarenina" | ||
When I visit "/dataset/test-dataset" | ||
Then I should see a login link | ||
When I log in directly | ||
Then I should see an element with xpath "//h1[contains(string(), 'A Novel By Tolstoy')]" | ||
Then I should see an element with xpath "//h1[contains(string(), 'test-dataset')]" | ||
And I should see an element with xpath "//span[contains(string(), 'Private')]" | ||
|
||
@private_dataset | ||
Scenario: As an authenticated organisation member, when I visit the URL of a dataset private to my organisation I am taken to the private dataset | ||
Given "TestOrgMember" as the persona | ||
When I log in | ||
Then I visit "/dataset/annakarenina" | ||
Then I should see an element with xpath "//h1[contains(string(), 'A Novel By Tolstoy')]" | ||
Then I visit "/dataset/test-dataset" | ||
Then I should see an element with xpath "//h1[contains(string(), 'test-dataset')]" | ||
And I should see an element with xpath "//span[contains(string(), 'Private')]" |
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
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