Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python impl of API ident harmonization | Bryan Newbold | 2018-12-24 | 11 | -173/+173 |
| | |||||
* | rust impl of API harmonization | Bryan Newbold | 2018-12-24 | 6 | -66/+66 |
| | |||||
* | API harmonization codegen | Bryan Newbold | 2018-12-24 | 14 | -1861/+1944 |
| | |||||
* | significantly harmonize API 'id' parameters | Bryan Newbold | 2018-12-24 | 1 | -79/+79 |
| | | | | | | | | | | | | | | | | This commit is to reduce confusion and ambiguity between: entity idents ('ident'), editor ids ('editor_id'), editgroup ids ('editgroup_id'), entity edit ids ('edit_id'), entity revision ids ('rev_id'). Additionally, 'file.releases' is now 'file.release_ids'. The biggest downside of this patch, to me, is the verbosity of passing things like: api.create_entity(entity, editgroup_id=eg.editgroup_id) Previously, "editgroup_id=eg.id" could be used. I think this is acceptable though. | ||||
* | implement release_year (and rustfmt) | Bryan Newbold | 2018-12-24 | 15 | -38/+160 |
| | |||||
* | codegen release_year | Bryan Newbold | 2018-12-24 | 6 | -7/+47 |
| | |||||
* | add release_year (for when whole date isn't available) | Bryan Newbold | 2018-12-24 | 1 | -0/+4 |
| | |||||
* | verify checksum against regexes | Bryan Newbold | 2018-12-21 | 6 | -22/+141 |
| | |||||
* | clarify expand of non-concrete release | Bryan Newbold | 2018-12-21 | 1 | -2/+5 |
| | |||||
* | more subentity/UI tests | Bryan Newbold | 2018-12-21 | 1 | -0/+224 |
| | |||||
* | expand files for target of redirect | Bryan Newbold | 2018-12-21 | 1 | -1/+6 |
| | |||||
* | don't expand deleted entities | Bryan Newbold | 2018-12-21 | 1 | -0/+4 |
| | |||||
* | start handling redirects and deletions in webface | Bryan Newbold | 2018-12-21 | 2 | -0/+63 |
| | |||||
* | SHA1 no longer required on file entities | Bryan Newbold | 2018-12-21 | 1 | -1/+1 |
| | |||||
* | allow expand creators in release gets | Bryan Newbold | 2018-12-21 | 2 | -1/+13 |
| | |||||
* | test prev_rev behavior | Bryan Newbold | 2018-12-21 | 2 | -9/+38 |
| | |||||
* | more edit edgecases; editgroup status check | Bryan Newbold | 2018-12-21 | 6 | -2/+130 |
| | |||||
* | more state/edit edge case tests | Bryan Newbold | 2018-12-21 | 5 | -88/+259 |
| | |||||
* | better name for api_entity_state py tests | Bryan Newbold | 2018-12-21 | 1 | -0/+0 |
| | |||||
* | more redirect/state tests | Bryan Newbold | 2018-12-21 | 1 | -0/+15 |
| | |||||
* | GET methods not in transactions | Bryan Newbold | 2018-12-20 | 1 | -15/+15 |
| | |||||
* | ident table redirect lookups | Bryan Newbold | 2018-12-20 | 1 | -0/+5 |
| | |||||
* | fix order of entity update | Bryan Newbold | 2018-12-20 | 1 | -17/+20 |
| | |||||
* | update TODO | Bryan Newbold | 2018-12-20 | 1 | -88/+34 |
| | |||||
* | disallow self-redirects | Bryan Newbold | 2018-12-20 | 2 | -4/+37 |
| | |||||
* | update redirect tests | Bryan Newbold | 2018-12-20 | 1 | -22/+66 |
| | |||||
* | enforce no-recursive-redirects | Bryan Newbold | 2018-12-20 | 1 | -12/+39 |
| | |||||
* | allow deletion of redirect-to-deletion | Bryan Newbold | 2018-12-20 | 2 | -2/+3 |
| | |||||
* | note scope of entity merge endpoint | Bryan Newbold | 2018-12-20 | 1 | -1/+1 |
| | |||||
* | redirects TODO list | Bryan Newbold | 2018-12-19 | 1 | -1/+89 |
| | |||||
* | test codegen | Bryan Newbold | 2018-12-14 | 1 | -0/+120 |
| | | | | | I didn't actually notice until recently that these are empty and thus useless, sigh. | ||||
* | whole bunch of entity redirect tests (python) | Bryan Newbold | 2018-12-14 | 2 | -0/+342 |
| | | | | | Some of the edge cases are marked skip while I re-think what behavior should actually be. | ||||
* | multiple lookup extids (web view, no tests yet) | Bryan Newbold | 2018-12-14 | 1 | -12/+25 |
| | |||||
* | python codegen | Bryan Newbold | 2018-12-14 | 6 | -123/+2162 |
| | |||||
* | many redirect implementations | Bryan Newbold | 2018-12-14 | 5 | -38/+272 |
| | | | | | | | | | | | | | | | | | | Probably should have split this commit up, it's huge: - accept the state of "redirect to a deletion", where redirect_id is Some but rev_id is None. call this a "redirect"; previously this was an invalid state. - GET for a deleted entity returns a 200 and a stub entity, not a 404 - to PUT a redirect, or to "revert" an entity to point at a specific pre-existing revision, PUT a stub entity. things are getting messy here... to detect this state, ensure the 'state' field is blank/none (this is for API usage ergonomics, where results from a GET are often re-used in a PUT or even POST) - rustfmt - maybe even more small tweaks along the way? mystery meat! Tests are in python, not rust (and a future commit) | ||||
* | fix brittle/flapping python matched test | Bryan Newbold | 2018-12-14 | 1 | -4/+6 |
| | |||||
* | better return status for some error conditions | Bryan Newbold | 2018-12-14 | 3 | -13/+31 |
| | |||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 4 | -35/+240 |
| | |||||
* | rust codegen | Bryan Newbold | 2018-12-14 | 10 | -65/+248 |
| | |||||
* | new rustfmt (1.31) | Bryan Newbold | 2018-12-14 | 6 | -77/+127 |
| | |||||
* | more lookup schema tweaks | Bryan Newbold | 2018-12-14 | 1 | -4/+28 |
| | | | | Changed argument orders; added core_id lookups; allow expand in lookups | ||||
* | skeleton out new schema features | Bryan Newbold | 2018-12-13 | 5 | -75/+493 |
| | |||||
* | schema tweaks, and rust codegen | Bryan Newbold | 2018-12-13 | 11 | -156/+6071 |
| | |||||
* | rustfmt | Bryan Newbold | 2018-12-13 | 1 | -1/+5 |
| | |||||
* | proposed API schema changes for redirects | Bryan Newbold | 2018-12-13 | 1 | -10/+440 |
| | | | | | | | | | | | Mostly backwards compatible for clients (but not server). - lookup by additional parameters - no entity parameters are required; this makes PUT updates for redirects possible - GET for entity revisions - GET and DELETE for individual entity edits - GET to list idents redirected to a given ident | ||||
* | need libsnappy-dev for CI | Bryan Newbold | 2018-12-10 | 1 | -1/+1 |
| | |||||
* | add python-snappy (for pykafka) | Bryan Newbold | 2018-12-10 | 2 | -31/+40 |
| | |||||
* | remove textIcuSearch elastic filter | Bryan Newbold | 2018-12-03 | 1 | -1/+0 |
| | | | | | | | This was breaking, eg, DOI search with non-trivial characters. Because we set the tokenizer on individual fields, shouldn't be necessary on the whole query. | ||||
* | random TODO link | Bryan Newbold | 2018-12-03 | 1 | -0/+1 |
| | |||||
* | fix empty ISSN bug (container view) | Bryan Newbold | 2018-12-03 | 1 | -2/+2 |
| |