Commit graph

7 commits

Author SHA1 Message Date
Maciej Szlosarczyk
c7f95c41a2
Split "big" method into two smaller ones 2020-05-28 14:24:18 +03:00
Maciej Szlosarczyk
011967d8ea
Add disputes to the list of retained domains 2020-05-28 13:33:52 +03:00
Maciej Szlosarczyk
56e3784aa4
Use constants instead of strings 2020-05-15 14:52:11 +03:00
Maciej Szlosarczyk
6e5a97ad4d
Add handling of type filters and handling of ETags
Add API documentation and test cases around ETags for the API.
2020-05-15 14:43:18 +03:00
Maciej Szlosarczyk
960e4084e3
Properly match against class
Turns out I was wrong 😅
2020-05-14 15:26:33 +03:00
Maciej Szlosarczyk
88a3a2ebac
Make Rubocop less whiny about things 2020-05-14 14:59:17 +03:00
Maciej Szlosarczyk
18ce853420
Simple implementation of retained domains API endpoint
This needed a new name, there are several classes of database object
to be included in that endpoint.

Currently, there is one list ordered by name, with each object
containing status and ascii name for convenience. Can be converted to
multiple fields (reserved and blocked separately). Also contains total
count.

Includes CORS preflight which seems to be a known problem for Rails in
the past.
2020-05-14 14:49:02 +03:00