stefanbenten
1a6e25579c
satellite/admin: check for existing user with given email
...
To prevent creating multiple users with the same email via API, we should check for an existing user with given email.
Change-Id: Ie35b85c4f94a7ca72d42951dab8ff475d7f0dd7c
2020-07-16 15:17:00 +00:00
stefanbenten
0534b91085
satellite/admin: setup payment account for user
...
Currently a customer created via the IP does not get an payment account until he signs in.
That causes issues if the account should be deleted again.
Change-Id: I393c8f301e426301bb713c423d6ce011138d4ae4
2020-07-16 15:16:50 +00:00
stefanbenten
2c2d284f3d
satellite/admin: add bucket limit handling endpoint
...
Change-Id: I4b199277cff30f11f4a9fff3b0ac4017b694f2e8
2020-07-15 17:27:23 +00:00
stefanbenten
133fda4bef
satellite/admin: add user deletion
...
Change-Id: Ideea978698183e25f5e0d73128c4f93c2caa1577
2020-07-14 11:37:00 +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
Ivan Fraixedes
b72bf4a6d8
satellite/admin: Make minor improvements in README
...
Make some minimal improvements in the README about the API documentation
regarding the required requests and successful response bodies.
Change-Id: If7832f3c40166a55d9baefdb2395211ff9e8dc04
2020-06-15 10:23:20 +00:00
Egon Elbre
34db4a80fd
ci: fix staticcheck failures
...
Change-Id: I176fb24214755a1940a0a1a4e9cc8e39f184870b
2020-06-05 13:15:34 +00:00
Stefan Benten
ed857f0fb4
satellite/admin: Add the proper documentation for bandwidth limits ( #3900 )
2020-05-27 09:22:45 +03:00
Michal Niewrzal
fe6a6f063f
private/testplanet: cleanup predefined data generation
...
Use Console service to create user and project instead direct DB
modifications.
Change-Id: Ib0074b38313b3dc43b7d8d63ab2775d29028fb7b
2020-05-20 12:38:43 +00:00
Stefan Benten
1a4ab3df48
satellite/admin: add user update endpoint ( #3896 )
2020-05-20 12:20:04 +03:00
Stefan Benten
0a26c4af9a
satellite/admin: add coupon deletion ( #3893 )
2020-05-19 15:49:44 +03:00
Stefan Benten
671aca56b0
satellite/admin: add coupon creation and listing ( #3891 )
2020-05-19 12:36:13 +02: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
littleskunk
28a886f399
satellite/admin: obvious project name in documentation
2020-05-14 15:50:58 +03: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
cafa7a5f0b
satellite/admin: add a readme about endpoints
...
Change-Id: I720fcdf6af3860ad4c8566de85c39e9f06f7cb01
2020-04-28 19:13:45 +00:00
Egon Elbre
9052085f70
private/testplanet: simplify uplink usage
...
Change-Id: I3e488dc296f1094ce95e6d6597ca6d3f8da90a76
2020-04-16 16:45:55 +00:00
Egon Elbre
a129a8bd35
all: separate err check for http
...
We want to avoid net/http dependency in errs2 package, hence we removed
http.ErrServerClosed from IgnoreCanceled and IsCanceled check. Now we
need to add that check explicitly to every http endpoint.
Change-Id: I62b1cc0a0a2d3b43301d713a7951e5022145f88f
2020-04-16 18:50:24 +03: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
Egon Elbre
dbf46c4aa7
satellite/admin: administrative endpoint
...
Admin server allows creating basic REST and html API-s
for different administrative tasks.
Change-Id: I3dc1786abe1c87350eed60ec90e48130f44e63cf
2020-02-12 12:12:50 +02:00