06f2c8b | Antoine R. Dumont (@ardumont) | 16 September 2017, 13:06:14 UTC | README-dev: Explicit how to run deposit in dev/prod mode locally | 16 September 2017, 13:18:30 UTC |
ad0b1bc | Antoine R. Dumont (@ardumont) | 16 September 2017, 13:00:02 UTC | .gitignore: Ignore db.sqlite3 file | 16 September 2017, 13:17:06 UTC |
bbd64a9 | Antoine R. Dumont (@ardumont) | 15 September 2017, 13:51:11 UTC | settings: Deal with secret data in production mode | 16 September 2017, 13:17:06 UTC |
385d981 | Antoine R. Dumont (@ardumont) | 15 September 2017, 10:24:15 UTC | swh.manage: Use production service port in dev mode Make it overridable | 16 September 2017, 13:17:06 UTC |
88e9137 | Antoine R. Dumont (@ardumont) | 15 September 2017, 08:32:29 UTC | README: Update documentation | 15 September 2017, 08:32:29 UTC |
84ba6ac | Antoine R. Dumont (@ardumont) | 14 September 2017, 15:32:41 UTC | swh.deposit.tests: Inhibit configuration loading from disk And mock the objstorage | 14 September 2017, 15:32:41 UTC |
fae058d | Antoine R. Dumont (@ardumont) | 14 September 2017, 14:08:12 UTC | settings: Split setup according to platforms (dev/test/prod) | 14 September 2017, 14:12:46 UTC |
133ee67 | Antoine R. Dumont (@ardumont) | 14 September 2017, 13:57:42 UTC | swh.deposit.errors: Add missing swh.deposit.errors module I must have forgotten to commit it. | 14 September 2017, 13:58:54 UTC |
caa6142 | Antoine R. Dumont (@ardumont) | 14 September 2017, 13:57:11 UTC | Refactor: Move api endpoints in api folder (symmetrically for tests) | 14 September 2017, 13:57:11 UTC |
92b029a | Antoine R. Dumont (@ardumont) | 14 September 2017, 13:38:05 UTC | views: Add authentication test + list user collection in sd endpoint The service document (sd) endpoint relies on authentication. | 14 September 2017, 13:38:05 UTC |
9dc5df5 | Antoine R. Dumont (@ardumont) | 14 September 2017, 13:37:29 UTC | swh.deposit.views: Change route endpoints | 14 September 2017, 13:37:29 UTC |
353356c | Antoine R. Dumont (@ardumont) | 07 September 2017, 15:23:20 UTC | swh.deposit.views: Respect sword error response convention | 07 September 2017, 15:23:20 UTC |
cdaf0c3 | Antoine R. Dumont (@ardumont) | 07 September 2017, 14:16:38 UTC | swh.deposit.views: Remove unneeded get calls | 07 September 2017, 15:23:09 UTC |
f2d3522 | Antoine R. Dumont (@ardumont) | 07 September 2017, 14:15:06 UTC | swh.deposit.views: Check the packaging header is correct | 07 September 2017, 14:15:06 UTC |
6d8476e | Antoine R. Dumont (@ardumont) | 07 September 2017, 12:46:39 UTC | swh.deposit.views: Rename variable appropriately | 07 September 2017, 12:46:39 UTC |
ffcd68f | Antoine R. Dumont (@ardumont) | 07 September 2017, 12:46:09 UTC | swh.deposit.views: Force check on mandatory content_disposition header | 07 September 2017, 12:46:09 UTC |
69224c6 | Antoine R. Dumont (@ardumont) | 07 September 2017, 10:23:31 UTC | swh.deposit.views: Factorize common behavior | 07 September 2017, 10:23:31 UTC |
bfbd255 | Antoine R. Dumont (@ardumont) | 07 September 2017, 10:19:28 UTC | swh.deposit.views: Add consistent result to methods | 07 September 2017, 10:19:28 UTC |
e3c53ec | Antoine R. Dumont (@ardumont) | 07 September 2017, 10:03:28 UTC | swh.deposit.views: Add same precondition checks on multipart deposit | 07 September 2017, 10:03:28 UTC |
4906409 | Antoine R. Dumont (@ardumont) | 07 September 2017, 09:35:57 UTC | swh.deposit.views: Simplify upload filesize computation | 07 September 2017, 09:35:57 UTC |
5dddacd | Antoine R. Dumont (@ardumont) | 07 September 2017, 09:15:40 UTC | swh.deposit: Remove dead code | 07 September 2017, 09:15:40 UTC |
7ee850a | Antoine R. Dumont (@ardumont) | 07 September 2017, 09:12:12 UTC | swh.deposit.views: Update and unify docstrings | 07 September 2017, 09:12:12 UTC |
6df8890 | Antoine R. Dumont (@ardumont) | 07 September 2017, 09:11:00 UTC | swh.deposit.views: Add put and delete as methods not allowed | 07 September 2017, 09:11:00 UTC |
e92c6dc | Antoine R. Dumont (@ardumont) | 06 September 2017, 12:30:58 UTC | swh.deposit.views: Improve deposit receipt response | 06 September 2017, 12:30:58 UTC |
5a2764c | Antoine R. Dumont (@ardumont) | 05 September 2017, 13:58:36 UTC | swh.deposit.views: Factorize code | 05 September 2017, 14:26:44 UTC |
a43916e | Antoine R. Dumont (@ardumont) | 05 September 2017, 13:22:44 UTC | swh.deposit.views: Actually store multipart/atom entry information | 05 September 2017, 13:54:32 UTC |
89825e5 | Antoine R. Dumont (@ardumont) | 05 September 2017, 10:44:46 UTC | swh.deposit.tests: Improve test result assertions | 05 September 2017, 10:44:46 UTC |
f5967fa | Antoine R. Dumont (@ardumont) | 04 September 2017, 12:37:41 UTC | README: Improve phrasing on the first deposit api endpoint | 04 September 2017, 12:37:41 UTC |
8190c53 | Antoine R. Dumont (@ardumont) | 04 September 2017, 12:33:47 UTC | swh.deposit.tests: Fix typo in content disposition filename property | 04 September 2017, 12:33:47 UTC |
e5ddbe0 | Antoine R. Dumont (@ardumont) | 04 September 2017, 12:22:32 UTC | README: Fix typo | 04 September 2017, 12:22:32 UTC |
ac7b984 | Antoine R. Dumont (@ardumont) | 04 September 2017, 12:04:05 UTC | swh.deposit.views: Add new test case scenario for binary upload | 04 September 2017, 12:04:05 UTC |
033d37a | Antoine R. Dumont (@ardumont) | 04 September 2017, 11:48:36 UTC | swh.deposit.tests: Open back previous tests | 04 September 2017, 11:48:55 UTC |
d608e23 | Antoine R. Dumont (@ardumont) | 04 September 2017, 11:47:46 UTC | swh.deposit.views: Store uploaded file in objstorage And reference id in the deposit request's metadata column | 04 September 2017, 11:48:33 UTC |
56a4c39 | Antoine R. Dumont (@ardumont) | 04 September 2017, 09:45:50 UTC | swh.deposit.views: Clean up dead code | 04 September 2017, 09:45:50 UTC |
97540ff | Antoine R. Dumont (@ardumont) | 18 August 2017, 14:17:28 UTC | swh.deposit: Basic deposit upload and tests | 18 August 2017, 14:17:28 UTC |
36b46b1 | Antoine R. Dumont (@ardumont) | 11 August 2017, 14:32:00 UTC | admin: Remove obsolete code | 11 August 2017, 14:32:00 UTC |
0fccd9b | Antoine R. Dumont (@ardumont) | 09 August 2017, 12:58:31 UTC | Add bunch of files to the git ignore list | 09 August 2017, 12:58:31 UTC |
0d21c50 | Antoine R. Dumont (@ardumont) | 09 August 2017, 12:57:36 UTC | settings: Change middleware order | 09 August 2017, 12:57:36 UTC |
794935a | Antoine R. Dumont (@ardumont) | 09 August 2017, 12:57:21 UTC | models: Fix typo | 09 August 2017, 12:57:21 UTC |
b381ec4 | Antoine R. Dumont (@ardumont) | 09 August 2017, 12:57:07 UTC | models: Update default reception date | 09 August 2017, 12:57:07 UTC |
19d7c6e | Antoine R. Dumont (@ardumont) | 09 August 2017, 12:55:22 UTC | d/control: Add djangorestframework dependency | 09 August 2017, 12:55:22 UTC |
f20072c | Antoine R. Dumont (@ardumont) | 08 August 2017, 14:19:31 UTC | auth: Add configuration option | 08 August 2017, 14:19:31 UTC |
e73b7d0 | Antoine R. Dumont (@ardumont) | 02 August 2017, 15:41:44 UTC | views: Simplify existing api with class-based view | 02 August 2017, 15:44:18 UTC |
8ab5de4 | Antoine R. Dumont (@ardumont) | 02 August 2017, 15:37:28 UTC | auth: Simplify basic authentication using middleware Make it actually work with any kind of views. The prior implementation did not work on mixed based views (function, class). | 02 August 2017, 15:39:47 UTC |
1f07d0b | Antoine R. Dumont (@ardumont) | 02 August 2017, 14:08:45 UTC | views: Use class-based view to serve query | 02 August 2017, 14:08:45 UTC |
a1ea2ba | Antoine R. Dumont (@ardumont) | 02 August 2017, 13:06:33 UTC | models: Simplify db model | 02 August 2017, 14:08:32 UTC |
77d0d0a | Antoine R. Dumont (@ardumont) | 02 August 2017, 11:53:20 UTC | views: Add basic authentication on a per view basis | 02 August 2017, 14:02:38 UTC |
613fbb1 | Antoine R. Dumont (@ardumont) | 02 August 2017, 11:42:32 UTC | views: Add missing license headers | 02 August 2017, 11:42:32 UTC |
1fca331 | Antoine R. Dumont (@ardumont) | 01 August 2017, 10:20:21 UTC | Makefile: Install basic operations | 01 August 2017, 10:23:27 UTC |
8fab450 | Antoine R. Dumont (@ardumont) | 01 August 2017, 10:11:42 UTC | setup: Remove unused apps | 01 August 2017, 10:23:17 UTC |
3389b03 | Antoine R. Dumont (@ardumont) | 01 August 2017, 10:03:18 UTC | flake8: Exclude generated files from being checked for pep errors Also: - reinstall the pre-commit hook - fix the minor pep violations | 01 August 2017, 10:21:18 UTC |
21b4a9a | Antoine R. Dumont (@ardumont) | 01 August 2017, 09:44:30 UTC | Deployment: Move files within the swh/deposit/ subfolder | 01 August 2017, 10:21:18 UTC |
118bee4 | Antoine R. Dumont (@ardumont) | 01 August 2017, 09:10:30 UTC | swh.wsgi: Adapt application endpoint for deployment | 01 August 2017, 09:10:30 UTC |
c30dda6 | Antoine R. Dumont (@ardumont) | 31 July 2017, 14:43:49 UTC | d/control: Adapt runtime dependencies | 31 July 2017, 14:55:26 UTC |
401b23a | Antoine R. Dumont (@ardumont) | 31 July 2017, 14:42:56 UTC | Makefile: Adapt Makefile and local test configuration | 31 July 2017, 14:43:20 UTC |
f5dd2a3 | Antoine R. Dumont (@ardumont) | 31 July 2017, 14:42:40 UTC | cleanup dead code | 31 July 2017, 14:42:40 UTC |
25da26b | Antoine R. Dumont (@ardumont) | 31 July 2017, 13:53:50 UTC | views/client: Use proper get_client_or_404 shortcut | 31 July 2017, 13:56:34 UTC |
3ed5091 | Antoine R. Dumont (@ardumont) | 31 July 2017, 13:34:18 UTC | views: Simplify rendering step using django.shortcuts.render | 31 July 2017, 13:34:18 UTC |
7c47265 | Antoine R. Dumont (@ardumont) | 31 July 2017, 13:09:13 UTC | views: Use swh's configuration file in service document url | 31 July 2017, 13:27:44 UTC |
1740a6d | Antoine R. Dumont (@ardumont) | 31 July 2017, 12:52:09 UTC | views: Add basic service document rendering | 31 July 2017, 12:55:43 UTC |
4e141e9 | Antoine R. Dumont (@ardumont) | 31 July 2017, 10:47:03 UTC | views: Add basic views to list clients | 31 July 2017, 12:51:55 UTC |
2679803 | Antoine R. Dumont (@ardumont) | 31 July 2017, 09:59:49 UTC | admin: Register models to permit administration from web admin part | 31 July 2017, 09:59:49 UTC |
81cdd31 | Antoine R. Dumont (@ardumont) | 31 July 2017, 09:01:06 UTC | models: Add __str__ methods to model objects | 31 July 2017, 09:44:14 UTC |
c6d1368 | Antoine R. Dumont (@ardumont) | 31 July 2017, 08:14:18 UTC | model: Initial data injection Created from the previous steps: ``` python3 -m manage dbshell > insert into dbversion(version, description) values (1, 'Work in Progress'); > insert into client(name) values ('hal'); > exit python3 -m manage dumpdata --format=yaml > test.yaml rm test.yaml python3 -m manage loaddata data_deposit ``` | 31 July 2017, 09:44:13 UTC |
ec911f0 | Antoine R. Dumont (@ardumont) | 31 July 2017, 08:13:31 UTC | model: Initial schema population ``` python3 -m manage makemigrations ``` | 31 July 2017, 09:44:13 UTC |
dcf8c90 | Antoine R. Dumont (@ardumont) | 31 July 2017, 08:13:06 UTC | model: Minor schema fixes - Use default time for dbversion release field - deposit.complete_date can be null (it's updated when the deposit is deemed complete, in the mean time, it's null) | 31 July 2017, 09:15:39 UTC |
95009a8 | Antoine R. Dumont (@ardumont) | 28 July 2017, 15:13:18 UTC | sql: Let the orm layer take care of the schema ``` python3 -m manage makemigrations python3 -m manage sqlmigrate deposit 0001 python3 -m manage migrate ``` | 28 July 2017, 15:13:46 UTC |
09600d9 | Antoine R. Dumont (@ardumont) | 28 July 2017, 14:50:36 UTC | app: Install swh.deposit application | 28 July 2017, 14:50:36 UTC |
17b83de | Antoine R. Dumont (@ardumont) | 28 July 2017, 14:33:40 UTC | views: Add a basic view | 28 July 2017, 14:41:21 UTC |
91d65ad | Antoine R. Dumont (@ardumont) | 28 July 2017, 14:31:23 UTC | models: Initialize orm model | 28 July 2017, 14:41:21 UTC |
1548d14 | Antoine R. Dumont (@ardumont) | 28 July 2017, 14:30:55 UTC | app: Initialize django plumbing ``` python3 -m manage startapp deposit ``` | 28 July 2017, 14:40:25 UTC |
d5fb8db | Antoine R. Dumont (@ardumont) | 28 July 2017, 13:56:58 UTC | project: Initialize django plumbing ``` cd swh-deposit django-admin startproject swh ``` | 28 July 2017, 14:40:25 UTC |
f869720 | Antoine R. Dumont (@ardumont) | 16 June 2017, 13:21:31 UTC | swh.deposit.server: Add basic middleware for authentication | 28 July 2017, 12:50:56 UTC |
02a1128 | Antoine R. Dumont (@ardumont) | 16 June 2017, 10:23:17 UTC | requirements: Fix wrong name | 28 July 2017, 12:50:55 UTC |
34bb7e9 | Antoine R. Dumont (@ardumont) | 16 June 2017, 09:02:04 UTC | swh.deposit.server: Fix missing module in package | 28 July 2017, 12:50:55 UTC |
f1c9d5b | Antoine R. Dumont (@ardumont) | 16 June 2017, 09:20:05 UTC | Makefile: Explicit the dev mode to run in debug mode | 28 July 2017, 12:50:55 UTC |
5437243 | Morane Otilia Gruenpeter | 23 June 2017, 15:47:54 UTC | Refactor specifications to README Summary: Context: SWH, Inria and the CCSD (in charge of the HAL's archive) are working on pushing HAL's source code deposit into SWH with SWORD protocol. This specs were edited by ardumont and myself on the notepad available on: https://pad.riseup.net/p/t4mJsj9RB0OQ Reviewers: ardumont Differential Revision: https://forge.softwareheritage.org/D220 | 13 July 2017, 10:03:01 UTC |
fbb1b6b | Morane Otilia Gruenpeter | 23 June 2017, 15:47:54 UTC | Added specifications to README Summary: Context: SWH, Inria and the CCSD (in charge of the HAL's archive) are working on pushing HAL's source code deposit into SWH with SWORD protocol. This specs were edited by ardumont and myself on the notepad available on: https://pad.riseup.net/p/t4mJsj9RB0OQ Reviewers: ardumont Differential Revision: https://forge.softwareheritage.org/D218 note: deleted docs/specs.md to remove redundancy | 29 June 2017, 08:44:56 UTC |
b8a3e9c | Antoine R. Dumont (@ardumont) | 14 June 2017, 11:44:03 UTC | swh.deposit.backend: Fix db connection initialization Related T718 | 14 June 2017, 11:48:20 UTC |
73ec93a | Antoine R. Dumont (@ardumont) | 14 June 2017, 09:54:53 UTC | packaging: Fix missing information for correct packaging Also remove unused dependencies | 14 June 2017, 10:47:10 UTC |
0553dfa | Antoine R. Dumont (@ardumont) | 14 June 2017, 09:38:01 UTC | swh.deposit.server: Adapt default configuration to the right one | 14 June 2017, 09:38:01 UTC |
c49c50e | Antoine R. Dumont (@ardumont) | 14 June 2017, 09:13:07 UTC | swh.deposit.server: Add new endpoint to permit deployment | 14 June 2017, 09:13:51 UTC |
f693618 | Antoine R. Dumont (@ardumont) | 12 June 2017, 17:08:40 UTC | Add basic backend to operate on db | 13 June 2017, 14:24:41 UTC |
cbced0f | Antoine R. Dumont (@ardumont) | 12 June 2017, 17:08:27 UTC | sql: Add data | 12 June 2017, 17:08:27 UTC |
900b291 | Antoine R. Dumont (@ardumont) | 12 June 2017, 16:23:58 UTC | sql: Fix typo | 12 June 2017, 16:23:58 UTC |
6a03ad4 | Antoine R. Dumont (@ardumont) | 12 June 2017, 11:26:15 UTC | Refactor: Define endpoints in class This permits to share state (e.g configuration) between those endpoints. | 12 June 2017, 11:38:17 UTC |
8e6fd7f | Antoine R. Dumont (@ardumont) | 12 June 2017, 11:25:13 UTC | Refactor: Rename variable appropriately | 12 June 2017, 11:25:13 UTC |
89f6d57 | Antoine R. Dumont (@ardumont) | 09 June 2017, 15:12:13 UTC | sql: Update on schema | 09 June 2017, 15:12:13 UTC |
ad8be0e | Antoine R. Dumont (@ardumont) | 09 June 2017, 10:53:43 UTC | doc: update specification | 09 June 2017, 10:53:43 UTC |
f9ace38 | Antoine R. Dumont (@ardumont) | 09 June 2017, 08:32:06 UTC | d/control: Rename from swh.sword to swh.deposit | 09 June 2017, 08:32:06 UTC |
be33ca6 | Antoine R. Dumont (@ardumont) | 07 June 2017, 14:27:21 UTC | sql: Update schema | 09 June 2017, 08:28:51 UTC |
13f3821 | Antoine R. Dumont (@ardumont) | 07 June 2017, 13:29:45 UTC | Add service document endpoint | 07 June 2017, 14:26:44 UTC |
dc9849c | Antoine R. Dumont (@ardumont) | 07 June 2017, 12:56:42 UTC | Add basic update on spec | 07 June 2017, 12:56:42 UTC |
be2f696 | Antoine R. Dumont (@ardumont) | 24 May 2017, 13:08:50 UTC | Update specification about the update use case | 24 May 2017, 13:08:50 UTC |
65ed7d9 | Antoine R. Dumont (@ardumont) | 24 May 2017, 13:08:18 UTC | Add a new status + explicit status meaning | 24 May 2017, 13:08:18 UTC |
02025e8 | Antoine R. Dumont (@ardumont) | 24 May 2017, 10:43:13 UTC | Add first schema model draft | 24 May 2017, 10:43:13 UTC |
8742db4 | Antoine R. Dumont (@ardumont) | 23 May 2017, 14:27:42 UTC | Add iteration on specs | 23 May 2017, 14:27:42 UTC |
f48381a | Antoine R. Dumont (@ardumont) | 22 May 2017, 18:17:23 UTC | debian/*: Prepare package | 22 May 2017, 18:17:23 UTC |
ddf4ddf | Antoine R. Dumont (@ardumont) | 22 May 2017, 18:17:14 UTC | Remove poc notion in name | 22 May 2017, 18:17:14 UTC |
4a66d2c | Antoine R. Dumont (@ardumont) | 22 May 2017, 18:12:34 UTC | Improve sentence phrasing | 22 May 2017, 18:12:34 UTC |