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

Optional harvest backend features #1875

Merged
merged 4 commits into from Sep 7, 2018
Merged

Optional harvest backend features #1875

merged 4 commits into from Sep 7, 2018

Conversation

noirbizarre
Copy link
Contributor

@noirbizarre noirbizarre commented Sep 6, 2018

This pull request allows harvest backends to expose their optional features and allows users to toggle them from the admin interface.

Harvest backend from "Features" section (only when revelant)

screenshot-data xps-2018 09 06-12-56-29

More details with description field

screenshot-data xps-2018 09 06-12-57-47

@noirbizarre noirbizarre added this to the 1.6.0 milestone Sep 6, 2018
@noirbizarre noirbizarre requested a review from a team September 6, 2018 10:43
CHANGELOG.md Outdated
@@ -5,6 +5,7 @@
### New features

- Harvest sources are now filterable through the harvest source create/edit admin form [#1812](https://github.com/opendatateam/udata/pull/1812)
- Harvest sources can now enabled or disable some optionnal backend features [#1875](https://github.com/opendatateam/udata/pull/1875)
Copy link
Contributor

Choose a reason for hiding this comment

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

s/enabled/enable/

if (this.hasFeatures) {
config.features = this.$refs.features.reduce((obj, vm) => {
obj[vm.key] = vm.value
return obj
Copy link
Contributor

Choose a reason for hiding this comment

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

missing ; on both lines I think

@noirbizarre noirbizarre merged commit 1491b6d into opendatateam:master Sep 7, 2018
@noirbizarre noirbizarre deleted the harvest-features branch September 7, 2018 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants