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

[91] - switching the patterns in the MediaInternetGovCmsCkanHandler->… #93

Merged

Conversation

kurtfoster
Copy link
Contributor

#91

SRowlands and others added 3 commits August 3, 2016 14:08
Merge latest develop branch for 1.1 release.
7.2 Release for govCMS CKAN.

- Fixes govCMS#74 Adds support for non-standard CKAN ports
- Fixes govCMS#76 for formatting improvements
- Adds defensive coding practises to prevent errors
- Updates max lenght on URL field
- Adds record limit configuration by variables
- Adds cache control per graph
- Addresses IE11 download issue
…parse function to use baseUrl instead of baseHost
@kurtfoster
Copy link
Contributor Author

#91

@seanhamlin
Copy link

Requested reviews from some of the primary contributors.

'@' . $this->baseHost . '/dataset/([^"\&\? ]+)/resource/([^"\&\? ]+)/download/(?:[^"\&\? ]+)@i',
'@' . $this->baseHost . '/dataset/([^"\&\? ]+)/resource/([^"\&\? ]+)@i',
'@' . $this->baseUrl . '/dataset/([^"\&\? ]+)/resource/([^"\&\? ]+)/download/(?:[^"\&\? ]+)@i',
'@' . $this->baseUrl . '/dataset/([^"\&\? ]+)/resource/([^"\&\? ]+)@i',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That one was changed to support ckan endpoints using different ports, could we instead change where baseUrl is set to also include the path if it exists?

Eg. https://github.com/govCMS/govcms-ckan/blob/7.x-1.x/modules/govcms_ckan_media/includes/MediaInternetGovCmsCkanHandler.inc#L182

…dded to the baseURL will still work as requested.
@kurtfoster
Copy link
Contributor Author

@seanhamlin , @jeremy-doghouse , I've made a small update to include the baseHost and a basePath.

@jeremy-doghouse
Copy link
Contributor

Approved pending changing the base branch to develop. @SRowlands or @steveworley can you please have a look at this too.

@kurtfoster kurtfoster changed the base branch from 7.x-1.x to develop May 8, 2017 05:51
@kurtfoster
Copy link
Contributor Author

@tobybellwood @steveworley @SRowlands , any idea on a timeline for getting this into govCMS?

@stooit stooit merged commit 518e58c into govCMS:develop Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants