Skip to content

Commit

Permalink
orcid: temporarily remove module
Browse files Browse the repository at this point in the history
Signed-off-by: Jacopo Notarstefano <jacopo.notarstefano@gmail.com>
  • Loading branch information
jacquerie committed Sep 14, 2017
1 parent a70ce2d commit 304cfca
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 1,072 deletions.
32 changes: 0 additions & 32 deletions inspirehep/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,6 @@
':json_v1_response'),
'application/x-bibtex': ('inspirehep.modules.records.serializers'
':bibtex_v1_response'),
'application/x-orcid': ('invenio_orcid.serializers'
':orcid_response'),
'application/x-latexeu': ('inspirehep.modules.records.serializers'
':latexeu_v1_response'),
'application/x-latexus': ('inspirehep.modules.records.serializers'
Expand Down Expand Up @@ -439,8 +437,6 @@
),
'application/x-bibtex': ('inspirehep.modules.records.serializers'
':bibtex_v1_search'),
'application/x-orcid': ('invenio_orcid.serializers'
':orcid_search'),
'application/x-latexeu': ('inspirehep.modules.records.serializers'
':latexeu_v1_search'),
'application/x-latexus': ('inspirehep.modules.records.serializers'
Expand Down Expand Up @@ -1375,8 +1371,6 @@

OAUTHCLIENT_SETTINGS_TEMPLATE = 'inspirehep_theme/page.html'

ORCID_SYNCHRONIZATION_ENABLED = False

# Error Pages
# ========
THEME_401_TEMPLATE = "inspirehep_theme/errors/401.html"
Expand Down Expand Up @@ -1585,32 +1579,6 @@
"API_PIPELINE_TASK_ENDPOINT_DEFAULT": "inspire_crawler.tasks.submit_results",
}

# OrcID configuration
# ================

ORCID_JSON_CONVERTER_MODULE = 'inspirehep.modules.orcid.utils:convert_to_orcid'
ORCID_ID_FETCHER = 'inspirehep.modules.orcid.utils:get_orcid_id'

ORCID_AUTHORS_SEARCH_CLASS = 'inspirehep.modules.search:AuthorsSearch'

ORCID_RECORDS_PID_TYPE = 'lit'
ORCID_RECORDS_DOC_TYPE = 'hep'
ORCID_RECORDS_PID_FETCHER = 'inspire_recid_fetcher'

ORCID_WORK_TYPES = {
"book": "BOOK",
"conferencepaper": "CONFERENCE_PAPER",
"proceedings": "BOOK",
"preprint": "WORKING_PAPER",
"note": "WORKING_PAPER",
"published": "JOURNAL_ARTICLE",
"thesis": "DISSERTATION",
"lectures": "LECTURE_SPEECH",
"bookchapter": "BOOK_CHAPTER",
"report": "REPORT"
}


# Legacy PID provider
# ===================
LEGACY_PID_PROVIDER = None # e.g. "http://example.org/batchuploader/allocaterecord"
Expand Down
26 changes: 0 additions & 26 deletions inspirehep/modules/orcid/__init__.py

This file was deleted.

37 changes: 0 additions & 37 deletions inspirehep/modules/orcid/ext.py

This file was deleted.

51 changes: 0 additions & 51 deletions inspirehep/modules/orcid/receivers.py

This file was deleted.

151 changes: 0 additions & 151 deletions inspirehep/modules/orcid/schema.py

This file was deleted.

52 changes: 0 additions & 52 deletions inspirehep/modules/orcid/utils.py

This file was deleted.

Loading

0 comments on commit 304cfca

Please sign in to comment.