Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rerowep/rero-ebooks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: rero/rero-ebooks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on May 23, 2019

  1. instance: pipenv

    * NEW Makes use of pipenv.
    * BETTER Adapts deployment scripts.
    * NEW Adds an homepage.
    
    Signed-off-by: Peter Weber <Peter.Weber@rero.ch>
    rerowep authored and jma committed May 23, 2019
    Copy the full SHA
    de03c10 View commit details
  2. instance: invenio 3.1 support

    * NEW Upgrades to Invenio version 3.1.
    * NEW Ignores VSCodium in .gitignore.
    
    Signed-off-by: Peter Weber <peter.weber@rero.ch>
    rerowep authored and jma committed May 23, 2019
    Copy the full SHA
    d50d0f7 View commit details
  3. API: preperations harvesting cantook

    * NEW: api for ebooks enabled
    * FIX: missed heartbeats from client -> CELERY_BROKER_HEARTBEAT = 0
    * BETTER: error page
    * BETTER: fixture for cantook record from api
    * NEW: data records for cantook vs
    * BETTER: .gitignore for vscodium
    
    Signed-off-by: Peter Weber <peter.weber@rero.ch>
    rerowep authored and jma committed May 23, 2019
    Copy the full SHA
    289fa2c View commit details
  4. ebooks: webpack

    * NEW Adds webpack configuration
    
    Signed-off-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
    Garfield-fr authored and jma committed May 23, 2019
    Copy the full SHA
    95c4d5e View commit details
  5. dojson: cantook json record transformation

    * NEW Creates json transformation rules.
    
    Signed-off-by: Gianni Pante <gianni.pante@rero.ch>
    reropag authored and jma committed May 23, 2019
    Copy the full SHA
    1c263ef View commit details
  6. API: Cantook api harvesting

    * NEW: Cantook class for harvesting
    * NEW: apiharvester task functionality
    * NEW: test for apiharvest cli with request mock
    * NEW: API sheduling and config enabled
    * NEW: --deployment switch for setup script
    * FIX: OAI sheduling and config disabled
    
    Signed-off-by: Peter Weber <peter.weber@rero.ch>
    rerowep authored and jma committed May 23, 2019
    Copy the full SHA
    2a4cbd2 View commit details
  7. tasks: celery version constraint addition

    * FIX Fixes error message `TypeError: can't serialize datetime.datetime` in the log server.
    
    Signed-off-by: Peter Weber <peter.weber@rero.ch>
    rerowep authored and jma committed May 23, 2019
    Copy the full SHA
    db812c1 View commit details
  8. deployment: invenio 3.1 and kubernets corrections

    * BETTER Update to invenio 3.1.
    * BETTER Use of pipenv.
    * DELETE Delete old deployment scripts (in separate git repository now).
    
    Signed-off-by: Peter Weber <Peter.Weber@rero.ch>
    Signed-off-by: Peter Weber <peter.weber@rero.ch>
    rerowep authored and jma committed May 23, 2019
    Copy the full SHA
    04648ac View commit details

Commits on May 27, 2019

  1. dojson: fix physical description for page count

    * Adds the text "pages" for the pysical description of page count.
    * Fixes the creation of physical descriptions if the page count is 0.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep authored and jma committed May 27, 2019
    Copy the full SHA
    0c9f685 View commit details
  2. release: v0.1.0a1

    Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
    jma committed May 27, 2019
    Copy the full SHA
    71d8735 View commit details

Commits on Dec 17, 2020

  1. ui: cleaning the homepage

    * Removes 2 links on homepage
    * Closes rero#28
    
    Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
    Garfield-fr authored and rerowep committed Dec 17, 2020
    Copy the full SHA
    8756410 View commit details
  2. nginx: update config for disable request restrictions (429)

    * 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 <peter.weber@rero.ch>
    rerowep and rerowep committed Dec 17, 2020
    Copy the full SHA
    d38e67d View commit details
  3. instance: upate invenio to 3.2, improve harvesting

    * Updates invenio to version 3.2.
    * Bumps ES to version 7.
    * Uses Postgress 12
    * Adds XSL style to OAI2D.
    * Implements deletion of resource links for unavailable ebooks during
      harvesting.
    * Uses poetry.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Dec 17, 2020
    Copy the full SHA
    5231537 View commit details
  4. iinvenio: bump to version 3.3.0

    * Uses Github action for tests.
    
    Invenio-oaiserver is not functional with marshmallow 2 in this version:
    - inveniosoftware/invenio-oaiserver#178
    - inveniosoftware/invenio-oaiserver#185
    - inveniosoftware/invenio-oaiserver#186
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Dec 17, 2020
    Copy the full SHA
    650979e View commit details
  5. iassets: move to webpack

    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Dec 17, 2020
    Copy the full SHA
    9816a09 View commit details
  6. oai: harvesting

    * Fixes problems with connection problems for ApiHarvestConfig.
    * Disables oai harvesting tasks. Should be done in a crontab job.
    * Fixes api blueprint configuration.
    rerowep committed Dec 17, 2020
    Copy the full SHA
    da0b169 View commit details

