Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #489 from GetDKAN/version-info
Browse files Browse the repository at this point in the history
Add version info
  • Loading branch information
janette authored Mar 29, 2018
2 parents fffee96 + ffbd067 commit 3b84341
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 7 deletions.
1 change: 1 addition & 0 deletions dkan/dkan.info
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ dependencies[] = dkan_datastore
dependencies[] = dkan_datastore_api
dependencies[] = open_data_schema_map_dkan
dependencies[] = visualization_entity_charts_dkan
version = 7.x-1.14.5
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ features[variable][] = panelizer_node:data_dashboard_default
features[views_view][] = data_dashboards
features[views_view][] = front_page_dashboards_list
features_exclude[dependencies][dkan_topics] = dkan_topics
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_data_story/dkan_data_story.info
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ features_exclude[dependencies][image] = image
features_exclude[dependencies][strongarm] = strongarm
features_exclude[dependencies][taxonomy] = taxonomy
no autodetect = 1
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_dataset/dkan_dataset.info
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ features[ctools][] = views:views_default:3.0
features[features_api][] = api:2
features[variable][] = pathauto_node_dataset_pattern
features[variable][] = pathauto_node_resource_pattern
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_datastore/dkan_datastore.info
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ features[views_view][] = datasets
files[] = includes/Datastore.inc
files[] = includes/DkanDatastore.inc
files[] = includes/DkanDatastoreFastImport.inc
version = 7.x-1.14.5
3 changes: 2 additions & 1 deletion dkan/modules/dkan/dkan_fixtures/dkan_fixtures.info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = DKAN Fixtures
name = DKAN Fixtures
description = Saves DKAN API endpoints to local files to be used as fixtures
core = 7.x
package = DKAN
Expand All @@ -14,3 +14,4 @@ files[] = includes/page.inc
files[] = includes/panelized_node.inc
files[] = includes/resource.inc
files[] = includes/visualization_entity.inc
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_harvest/dkan_harvest.info
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ files[] = includes/HarvestItem.php
files[] = includes/HarvestCache.php
files[] = includes/HarvestMigrateSQLMap.php
files[] = includes/HarvestMigrateSourceList.php
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_ipe/dkan_ipe.info
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dependencies[] = panels
dependencies[] = strongarm
features[features_api][] = api:2
project path = profiles/dkan/modules/dkan
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_migrate_base/dkan_migrate_base.info
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ files[] = dkan_migrate_base_group.inc
files[] = dkan_migrate_base_dataset.inc
files[] = dkan_migrate_base_resource.inc
files[] = dkan_migrate_base_data_json.inc
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_permissions/dkan_permissions.info
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ features[roles_permissions][] = editor
features[roles_permissions][] = site manager
features_exclude[dependencies][features] = features
project path = profiles/dkan/modules/dkan
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_plugins/dkan_plugins.info
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dependencies[] = ctools
dependencies[] = panels
project path = profiles/dkan/modules/dkan
scripts[] = js/colorPicker.behavior.js
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_sitewide/dkan_sitewide.info
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ features[variable][] = user_pictures
features[views_view][] = dkan_administration_files
features[views_view][] = dkan_administration_nodes
features[views_view][] = popular_tags
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_topics/dkan_topics.info
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ features_exclude[dependencies][dkan_dataset_groups] = dkan_dataset_groups
features_exclude[dependencies][dkan_topics] = dkan_topics
no autodetect = 1
project path = profiles/dkan/modules/dkan
version = 7.x-1.14.5
1 change: 1 addition & 0 deletions dkan/modules/dkan/dkan_workflow/dkan_workflow.info
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ features[workbench_moderation_transitions][] = needs_review:published
features[workbench_moderation_transitions][] = published:needs_review
features_exclude[dependencies][ctools] = ctools
features_exclude[dependencies][dkan_dataset_content_types] = dkan_dataset_content_types
version = 7.x-1.14.5
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ features[field_instance][] = node-dataset-field_odfe_data_quality
features[field_instance][] = node-dataset-field_odfe_investment_uii
features[field_instance][] = node-dataset-field_odfe_program_code
features[field_instance][] = node-dataset-field_odfe_system_of_records
version = 7.x-1.14.5
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ features[open_data_schema_apis][] = data_json_1_1
features[open_data_schema_apis][] = dcat_ap_v1_1_dataset
features[open_data_schema_apis][] = dcat_v1_1
features[open_data_schema_apis][] = dcat_v1_1_json
version = 7.x-1.14.5
15 changes: 9 additions & 6 deletions dkan/test/features/group.editor.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ Feature: Site Manager administer groups
| Gabriel | Group A | administrator member | Active |
| Katie | Group A | member | Active |
| Jaz | Group A | member | Pending |
And resources:
| title | publisher | format | author | published | description |
| GER1 | Group A | csv | Katie | Yes | |

Scenario: Edit group as group administrator
Given I am logged in as "Gabriel"
Expand Down Expand Up @@ -140,15 +137,21 @@ Feature: Site Manager administer groups
Then I should see "Total members: 3"

Scenario: View the number of content on group as group administrator
Given I am logged in as "Gabriel"
Given resources:
| title | publisher | format | author | published | description |
| content2 | Group A | csv | Katie | Yes | |
And I am logged in as "Gabriel"
And I am on "Group A" page
And I click "Group"
When I click "People"
Then I should see "Total content: 1"

Scenario: Edit resource content created by others on group as editor
Given I am logged in as "Martin"
And I am on "GER1" page
Given resources:
| title | publisher | format | author | published | description |
| content1 | Group A | csv | Katie | Yes | |
And I am logged in as "Martin"
And I am on "content1" page
Then I should see "Edit"

Scenario: Show correct number of groups to which user belongs
Expand Down

0 comments on commit 3b84341

Please sign in to comment.