Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'http-verbs' into cockroach | Bryan Newbold | 2018-09-09 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | | | Manually merged conflicts: rust/migrations/2018-05-12-001226_init/up.sql rust/src/api_server.rs rust/src/database_schema.rs | ||||
| * | fmt | Bryan Newbold | 2018-09-07 | 1 | -1/+1 |
| | | |||||
| * | major CRUD refactor | Bryan Newbold | 2018-09-07 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
| * | correct EditgroupAlreadyAccepted response | Bryan Newbold | 2018-08-31 | 1 | -0/+4 |
| | | |||||
* | | cockroach: don't auto-wipe tables in tests (for now) | Bryan Newbold | 2018-08-14 | 1 | -3/+3 |
|/ | | | | | This fixes the OID type 114 bug; schema had been updated, but didn't update insert statements/casts. | ||||
* | pull in sha1 library (for abstracts) | Bryan Newbold | 2018-07-25 | 1 | -0/+1 |
| | |||||
* | more external ident handling | Bryan Newbold | 2018-07-25 | 1 | -0/+7 |
| | |||||
* | whole bunch of clippy fixes | Bryan Newbold | 2018-07-24 | 1 | -1/+2 |
| | |||||
* | rust: base32 encoded idents | Bryan Newbold | 2018-07-20 | 1 | -20/+6 |
| | |||||
* | entity ident (fcid) UUID helpers | Bryan Newbold | 2018-07-20 | 1 | -0/+21 |
| | | | | | Could perhaps implement these as impl methods on the uuid::Uuid struct instead? | ||||
* | refactor massive rust api_server into api_wrappers | Bryan Newbold | 2018-06-30 | 1 | -0/+1 |
| | | | | | The wrappers file contains the "glue" code to map to fatcat-api (openapi2 codegen) function signatures. | ||||
* | actually log errors | Bryan Newbold | 2018-06-21 | 1 | -0/+2 |
| | |||||
* | implement (most) of stats endpoint | Bryan Newbold | 2018-06-19 | 1 | -0/+2 |
| | |||||
* | batch POST methods | Bryan Newbold | 2018-05-27 | 1 | -0/+1 |
| | |||||
* | WIP on API spec improvements | Bryan Newbold | 2018-05-24 | 1 | -3/+2 |
| | | | | Fixes a bunch of i64/i32/isize stuff | ||||
* | basic test for editgroup accept | Bryan Newbold | 2018-05-24 | 1 | -13/+18 |
| | |||||
* | get_or_create_editgroup() helper for POSTs | Bryan Newbold | 2018-05-24 | 1 | -0/+1 |
| | |||||
* | clean up unused macro etc warnings | Bryan Newbold | 2018-05-24 | 1 | -2/+0 |
| | |||||
* | run diesel migrations in tests | Bryan Newbold | 2018-05-24 | 1 | -2/+18 |
| | |||||
* | use diesel::r2d2 instead of r2d2 directly | Bryan Newbold | 2018-05-24 | 1 | -3/+2 |
| | |||||
* | refactor error handling | Bryan Newbold | 2018-05-15 | 1 | -1/+11 |
| | |||||
* | fmt | Bryan Newbold | 2018-05-15 | 1 | -2/+2 |
| | |||||
* | hack around JSON serialization for now | Bryan Newbold | 2018-05-15 | 1 | -0/+1 |
| | |||||
* | progress on database lookup | Bryan Newbold | 2018-05-15 | 1 | -1/+5 |
| | |||||
* | more cleanups | Bryan Newbold | 2018-05-15 | 1 | -1/+1 |
| | |||||
* | start ripping out cruft | Bryan Newbold | 2018-05-15 | 1 | -4/+2 |
| | |||||
* | fmt | Bryan Newbold | 2018-05-15 | 1 | -12/+16 |
| | |||||
* | working db_pool and response | Bryan Newbold | 2018-05-15 | 1 | -3/+14 |
| | |||||
* | fix build (non-functional though) | Bryan Newbold | 2018-05-15 | 1 | -1/+0 |
| | |||||
* | broken diesel+iron integration | Bryan Newbold | 2018-05-15 | 1 | -0/+2 |
| | |||||
* | implement HTTP header middleware | Bryan Newbold | 2018-05-15 | 1 | -3/+18 |
| | | | | getting more familar with iron | ||||
* | revert to v2.3.1 codegen | Bryan Newbold | 2018-05-15 | 1 | -15/+3 |
| | | | | | This reverts back to something compatible with Iron and simple (blocking) parallelism, instead of the new async hyper 0.11 stuff. | ||||
* | regenerated and pseudo-integrated | Bryan Newbold | 2018-05-14 | 1 | -6/+34 |
| | |||||
* | add scratch rust stuff | Bryan Newbold | 2018-05-13 | 1 | -0/+18 |