• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / sonar / 1395
99%
master: 95%

Build:
Build:
LAST BUILD BRANCH: rep-project-validation
DEFAULT BRANCH: master
Ran 16 Dec 2020 07:46AM UTC
Jobs 1
Files 144
Run time 52s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1395

push

travis-ci

sebastiendeleze
projects: add resource

Creates a project resource, with CRUD operations and permissions to access this resource and links projects to documents.

* Creates the files for handling `project` resource.
* Configures REST endpoint for `project` resource.
* Adds permissions for projects when logged user is serialized.
* Compiles JSON schema for `project` resource in bootstrap's script.
* Adds a common schema for `identifiedby` field.
* Fixes values for type and fields ordering for contributor identifier in documents.
* Adds a `projects` property to document's JSON schema.
* Adds a `projects` property to document's elasticsearch mapping.
* Serializes `projects` property in marshmallow schema.
* Adds `autocomplete_name` property to project's elasticsearch mapping, to be able to search projects in typehead.
* Adds a method in documents API, to get documents linked to a given project.
* Serializes `documents` in project marshmallow schema and formats data before dumping JSON.
* Calls `replace_refs` method to get projects information in document detail view.
* Displays projects associated to document in document's detail view.
* Adds a view to display project details.
* Adds a filter for formatting a date in jinja templates.
* Fixes an error with `identifiedBy` field, when the model is not available.
* Adds projects to documents when it is created from a deposit.
* Adds `projects` property to deposit JSON schema.
* Adds `projects` property to deposit marshmallow schema.
* Creates a class for handling controlled affiliations.
* Guesses controlled affiliation when a document or a project is created or updated.
* Closes #358.
* Closes #362.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>

4152 of 4152 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1395.1 16 Dec 2020 07:46AM UTC 0
100.0
Travis Job 1395.1
Source Files on build 1395
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1395
  • fd1e8f6e on github
  • Prev Build on dev (#1394)
  • Next Build on dev (#1431)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc