storj/satellite/console
Michal Niewrzal f731267e8c Per-project usage limiting (#2036)
What: Changes to support custom usage limit for the project. With this implementation by default project usage limit is taken from configuration flag. If project DB field usage_limit will be set to value larger than 0 it will become custom usage limit and we will be used to verify is limit was exceeded.

Whats changed:

usage_limit (bigint) field added to projects table (with migration)
things related to project usage moved from metainfo endpoint to project usage type
accounting.ProjectAccounting extended with GetProjectUsageLimits() method
Why: We need to have different usage limits per project. https://storjlabs.atlassian.net/browse/V3-1814
2019-05-28 09:36:52 -06:00
..
consoleauth Add console to satellite peer (#1120) 2019-01-24 18:26:36 +02:00
consoleweb Fixes Auth Issue (#2064) 2019-05-28 16:32:51 +02:00
apikeys_test.go server side macaroons (#1945) 2019-05-24 10:51:27 -06:00
apikeys.go server side macaroons (#1945) 2019-05-24 10:51:27 -06:00
auth.go V3-1399 Error messages (#1715) 2019-04-10 03:15:12 +03:00
database.go ResetPassword Table and all CRUD methods. (#1916) 2019-05-13 18:53:52 +03:00
projectmembers_test.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
projectmembers.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
projects_test.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
projects.go Per-project usage limiting (#2036) 2019-05-28 09:36:52 -06:00
registrationtoken.go V3-1319 Add an authorization token field for account creation backend (#1492) 2019-03-19 19:55:43 +02:00
resetpasswordtoken_test.go ResetPassword Table and all CRUD methods. (#1916) 2019-05-13 18:53:52 +03:00
resetpasswordtoken.go ResetPassword Table and all CRUD methods. (#1916) 2019-05-13 18:53:52 +03:00
service.go server side macaroons (#1945) 2019-05-24 10:51:27 -06:00
usagerollups_test.go Console buckets page (#1847) 2019-05-16 13:43:46 +03:00
usagerollups.go Console buckets page (#1847) 2019-05-16 13:43:46 +03:00
users_test.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
users.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
validation.go V3-1399 Error messages (#1715) 2019-04-10 03:15:12 +03:00