Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Abstract link checking through entrypoint (#1110)
Croquemort specific stuff is removed from udata and will live in udata-croquemort. Linkchecking can now be specified on a resource level. Related change: default availability for a user's datasets is now 100% (vs 0%).
- Loading branch information
Showing
25 changed files
with
406 additions
and
404 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<template> | ||
<span v-if="availability === 'AVAILABLE'" class="badge bg-green">✓</span> | ||
<span v-if="availability === 'NOT_AVAILABLE'" class="badge bg-red">×</span> | ||
<span v-if="availability === 'UNKNOWN'" class="badge bg-gray">?</span> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'resource-availability', | ||
props: { | ||
resource: { | ||
type: Object, | ||
required: true, | ||
} | ||
}, | ||
computed: { | ||
availability() { | ||
switch (this.resource.extras && this.resource.extras['check:available']) { | ||
case true: | ||
return 'AVAILABLE'; | ||
case false: | ||
return 'NOT_AVAILABLE'; | ||
default: | ||
return 'UNKNOWN'; | ||
} | ||
} | ||
} | ||
} | ||
</script> |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.