Egon Elbre
2268cc1df3
all: fix linter complaints
...
Change-Id: Ia01404dbb6bdd19a146fa10ff7302e08f87a8c95
2020-10-13 15:59:01 +03:00
Stefan Benten
2f648fd981
satellite: make limits be nullable
...
Currently we have no way to actually set one
of the following limits to 0 (meaning not usable):
- maxBuckets
- usageLimit
- bandwidthLimit
With having the field nullable,
NULL corresponds to the global default,
0 now actually 0 and
a set value determines a custom limit.
Change-Id: I92bb77529dcbd0881ae8368921be9d246eb0919e
2020-09-21 19:34:19 +00:00
stefanbenten
2cf12b9409
satellite/admin: use correct period end time to get results
...
Change-Id: Ib0e76f96e61b39c98f0f5f683b39d622d235c4d8
2020-09-09 09:01:42 +00:00
Stefan Benten
2111d90684
satellite/admin: add get handler for projects
...
Change-Id: Ibfb761b1c907b83451570c52eea03ecfa75290ca
2020-09-06 01:40:11 +02:00
stefanbenten
c7b86a3481
satellite/admin: add check project usage endpoint and fix some leftover http.Error handling
...
Change-Id: I1ae3e7cb723a553f9c5a3a752beab0a27b0293bc
2020-08-13 13:48:34 +00:00
stefanbenten
d654ab5fa0
satellite/admin: change returned data to be json encoded
...
Change-Id: I239779fe54328fe854fcbdd71f7906875cd76635
2020-08-05 15:33:39 +02:00
stefanbenten
2c2d284f3d
satellite/admin: add bucket limit handling endpoint
...
Change-Id: I4b199277cff30f11f4a9fff3b0ac4017b694f2e8
2020-07-15 17:27:23 +00:00
stefanbenten
0a32ba0e6b
satellite/admin: add project rename functionality
...
Change-Id: I4c0f42d4c2c26859279f247f94cef97a8ff630a9
2020-07-14 11:36:49 +00:00
stefanbenten
f768302c91
satellite/admin: harden project deletion requirements
...
Change-Id: Ia7ea469f87469b16e464dc22af24b98a6ef1873d
2020-07-14 11:36:29 +00:00
Egon Elbre
34db4a80fd
ci: fix staticcheck failures
...
Change-Id: I176fb24214755a1940a0a1a4e9cc8e39f184870b
2020-06-05 13:15:34 +00:00
Stefan Benten
17d3cb1551
satellite/admin: add user creation endpoint ( #3889 )
2020-05-18 22:37:18 +02:00
Stefan Benten
70502658c8
satellite/admin: add delete project endpoint ( #3888 )
2020-05-18 19:36:09 +02:00
Michal Niewrzal
0e263f0099
satellite/admin: add API endpoint for adding projects
...
Change-Id: I7970aa8bec810ee36727446d632a950c836f0597
2020-05-12 14:55:41 +00:00
Stefan Benten
e23bd806b4
satellite/accounting: separate usage and bandwidth limit ( #3878 )
2020-05-12 15:01:15 +02:00
Egon Elbre
a4c554f2ed
satellite/admin: support user query by email
...
This adds new endpoint /api/user/{user-email} which allows to get the
projects where the user is a member.
It also moves existing endpoint:
/project/{projectid}/limit -> /api/project/{projectid}/limit
To avoid future conflicts for displaying pages.
Change-Id: I5efe3e1c8f79894c136f92ed815f635a34ba6f98
2020-04-06 18:32:25 +00:00
Egon Elbre
1024bf9ce1
all: simplify uuid usage
...
Instead of uuid.Parse, use uuid.FromString.
This removes a bunch of pointer management logic.
Change-Id: Id25bd174eb43c71d00b450158a198abafd8958f2
2020-04-02 13:45:19 +00:00
Egon Elbre
0a69da4ff1
all: switch to storj.io/common/uuid
...
Change-Id: I178a0a8dac691e57bce317b91411292fb3c40c9f
2020-03-31 19:16:41 +03:00
Egon Elbre
892b190db6
satellite/admin: add project limit modification and authorization token
...
Change-Id: If9a7214a940b8544f8023c2cd82da21f19d3f521
2020-02-17 07:56:16 +00:00