-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove metrics stores and references to this. is of local flavour and…
… should be in layer
- Loading branch information
Showing
9 changed files
with
1 addition
and
143 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
CREATE DATABASE librecat_main; | ||
CREATE DATABASE librecat_metrics; | ||
GRANT ALL ON librecat_main.* TO 'librecat'@'localhost' IDENTIFIED BY 'librecat'; | ||
GRANT ALL ON librecat_metrics.* TO 'librecat'@'localhost' IDENTIFIED BY 'librecat'; | ||
FLUSH PRIVILEGES; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
[% bag = entry.type == "research_data" ? "data" : "publication" %]<a href="[% uri_base %]/[% bag %]/[% entry._id %]" target="_top">PUB</a>[% IF entry.type == "research_data" AND (entry.file || entry.related_material || entry.externalFiles == "1") %] | <a href="[% uri_base %]/[% bag %]/[% entry._id %]" class="label label-primary">Files available</a>[% ELSIF entry.type != "research_data" AND entry.file AND entry.file.size > 1 %][% display_file = [] %][% counter = 0 %][% FOREACH fi IN entry.file %][% IF fi.open_access %][% counter = counter + 1 %][% display_file.push(fi) %][% END %][% END %][% IF counter > 1 %] | <a href="[% uri_base %]/[% bag %]/[% entry._id %]" class="label label-primary">Files available</a>[% ELSIF counter == 1 %] | <a href="[% uri_base %]/download/[% entry._id %]/[% display_file.0.file_id %]/[% display_file.0.file_name | uri %]">[% display_file.0.content_type == "application/pdf" ? "PDF" : "File" %]</a>[% END %][% ELSIF entry.type != "research_data" AND entry.file AND entry.file.size == 1 %][% IF entry.file.0.open_access %] | <a href="[% uri_base %]/download/[% entry._id %]/[% entry.file.0.file_id %]/[% entry.file.0.file_name | uri %]">[% entry.file.0.content_type == "application/pdf" ? "PDF" : "File" %]</a>[% END %][% END %][% FOREACH supp IN entry.related_material %][% IF supp.link %] | <a href="[% supp.link.url %]" title="[% supp.link.title %]">Suppl. Material</a>[% ELSIF supp.file %] | <a href="[% uri_base %]/download/[% entry._id %]/[% supp.file.file_id %]/[% supp.file.file_name | uri %]" title="[% supp.file.file_name %]">Suppl. Material</a> [% END %][% END %][% IF entry.doi %]| <a href="http://doi.org/[% entry.doi %]" target="_top">DOI</a>[% END %][% IF entry.external_id.isi %] | <a href="http://ws.isiknowledge.com/cps/openurl/service?url_ver=Z39.88-2004&rft_id=info:ut/[% entry.external_id.isi %]" target="_top">WoS</a>[% END %][% IF entry.external_id.pmid %] | <a href="http://www.ncbi.nlm.nih.gov/pubmed/[% entry.external_id.pmid %]" target="_top">PubMed</a> | <a href="http://europepmc.org/abstract/MED/[% entry.external_id.pmid %]">Europe PMC</a>[% END %][% IF entry.external_id.arxiv %] | <a href="http://arxiv.org/abs/[% entry.external_id.arxiv %]" target="_top">arXiv</a>[% END %][% IF entry.external_id.inspire %] | <a href="http://inspirebeta.net/record/[% entry.external_id.inspire %]" target="_top">Inspire</a>[% END %][% IF entry.external_id.ahf %] | <a href="http://www.oldenbourg.de/verlag/ahf/hbo.php?F=titel&T=HB&ID=[% entry.external_id.ahf %]" target="_top">AHF</a>[% END %][% IF qp.timescited && entry.metrics.timesCited %] | <a href="[% entry.metrics.citingURL %]" target="_parent">WOS® Times Cited: [% entry.metrics.timesCited %]</a>[% END %] | ||
[% bag = entry.type == "research_data" ? "data" : "publication" %]<a href="[% uri_base %]/[% bag %]/[% entry._id %]" target="_top">PUB</a>[% IF entry.type == "research_data" AND (entry.file || entry.related_material || entry.externalFiles == "1") %] | <a href="[% uri_base %]/[% bag %]/[% entry._id %]" class="label label-primary">Files available</a>[% ELSIF entry.type != "research_data" AND entry.file AND entry.file.size > 1 %][% display_file = [] %][% counter = 0 %][% FOREACH fi IN entry.file %][% IF fi.open_access %][% counter = counter + 1 %][% display_file.push(fi) %][% END %][% END %][% IF counter > 1 %] | <a href="[% uri_base %]/[% bag %]/[% entry._id %]" class="label label-primary">Files available</a>[% ELSIF counter == 1 %] | <a href="[% uri_base %]/download/[% entry._id %]/[% display_file.0.file_id %]/[% display_file.0.file_name | uri %]">[% display_file.0.content_type == "application/pdf" ? "PDF" : "File" %]</a>[% END %][% ELSIF entry.type != "research_data" AND entry.file AND entry.file.size == 1 %][% IF entry.file.0.open_access %] | <a href="[% uri_base %]/download/[% entry._id %]/[% entry.file.0.file_id %]/[% entry.file.0.file_name | uri %]">[% entry.file.0.content_type == "application/pdf" ? "PDF" : "File" %]</a>[% END %][% END %][% FOREACH supp IN entry.related_material %][% IF supp.link %] | <a href="[% supp.link.url %]" title="[% supp.link.title %]">Suppl. Material</a>[% ELSIF supp.file %] | <a href="[% uri_base %]/download/[% entry._id %]/[% supp.file.file_id %]/[% supp.file.file_name | uri %]" title="[% supp.file.file_name %]">Suppl. Material</a> [% END %][% END %][% IF entry.doi %]| <a href="http://doi.org/[% entry.doi %]" target="_top">DOI</a>[% END %][% IF entry.external_id.isi %] | <a href="http://ws.isiknowledge.com/cps/openurl/service?url_ver=Z39.88-2004&rft_id=info:ut/[% entry.external_id.isi %]" target="_top">WoS</a>[% END %][% IF entry.external_id.pmid %] | <a href="http://www.ncbi.nlm.nih.gov/pubmed/[% entry.external_id.pmid %]" target="_top">PubMed</a> | <a href="http://europepmc.org/abstract/MED/[% entry.external_id.pmid %]">Europe PMC</a>[% END %][% IF entry.external_id.arxiv %] | <a href="http://arxiv.org/abs/[% entry.external_id.arxiv %]" target="_top">arXiv</a>[% END %][% IF entry.external_id.inspire %] | <a href="http://inspirebeta.net/record/[% entry.external_id.inspire %]" target="_top">Inspire</a>[% END %][% IF entry.external_id.ahf %] | <a href="http://www.oldenbourg.de/verlag/ahf/hbo.php?F=titel&T=HB&ID=[% entry.external_id.ahf %]" target="_top">AHF</a>[% END %] |
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.