Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better return status for some error conditions | Bryan Newbold | 2018-12-14 | 3 | -13/+31 |
| | |||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 2 | -30/+85 |
| | |||||
* | new rustfmt (1.31) | Bryan Newbold | 2018-12-14 | 5 | -63/+114 |
| | |||||
* | skeleton out new schema features | Bryan Newbold | 2018-12-13 | 4 | -71/+485 |
| | |||||
* | implement hide flag | Bryan Newbold | 2018-11-26 | 5 | -105/+227 |
| | |||||
* | enforce some controlled vocabularies in API | Bryan Newbold | 2018-11-14 | 4 | -0/+128 |
| | |||||
* | fix date/datetime confusion on rust/API side | Bryan Newbold | 2018-11-14 | 1 | -5/+2 |
| | | | | | | Should have dug in to this earlier; python code was getting confused. This is a breaking API change, from a practical standpoint, as both python and rust code had been hacked to work around this. | ||||
* | rustfmt, and implement schema tweaks | Bryan Newbold | 2018-09-22 | 6 | -105/+75 |
| | |||||
* | squelch diesel macro warnings | Bryan Newbold | 2018-09-18 | 2 | -0/+4 |
| | |||||
* | fatcat-export rustfmt | Bryan Newbold | 2018-09-17 | 1 | -28/+50 |
| | |||||
* | re-generate database_schema.rs | Bryan Newbold | 2018-09-17 | 1 | -23/+23 |
| | |||||
* | fix CHECK clauses | Bryan Newbold | 2018-09-17 | 1 | -15/+15 |
| | |||||
* | remove is_not_null redundant lookup conditions | Bryan Newbold | 2018-09-15 | 1 | -12/+0 |
| | |||||
* | switch to new null (not \N) dump format | Bryan Newbold | 2018-09-13 | 1 | -4/+4 |
| | |||||
* | fix rust in-line tests, and parse_line takes ref | Bryan Newbold | 2018-09-12 | 2 | -7/+7 |
| | | | | Forgot to run tests before pushing... thanks CI! | ||||
* | improvements to fatcat-export output | Bryan Newbold | 2018-09-11 | 1 | -24/+65 |
| | |||||
* | improvements to fatcat-export | Bryan Newbold | 2018-09-11 | 1 | -28/+77 |
| | |||||
* | use idiomatic from_str for ExpandFlags | Bryan Newbold | 2018-09-11 | 2 | -14/+18 |
| | |||||
* | more subtle local ident check in release.db_expand() | Bryan Newbold | 2018-09-11 | 1 | -4/+4 |
| | |||||
* | first pass fast export | Bryan Newbold | 2018-09-11 | 2 | -1/+162 |
| | |||||
* | implement new editgroup_id behavior | Bryan Newbold | 2018-09-11 | 4 | -59/+52 |
| | |||||
* | refactor entity get and 'expansion' | Bryan Newbold | 2018-09-11 | 3 | -81/+64 |
| | |||||
* | derive PartialEq for FatCatId | Bryan Newbold | 2018-09-11 | 1 | -1/+1 |
| | |||||
* | add ExpandFlags type | Bryan Newbold | 2018-09-11 | 1 | -0/+72 |
| | |||||
* | finish fatcat-api => fatcat-api-spec refactor | Bryan Newbold | 2018-09-11 | 7 | -14/+14 |
| | |||||
* | new rustfmt | Bryan Newbold | 2018-09-11 | 2 | -26/+35 |
| | |||||
* | rust clippy (lint) tweaks | Bryan Newbold | 2018-09-11 | 4 | -14/+15 |
| | |||||
* | use JSONB over JSON | Bryan Newbold | 2018-09-10 | 1 | -13/+13 |
| | | | | | | Sort of an impulsive "why not" decision. From earlier tests, expect this to consume a few % more disk (but not index)... adds a lot more query flexibility if we want that in the future. Seems worth the price. | ||||
* | many small API cleanups | Bryan Newbold | 2018-09-10 | 5 | -193/+148 |
| | | | | | | - use FatCatId much more often (though not everywhere yet) - more consistent types - remove redundant error handling code in wrappers | ||||
* | continue CRUD refactor, removing CUD handlers | Bryan Newbold | 2018-09-10 | 4 | -276/+60 |
| | | | | | | | | Can't remove the "get" handlers because of the expand parameter, which is only implemented for releases and in the handler (not in the CRUD trait, yet). Also didn't do the batch handler stuff yet. | ||||
* | squelch unused macro warning | Bryan Newbold | 2018-09-10 | 1 | -0/+2 |
| | |||||
* | database_entity_crud -> api_entity_crud | Bryan Newbold | 2018-09-10 | 4 | -3/+3 |
| | |||||
* | generic edit accept, and per-row variant | Bryan Newbold | 2018-09-09 | 2 | -44/+158 |
| | | | | The per-row variant is for use with cockroach. | ||||
* | api_server: give up and use star schema import | Bryan Newbold | 2018-09-09 | 1 | -6/+1 |
| | |||||
* | parallelize abstracts insertion | Bryan Newbold | 2018-09-09 | 1 | -15/+20 |
| | |||||
* | TODO and comment | Bryan Newbold | 2018-09-07 | 1 | -1/+0 |
| | |||||
* | fixes after autoaccept merge | Bryan Newbold | 2018-09-07 | 4 | -49/+41 |
| | |||||
* | fmt | Bryan Newbold | 2018-09-07 | 5 | -207/+364 |
| | |||||
* | Merge branch 'autoaccept' into http-verbs | Bryan Newbold | 2018-09-07 | 2 | -3/+34 |
|\ | | | | | | | | | | | | | | | | | Started resolving conflicts in: TODO notes/cloud_instances.txt rust/fatcat-api/README.md rust/src/api_server.rs | ||||
| * | editgroup IDs are fcid, not uuid | Bryan Newbold | 2018-08-30 | 1 | -1/+1 |
| | | |||||
| * | editgroup parameter for batch inserts | Bryan Newbold | 2018-08-30 | 2 | -6/+21 |
| | | |||||
| * | implement autoaccept | Bryan Newbold | 2018-08-20 | 2 | -20/+46 |
| | | | | | | | | | | | | Need to review: - changelog creation - clobbering of existing editgroup flag | ||||
* | | fix/replace a lot of expect() calls | Bryan Newbold | 2018-09-07 | 2 | -47/+46 |
| | | |||||
* | | mostly done with CRUD refactor | Bryan Newbold | 2018-09-07 | 3 | -625/+745 |
| | | | | | | | | One failing test in this commit. | ||||
* | | batch inserts by default | Bryan Newbold | 2018-09-07 | 3 | -27/+95 |
| | | |||||
* | | generic create (multiple inserts) | Bryan Newbold | 2018-09-07 | 1 | -26/+24 |
| | | | | | | | | | | | | | | This does away entirely with the fancy CTE-based custom SQL inserts. Because performance is currently only important for batch inserts, I think this is acceptable, and will refactor to do batch inserts as actual batch SQL operations next. | ||||
* | | crud: refactor to split out rev insert | Bryan Newbold | 2018-09-07 | 1 | -43/+51 |
| | | |||||
* | | major CRUD refactor | Bryan Newbold | 2018-09-07 | 4 | -85/+302 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the start of a large refactor to move all entity CRUD (create, read, update, delete) model/database code into it's own file. HACKING has been updated with an overview of what happens in each file. Next steps: - split rev (and sub-table) insertion in to db_rev_insert and make create/update generic - inserts should be batch (vector) by default - move all other entities into this new trait framework - bypass api_server wrappers and call into CRUD from api_wrappers for entity ops (should be a big cleanup) | ||||
* | | skeleton create/delete endpoints for works | Bryan Newbold | 2018-09-06 | 2 | -2/+228 |
| | | | | | | | | Other entities just stubs | ||||
* | | correct EditgroupAlreadyAccepted response | Bryan Newbold | 2018-08-31 | 4 | -5/+14 |
|/ |