Skip to content

Commit

Permalink
nginx: update config for disable request restrictions (429)
Browse files Browse the repository at this point in the history
* Updates nginx config for disabling the request restriction.
* Updates Pipfile and Pipfile.lock as in rero-ils
* Updates bootstrap file as in rero-ils
* Deletes `invenio-records` `cli` (invenio-record > 1.2)

Co-Authored-by: Peter Weber <[email protected]>
  • Loading branch information
rerowep and rerowep committed Nov 21, 2019
1 parent 950a570 commit 75d03b6
Show file tree
Hide file tree
Showing 7 changed files with 440 additions and 384 deletions.
40 changes: 25 additions & 15 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,39 @@ verify_ssl = true
name = "pypi"

[packages]
# Default from Invenio
Babel = ">=2.4.0"
dojson = ">=1.3.2"
Flask-BabelEx = ">=0.9.3"
invenio = {version = "~=3.1.0",extras = ["base", "metadata", "postgresql", "auth", "elasticsearch6" ]}
isbnlib = ">=3.9.1"
PyYAML = ">=3.13"
rero-ebooks = {editable = true,path = "."}
uwsgi = ">=2.0"
invenio-oaiharvester = {ref = "v1.0.0a4",git = "https://github.com/inveniosoftware/invenio-oaiharvester.git"}
invenio-oaiserver = "*"
pipenv = "*"
uwsgitop = ">=0.11"
uwsgi-tools = ">=1.1.1"
lxml = ">=3.5.0,<4.2.6"
# RERO ILS specific python packages
PyYAML = ">=3.13"
isbnlib = ">=3.9.1"
requests = ">=2.20.0"
responses = "*"
# Invenio
celery = "<4.3.0"
lxml = "<4.2.6,>=3.5.0"
invenio-oaiharvester = {ref = "v1.0.0a4",git = "https://github.com/inveniosoftware/invenio-oaiharvester.git"}
invenio = {version = "~=3.1.0",extras = ["base", "postgresql", "auth", "elasticsearch6" ]}
dojson = ">=1.3.2"
# get rid of invenio-search-ui
invenio-indexer = ">=1.0.1,<1.1.0"
invenio-jsonschemas = ">=1.0.0,<1.1.0"
invenio-oaiserver = ">=1.0.3,<1.1.0"
invenio-pidstore = ">=1.0.0,<1.1.0"
invenio-records-rest = ">=1.4.0,<1.5.0"
invenio-records-ui = ">=1.0.1,<1.1.0"
# separate tables
invenio-records = ">=1.3.0"
# self install
rero-ebooks = {editable = true,path = "."}

[dev-packages]
Sphinx = ">=1.5.1"
check-manifest = ">=0.35"
coverage = ">=4.4.1"
isort = ">=4.3.5,<4.3.10"
mock = ">=2.0.0"
pydocstyle = ">=2.0.0"
Expand All @@ -32,16 +47,11 @@ pytest-mock = ">=1.6.0"
pytest-pep8 = ">=1.0.6"
pytest-random-order = ">=0.5.4"
pytest-runner = ">=3.0.0,<5"
requests = ">=2.20.0"
rero-ebooks = {editable = true,path = "."}
responses = "*"

[requires]
python_version = "3.6"

[scripts]
test = "python setup.py test"
build_sphinx = "python setup.py build_sphinx"

[pipenv]
allow_prereleases = true
dev = "pytest --no-cov -vs tests"
Loading

0 comments on commit 75d03b6

Please sign in to comment.