Browse Source

rename go-ricochet to libricochet-go

pull/60/head
Dan Ballard 1 year ago
parent
commit
cf80207f77
29 changed files with 69 additions and 70 deletions
  1. +1
    -1
      model/group.go
  2. +1
    -1
      model/profile.go
  3. +4
    -5
      peer/connections/peerpeerconnection.go
  4. +5
    -5
      peer/connections/peerpeerconnection_test.go
  5. +5
    -5
      peer/connections/peerserverconnection.go
  6. +5
    -5
      peer/connections/peerserverconnection_test.go
  7. +3
    -3
      peer/cwtch_peer.go
  8. +3
    -3
      peer/fetch/peer_fetch_channel.go
  9. +2
    -2
      peer/fetch/peer_fetch_channel_test.go
  10. +3
    -3
      peer/listen/peer_listen_channel.go
  11. +2
    -2
      peer/listen/peer_listen_channel_test.go
  12. +3
    -3
      peer/peer/peer_channel.go
  13. +2
    -2
      peer/peer/peer_channel_test.go
  14. +3
    -3
      peer/send/peer_send_channel.go
  15. +2
    -2
      peer/send/peer_send_channel_test.go
  16. +1
    -1
      protocol/group_message.pb.go
  17. +2
    -2
      protocol/spam/spamguard.go
  18. +1
    -1
      protocol/spam/spamguard_test.go
  19. +3
    -3
      server/fetch/server_fetch_channel.go
  20. +2
    -2
      server/fetch/server_fetch_channel_test.go
  21. +3
    -3
      server/listen/server_listen_channel.go
  22. +2
    -2
      server/listen/server_listen_channel_test.go
  23. +2
    -2
      server/send/server_send_channel.go
  24. +2
    -2
      server/send/server_send_channel_test.go
  25. +2
    -2
      server/server.go
  26. +1
    -1
      server/serverConfig.go
  27. +2
    -2
      server/server_instance.go
  28. +1
    -1
      server/server_instance_test.go
  29. +1
    -1
      testing/cwtch_peer_server_intergration_test.go

+ 1
- 1
model/group.go View File

@@ -6,7 +6,7 @@ import (
"errors"
"fmt"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"golang.org/x/crypto/nacl/secretbox"
"io"
"sync"


+ 1
- 1
model/profile.go View File

@@ -7,7 +7,7 @@ import (
"encoding/asn1"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"golang.org/x/crypto/ed25519"
"io"
"strconv"


+ 4
- 5
peer/connections/peerpeerconnection.go View File

@@ -3,11 +3,10 @@ package connections
import (
"cwtch.im/cwtch/peer/peer"
"cwtch.im/cwtch/protocol"
"github.com/s-rah/go-ricochet"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/connection"
"github.com/s-rah/go-ricochet/identity"
//"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/connection"
"git.openprivacy.ca/openprivacy/libricochet-go/identity"
"cwtch.im/cwtch/model"
"log"
"time"


+ 5
- 5
peer/connections/peerpeerconnection_test.go View File

@@ -5,11 +5,11 @@ import (
"cwtch.im/cwtch/model"
"cwtch.im/cwtch/peer/peer"
"cwtch.im/cwtch/protocol"
"github.com/s-rah/go-ricochet"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/connection"
"github.com/s-rah/go-ricochet/identity"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/connection"
"git.openprivacy.ca/openprivacy/libricochet-go/identity"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"net"
"testing"
"time"


+ 5
- 5
peer/connections/peerserverconnection.go View File

@@ -6,11 +6,11 @@ import (
"cwtch.im/cwtch/peer/send"
"cwtch.im/cwtch/protocol"
"errors"
"github.com/s-rah/go-ricochet"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/connection"
"github.com/s-rah/go-ricochet/identity"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/connection"
"git.openprivacy.ca/openprivacy/libricochet-go/identity"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"log"
"time"
)


+ 5
- 5
peer/connections/peerserverconnection_test.go View File

@@ -5,11 +5,11 @@ import (
"cwtch.im/cwtch/protocol"
"cwtch.im/cwtch/server/fetch"
"cwtch.im/cwtch/server/send"
"github.com/s-rah/go-ricochet"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/connection"
"github.com/s-rah/go-ricochet/identity"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/connection"
"git.openprivacy.ca/openprivacy/libricochet-go/identity"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"net"
"testing"
"time"


+ 3
- 3
peer/cwtch_peer.go View File

@@ -10,9 +10,9 @@ import (
"encoding/json"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/application"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/connection"
"git.openprivacy.ca/openprivacy/libricochet-go/application"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/connection"
"golang.org/x/crypto/ed25519"
"io/ioutil"
"log"


+ 3
- 3
peer/fetch/peer_fetch_channel.go View File

@@ -4,9 +4,9 @@ import (
"cwtch.im/cwtch/protocol"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
)

// CwtchPeerFetchChannel is the peer implementation of the im.cwtch.server.fetch


+ 2
- 2
peer/fetch/peer_fetch_channel_test.go View File

@@ -3,8 +3,8 @@ package fetch
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
"time"
)


+ 3
- 3
peer/listen/peer_listen_channel.go View File

@@ -4,9 +4,9 @@ import (
"cwtch.im/cwtch/protocol"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
)

// CwtchPeerListenChannel is the peer implementation of im.cwtch.server.listen


+ 2
- 2
peer/listen/peer_listen_channel_test.go View File

@@ -3,8 +3,8 @@ package listen
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
"time"
)


+ 3
- 3
peer/peer/peer_channel.go View File

@@ -3,9 +3,9 @@ package peer
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"log"
)



+ 2
- 2
peer/peer/peer_channel_test.go View File

@@ -3,8 +3,8 @@ package peer
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
)



+ 3
- 3
peer/send/peer_send_channel.go View File

@@ -5,9 +5,9 @@ import (
"cwtch.im/cwtch/protocol/spam"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
)

// CwtchPeerSendChannel is the peer implementation of im.cwtch.server.send


+ 2
- 2
peer/send/peer_send_channel_test.go View File

@@ -4,8 +4,8 @@ import (
"cwtch.im/cwtch/protocol"
"cwtch.im/cwtch/protocol/spam"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
)



+ 1
- 1
protocol/group_message.pb.go View File

@@ -6,7 +6,7 @@ package protocol
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import control "github.com/s-rah/go-ricochet/wire/control"
import control "git.openprivacy.ca/openprivacy/libricochet-go/wire/control"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal


+ 2
- 2
protocol/spam/spamguard.go View File

@@ -5,8 +5,8 @@ import (
"crypto/sha256"
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"io"
//"fmt"
)


+ 1
- 1
protocol/spam/spamguard_test.go View File

@@ -3,7 +3,7 @@ package spam
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
)



+ 3
- 3
server/fetch/server_fetch_channel.go View File

@@ -4,9 +4,9 @@ import (
"cwtch.im/cwtch/protocol"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
)

// CwtchServerFetchChannel implements the ChannelHandler interface for a channel of


+ 2
- 2
server/fetch/server_fetch_channel_test.go View File

@@ -3,8 +3,8 @@ package fetch
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
)



