Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | many small API cleanups | Bryan Newbold | 2018-09-10 | 1 | -46/+44 |
| | | | | | | - 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 | 1 | -220/+1 |
| | | | | | | | | 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. | ||||
* | database_entity_crud -> api_entity_crud | Bryan Newbold | 2018-09-10 | 1 | -1/+1 |
| | |||||
* | api_server: give up and use star schema import | Bryan Newbold | 2018-09-09 | 1 | -6/+1 |
| | |||||
* | TODO and comment | Bryan Newbold | 2018-09-07 | 1 | -1/+0 |
| | |||||
* | fixes after autoaccept merge | Bryan Newbold | 2018-09-07 | 1 | -44/+35 |
| | |||||
* | fmt | Bryan Newbold | 2018-09-07 | 1 | -28/+65 |
| | |||||
* | Merge branch 'autoaccept' into http-verbs | Bryan Newbold | 2018-09-07 | 1 | -1/+30 |
|\ | | | | | | | | | | | | | | | | | 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 | 1 | -5/+19 |
| | | |||||
| * | implement autoaccept | Bryan Newbold | 2018-08-20 | 1 | -18/+43 |
| | | | | | | | | | | | | Need to review: - changelog creation - clobbering of existing editgroup flag | ||||
* | | fix/replace a lot of expect() calls | Bryan Newbold | 2018-09-07 | 1 | -3/+2 |
| | | |||||
* | | mostly done with CRUD refactor | Bryan Newbold | 2018-09-07 | 1 | -617/+70 |
| | | | | | | | | One failing test in this commit. | ||||
* | | batch inserts by default | Bryan Newbold | 2018-09-07 | 1 | -0/+1 |
| | | |||||
* | | major CRUD refactor | Bryan Newbold | 2018-09-07 | 1 | -85/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+122 |
| | | | | | | | | Other entities just stubs | ||||
* | | correct EditgroupAlreadyAccepted response | Bryan Newbold | 2018-08-31 | 1 | -1/+4 |
|/ | |||||
* | use index_val, not index, in SQL schema | Bryan Newbold | 2018-08-20 | 1 | -6/+6 |
| | |||||
* | add NOT NULL to other lookups | Bryan Newbold | 2018-08-19 | 1 | -0/+6 |
| | |||||
* | add hints for postgres query planner | Bryan Newbold | 2018-08-19 | 1 | -0/+6 |
| | |||||
* | trivial implementation of core_id field on releases | Bryan Newbold | 2018-08-14 | 1 | -3/+5 |
| | |||||
* | remove accidental println | Bryan Newbold | 2018-07-26 | 1 | -1/+0 |
| | |||||
* | refactoring; expand keyword impl | Bryan Newbold | 2018-07-25 | 1 | -43/+70 |
| | |||||
* | big transaction/conn refactor | Bryan Newbold | 2018-07-25 | 1 | -152/+85 |
| | |||||
* | have get_editgroup take optional conn | Bryan Newbold | 2018-07-25 | 1 | -9/+18 |
| | |||||
* | actually ON CONFLICT abstract creation (and test) | Bryan Newbold | 2018-07-25 | 1 | -3/+3 |
| | |||||
* | abstracts; more tests | Bryan Newbold | 2018-07-25 | 1 | -13/+53 |
| | |||||
* | more external ident handling | Bryan Newbold | 2018-07-25 | 1 | -10/+45 |
| | |||||
* | whole bunch of clippy fixes | Bryan Newbold | 2018-07-24 | 1 | -58/+58 |
| | |||||
* | partial implementation of new API features | Bryan Newbold | 2018-07-24 | 1 | -35/+84 |
| | |||||
* | oops, forgot revisions should be UUID | Bryan Newbold | 2018-07-20 | 1 | -5/+5 |
| | |||||
* | editor_id and editgroup_id as idents; revisions as raw UUID | Bryan Newbold | 2018-07-20 | 1 | -44/+44 |
| | |||||
* | rust: base32 encoded idents | Bryan Newbold | 2018-07-20 | 1 | -32/+32 |
| | |||||
* | refactor massive rust api_server into api_wrappers | Bryan Newbold | 2018-06-30 | 1 | -439/+53 |
| | | | | | The wrappers file contains the "glue" code to map to fatcat-api (openapi2 codegen) function signatures. | ||||
* | generic changelog endpoints | Bryan Newbold | 2018-06-30 | 1 | -7/+78 |
| | |||||
* | respect more flag for stats endpoint | Bryan Newbold | 2018-06-30 | 1 | -23/+30 |
| | |||||
* | fix release ref and contrib ordering | Bryan Newbold | 2018-06-30 | 1 | -0/+2 |
| | |||||
* | add remaining history endpoints | Bryan Newbold | 2018-06-30 | 1 | -82/+105 |
| | |||||
* | history for container entities | Bryan Newbold | 2018-06-30 | 1 | -0/+56 |
| | |||||
* | refactor changelog entry spec structure | Bryan Newbold | 2018-06-30 | 1 | -2/+2 |
| | |||||
* | auto-create works for releases | Bryan Newbold | 2018-06-28 | 1 | -2/+19 |
| | | | | | | | If a work_id isn't supplied, create a new work and link it. Note that the work_id doesn't get passed back in the response, only the release_id. | ||||
* | no more default/mangled HTTP status codes | Bryan Newbold | 2018-06-21 | 1 | -16/+21 |
| | |||||
* | actually log errors | Bryan Newbold | 2018-06-21 | 1 | -12/+30 |
| | |||||
* | handle UUID errors as HTTP 400 | Bryan Newbold | 2018-06-20 | 1 | -2/+6 |
| | |||||
* | consistent volume/issue/pages ordering | Bryan Newbold | 2018-06-19 | 1 | -3/+3 |
| | |||||
* | implement more of stats endpoint | Bryan Newbold | 2018-06-19 | 1 | -7/+53 |
| | |||||
* | implement (most) of stats endpoint | Bryan Newbold | 2018-06-19 | 1 | -3/+56 |
| | |||||
* | satisfy rustfmt | Bryan Newbold | 2018-06-19 | 1 | -1/+2 |
| | |||||
* | implement reverse lookups | Bryan Newbold | 2018-06-17 | 1 | -9/+80 |
| | |||||
* | update rust/api for schema extensions | Bryan Newbold | 2018-06-04 | 1 | -17/+39 |
| |