Commit Graph

8106 Commits

Author SHA1 Message Date
Vitalii
30dee52256 web/satellite: rework delete access grant modal
Reworked delete access grant modal to be more simple.

Issue:
https://github.com/storj/storj/issues/5775

Change-Id: I415e75458736522f17914f252be531db5a2313f7
2023-04-27 21:26:38 +00:00
Vitalii
978b714128 web/satellite: rework open bucket modal styling
Reworked open bucket modal styling to correspond to create access grant flow

Issue:
https://github.com/storj/storj/issues/5819

Change-Id: I618b50472e45413a63a531ad959d9af69511d464
2023-04-27 16:10:27 +00:00
dlamarmorgan
b89e0e0272 payments/stripe: Remove apply coupon from generate invoice command
Remove the command to apply free tier coupons from the generate invoices
command. Applying free tier coupons should instead be done outside the
normal time window for invoice generation to save time during the
invoicing cycle.

Change-Id: If8fecc558411d5a6fff9d5689143d72f3b709e55
2023-04-27 08:24:12 -07:00
Michal Niewrzal
3cd79d987d satellite/gc/bloomfilter: extract BF upload logic
This is refactor/cleanup change before I will start working on adding
separate GC observer with optimized memory consumption.

https://github.com/storj/storj/issues/5803

Change-Id: I854cb3797802a32942c25f2765dbb72be88bacbd
2023-04-27 11:15:27 +02:00
Vitalii
48f920809f web/satellite: rework styling of manage project passphrase modals
Reworked styling of manage project passphrase modals to crrespond to create access grant flow.

Issue:
https://github.com/storj/storj/issues/5815

Change-Id: Iab02d2d94239d9e8c7f85a498fb3a3d83ece34e0
2023-04-26 20:39:11 +00:00
Vitalii
2e2978d647 web/satellite: rework styling of create project passphrase flow
Reworked styling of create project passphrase flow to be consistent with create access grant flow.

Issue:
https://github.com/storj/storj/issues/5815

Change-Id: I54db5b3c37a8cf96d939bfcb99cf0896af25c4cc
2023-04-26 20:03:49 +00:00
Wilfred Asomani
4929ae3c08 web/satellite: improve table pagination
This change modifies the existing table pagination to match the figma.

Issue: https://github.com/storj/storj/issues/5765

Change-Id: Ic9c57072509705c3cb946b1b6764fd09ba616ceb
2023-04-26 19:07:17 +00:00
Jeremy Wharton
7a17dc5e07 satellite/{console,satellitedb}: add methods for project invite table
This change immplements methods for interacting with the project member
invitations table.

Resolves #5766

Change-Id: I0090c50f9fde5bcdae4ebdaa72cdcaa84d341b54
2023-04-26 11:26:12 -05:00
Jeremy Wharton
defb9eae82 satellite/satellitedb: add table for project invitations
A table for storing pending project member invitations has been added.
This table is required to satisfy our new project invitation UX revamp.

References #5766

Change-Id: I6f948de66ed5b4dc81532564958ff7f48533cad2
2023-04-26 11:26:12 -05:00
Wilfred Asomani
774ac50528 web/satellite: migrate vue filters
This change removes vue filters declared in main.ts and replaces them
with exported functions in utils/strings.ts. This is toward migration
to Vue 3; it has no support for filters.

Issue: https://github.com/storj/storj/issues/5063

Change-Id: I0f0e73f5a4ba3300cd8804b083b18c05e614fa8c
2023-04-26 13:01:21 +00:00
Wilfred Asomani
b4ac006462 web/satellite: sync timeout modal with user session timeout
This change updates the session timeout modal to be triggered based on
the user's selected session timeout instead of the default config value
that is if the user has set a custom session timeout duration.

Change-Id: I1d3ace8542efe04c8ef4d729da6b6bec376d5ea4
2023-04-26 10:07:35 +00:00
dlamarmorgan
efcae857ba satellite/main,stripe/{client,service}: stripe balance invoice item cmd
Add a new billing command that will convert stripe customer balances into invoice items so that the charges can be processed normally by the invoicing workflow.

