Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more edit edgecases; editgroup status check | Bryan Newbold | 2018-12-21 | 1 | -0/+1 |
| | |||||
* | many redirect implementations | Bryan Newbold | 2018-12-14 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | 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) | ||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 1 | -26/+51 |
| | |||||
* | skeleton out new schema features | Bryan Newbold | 2018-12-13 | 1 | -37/+153 |
| | |||||
* | implement hide flag | Bryan Newbold | 2018-11-26 | 1 | -15/+25 |
| | |||||
* | rustfmt, and implement schema tweaks | Bryan Newbold | 2018-09-22 | 1 | -6/+3 |
| | |||||
* | remove is_not_null redundant lookup conditions | Bryan Newbold | 2018-09-15 | 1 | -12/+0 |
| | |||||
* | implement new editgroup_id behavior | Bryan Newbold | 2018-09-11 | 1 | -11/+3 |
| | |||||
* | refactor entity get and 'expansion' | Bryan Newbold | 2018-09-11 | 1 | -65/+18 |
| | |||||
* | finish fatcat-api => fatcat-api-spec refactor | Bryan Newbold | 2018-09-11 | 1 | -2/+2 |
| | |||||
* | new rustfmt | Bryan Newbold | 2018-09-11 | 1 | -17/+21 |
| | |||||
* | rust clippy (lint) tweaks | Bryan Newbold | 2018-09-11 | 1 | -6/+6 |
| | |||||
* | 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 |
| |