Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d8cb33a
Invest data by PromoUrl
JeffersonBaldion May 4, 2024
4595861
Fix routes to /api
JeffersonBaldion May 7, 2024
0ee7d46
Merge pull request #139 from Hello-Storage/invest-traffic
Onetti01 May 7, 2024
48ebc17
Update entity_tables
JeffersonBaldion May 7, 2024
7c87c3b
Update entity_tables.go
JeffersonBaldion May 7, 2024
de739e4
Merge pull request #140 from Hello-Storage/invest-traffic
JeffersonBaldion May 7, 2024
327c9c6
Create invest tables
JeffersonBaldion May 7, 2024
e54c885
Merge pull request #141 from Hello-Storage/invest-traffic
Onetti01 May 7, 2024
e6560d7
Create tables relation
JeffersonBaldion May 7, 2024
47e0ee0
Merge pull request #142 from Hello-Storage/invest-traffic
Onetti01 May 7, 2024
a9813b6
fix: gitignore fix, air config unnecesary privacy, filesharestate mig…
keiner5212 May 9, 2024
041e875
feat: update ipfshash
keiner5212 May 9, 2024
6416d5c
fix: get files optimization
keiner5212 May 9, 2024
d6107de
fix: name fixes
keiner5212 May 9, 2024
5c891f8
Merge pull request #143 from Hello-Storage/feat/helia-implementation
alexanderbkl May 11, 2024
e723665
fix file & folder permision search
keiner5212 May 11, 2024
7bbbc8d
Merge pull request #144 from Hello-Storage/feat/helia-implementation
keiner5212 May 11, 2024
2acb223
fix: migration errors
keiner5212 May 11, 2024
d16033b
fix: migration errors
keiner5212 May 11, 2024
27c952f
Update file_share_state_user_shared.go
JeffersonBaldion May 26, 2024
5b7230e
Merge pull request #145 from Hello-Storage/Fixing-Migration-Bug
Onetti01 May 26, 2024
a22606a
test: creating folder testing
Onetti01 Aug 23, 2024
c951006
remove redundant logs and redundant migration checker, refactor datab…
alexanderbkl Aug 28, 2024
b4e61c6
remove obsolete github oauth env parameters
alexanderbkl Aug 28, 2024
e012917
updated from deprecated cosmtrek/air to air-verse maker dependency
alexanderbkl Sep 10, 2024
590cf47
fix and improve sharedByMe obtention by checking if filesharestate ex…
alexanderbkl Sep 10, 2024
ceb0063
readded TODO comments
alexanderbkl Sep 10, 2024
1933583
remove redundant code
alexanderbkl Sep 12, 2024
c26f4a9
remove deprecated circleci docker verioning
alexanderbkl Sep 12, 2024
e2fcc0f
prevent getting shared files on main files page
alexanderbkl Sep 12, 2024
c9200a0
Merge pull request #149 from Hello-Storage/share-files
alexanderbkl Sep 12, 2024
6d04fac
feat/bump modules
Apr 19, 2025
66f4bae
feat: integrate Ethermail API for email notifications and update envi…
Apr 22, 2025
cccebe5
fix: prevent panic during migration for specific entity
Apr 22, 2025
477573a
refactor: replace hardcoded Ethermail API keys with config values
Apr 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .air.example.toml → .air.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = []
bin = "tmp/main"
Expand All @@ -24,21 +23,17 @@ tmp_dir = "tmp"
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[screen]
clear_on_rebuild = false
keep_scroll = true
keep_scroll = true
2 changes: 0 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
steps:
- checkout
- setup_remote_docker:
version: 20.10.14
docker_layer_caching: true
- build-docker-image
- run:
Expand All @@ -67,7 +66,6 @@ jobs:
steps:
- checkout
- setup_remote_docker:
version: 20.10.14
docker_layer_caching: true
- attach_workspace:
at: /tmp/workspace
Expand Down
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ WASABI_REGION=us-east-1

ENCRYPTION_KEY=ThIS_Is_A_32ByTE_LoNG_STrING_123

NODEJS_SERVER_ENDPOINT=http://nodejs-server:3000
NODEJS_SERVER_ENDPOINT=http://nodejs-server:3000

ETHERMAIL_API_KEY=ethermail_api_key
ETHERMAIL_API_SECRET=ethermail_api_secret
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ arweave-wallet.json
.env.production.local
.drone.secrets

.air.toml
# Go workspace file
go.work

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV CGO_ENABLED 0
ENV GOPATH /go
ENV GOCACHE /go-build

RUN go install github.com/cosmtrek/air@latest
RUN go install github.com/air-verse/air@latest

COPY go.mod go.sum ./

Expand Down
55 changes: 39 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
module github.com/Hello-Storage/hello-back

go 1.18
go 1.23

toolchain go1.24.1

require (
github.com/davecgh/go-spew v1.1.1
github.com/ethereum/go-ethereum v1.12.0
github.com/gin-contrib/cors v1.4.0
github.com/gin-gonic/gin v1.9.1
github.com/google/uuid v1.3.0
github.com/google/uuid v1.6.0
github.com/googollee/go-socket.io v1.7.0
github.com/gorilla/websocket v1.5.0
github.com/gorilla/websocket v1.5.3
github.com/joho/godotenv v1.5.1
github.com/leandro-lugaresi/hub v1.1.1
github.com/magiconair/properties v1.8.7
Expand All @@ -18,39 +21,52 @@ require (
github.com/pquerna/otp v1.4.0
github.com/redis/go-redis/v9 v9.1.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
github.com/tidwall/gjson v1.14.4
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af
golang.org/x/time v0.6.0
)

require (
dario.cat/mergo v1.0.1 // indirect
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/aead/chacha20poly1305 v0.0.0-20201124145622-1a5aba2a8b29 // indirect
github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635 // indirect
github.com/air-verse/air v1.61.7 // indirect
github.com/bep/godartsass v1.2.0 // indirect
github.com/bep/godartsass/v2 v2.1.0 // indirect
github.com/bep/golibsass v1.2.0 // indirect
github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/bytedance/sonic v1.10.0-rc2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/cli/safeexec v1.0.1 // indirect
github.com/creack/pty v1.1.23 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/fatih/color v1.17.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-chi/chi/v5 v5.0.8 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.1 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gofrs/uuid v4.0.0+incompatible // indirect
github.com/gohugoio/hugo v0.134.3 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/gomodule/redigo v1.8.4 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/holiman/uint256 v1.2.2-0.20230321075855-87b91420868c // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect
github.com/minio/sha256-simd v1.0.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
Expand All @@ -60,32 +76,39 @@ require (
github.com/multiformats/go-base36 v0.1.0 // indirect
github.com/multiformats/go-multibase v0.0.3 // indirect
github.com/multiformats/go-varint v0.0.6 // indirect
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/tdewolff/parse/v2 v2.7.15 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
golang.org/x/arch v0.4.0 // indirect
golang.org/x/net v0.17.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
golang.org/x/net v0.28.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

require (
github.com/aws/aws-sdk-go v1.44.332
github.com/aws/aws-sdk-go v1.55.5
github.com/ipfs/go-cid v0.4.1
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.3.1 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/multiformats/go-multicodec v0.9.0
golang.org/x/crypto v0.17.0
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/crypto v0.26.0
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
gorm.io/driver/postgres v1.5.2
gorm.io/gorm v1.25.1
)
Loading
Loading