Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main => beta #128

Merged
merged 96 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
a857bc7
Merge pull request #104 from xmtp/beta
neekolas Oct 16, 2023
40baf12
feat: add PPPP message types
neekolas Oct 18, 2023
b49bc6f
feat: add delivery service
neekolas Oct 19, 2023
62ea7bf
chore: move to v3 folder
neekolas Oct 19, 2023
1cc4b0d
chore: add go files
neekolas Oct 19, 2023
40da692
chore: rename fields
neekolas Oct 19, 2023
21b27a8
chore: remove protolint rule
neekolas Oct 19, 2023
8e1203c
feat: add RegisterInstallation
neekolas Oct 19, 2023
f697cdb
chore: rename some fields
neekolas Oct 19, 2023
8614390
chore: add welcome endpoint
neekolas Oct 19, 2023
b13438e
chore: add comment
neekolas Oct 19, 2023
2a17d00
chore: add proto messages
neekolas Oct 19, 2023
b546616
chore: add missing field
neekolas Oct 19, 2023
fdc6267
feat: add verification service
neekolas Oct 19, 2023
a8c9108
chore: rename field
neekolas Oct 19, 2023
22d13c0
Merge branch 'nmolnar/mls-delivery-service' into nmolnar/mls-verifica…
neekolas Oct 19, 2023
17d45e5
chore: generate go code
neekolas Oct 19, 2023
9ef7d91
chore: rename field in welcome message
neekolas Oct 19, 2023
1419d27
chore: update go generated code
neekolas Oct 19, 2023
65c1ae5
Merge pull request #106 from xmtp/nmolnar/mls-delivery-service
neekolas Oct 19, 2023
82b66c3
chore: update to identity
neekolas Oct 19, 2023
328520e
chore: rename rpc
neekolas Oct 19, 2023
5fcb10b
Merge pull request #105 from xmtp/nmolnar/pppp-messages
neekolas Oct 23, 2023
832c8d5
feat: refactor API
neekolas Oct 23, 2023
7a4c246
fix: add the appropriate files so that they get generated
nplasterer Oct 24, 2023
d8e4d26
update the swift generated stuff for spm
nplasterer Oct 24, 2023
03f125c
Merge pull request #108 from xmtp/np/update-kotlin-generate
nplasterer Oct 24, 2023
edfc19f
fix: export the new js files
nplasterer Oct 24, 2023
0471722
Merge pull request #109 from xmtp/np/update-js-generate
nplasterer Oct 24, 2023
9538715
Update LICENSE
bwcDvorak Oct 25, 2023
f6863e5
feat: add credential and pub key to validate key packages response
neekolas Oct 25, 2023
9760f07
chore: rename field
neekolas Oct 25, 2023
7d9388b
feat: add self encrypt types
neekolas Oct 25, 2023
e0ff135
chore: generate go code
neekolas Oct 25, 2023
9017c78
Merge pull request #111 from xmtp/add-private-preferences-types
rygine Oct 25, 2023
87413e6
chore: make installation_id public keys
neekolas Oct 25, 2023
22f879b
build: publish dart on release, fix semver for kt and dart
dmccartney Oct 25, 2023
de642c2
Merge pull request #112 from xmtp/daniel-dart-pub-release
dmccartney Oct 25, 2023
d000ef1
Merge branch 'main' into nmolnar/mls-verification-service
neekolas Oct 25, 2023
559c513
feat: add more .proto to dart package, disable pub with note
dmccartney Oct 26, 2023
55914c1
Merge pull request #113 from xmtp/daniel-dart-added
dmccartney Oct 26, 2023
5efc208
chore: remove field from proto
neekolas Oct 26, 2023
9513063
Merge pull request #110 from xmtp/bwcDvorak-patch-1
bwcDvorak Oct 30, 2023
43f09d0
feat: add database intents
neekolas Nov 6, 2023
6d01daf
chore: rename to use key packages
neekolas Nov 6, 2023
0363015
Merge branch 'main' into nmolnar/mls-verification-service
neekolas Nov 7, 2023
8060216
chore: update protos
neekolas Nov 8, 2023
df10cba
feat: add refresh PPPP job type
rygine Nov 14, 2023
5cab1d0
Merge pull request #114 from xmtp/rygine/add-pppp-job-type
rygine Nov 14, 2023
74ccc3c
feat: support EncodedContent and transcript messages
neekolas Nov 28, 2023
5fe66ea
fix: rename to account_address
neekolas Nov 30, 2023
2d68897
feat: add new payload format
neekolas Nov 30, 2023
f8a54c4
wallet_addresses
insipx Dec 5, 2023
8dec463
bytes -> string
insipx Dec 5, 2023
5622132
plural for add/remove members intents
insipx Dec 5, 2023
52ec200
string -> bytes
insipx Dec 6, 2023
007ea25
association addr -> bytes
insipx Dec 6, 2023
3f372cf
revert just use strings
insipx Dec 6, 2023
1893c3f
use oneof for add/remove members
insipx Dec 7, 2023
dde129b
fix tags
insipx Dec 7, 2023
2ec84a7
Compose AddressOrInstallationId, avoid dup codegen
insipx Dec 7, 2023
cc77860
pluralize
insipx Dec 11, 2023
1e89322
fix pluralization
insipx Dec 11, 2023
0513809
fix pluralization
insipx Dec 11, 2023
8d1c361
Merge pull request #117 from xmtp/insipx/remove-add-wallet-addresses
insipx Dec 11, 2023
cb6f671
feat: update credential and revocation to match spec
richardhuaaa Dec 14, 2023
d305de1
fix: fix lints
richardhuaaa Dec 14, 2023
2937015
fix: fix pluralization lint
richardhuaaa Dec 14, 2023
4068f84
refactor: remove v3 directory
richardhuaaa Dec 14, 2023
03a83e8
refactor: fix warning
richardhuaaa Dec 14, 2023
45779bd
Merge pull request #118 from xmtp/rich/update-credential
richardhuaaa Dec 14, 2023
572db68
Merge pull request #116 from xmtp/nm/add-new-ciphertext
neekolas Dec 15, 2023
1c7b184
Merge branch 'main' into nmolnar/mls-verification-service
neekolas Dec 15, 2023
f060363
Merge pull request #107 from xmtp/nmolnar/mls-verification-service
neekolas Dec 18, 2023
478ccf4
refactor: wallet_address -> account_address
richardhuaaa Dec 19, 2023
2ff03b7
Merge pull request #121 from xmtp/rich/account-address
richardhuaaa Dec 19, 2023
f50c3c9
fix: assume all KeyPackages are last resort
Bren2010 Dec 17, 2023
9193aef
fix: add policies
neekolas Jan 6, 2024
7ae3595
fix: rename policies
neekolas Jan 6, 2024
0d8c0f3
fix: move membership policies into one parent message
neekolas Jan 6, 2024
cf752bd
chore: rename file
neekolas Jan 6, 2024
d21a490
chore: remove generated vscode config
neekolas Jan 7, 2024
c4a9a15
chore: add missing enum field
neekolas Jan 8, 2024
d4c2e76
chore: enum
neekolas Jan 8, 2024
47bc8db
Merge pull request #123 from Bren2010/brendan/last-resort
neekolas Jan 9, 2024
81776a4
fix: buf workflow was broken
neekolas Jan 9, 2024
4945263
chore: use newer protoc version
neekolas Jan 9, 2024
74fe35f
Merge branch 'main' into nm/fix-buf-workflow
neekolas Jan 9, 2024
7be5c72
Merge pull request #124 from xmtp/nm/fix-buf-workflow
neekolas Jan 9, 2024
4e6efc7
Merge branch 'main' into nm/add-policies
neekolas Jan 9, 2024
dbd6cdb
chore: remove not_condition
neekolas Jan 9, 2024
d289af0
chore: remove installation policies
neekolas Jan 10, 2024
4e1d2b1
refactor: move message_api/v3 to mls/api/v1
Jan 11, 2024
665f2f1
Merge pull request #126 from xmtp/snor/move-msgv3-mlsv1
Jan 11, 2024
c69cbb1
chore: remove allow same member
neekolas Jan 11, 2024
65bf2b2
Merge pull request #122 from xmtp/nm/add-policies
neekolas Jan 11, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/buf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
buf_token: ${{ secrets.BUF_TOKEN }}
buf_api_token: ${{ secrets.BUF_TOKEN }}
# Push only the Input in `proto` to the BSR
- uses: bufbuild/buf-push-action@v1
with:
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/publish-dart.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,47 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release
dart:
# The `semantic-release` from JS calculates the version tag
needs: js
if: ${{ github.ref_name == 'main' }}
name: Release (dart)
# https://dart.dev/tools/pub/automated-publishing
permissions:
id-token: write # This is required for requesting the JWT
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
- run: dart pub get
working-directory: ./dart
- run: dev/dart/generate
- run: dart test
working-directory: ./dart
- name: Set Tag
run: |
TAG=`echo $(git describe --tags --abbrev=0)`
echo "GIT_TAG=${TAG#v}" >> $GITHUB_ENV
- run: dev/dart/prepublish
env:
RELEASE_VERSION: ${{ env.GIT_TAG }}
- name: Verify pubspec
run: cat ./dart/pubspec.yaml
# - run: dart pub publish --force
# working-directory: ./dart
# We can't actually publish to pub.dev from this workflow.
# pub.dev requires the action be triggered by a "tag" (not "branch") push.
# See https://github.com/dart-lang/pub-dev/blob/master/app/lib/package/backend.dart#L1255
# Manual Workaround: (after this workflow completes on a clean checkout)
# $ dev/dart/generate
# $ RELEASE_VERSION=#.#.# dev/dart/prepublish
# $ dart pub publish --force
# TODO: find safer way to automate
kotlin:
# The `semantic-release` from JS calculates the version tag
needs: js
if: ${{ github.ref_name == 'main' }}
name: Release (Kotlin)
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .protolint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lint:

# # The specific linters to remove.
remove:
- RPC_REQUEST_RESPONSE_UNIQUE
# We should probably turn this back on at some point, but pretty annoying RN
- FIELDS_HAVE_COMMENT
# I never want to turn this back on. Enums values should be self-explanatory
Expand All @@ -49,7 +50,7 @@ lint:
# MAX_LINE_LENGTH rule option.
max_line_length:
# Enforces a maximum line length
max_chars: 80
max_chars: 150
# Specifies the character count for tab characters
tab_chars: 2

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 XMTP
Copyright (c) 2023 XMTP (xmtp.org)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions dart/lib/xmtp_proto.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ export 'src/keystore_api/v1/keystore.pb.dart';
export 'src/message_api/v1/message_api.pbgrpc.dart';
export 'src/message_api/v1/authn.pb.dart';
export 'src/message_contents/message.pb.dart';
export 'src/message_contents/private_preferences.pb.dart';
export 'src/message_contents/content.pb.dart';
export 'src/message_contents/composite.pb.dart';
export 'src/message_contents/private_key.pb.dart';
export 'src/message_contents/public_key.pb.dart';
export 'src/message_contents/signature.pb.dart';
export 'src/message_contents/signed_payload.pb.dart';
export 'src/message_contents/ciphertext.pb.dart';
export 'src/message_contents/ecies.pb.dart';
export 'src/message_contents/contact.pb.dart';
export 'src/message_contents/invitation.pb.dart';
5 changes: 4 additions & 1 deletion dev/dart/generate
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ docker run --rm -i -v${PWD}:/code xmtp-dart/protoc \
message_contents/invitation.proto \
message_contents/private_key.proto \
message_contents/message.proto \
message_contents/content.proto
message_contents/content.proto \
message_contents/private_preferences.proto \
message_contents/signed_payload.proto \
message_contents/ecies.proto
2 changes: 1 addition & 1 deletion dev/dart/prepublish
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ cp ./LICENSE ./dart/LICENSE