Commits on Dec 18, 2020

  1. release: v0.5.0

    * Adds a CHANGES.md file with automatically generated changelog.
    * Removes unused CHANGES.rst file and the corresponding inclusion and
      files in the Sphinx documentation directory.
    * Adds a RELEASE-NOTES.md file.
    * The version.py file is already updated in the precedent commit.
    
    Co-Authored-by: Igor Milhit <igor.milhit@rero.ch>
    iGormilhit and Igor Milhit committed Dec 18, 2020
    Copy the full SHA
    2c813fb View commit details
  2. license: move from GPLv2 to AGPLv3

    * Changes the LICENSE file content.
    * Changes the files headers.
    * Closes rero#36
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Dec 18, 2020
    Copy the full SHA
    0afd7b9 View commit details

Commits on Apr 12, 2021

  1. dependencies: upgrade invenio to version 3.4

    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Apr 12, 2021
    Copy the full SHA
    0b9a4d4 View commit details

Commits on Apr 21, 2021

  1. release: v0.6.0

    Co-Authored-by: Igor Milhit <igor@milhit.ch>
    iGor milhit and iGormilhit committed Apr 21, 2021
    Copy the full SHA
    19c37a0 View commit details

Commits on Jan 11, 2022

  1. dependencies: update the dependencies lock file

    * Fixes security warnings.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Jan 11, 2022
    Copy the full SHA
    f165dfe View commit details

Commits on Feb 1, 2022

  1. security: Add config:

    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep and rerowep committed Feb 1, 2022
    Copy the full SHA
    685ca83 View commit details

Commits on Mar 8, 2022

  1. documentation: improve changelog generation

    - add default params file to improve use of github_changelog_generator
    - rename CHANGES.md to CHANGELOG.md for consistency across projects
    PascalRepond committed Mar 8, 2022
    Copy the full SHA
    a2ae3bd View commit details

Commits on Apr 25, 2022

  1. dependencies: update the dependencies

    * uses poetry > 1.1.
    * Changes marshmallow to version > 3. Needs fixed invenio-oaiserver.
    * Changes elastic search to version 7.16.3.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>dependencies: update
    rerowep committed Apr 25, 2022
    Copy the full SHA
    6681f1e View commit details

Commits on Jul 27, 2022

  1. dependencies: update the dependencies lock file

    * Changes marshmallow to version > 3. Needs fixed invenio-oaiserver.
    * Adds color output to pytest.
    * dependencies update
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>dependencies: update
    rerowep committed Jul 27, 2022
    Copy the full SHA
    9dbf7b0 View commit details

Commits on Aug 10, 2022

  1. various: better code

    * fixes pytest-invenio problems with `poetry`. See: inveniosoftware/pytest-invenio#83
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep committed Aug 10, 2022
    Copy the full SHA
    f5cb6e9 View commit details

Commits on May 4, 2023

  1. dependencies: fix security issues

    * Uses invenio_i18n instead flask_babelex.
    * Bumps dependencies.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep committed May 4, 2023
    Copy the full SHA
    ae19c8f View commit details
  2. release: v0.6.1

    * dependencies: update
    
    Co-authored-by: Pascal Repond <pascal.repond@rero.ch>
    PascalRepond committed May 4, 2023
    Copy the full SHA
    965f357 View commit details

Commits on Nov 20, 2023

  1. oaiserver: fix set creation

    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep committed Nov 20, 2023
    Copy the full SHA
    ba7d577 View commit details

Commits on Nov 23, 2023

  1. dependencies: fix security issues

    * Bumps dependencies.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep committed Nov 23, 2023
    Copy the full SHA
    619144e View commit details

Commits on Nov 27, 2023

  1. release: v0.6.2

    Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
    PascalRepond committed Nov 27, 2023
    Copy the full SHA
    a736cd7 View commit details

Commits on Feb 29, 2024

  1. dependencies: fix security issues

    * Bumps dependencies.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep committed Feb 29, 2024
    Copy the full SHA
    0e49203 View commit details

