Commit Graph

677 Commits

Author SHA1 Message Date
3wc b080502c7b Add executable bit on start.sh
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2023-03-06 21:12:11 -05:00
3wc 6e89cc403e Drop auto_tag for now
continuous-integration/drone/push Build is passing Details
2023-03-06 20:43:17 -05:00
3wc 43eeea8a8d Add Drone config for image build
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2023-03-05 18:28:33 -05:00
decentral1se 577529e642
Merge pull request #369 from ssbc/dependabot/go_modules/github.com/volatiletech/sqlboiler/v4-4.14.0
chore(deps): bump github.com/volatiletech/sqlboiler/v4 from 4.13.0 to 4.14.0
2022-12-19 09:16:34 +01:00
dependabot[bot] c8411340be
chore(deps): bump github.com/volatiletech/sqlboiler/v4
Bumps [github.com/volatiletech/sqlboiler/v4](https://github.com/volatiletech/sqlboiler) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/volatiletech/sqlboiler/releases)
- [Changelog](https://github.com/volatiletech/sqlboiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/volatiletech/sqlboiler/compare/v4.13.0...v4.14.0)

---
updated-dependencies:
- dependency-name: github.com/volatiletech/sqlboiler/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 08:11:50 +00:00
decentral1se 753e30690f
Merge pull request #368 from boreq/create-invite-json
Add a JSON endpoint for generating invites
2022-12-14 10:34:19 +01:00
boreq ab664aafc3 Add a JSON endpoint for generating invites
When running in open mode invites can be freely generated by accessing
/create-invite. This displays an HTML page which creates and displays an
invite to the user.

This commit adds an additional way of creating invites in open mode. A
POST request can be sent to the same /create-invite endpoint with the
Accept header set to application/json. This returns a JSON response
which contains an invite url.

The purpose of this change is to make automatic invite generation easier
in SSB clients.
2022-12-13 19:15:11 +01:00
decentral1se 0a5b6d13e4
Merge pull request #367 from ssbc/dependabot/go_modules/golang.org/x/crypto-0.4.0
chore(deps): bump golang.org/x/crypto from 0.3.0 to 0.4.0
2022-12-12 11:21:31 +01:00
dependabot[bot] e55f152905
chore(deps): bump golang.org/x/crypto from 0.3.0 to 0.4.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 10:19:55 +00:00
decentral1se 5fa4744344
Merge pull request #366 from ssbc/dependabot/go_modules/golang.org/x/tools-0.4.0
chore(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0
2022-12-12 11:17:48 +01:00
dependabot[bot] 0c0f34dac9
chore(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 08:10:28 +00:00
decentral1se aa9776924e
Merge pull request #365 from ssbc/dependabot/go_modules/golang.org/x/text-0.5.0
chore(deps): bump golang.org/x/text from 0.4.0 to 0.5.0
2022-12-05 11:47:47 +01:00
dependabot[bot] 78ca74fe7a
chore(deps): bump golang.org/x/text from 0.4.0 to 0.5.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 08:12:26 +00:00
decentral1se e7eb4db759
Merge pull request #362 from decentral1se/master
docs: share project [ci skip]
2022-11-21 13:24:23 +01:00
decentral1se b5c1a8c052
docs: share project [ci skip] 2022-11-21 13:23:33 +01:00
decentral1se bac75715fc
Merge pull request #361 from ssbc/dependabot/go_modules/golang.org/x/crypto-0.3.0
Bump golang.org/x/crypto from 0.2.0 to 0.3.0
2022-11-21 10:22:21 +01:00
dependabot[bot] fe4c05474f
Bump golang.org/x/crypto from 0.2.0 to 0.3.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 08:37:26 +00:00
decentral1se c0efe13e0c
Merge pull request #355 from decentral1se/arm-insert-deb
feat: armhf/arm64 & including insert-user
2022-11-17 14:39:01 +01:00
decentral1se eaf4229e5e
Merge pull request #358 from ssbc/dependabot/go_modules/golang.org/x/crypto-0.2.0
Bump golang.org/x/crypto from 0.1.0 to 0.2.0
2022-11-14 12:56:15 +01:00
dependabot[bot] 10f2e44c87
Bump golang.org/x/crypto from 0.1.0 to 0.2.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 11:47:26 +00:00
decentral1se 71167234d8
Merge pull request #359 from ssbc/dependabot/go_modules/github.com/nicksnyder/go-i18n/v2-2.2.1
Bump github.com/nicksnyder/go-i18n/v2 from 2.2.0 to 2.2.1
2022-11-14 12:47:04 +01:00
decentral1se 6e2963c7ee
Merge pull request #357 from ssbc/dependabot/go_modules/golang.org/x/tools-0.3.0
Bump golang.org/x/tools from 0.2.0 to 0.3.0
2022-11-14 12:46:35 +01:00
dependabot[bot] 88eb972e60
Bump github.com/nicksnyder/go-i18n/v2 from 2.2.0 to 2.2.1
Bumps [github.com/nicksnyder/go-i18n/v2](https://github.com/nicksnyder/go-i18n) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases)
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nicksnyder/go-i18n/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: github.com/nicksnyder/go-i18n/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 08:13:10 +00:00
dependabot[bot] 9126215e01
Bump golang.org/x/tools from 0.2.0 to 0.3.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 08:12:47 +00:00
decentral1se dc6ff365fb
chore: upgrade go-muxrpc
Avoids https://github.com/ssbc/go-muxrpc/issues/13 in arm* builds.

Also see https://github.com/ssbc/go-muxrpc/issues/17.
2022-11-11 20:08:07 +01:00
decentral1se 58f44537bf
test: faster generation 2022-11-11 19:15:37 +01:00
decentral1se c9db01515c
docs: updated release instructions 2022-11-11 19:12:44 +01:00
decentral1se 2833558d94
feat: armhf/arm64 & including insert-user
All credit goes to @ahdinosaur for this work.

Follows https://github.com/ssbc/go-ssb-room/pull/291.
2022-11-11 18:19:40 +01:00
decentral1se 3fcd61e1ca
Merge pull request #353 from decentral1se/dev-smoke-test
test: also smoke test dev build
2022-11-11 17:47:46 +01:00
decentral1se b81c03c837
chore: bump to latest go-secretstream commit
See https://github.com/ssbc/go-secretstream/pull/21
2022-11-11 17:43:52 +01:00
decentral1se aced1a2790
test: also smoke test dev build 2022-11-10 22:37:55 +01:00
decentral1se 641069a8f1
Merge pull request #351 from boreq/list-notices-as-json
Add a way to list notices as JSON
2022-11-09 10:28:36 +01:00
boreq 0692aa27b9 Add a way to list notices as JSON
Previously notices could only be displayed as HTML. This commit makes it
possible to request a list of notices as JSON. This can be used to
programmatically display a description of a room server in SSB clients.

The behaviour is governed by a query parameter. To list notices as JSON
set a query parameter "encoding" to "JSON" when listing notices (for
example https://example.com/notice/list?encoding=json). This parameter
was chosen instead of using the "Accept" header as similar behaviour is
already exhibited by other endpoints (namely the invite mechanism).
2022-11-08 16:16:54 +01:00
decentral1se 6a7f74b047
Merge pull request #350 from ssbc/dependabot/go_modules/github.com/maxbrunsfeld/counterfeiter/v6-6.5.0
Bump github.com/maxbrunsfeld/counterfeiter/v6 from 6.3.0 to 6.5.0
2022-11-08 16:13:34 +01:00
dependabot[bot] 0be5899235
Bump github.com/maxbrunsfeld/counterfeiter/v6 from 6.3.0 to 6.5.0
Bumps [github.com/maxbrunsfeld/counterfeiter/v6](https://github.com/maxbrunsfeld/counterfeiter) from 6.3.0 to 6.5.0.
- [Release notes](https://github.com/maxbrunsfeld/counterfeiter/releases)
- [Commits](https://github.com/maxbrunsfeld/counterfeiter/compare/v6.3.0...v6.5.0)

---
updated-dependencies:
- dependency-name: github.com/maxbrunsfeld/counterfeiter/v6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 15:09:45 +00:00
decentral1se 2014016de3
Merge pull request #349 from ssbc/dependabot/go_modules/golang.org/x/tools-0.2.0
Bump golang.org/x/tools from 0.1.12 to 0.2.0
2022-11-08 16:08:20 +01:00
dependabot[bot] 6a7b7f2b66
Bump golang.org/x/tools from 0.1.12 to 0.2.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.12 to 0.2.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.12...v0.2.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 14:56:47 +00:00
decentral1se f1645cd0f6
Merge pull request #348 from decentral1se/update-deps
chore: update deps / dependabot / go 1.17 requirement
2022-11-08 15:56:13 +01:00
decentral1se bf3a7a61bf
fix!: require Go 1.17 2022-11-08 14:31:57 +01:00
decentral1se d169aaf137
test: hibp api changes 2022-11-07 21:14:26 +01:00
decentral1se ed71cda319
ci: add dependabot config 2022-11-07 21:14:25 +01:00
decentral1se c506340a2d
chore: update deps 2022-11-07 21:14:24 +01:00
decentral1se 00a1452cfc
Migrate to ssbc urls (#336)
* fix: ssbc urls

Closes https://github.com/ssbc/go-ssb-room/issues/332

* fix: go-ssb-refs API changes

* test: go-ssb-refs API changes

Co-authored-by: decentral1se <cellarspoon@riseup.net>
Co-authored-by: André Staltz <andre@staltz.com>
2022-11-07 11:18:13 +02:00
Steven Roose e3afd943c9 Document shscap option 2022-11-07 11:09:36 +02:00
Kyle Maas 7abf0a07ed Better explain password for insert-user 2022-11-07 11:09:05 +02:00
boreq cecadc4402 Fix 2022-11-01 13:30:00 +02:00
boreq 0fa646ccdf Test privacy modes 2022-11-01 13:30:00 +02:00
Filip Borkiewicz 72e7d68176 Update muxrpc/handlers/tunnel/server/members.go
Co-authored-by: decentral1se <1991377+decentral1se@users.noreply.github.com>
2022-11-01 13:30:00 +02:00
boreq ea9b22cfa7 Add an RPC endpoint listing all members
Currently an RPC endpoint which lists only the connected members is
available. A list of all members, even those who are offline, is
available only using the web dashboard. This pull request adds an RPC
endpoint which lists all members of the room.

This new endpoint can be used to augment SSB clients with extra
information about the rooms. For example friends who are room members
can be displayed in room-related settings or information about shared
rooms can be displayed in user profiles.

The new endpoint is a source endpoint called ["room", "members"]. Source
endpoint was selected to make it possible to return multiple smaller
responses instead of one large response - an async endpoint could
struggle to return the list of all members in case of larger rooms. Each
response carries a list of member objects. Currently the implementation
naively returns one member per response message but that can be adjusted
in the future.

Currently the request takes no arguments but extra options could be
added in the future.

Currently member objects only have one property: their id. This can be
extended in the future.
2022-11-01 13:30:00 +02:00
mix irving 158e5129ba Update README.md 2022-10-31 11:07:54 +02:00