# Update pubspec.yaml version to use tagged version
# See https://dart.dev/tools/pub/automated-publishing#triggering-automated-publishing-from-github-actions
sed -i "s/version: 0.0.0/version: $RELEASE_VERSION/" ./dart/pubspec.yaml
sed -i'' "s/version: 0.0.0/version: $RELEASE_VERSION/" ./dart/pubspec.yaml
5 changes: 4 additions & 1 deletion dev/kotlin/generate
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@ docker run --platform linux/x86_64 --rm -i -v${PWD}:/code xmtp/protoc-kotlin \
message_contents/invitation.proto \
message_contents/private_key.proto \
message_contents/message.proto \
message_contents/content.proto
message_contents/content.proto \
message_contents/private_preferences.proto \
message_contents/signed_payload.proto \
message_contents/ecies.proto
5 changes: 4 additions & 1 deletion dev/swift/generate
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ docker run --rm -i -v${PWD}:/code xmtp/protoc-swift \
message_contents/invitation.proto \
message_contents/private_key.proto \
message_contents/message.proto \
message_contents/content.proto
message_contents/content.proto \
message_contents/private_preferences.proto \
message_contents/signed_payload.proto \
message_contents/ecies.proto
5 changes: 4 additions & 1 deletion dev/ts/generate
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ docker run --rm -i -v${PWD}:/code xmtp/protoc \
message_contents/private_key.proto \
message_contents/content.proto \
message_contents/message.proto \
keystore_api/v1/keystore.proto
keystore_api/v1/keystore.proto \
message_contents/private_preferences.proto \
message_contents/signed_payload.proto \
message_contents/ecies.proto
3 changes: 3 additions & 0 deletions go/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ import (

//go:generate compile ../proto/keystore_api/v1/keystore.proto
//go:generate compile ../proto/message_api/v1/message_api.proto
//go:generate compile ../proto/mls/api/v1/mls.proto
//go:generate compile ../proto/mls_validation/v1/service.proto
//go:generate compile ../proto/mls/message_contents/message.proto
//go:generate compile ../proto/message_api/v1/authn.proto
//go:generate compile ../proto/message_contents/content.proto
//go:generate compile ../proto/message_contents/conversation_reference.proto
Expand Down
Loading
Loading