Commits on Jun 12, 2024

  1. various: various changes

    * Bumps dependencies.
    * Uses `black` tests.
    * Adds 008.
    
    Co-Authored-by: Peter Weber <peter.weber@rero.ch>
    rerowep committed Jun 12, 2024
    Copy the full SHA
    b873242 View commit details
  2. release: v0.7.0

    Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
    PascalRepond authored and rerowep committed Jun 12, 2024
    Copy the full SHA
    0c1be35 View commit details
Showing with 26,920 additions and 16,507 deletions.
  1. +1 −0 .dockerignore
  2. +11 −18 .editorconfig
  3. +70 −0 .github/workflows/continuous-integration-test.yml
  4. +18 −0 .github_changelog_generator
  5. +11 −0 .gitignore
  6. +0 −97 .travis.yml
  7. +0 −32 .tx/config
  8. +12 −19 AUTHORS.rst
  9. +81 −0 CHANGELOG.md
  10. +0 −26 CHANGES.rst
  11. +12 −19 CONTRIBUTING.rst
  12. +20 −49 Dockerfile
  13. +52 −0 Dockerfile.base
  14. +14 −21 INSTALL.rst
  15. +610 −330 LICENSE
  16. +21 −20 MANIFEST.in
  17. +11 −19 README.rst
  18. +42 −0 RELEASE-NOTES.md
  19. +27 −0 SECURITY.rst
  20. +11 −18 babel.ini
  21. +28 −0 data/apisources.yml
  22. +2,126 −0 data/cantook-vs.json
  23. +27 −0 data/oaisets.yml
  24. +14 −20 data/oaisources.yml
  25. +0 −69 deployment/Dockerfile
  26. +0 −23 deployment/__init__.py
  27. +0 −21 deployment/kubernetes/ebooks-cache-deployment.yml
  28. +0 −16 deployment/kubernetes/ebooks-cache-service.yml
  29. +0 −36 deployment/kubernetes/ebooks-db-deployment.yml
  30. +0 −16 deployment/kubernetes/ebooks-db-service.yml
  31. +0 −93 deployment/kubernetes/ebooks-frontend-deployment.yml
  32. +0 −15 deployment/kubernetes/ebooks-frontend-service.yml
  33. +0 −42 deployment/kubernetes/ebooks-indexer-deployment.yml
  34. +0 −19 deployment/kubernetes/ebooks-indexer-service.yml
  35. +0 −92 deployment/kubernetes/ebooks-scheduler-deployment.yml
  36. +0 −92 deployment/kubernetes/ebooks-tasks-deployment.yml
  37. +0 −94 deployment/kubernetes/ebooks-tasksui-deployment.yml
  38. +0 −15 deployment/kubernetes/ebooks-tasksui-service.yml
  39. +0 −33 deployment/kubernetes/ebooks-worker-deployment.yml
  40. +0 −19 deployment/kubernetes/ebooks-worker-service.yml
  41. +33 −24 docker-compose.full.yml
  42. +11 −18 docker-compose.yml
  43. +18 −23 docker-services.yml
  44. +11 −18 docker/haproxy/Dockerfile
  45. +11 −18 docker/haproxy/haproxy.cfg
  46. +11 −18 docker/nginx/Dockerfile
  47. +38 −41 docker/nginx/conf.d/default.conf
  48. +17 −19 docker/nginx/nginx.conf
  49. +11 −18 docker/postgres/Dockerfile
  50. +11 −18 docker/postgres/init-app-db.sh
  51. +14 −18 docker/uwsgi/uwsgi_rest.ini
  52. +12 −18 docker/uwsgi/uwsgi_ui.ini
  53. +44 −0 docker/wait-for-services.sh
  54. +11 −18 docs/api.rst
  55. +11 −18 docs/authors.rst
  56. +0 −25 docs/changes.rst
  57. +16 −21 docs/conf.py
  58. +11 −18 docs/configuration.rst
  59. +11 −18 docs/contributing.rst
  60. +11 −19 docs/index.rst
  61. +11 −18 docs/installation.rst
  62. +11 −17 docs/license.rst
  63. +11 −18 docs/usage.rst
  64. +4,953 −0 poetry.lock
  65. +182 −0 pyproject.toml
  66. +17 −20 pytest.ini
  67. +0 −28 requirements-devel.txt
  68. +0 −31 requirements.txt
  69. +12 −19 rero_ebooks/__init__.py
  70. +185 −88 rero_ebooks/api.py
  71. +18 −0 rero_ebooks/apiharvester/__init__.py
  72. +138 −0 rero_ebooks/apiharvester/cli.py
  73. +44 −0 rero_ebooks/apiharvester/errors.py
  74. +52 −0 rero_ebooks/apiharvester/models.py
  75. +58 −0 rero_ebooks/apiharvester/tasks.py
  76. +111 −0 rero_ebooks/apiharvester/utils.py
  77. +18 −0 rero_ebooks/cantook/__init__.py
  78. +237 −0 rero_ebooks/cantook/api.py
  79. +42 −0 rero_ebooks/celery.py
  80. +45 −78 rero_ebooks/cli.py
  81. +142 −67 rero_ebooks/config.py
  82. +11 −18 rero_ebooks/dojson/__init__.py
  83. +23 −0 rero_ebooks/dojson/json/__init__.py
  84. +347 −0 rero_ebooks/dojson/json/model.py
  85. +12 −19 rero_ebooks/dojson/marc21/__init__.py
  86. +7 −13 rero_ebooks/dojson/marc21/fields/bd00x.py
  87. +831 −859 rero_ebooks/dojson/marc21/fields/bd01x09x.py
  88. +162 −166 rero_ebooks/dojson/marc21/fields/bd1xx.py
  89. +211 −213 rero_ebooks/dojson/marc21/fields/bd20x24x.py
  90. +204 −201 rero_ebooks/dojson/marc21/fields/bd25x28x.py
  91. +756 −771 rero_ebooks/dojson/marc21/fields/bd3xx.py
  92. +167 −173 rero_ebooks/dojson/marc21/fields/bd4xx.py
  93. +915 −926 rero_ebooks/dojson/marc21/fields/bd5xx.py
  94. +521 −542 rero_ebooks/dojson/marc21/fields/bd6xx.py
  95. +342 −347 rero_ebooks/dojson/marc21/fields/bd70x75x.py
  96. +772 −772 rero_ebooks/dojson/marc21/fields/bd76x78x.py
  97. +235 −245 rero_ebooks/dojson/marc21/fields/bd80x83x.py
  98. +179 −181 rero_ebooks/dojson/marc21/fields/bd84188x.py
  99. +74 −73 rero_ebooks/dojson/marc21/fields/bdleader.py
  100. +18 −28 rero_ebooks/dojson/marc21/model.py
  101. +25 −0 rero_ebooks/dojson/utils.py
  102. +13 −31 rero_ebooks/ext.py
  103. +14 −24 rero_ebooks/fetchers.py
  104. +11 −18 rero_ebooks/mappings/__init__.py
  105. +0 −25 rero_ebooks/mappings/v6/__init__.py
  106. +0 −7,991 rero_ebooks/mappings/v6/ebooks/ebook-v1.0.0.json
  107. +18 −0 rero_ebooks/mappings/v7/__init__.py
  108. +7,976 −0 rero_ebooks/mappings/v7/ebooks/ebook-v1.0.0.json
  109. +25 −36 rero_ebooks/minters.py
  110. +12 −19 rero_ebooks/providers.py
  111. +0 −47 rero_ebooks/receivers.py
  112. +0 −71 rero_ebooks/tasks.py
  113. +0 −11 rero_ebooks/templates/rero_ebooks/frontpage.html
  114. +24 −0 rero_ebooks/theme/__init__.py
  115. +73 −0 rero_ebooks/theme/assets/scss/rero_ebooks/ebooks.scss
  116. BIN rero_ebooks/theme/static/apple-touch-icon-144-precomposed.png
  117. BIN rero_ebooks/theme/static/apple-touch-icon.png
  118. BIN rero_ebooks/theme/static/favicon.ico
  119. BIN rero_ebooks/theme/static/images/logo_rero.png
  120. +12 −0 rero_ebooks/theme/static/images/logo_rero_plus.svg
  121. +1 −0 rero_ebooks/theme/static/images/logo_sonar.svg
  122. +705 −0 rero_ebooks/theme/static/xsl/oai.xsl
  123. +11 −0 rero_ebooks/theme/templates/rero_ebooks/footer.html
  124. +62 −0 rero_ebooks/theme/templates/rero_ebooks/frontpage.html
  125. +9 −0 rero_ebooks/theme/templates/rero_ebooks/header.html
  126. +27 −0 rero_ebooks/theme/templates/rero_ebooks/page_error.html
  127. +40 −0 rero_ebooks/theme/views.py
  128. +46 −0 rero_ebooks/theme/webpack.py
  129. +5 −0 rero_ebooks/theme/webpack_assets/.babelrc
  130. +1 −0 rero_ebooks/theme/webpack_assets/.eslintignore
  131. +31 −0 rero_ebooks/theme/webpack_assets/.eslintrc.js
  132. +280 −0 rero_ebooks/theme/webpack_assets/build/webpack.config.js
  133. +73 −0 rero_ebooks/theme/webpack_assets/package.json
  134. +13 −21 rero_ebooks/utils.py
  135. +12 −19 rero_ebooks/version.py
  136. +0 −30 run-tests.sh
  137. +36 −0 scripts/__init__.py
  138. +136 −21 scripts/bootstrap
  139. +58 −18 scripts/console
  140. +91 −24 scripts/server
  141. +91 −27 scripts/setup
  142. +108 −0 scripts/test
  143. +57 −18 scripts/update
  144. +0 −28 scripts/worker_beat
  145. +11 −18 setup.cfg
  146. +50 −75 setup.py
  147. +161 −98 tests/api/conftest.py
  148. +77 −50 tests/api/test_api.py
  149. +55 −0 tests/api/test_cantook.py
  150. +19 −25 tests/api/test_fetchers.py
  151. +18 −24 tests/api/test_minters.py
  152. +112 −18 tests/conftest.py
  153. +23 −0 tests/data/apisource-nj.yml
  154. +111 −0 tests/data/data.json
  155. +12 −18 tests/test_version.py
  156. +139 −0 tests/unit/test_apiharvester_cli.py
  157. +430 −0 tests/unit/test_dojson.py
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.git
*.gitignore
.env

