aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove redundant transform_release.py ES scriptBryan Newbold2018-12-242-88/+1
|
* implement transform-releases in export scriptBryan Newbold2018-12-241-1/+20
|
* python impl of API ident harmonizationBryan Newbold2018-12-2411-173/+173
|
* rust impl of API harmonizationBryan Newbold2018-12-246-66/+66
|
* API harmonization codegenBryan Newbold2018-12-2414-1861/+1944
|
* significantly harmonize API 'id' parametersBryan Newbold2018-12-241-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 Newbold2018-12-2415-38/+160
|
* codegen release_yearBryan Newbold2018-12-246-7/+47
|
* add release_year (for when whole date isn't available)Bryan Newbold2018-12-241-0/+4
|
* verify checksum against regexesBryan Newbold2018-12-216-22/+141
|
* clarify expand of non-concrete releaseBryan Newbold2018-12-211-2/+5
|
* more subentity/UI testsBryan Newbold2018-12-211-0/+224
|
* expand files for target of redirectBryan Newbold2018-12-211-1/+6
|
* don't expand deleted entitiesBryan Newbold2018-12-211-0/+4
|
* start handling redirects and deletions in webfaceBryan Newbold2018-12-212-0/+63
|
* SHA1 no longer required on file entitiesBryan Newbold2018-12-211-1/+1
|
* allow expand creators in release getsBryan Newbold2018-12-212-1/+13
|
* test prev_rev behaviorBryan Newbold2018-12-212-9/+38
|
* more edit edgecases; editgroup status checkBryan Newbold2018-12-216-2/+130
|
* more state/edit edge case testsBryan Newbold2018-12-215-88/+259
|
* better name for api_entity_state py testsBryan Newbold2018-12-211-0/+0
|
* more redirect/state testsBryan Newbold2018-12-211-0/+15
|
* GET methods not in transactionsBryan Newbold2018-12-201-15/+15
|
* ident table redirect lookupsBryan Newbold2018-12-201-0/+5
|
* fix order of entity updateBryan Newbold2018-12-201-17/+20
|
* update TODOBryan Newbold2018-12-201-88/+34
|
* disallow self-redirectsBryan Newbold2018-12-202-4/+37
|
* update redirect testsBryan Newbold2018-12-201-22/+66
|
* enforce no-recursive-redirectsBryan Newbold2018-12-201-12/+39
|
* allow deletion of redirect-to-deletionBryan Newbold2018-12-202-2/+3
|
* note scope of entity merge endpointBryan Newbold2018-12-201-1/+1
|
* redirects TODO listBryan Newbold2018-12-191-1/+89
|
* test codegenBryan Newbold2018-12-141-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 Newbold2018-12-142-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 Newbold2018-12-141-12/+25
|
* python codegenBryan Newbold2018-12-146-123/+2162
|
* many redirect implementationsBryan Newbold2018-12-145-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 testBryan Newbold2018-12-141-4/+6
|
* better return status for some error conditionsBryan Newbold2018-12-143-13/+31
|
* lookups implBryan Newbold2018-12-144-35/+240
|
* rust codegenBryan Newbold2018-12-1410-65/+248
|
* new rustfmt (1.31)Bryan Newbold2018-12-146-77/+127
|
* more lookup schema tweaksBryan Newbold2018-12-141-4/+28
| | | | Changed argument orders; added core_id lookups; allow expand in lookups
* skeleton out new schema featuresBryan Newbold2018-12-135-75/+493
|
* schema tweaks, and rust codegenBryan Newbold2018-12-1311-156/+6071
|
* rustfmtBryan Newbold2018-12-131-1/+5
|
* proposed API schema changes for redirectsBryan Newbold2018-12-131-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 CIBryan Newbold2018-12-101-1/+1
|
* add python-snappy (for pykafka)Bryan Newbold2018-12-102-31/+40
|
* remove textIcuSearch elastic filterBryan Newbold2018-12-031-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.