+ 3
- 3
server/listen/server_listen_channel.go View File

@@ -4,9 +4,9 @@ import (
"cwtch.im/cwtch/protocol"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/utils"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
)

// CwtchServerListenChannel implements the ChannelHandler interface for a channel of


+ 2
- 2
server/listen/server_listen_channel_test.go View File

@@ -3,8 +3,8 @@ package listen
import (
"cwtch.im/cwtch/protocol"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
)



+ 2
- 2
server/send/server_send_channel.go View File

@@ -5,8 +5,8 @@ import (
"cwtch.im/cwtch/protocol/spam"
"errors"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"log"
)



+ 2
- 2
server/send/server_send_channel_test.go View File

@@ -4,8 +4,8 @@ import (
"cwtch.im/cwtch/protocol"
"cwtch.im/cwtch/protocol/spam"
"github.com/golang/protobuf/proto"
"github.com/s-rah/go-ricochet/channels"
"github.com/s-rah/go-ricochet/wire/control"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/wire/control"
"testing"
)



+ 2
- 2
server/server.go View File

@@ -5,8 +5,8 @@ import (
"cwtch.im/cwtch/server/listen"
"cwtch.im/cwtch/server/send"
"cwtch.im/cwtch/storage"
"github.com/s-rah/go-ricochet/application"
"github.com/s-rah/go-ricochet/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/application"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
"log"
)



+ 1
- 1
server/serverConfig.go View File

@@ -3,7 +3,7 @@ package server
import (
"crypto/rsa"
"encoding/json"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"io/ioutil"
"log"
"sync"


+ 2
- 2
server/server_instance.go View File

@@ -4,8 +4,8 @@ import (
"cwtch.im/cwtch/protocol"
"cwtch.im/cwtch/server/listen"
"cwtch.im/cwtch/storage"
"github.com/s-rah/go-ricochet/application"
"github.com/s-rah/go-ricochet/channels"
"git.openprivacy.ca/openprivacy/libricochet-go/application"
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
)

// Instance encapsulates the Ricochet application.


+ 1
- 1
server/server_instance_test.go View File

@@ -3,7 +3,7 @@ package server
import (
"cwtch.im/cwtch/protocol"
"cwtch.im/cwtch/storage"
"github.com/s-rah/go-ricochet/application"
"git.openprivacy.ca/openprivacy/libricochet-go/application"
"os"
"testing"
"time"


+ 1
- 1
testing/cwtch_peer_server_intergration_test.go View File

@@ -7,7 +7,7 @@ import (
"cwtch.im/cwtch/peer/connections"
cwtchserver "cwtch.im/cwtch/server"
"fmt"
"github.com/s-rah/go-ricochet/utils"
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
"golang.org/x/net/proxy"
"io/ioutil"
"log"


Loading…
Cancel
Save