Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix order of entity update | Bryan Newbold | 2018-12-20 | 1 | -17/+20 |
| | |||||
* | disallow self-redirects | Bryan Newbold | 2018-12-20 | 1 | -4/+13 |
| | |||||
* | enforce no-recursive-redirects | Bryan Newbold | 2018-12-20 | 1 | -12/+39 |
| | |||||
* | allow deletion of redirect-to-deletion | Bryan Newbold | 2018-12-20 | 2 | -2/+3 |
| | |||||
* | many redirect implementations | Bryan Newbold | 2018-12-14 | 5 | -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) | ||||
* | better return status for some error conditions | Bryan Newbold | 2018-12-14 | 3 | -13/+31 |
| | |||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 4 | -35/+240 |
| | |||||
* | rust codegen | Bryan Newbold | 2018-12-14 | 10 | -65/+248 |
| | |||||
* | new rustfmt (1.31) | Bryan Newbold | 2018-12-14 | 6 | -77/+127 |
| | |||||
* | skeleton out new schema features | Bryan Newbold | 2018-12-13 | 5 | -75/+493 |
| | |||||
* | schema tweaks, and rust codegen | Bryan Newbold | 2018-12-13 | 10 | -142/+6057 |
| | |||||
* | rustfmt | Bryan Newbold | 2018-12-13 | 1 | -1/+5 |
| | |||||
* | implement hide flag | Bryan Newbold | 2018-11-26 | 7 | -110/+242 |
| | |||||
* | codegen hide changes | Bryan Newbold | 2018-11-26 | 8 | -126/+422 |
| | |||||
* | update TODOs | Bryan Newbold | 2018-11-14 | 1 | -0/+1 |
| | |||||
* | add (disabled) test that invalid fields should error | Bryan Newbold | 2018-11-14 | 1 | -0/+16 |
| | |||||
* | implement new controlled vocabularies | Bryan Newbold | 2018-11-14 | 3 | -16/+49 |
| | |||||
* | enforce some controlled vocabularies in API | Bryan Newbold | 2018-11-14 | 4 | -0/+128 |
| | |||||
* | disable breaking CI test | Bryan Newbold | 2018-11-14 | 2 | -3/+6 |
| | | | | | See commit comment for details; a problem with gitlab CI and setup() function, not the test in particular. Grump. | ||||
* | fix date/datetime confusion on rust/API side | Bryan Newbold | 2018-11-14 | 4 | -6/+72 |
| | | | | | | 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 | Bryan Newbold | 2018-11-14 | 4 | -59/+105 |
| | |||||
* | try slowing down rust tests to fix socket collision | Bryan Newbold | 2018-11-13 | 1 | -0/+3 |
| | |||||
* | remove neadless second basic api client test | Bryan Newbold | 2018-11-13 | 1 | -10/+0 |
| | |||||
* | bump rust and postgres versions | Bryan Newbold | 2018-11-13 | 1 | -2/+2 |
| | |||||
* | another old python test (doesn't merge) | Bryan Newbold | 2018-11-13 | 1 | -0/+83 |
| | |||||
* | start porting old python tests | Bryan Newbold | 2018-11-13 | 1 | -0/+148 |
| | |||||
* | fiddle with test helper functions | Bryan Newbold | 2018-11-13 | 3 | -145/+180 |
| | |||||
* | start using client in some tests | Bryan Newbold | 2018-11-13 | 3 | -0/+69 |
| | |||||
* | set default host in swagger spec to api.fatcat.wiki | Bryan Newbold | 2018-11-13 | 4 | -3/+4 |
| | |||||
* | update codegen (trivial) | Bryan Newbold | 2018-11-12 | 3 | -116/+115 |
| | |||||
* | pv in line mode during exports | Bryan Newbold | 2018-10-12 | 1 | -1/+1 |
| | |||||
* | better default file names | Bryan Newbold | 2018-09-25 | 1 | -1/+1 |
| | |||||
* | fix isbn13 size check (!) | Bryan Newbold | 2018-09-22 | 1 | -2/+2 |
| | |||||
* | update export command | Bryan Newbold | 2018-09-22 | 1 | -1/+1 |
| | |||||
* | rustfmt, and implement schema tweaks | Bryan Newbold | 2018-09-22 | 6 | -105/+75 |
| | |||||
* | container_name (not title), and shrink some BIGINTs | Bryan Newbold | 2018-09-22 | 1 | -4/+4 |
| | |||||
* | codegen fatcat-api-spec | Bryan Newbold | 2018-09-22 | 10 | -2809/+2979 |
| | |||||
* | 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 | 3 | -22/+23 |
| | |||||
* | UNIQUE constraint on edits (ident per editgroup) | Bryan Newbold | 2018-09-17 | 1 | -15/+10 |
| | |||||
* | use timestamptz (not WITHOUT TIME ZONE) | Bryan Newbold | 2018-09-17 | 1 | -8/+10 |
| | |||||
* | CHAR/VARCHAR -> TEXT w/ CHECK | Bryan Newbold | 2018-09-17 | 1 | -15/+28 |
| | |||||
* | remove is_not_null redundant lookup conditions | Bryan Newbold | 2018-09-15 | 1 | -12/+0 |
| | |||||
* | update extid columns: varchar size limits, no char columns | Bryan Newbold | 2018-09-15 | 1 | -15/+15 |
| | | | | | | | | | | | | In PostgreSQL, there is no query or size differences between CHAR, VARCHAR, and TEXT: they use the same backend. CHAR will pad out with spaces and VARCHAR enforces a size limit. The enforced VARCHAR size limit seems like ok defensive programming/schema here, preventing large values from getting stored for some columns. I have some FUD concern about fixed-sized identifiers and indexes, so switching old CHARs (eg, sha1 hex encoded columns) to VARCHAR instead. | ||||
* | remove duplicate response def from API spec | Bryan Newbold | 2018-09-13 | 1 | -4/+0 |
| | |||||
* | add missing fatcat-api-spec .gitignore | Bryan Newbold | 2018-09-13 | 1 | -0/+2 |
| | |||||
* | 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! |