Change-Id: Iaa8350e7aca80a0f14e94eb8ef8b7d6ce0b5b3b8
2023-04-25 21:08:23 +00:00
dlamarmorgan
5fc493b276 metainfo: per-project and user-agent eventkit-based usage tracking
Add eventkit events for each satellite RPC type, tagged with user agent and public project id.

Change-Id: I838401683298d4594495de18563c55031e82f881
2023-04-25 15:13:43 +00:00
Márton Elek
1588bf9606 go.mod: bump monkit
Change-Id: Icc286378a8b01518510a4b4dd4d213d0c5d3b5b6
2023-04-25 14:26:11 +00:00
Vitalii
4d998970d4 satellite/admin: rework update user limits functionality
Fixed nil pointer dereference panic.
Updated naming conventions so that PUT request and GET response bodies are the same (bandwidth, storage and segment).
Allowed usage of notations like 150GB, 2TB for storage and bandwidth limits.
Updated tests.

Issue:
https://github.com/storj/storj/issues/5674

Change-Id: I7ac27c00721a9b4bf507afa34cb05c4475a809ad
2023-04-25 13:38:59 +00:00
Wilfred Asomani
260b71e70c satellite/{console,accountfreeze}: test freeze effects
This change adds more tests to the autofreeze chore and the freeze
service according to the testplan linked in the issue below.

Issue: https://github.com/storj/storj/issues/5738

Change-Id: Ib2afaa283961b2e7ef6fb6e5613ee083ac7d79eb
2023-04-25 13:04:37 +00:00
Vitalii
816c3d31ac web/satellite: new upgrade account flow
Replaced old modal with new upgrade account flow.

Issue:
https://github.com/storj/storj/issues/5753

