storj/satellite
Moby von Briesen 7530a3a83d satellite/console: add CORS middleware to satellite UI and API
Add some basic handling to set cross-origin resource sharing headers for
the satellite UI app handler as well as API endpoints used by the
satellite UI.

This change also removes some no-longer-necessary CORS functionality on
the account registration endpoint. Previously, these CORS headers were
used to enable account registration cross-origin from www.storj.io.
However, we have since removed the ability to sign up via www.storj.io.

With these changes, browsers will prevent any requests to the affected
endpoints, unless the browser is making the request from the same host
as the satellite.

see https://github.com/storj/storj-private/issues/242

Change-Id: Ifd98be4a142a2e61e26392d97242d911e051fe8a
2023-06-23 17:46:44 +00:00
..
abtesting console/abTesting: add support for AB testing 2022-10-27 10:57:12 +00:00
accounting satellite/accounting/tally: save tallies in a batches 2023-06-22 17:02:26 +00:00
admin satellite/admin: fix paid tier field on /api/apikeys/{apikey} endpoint 2023-06-22 11:12:56 +00:00
analytics satellite/analytics: register gallery view click event 2023-06-23 13:58:29 +00:00
attribution satellite/{db, admin}: added endpoints to update user's and project's user_agent 2023-06-16 19:41:05 +00:00
audit satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
buckets satellite/accounting/tally: handle well bucket names with escape char 2023-06-21 15:04:14 +00:00
compensation payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
console satellite/console: add CORS middleware to satellite UI and API 2023-06-23 17:46:44 +00:00
contact satellite: save and return which node features are enabled 2023-06-06 21:13:29 +00:00
gc satellite/gc: add piece tracker ranged loop observer 2023-06-22 18:17:39 +00:00
geoip satellite/overlay: update country code on every node check-in 2023-03-22 08:38:51 +00:00
gracefulexit satellite/gracefulexit: use node alias instead id with observer 2023-05-18 22:37:46 +00:00
internalpb cmd/inspector: remove 2023-05-19 09:11:29 +00:00
mailservice satellite/consoleweb: fix flaky TestAuth tests 2022-08-04 19:06:07 +00:00
metabase satellite/accounting/tally: save tallies in a batches 2023-06-22 17:02:26 +00:00
metainfo satellite/metainfo: increase default MaxEncryptedObjectKeyLength 2023-06-22 22:59:52 +00:00
metrics satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeevents satellite/satellitedb/dbx: document node tables 2023-02-24 14:05:55 +00:00
nodeselection/uploadselection satellite/overlay: fix GetNodesNetworkInOrder 2023-05-19 08:08:08 +00:00
nodestats payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
oidc satellite/buckets: move Bucket definition 2023-04-13 17:55:40 -04:00
orders satellite/orders: filter nodes based on segment placement 2023-06-05 13:56:22 -04:00
overlay satellite/overlay: delete unused KnownOffline method 2023-06-23 13:24:30 +00:00
payments satellite/payments/accountfreeze: set grace period default to 15 days 2023-06-22 18:53:03 +00:00
repair satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
reputation satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
satellitedb satellite/overlay: delete unused KnownOffline method 2023-06-23 13:24:30 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
api.go satellite/metainfo: drop piecedeletion package 2023-06-14 11:19:21 +00:00
auditor.go satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
configlock_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
core.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
gc-bf_test.go satellite/gc/bloomfilter: remove segments loop parts 2023-05-15 11:46:26 +00:00
gc-bf.go satellite/metabase: remove segmentsloop package 2023-05-18 19:08:29 +00:00
gc.go gc: remove segment loop dependency 2023-02-03 10:31:16 +00:00
peer.go satellite/gc: add piece tracker ranged loop observer 2023-06-22 18:17:39 +00:00
rangedloop.go satellite/gc: add piece tracker ranged loop observer 2023-06-22 18:17:39 +00:00
repairer.go satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00