Go to file
Faris Huskovic ebd976ec28
satellite/marketing: Create New Offer (#2186)
* update UI to reflect final mockups

* implement create handler and render offers table data to UI

* fix line-height unit and remove important from selectors

* update file names and ids for clarity

* shorten 'label' in ids

* localize global vars, fix endpoint names, remove unnecessary receiver, fix comments

* fix unnecessary initialization of pointer

* correct file-naming conventions

* register timeConverter in an init func for safety and remove unnecessary important from css

* consolidate create endpoints and add comments

* register timeConverter in init func

* add copyright to files

* introduce require pkg

* add proper http server unit test

* update linting and create offers concurrently in unit test

* fix getOffers comment

* add copy-right to unit-test

* fix data-races

* fix linting

* remove converter in NewServer

* requested changes in progress

* add require for checking status code

* renamed template file

* fix 400 handler

* fix missing copyright and remove extra line

* fix build

* run goroutine for testing parallel

* evaluate reqType with switch stmt and promp for credit amount in cents

* fix lint issue

* add default case

* remove unnecessary var

* fix range scope error

* remove empty lines and use long form for struct field

* fix merge conflicts

* fix template reference

* fix modal id

* not delete package

* add currency formatting and requested changes

* markup formatting

* lean out currency logic and move wait outside loop

* pass ToDollars func to home template

* fix lint
2019-06-28 10:34:10 -04:00
.github Update pr template (#2237) 2019-06-19 22:11:48 +03:00
bootstrap Add email to self node info (#2171) 2019-06-11 16:30:28 +03:00
cmd rename EncryptionCtx back to EncryptionAccess (#2368) 2019-06-27 23:18:24 -06:00
docs/design jenkins: disallow files over 600KB (#2323) 2019-06-26 08:44:52 +02:00
examples Repair should not corrupt files (#2194) 2019-06-14 12:16:31 +03:00
internal lib/uplink: encryption context (#2349) 2019-06-27 17:36:51 +00:00
lib uplink docs (#2372) 2019-06-28 07:40:37 -06:00
mobile rename EncryptionCtx back to EncryptionAccess (#2368) 2019-06-27 23:18:24 -06:00
pkg satellite/console: nicer error handling in tests (#2378) 2019-06-28 16:04:50 +03:00
resources Add LE CA to satellite and storagenode images (#1688) 2019-04-08 13:06:01 -04:00
satellite satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00
scripts jenkins: avoid using goimports and distribute load better (#2359) 2019-06-27 21:52:50 +03:00
storage internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
storagenode jenkins: avoid using goimports and distribute load better (#2359) 2019-06-27 21:52:50 +03:00
uplink rename EncryptionCtx back to EncryptionAccess (#2368) 2019-06-27 23:18:24 -06:00
versioncontrol Add Identity to Version Control Server (#1876) 2019-05-01 18:21:51 +02:00
web satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00
.clabot Add Alexander Bender (#2330) 2019-06-25 07:31:55 -06:00
.dockerignore Forward-port release-alpha8 build script issues (#1726) 2019-04-09 23:01:10 -06:00
.gitignore gitignore: cleanup old things (#2197) 2019-06-14 12:42:37 +03:00
.golangci.yml jenkins: avoid using goimports and distribute load better (#2359) 2019-06-27 21:52:50 +03:00
CODE_OF_CONDUCT.md Adding CODE_OF_CONDUCT to storj/storj repo (#779) 2018-12-07 15:10:02 -05:00
docker-compose.yaml testplanet.Run (#1222) 2019-02-04 22:37:46 +02:00
Dockerfile.jenkins jenkins: Stop docker container after 18m (#2358) 2019-06-27 10:09:37 -06:00
go.mod satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00
go.sum satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00
Jenkinsfile Fix Jenkins master builds (#1889) 2019-05-03 14:14:38 -04:00
Jenkinsfile.gerrit jenkins: avoid using goimports and distribute load better (#2359) 2019-06-27 21:52:50 +03:00
Jenkinsfile.public jenkins: adjust go test parallelism (#2364) 2019-06-28 10:36:08 +03:00
LICENSE license code with agplv3 (#126) 2018-07-05 10:24:26 -04:00
Makefile jenkins: avoid using goimports and distribute load better (#2359) 2019-06-27 21:52:50 +03:00
package-lock.json Satellite api keys frontend (#1039) 2019-02-01 18:19:30 +02:00
proto.lock rename EncryptionCtx back to EncryptionAccess (#2368) 2019-06-27 23:18:24 -06:00
README.md Direct suggestions to ideas.storj.io (#1891) 2019-05-07 22:14:25 +02:00

Storj V3 Network

Go Report Card Go Doc Coverage Status Alpha

Storj is building a decentralized cloud storage network. Check out our white paper for more info!


Storj is an S3-compatible platform and suite of decentralized applications that allows you to store data in a secure and decentralized manner. Your files are encrypted, broken into little pieces and stored in a global decentralized network of computers. Luckily, we also support allowing you (and only you) to retrieve those files!

Table of Contents

Contributing to Storj

All of our code for Storj v3 is open source. Have a code change you think would make Storj better? Please send a pull request along! Make sure to sign our Contributor License Agreement (CLA) first. See our license section for more details.

Have comments or bug reports? Want to propose a PR before hand-crafting it? Jump on to our Rocketchat and join the #dev channel to say hi to the developer community and to talk to the Storj core team.

Want to vote on or suggest new features? Post it on ideas.storj.io.

Issue tracking and roadmap

See the breakdown of what we're building by checking out the following resources:

Install required packages

To get started running Storj locally, download and install the latest release of Go (at least Go 1.11) at golang.org.

You will also need Git. (brew install git, apt-get install git, etc). If you're building on Windows, you also need to install and have gcc setup correctly.

We support Linux, Mac, and Windows operating systems. Other operating systems supported by Go should also be able to run Storj.

Download and compile Storj

Aside about GOPATH: Go 1.11 supports a new feature called Go modules, and Storj has adopted Go module support. If you've used previous Go versions, Go modules no longer require a GOPATH environment variable. Go by default falls back to the old behavior if you check out code inside of the directory referenced by your GOPATH variable, so make sure to use another directory, unset GOPATH entirely, or set GO111MODULE=on before continuing with these instructions.

First, fork our repo and clone your copy of our repository.

git clone git@github.com:<your-username>/storj storj
cd storj

Then, let's install Storj.

go install -v ./cmd/...

Make changes and test

Make the changes you want to see! Once you're done, you can run all of the unit tests:

go test -v ./...

You can also execute only a single test package if you like. For example: go test ./pkg/kademlia. Add -v for more informations about the executed unit tests.

Push up a pull request

Use Git to push your changes to your fork:

git commit -a -m 'my changes!'
git push origin master

Use Github to open a pull request!

Start using Storj

Our wiki has documentation and tutorials. Check out these three tutorials:

License

The network under construction (this repo) is currently licensed with the AGPLv3 license. Once the network reaches beta phase, we will be licensing all client-side code via the Apache v2 license.

For code released under the AGPLv3, we request that contributors sign our Contributor License Agreement (CLA) so that we can relicense the code under Apache v2, or other licenses in the future.

Support

If you have any questions or suggestions please reach out to us on Rocketchat or email us at support@tardigrade.io.