Change-Id: I7ab53324fd3983f46a209052a2f2d478ca005f0d
2023-04-25 12:11:20 +00:00
Igor
b8983640d6
docs: add test plan for ranged loop (#5629)
Co-authored-by: littleskunk <jens.heimbuerge@googlemail.com>
2023-04-25 14:10:13 +02:00
Vitalii
2b6b1f7e08 web/satellite: separate out frontend config from pinia app store
Separated out frontend config to make it live in an independent unchangable module.

Issue:
https://github.com/storj/storj/issues/5797

Change-Id: I094c44549d586dff6d1ef727fe43091c4aec03b8
2023-04-25 10:34:43 +00:00
Vitalii
15b370fa9f web/satellite: added new session expired modal
Added new modal for already expired session which is triggered after timeout instead of auto-redirecting to login page

Issue:
https://github.com/storj/storj/issues/5771

Change-Id: I8385ddfd9b8988c1d6130b6f0d19f1399a92d8fb
2023-04-24 17:43:14 +00:00
Jeremy Wharton
80561323a5 web/satellite: remove unnecessary session inactivity timer setup
The dashboard area component would set up the session inactivity timers
after it was unmounted, conflicting with those that were started by
dashboards mounted afterward.

This issue caused session refresh requests to be sent more often than
they should have been. Additionally, expiration of the old set of
timers would clear newer ones before they were due to expire.

Change-Id: I86a73f13dab4cd8f979181b29002eb3b3e6e8bac
2023-04-24 11:45:26 -05:00
Michal Niewrzal
1aa24b9f0d satellite/audit: remove segments loop parts
We are switching completely to ranged loop.

https://github.com/storj/storj/issues/5368

Change-Id: I9cec0ac454f40f19d52c078a8b1870c4d192bd7a
2023-04-24 15:52:11 +00:00
Michal Niewrzal
6ac5bf0d7c satellite/gracefulexit: remove segments loop parts
We are switching completely to ranged loop.

https://github.com/storj/storj/issues/5368

Change-Id: Ia3e2d7879d91f7f5ffa99b8e8f108380e3b39f31
2023-04-24 15:00:26 +00:00
Michal Niewrzal
6a55682bc6 satellite/accounting/nodetally: remove segments loop parts
We are switching completely to ranged loop.

https://github.com/storj/storj/issues/5368

Change-Id: I6176a129ba14cf83fb635048d09e6748276b52a1
2023-04-24 14:25:53 +00:00
Igor
f4bc7a7eb2
docs: add test plan for new passphrase flow (#5637)
* docs: add test plan for new passphrase flow
---------

Co-authored-by: littleskunk <jens.heimbuerge@googlemail.com>
2023-04-24 16:17:10 +02:00
Igor
4058b01af8
docs/testplan: add Uplink testplan (#5677)
Co-authored-by: littleskunk <jens.heimbuerge@googlemail.com>
2023-04-24 15:12:25 +02:00
Jeremy Wharton
1bc26e7a14 web/satellite: fix invalid references to first onboarding step
This change amends invalid references to the first onboarding step.

Previously, the route for the first onboarding step was computed in a
router module using our old way of specifying frontend config values.
When we upgraded to our new config style, the module could no longer be
responsible for computing the route due to the module being independent
of the store holding the config. The route was removed, but some
references to it remained.

Change-Id: I8817174bb4acab44c5ff2624d6edb1bd3e675de2
2023-04-21 11:27:48 +00:00
Egon Elbre
f40a0cb7ba satellite/*: use typed lrucache and ReadCache
Change-Id: Ieee535dd8735a95dd196a77413e4a25a6a72342c
2023-04-21 10:49:08 +00:00
Jeremy Wharton
50afaa411e web/satellite: update naming of Team page
References to the Team page have been modified to refer to its new
name. Previously, it was called Project Members or Users.

Resolves #5761

Change-Id: I71ababe48847d7573f6abbbdb6b24c621b0abd4f
2023-04-20 14:57:08 +00:00
Márton Elek
768e69b55a cmd/storagenode: flag to configure identity dir for dashboard config
Change-Id: Ifc0af33749b67aad201a8fc90116bc5ddbded007
2023-04-20 14:22:00 +00:00
Michal Niewrzal
fbfe5aaad7 satellite/metrics: remove code related to segments loop
We are switching completely to ranged loop.

Change-Id: I32120ef496addebec2de088fd10d0c1d02313c68
2023-04-20 13:47:22 +00:00
nadimhq
78029ec3fb
Linksharing TLS Support Testplan (#5448)
Testplan for pro account only Linksharing TLS

Co-authored-by: Antonio Franco (He/Him) <antonio@storj.io>
2023-04-20 15:31:54 +02:00
Vitalii
19e9ca921a web/satellite: migrate last 2 components to use composition api and clean up dependencies
Migrated last 2 vue components.
Removed class component and vuex dependencies.

Change-Id: I54a82cfae35a1c7eea6efbc07f89bf416a689e79
2023-04-20 13:53:58 +03:00
Vitalii
8d31e13db6 web/satellite: use pinia object browser module instead of old vuex module
Start using object browser pinia module instead of old files vuex module.
Also removed vuex related code.

Note: dependency will be removed in a follow-up change

Change-Id: I78cfb62a1ecc32bd86381bd3bfd3be4bd0f38e14
2023-04-20 13:49:11 +03:00
Egon Elbre
2405bc8f3b satellite/metabase: stop using the common error type
Updates https://github.com/storj/storj/issues/5291

Change-Id: I7b57a4b454d3619cb5d8ae4cd92f818ad2839c8b
2023-04-19 19:18:18 +03:00
Moby von Briesen
3679e29a93 satellite: Remove remaining references to "partner ID"
This field is deprecated in favor of UserAgent; Removing these
references is the final step necessary before dropping the columns from
the database.

https: //github.com/storj/storj/issues/5432
Change-Id: I3a6619170dcf382f82dc8eddb73b6547eaf636f0
2023-04-19 15:37:10 +00:00
Egon Elbre
41931970fd satellite/*: changes to stop using storj.ListDirection
Currently this duplicates the constants, because we cannot yet bump
common nor uplink.

Change-Id: I81818df8a9092e0b358eb946c31f2a42ac9dbf0a
2023-04-19 15:30:42 +03:00
Egon Elbre
54beea82da satellite/metabase: define a local ErrObjectNotFound
Updates https://github.com/storj/storj/issues/5291

Change-Id: If847cd95a9b500fb18535d20b46b1b1714021584
2023-04-19 12:03:01 +00:00
Wilfred Asomani
8632e28584 web/satellite: show freeze warning banner
This change displays a freeze warning banner if the user has a freeze
warning event.

Change-Id: Ia221dedd885f80ff0b8fd0de80269a94c59eaefb
2023-04-19 11:20:05 +00:00
Márton Elek
9fbad53bbe
satellite/gracefulexit: extend GE tests using multple hash algo
Change-Id: I0b7accd5c0ae9ebb7adc7e5b8545bab639d70d36
2023-04-19 11:05:23 +02:00
Wilfred Asomani
9ac5183c7e satellite/consoleweb: improve freeze-status endpoint
This change adds a freeze status endpoint that gets whether a user is
frozen or warned.

Change-Id: I0bc498a128af969177c2cfcfda9b9ee3d8968305
2023-04-18 19:57:05 +00:00
Jeremy Wharton
53bd6bf787 web/satellite: fix redundant onboarding tour redirection
This change ensures that we only trigger a redirect to the onboarding
tour if we're not already there. Previously, we didn't take the current
route into consideration when redirecting. This exposed the risk of an
error occurring that prevented the page from loading.

Change-Id: I70323b21f58229abf463a7c737c262e4253f579a
2023-04-18 18:49:57 +00:00
Vitalii
4ae05afb24 web/satellite: use notifications pinia module instead of old vuex module
Change-Id: I03f14995d5315068582d357375365f0af8d63b8b
2023-04-18 17:51:24 +00:00
Lizzy Thomson
3f8eb58e4c web/satellite: add uploading large file notifications
Add default uploading large file notification when in buckets page.
When dismissed, store in local storage. When user uploads a file that
exceeds 1 GB, show warning notification.

Issue https://github.com/storj/storj/issues/5148

Change-Id: I895a230c017e8439ab2c19ea494930b7e9900a47
2023-04-18 16:50:41 +00:00
Vitalii
27d9d9f6d4 web/satellite: use pinia projects module instead of old vuex module
Start using new pinia module instead of old vuex module

Change-Id: I6bb5d4a5cf0eeb4d0a86afce760f5c258c20c1e5
2023-04-18 15:30:49 +00:00
Egon Elbre
daf5264f48 satellite/console/consoleweb: create a fallback error.html
Currently when error.html is not available, we should still start the
server and fallback to some simpler implementation. This template does
not require any external assets.

Change-Id: I76b660db988987e1e9ebadd966f60e149f26ff24
2023-04-18 14:36:51 +00:00
Vitalii
1373bdb169 web/satellite: use new buckets pinia module instead of old vuex modules
Start using new buckets pinia module instead of old objects and buckets vuex modules

Change-Id: I1afa9b1f0e057b870796498d0e061c89a4a669ee
2023-04-18 13:30:55 +00:00
Egon Elbre
d94207048a go.mod: bump vbauerster/mpb/v8 for fixes
Change-Id: I2d24eec4389ca8e5effdbfc25d7012ce083d46f5
2023-04-18 15:53:35 +03:00
Michal Niewrzal
114eda6e87 satellite/metainfo: remove sleep from upload limit test
lrucache is now using time2 package and we can make expiration
test without using time.Sleep.

https://github.com/storj/storj/issues/5788

Change-Id: I48f2693c3db78fcf4e30e618bb3304be3625100c
2023-04-18 09:38:21 +02:00
dlamarmorgan
d53a56cef6 cmd/uplink/initial_setup.go: fix logic on analytics prompt
Correct the logic for the analytics prompt on a new setup of uplink.

Change-Id: I86755711dd2f3c8418609bd7072ae5d55927b841
2023-04-18 03:02:12 +00:00