*.mo
*.pyc
29 changes: 11 additions & 18 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
# -*- coding: utf-8 -*-
#
# This file is part of RERO Ebooks.
# Copyright (C) 2018 RERO.
# RERO EBOOKS
# Copyright (C) 2020 RERO
#
# RERO Ebooks is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# RERO Ebooks is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with RERO Ebooks; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
#
# In applying this license, RERO does not
# waive the privileges and immunities granted to it by virtue of its status
# as an Intergovernmental Organization or submit itself to any jurisdiction.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

root = true

70 changes: 70 additions & 0 deletions .github/workflows/continuous-integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: build
on: [push, pull_request, workflow_dispatch]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
dependencies: ['dev', 'deploy']
steps:
# - name: Cancel Previous Runs
# uses: styfle/cancel-workflow-action@0.5.0
# with:
# access_token: ${{ github.token }}

- uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Docker compose up
run: docker-compose up -d

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Install Poetry
uses: snok/install-poetry@v1

# - name: Use Cache
# uses: actions/cache@v2
# with:
# path: |
# ~/.cache/pip
# ~/.cache/pypoetry/virtualenvs
# ~/.npm
# key: ${{ runner.os }}-pip-venv-${{ hashFiles('**/poetry.lock') }}

- name: Bootstrap dev
if: ${{ matrix.dependencies == 'dev' }}
run: |
poetry run ./scripts/bootstrap --ci
- name: Bootstrap deploy
if: ${{ matrix.dependencies == 'deploy' }}
run: |
poetry run ./scripts/bootstrap --ci --deploy E2E=yes
- name: Run Test
run: poetry run ./scripts/test

