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

HEPData / hepdata / 1093 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 13 Jul 2020 04:17PM UTC
Files 61
Run time 4min
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

13 Jul 2020 04:08PM UTC coverage: 80.519% (+0.2%) from 80.338%
1093.1

push

travis-ci

web-flow
Feature cli upload (#219)

* New upload_sandbox_paylod function in modules/records/views.py, which implements a /sandbox/upload endpoint to receive sandbox uploads from cli / api.

* New endpoint /upload for non-sandbox record uplaods from api/cli. Requires match of role (='uploader'), email and invitation cookie.

* Reabsorbed sandbox/upload into sandbox(/<int:recid>)/consume, by removing @login_required and checking current_user.is_authenticated

* Removed record/upload endpoint, reabsorbed into /consume. Using werkzeug.exceptions to return rexception to client instead of just raising the exception on the server side.

* Fixed issue 215: allow gziped single yaml file submission.

* Started modules/new_inspire_api and tests/new_inspire_ds_tests. The latter is modelled on tests/inspire_ds_tests and all pass. However, replacing modules/inspire_api with modules/new_inspire_api currently results in 4 failed tests (excluding e2e). Minor esthetical changes to a couple of other files.

* Splitting off new_inspire_api related changes

* Removed debugging print statement

* Adding .yaml.gz record test to try address reduced coverage.

* Added checks for 'sandbox' and 'todo' in relevant 'payload' functions; email comparison is lower case.

* Reasons for upload failure with forwarding to client

* Added sandbox record not found

* records: improve access to User and SubmissionParticipant in /consume

* Check that user is active and has confirmed their email address.
* Rewrite code checking user can upload using SubmissionParticipant.

* email: mention possible use of 'hepdata-cli upload' in invitation email

* Cli-upload requires login

* Moved HTTP errors from 'raise werkzeug.exceptions ... ' to 'return jsonify( ... ), error_code'

* New /record/cli_upload endpoint, reverted changes to other ones

* records: make /cli_upload endpoint more robust and extend uploader email

* Check that 'pswd' and 'sandbox' are present in r... (continued)

2203 of 2736 relevant lines covered (80.52%)

0.81 hits per line

Source Files on job 1093.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 967
  • Travis Job 1093.1
  • 1e2171ee on github
  • Prev Job for on master (#1067.1)
  • Next Job for on master (#1096.1)
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

© 2025 Coveralls, Inc