# - name: Upload Coverage ${{ matrix.tests }}
# if: ${{ matrix.dependencies == 'locked' }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_FLAG_NAME: test
# COVERALLS_PARALLEL: true
# run: poetry run coveralls
#
# - name: Finished Coverage ${{ matrix.tests }}
# if: ${{ matrix.dependencies == 'locked' }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_PARALLEL_FINISHED: true
# run: |
# poetry run coveralls --finish
18 changes: 18 additions & 0 deletions .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Command to generate: github_changelog_generator --since-tag <last release> --future-release <new release> -t <github token>

# Running the command updates the file with info from rero/rero-ils:staging
base=CHANGELOG.md
user=rero
project=rero-ebooks
release-branch=staging

# Limit issues fetched so as to not reach secondary API limit
max-issues=400
# Exclude labels from changelog
exclude-labels=stale,duplicate,wontfix,translations

bug-labels=bug,Bug,bug (critical),correction
security-labels=dev: security

breaking-labels=dev: dependencies
breaking-label=Dependencies upgrades:
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -63,3 +63,14 @@ target/

# Vim swapfiles
.*.sw?

# Celery Beat
celerybeat-schedule

# Environment variables
.env

# VSCodium
.vscode

.DS_Store
97 changes: 0 additions & 97 deletions .travis.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .tx/config

This file was deleted.

31 changes: 12 additions & 19 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
..
This file is part of RERO Ebooks.
Copyright (C) 2018 RERO.
.. note::
RERO EBOOKS
Copyright (C) 2020 RERO

RERO Ebooks is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License.

RERO Ebooks is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU General Public License
along with RERO Ebooks; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307, USA.

In applying this license, RERO does not
waive the privileges and immunities granted to it by virtue of its status
as an Intergovernmental Organization or submit itself to any jurisdiction.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.


Authors
Loading