Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
b2dec49
Make federated connection functions work with qualified IDs (#1819)
pcapriotti Oct 4, 2021
48f7747
Fix detail in stern online help (#1834)
fisx Oct 4, 2021
741fc51
Spar Polysemy: SAML2 effect (#1827)
isovector Oct 4, 2021
47ecffe
Spar Polysemy: Fully polysemize Spar (#1833)
isovector Oct 5, 2021
4d2ac4f
Use hs-certificate master (#1822)
pcapriotti Oct 6, 2021
f104007
Servantify legacy addMember endpoint (#1838)
pcapriotti Oct 6, 2021
0ba6b8f
Use helmfile's parallelism to speed up integration test setup time (#…
jschaul Oct 6, 2021
a486304
[Federation] Include Remote Connections in Listing All Connections (#…
Oct 7, 2021
fa25b09
Remove deprecated endpoint for listing convs (#1840)
pcapriotti Oct 7, 2021
e742a41
Federation: Allow connecting to remote users (#1824)
pcapriotti Oct 7, 2021
c4c6763
Fix more swagger validation errors (#1841)
pcapriotti Oct 7, 2021
78d7ca6
Various cleanups of Qualified and related types (#1839)
pcapriotti Oct 7, 2021
fda14dd
Create remote 1-1 conversations (#1825)
pcapriotti Oct 8, 2021
1087af0
Leave a note with a link to a Jira ticket about a flaky test (#1844)
Oct 8, 2021
5296623
Make non-collision test for 1-1 conv ids faster (#1846)
pcapriotti Oct 11, 2021
359d6bf
add comment to test for FUTUREWORK (#1848)
jschaul Oct 11, 2021
f9405a3
Fix error in member csv creation (SAML.UserRef decoding error) (#1828)
fisx Oct 11, 2021
4258f7b
Update One2One conversation when connection status changes (#1850)
smatting Oct 12, 2021
c6906f8
chore: [charts] Update webapp version (#1836)
zebot Oct 13, 2021
93febef
chore: [charts] Update team-settings version (#1835)
zebot Oct 13, 2021
46b02b1
update to latest SFT. (#1849)
julialongtin Oct 13, 2021
e8ce5fb
Upgrade webapp/team-settings: changelog entries for #1835 and #1836 (…
jschaul Oct 13, 2021
62c837e
Fix SFTD in umbrella chart (#1677)
arianvp Oct 13, 2021
99961a4
Move SFTD public IP docs to the top (#1672)
arianvp Oct 13, 2021
3497d6e
[charts:sftd] Introduce flag to enable TURN discovery (#1519)
lucendio Oct 13, 2021
1e2cd55
Check extended key usage of server certificates (#1855)
pcapriotti Oct 14, 2021
f10295c
Access updates affect remote users (#1854)
smatting Oct 14, 2021
b0e329a
Change tag (#1859)
smatting Oct 14, 2021
a64968b
Check connections when adding remote users to a conv (#1842)
akshaymankar Oct 15, 2021
e0b3556
Make conversation creator unqualified in on-conversation-created RPC …
pcapriotti Oct 18, 2021
50512f9
Parallelise RPCs (#1860)
pcapriotti Oct 18, 2021
7e02f4a
Close GRPC client after making a request to a remote federator (#1865)
pcapriotti Oct 19, 2021
78645cb
Allow using kind cluster with imagePullPolicy=Never (#1862)
jschaul Oct 19, 2021
852d8b7
disable flaky test in gundeck (#1867)
jschaul Oct 20, 2021
ab296be
Check connections when creating group and team convs with remote mem…
akshaymankar Oct 20, 2021
0aa86a7
minor Readme: document usage of helm charts (#1307)
jschaul Oct 20, 2021
edbf52c
Support deleting conversations with federated users (#1861)
smatting Oct 20, 2021
5632e0c
Remove a leftover TODO that was addressed (#1868)
Oct 20, 2021
af37dfc
In Conversation Endpoints Make the members.self ID Qualified (#1866)
Oct 21, 2021
48ff7da
Changelog script: skip empty sections (#1871)
pcapriotti Oct 21, 2021
a2c02fa
Replace shell.nix with a direnv + nixpkgs.buildEnv based setup (#1876)
akshaymankar Oct 21, 2021
4293d82
Correctly update PATH in .envrc (#1877)
akshaymankar Oct 21, 2021
992796e
Introduce 'make flake-PATTERN' (#1875)
jschaul Oct 21, 2021
6291a90
updatePhone deflake (#1874)
jschaul Oct 21, 2021
d586d0d
Include conv creator is only once in notifications sent to remotes (#…
akshaymankar Oct 25, 2021
8eb2048
Optimise remote user deletion (#1872)
pcapriotti Oct 26, 2021
e9d8d99
Set federator's default log level to Info (#1882)
akshaymankar Oct 26, 2021
3279146
Rename the two federation/on-user-deleted endpoints (#1883)
akshaymankar Oct 26, 2021
f38428c
Galley polysemy (1/5) - Introduce Sem and "access" effects (#1881)
pcapriotti Oct 27, 2021
14cac8b
Allow configuring nginz so it serves the deeplink for apps to discov…
akshaymankar Oct 27, 2021
698d5f6
upgrade webapp to federation-capable (not for production use!) versio…
julialongtin Oct 29, 2021
5297219
Merge branch 'master' into develop
julialongtin Oct 29, 2021
8dbf8d9
[feature config] self-deleting messages (#1857)
fisx Oct 31, 2021
7d336c6
Add a o2o conversation test in getting conversations in the federatio…
Nov 1, 2021
c38b87f
Add a change log
Nov 1, 2021
d3202e8
Revert "Add a o2o conversation test in getting conversations in the f…
Nov 1, 2021
71761cc
Revert "Add a change log"
Nov 1, 2021
615c666
Delete old changelog entries (#1898)
akshaymankar Nov 1, 2021
36220d6
Test sending message to multiple remote domains (#1899)
akshaymankar Nov 2, 2021
d670e3b
Remove Locale from the UserProfile model (#1888)
Nov 2, 2021
747eba6
Extend a Federation API Test for Getting Conversations (#1896)
Nov 2, 2021
81d5a1c
Galley polysemy (2/5) - Store effects (#1890)
pcapriotti Nov 2, 2021
19ac2dd
galley: Refactor Federation.onUserDeleted integration test (#1902)
akshaymankar Nov 2, 2021
72ad58f
Use WIRE_STACK_OPTIONS when building haddock (#1887)
pcapriotti Nov 2, 2021
df7a409
Fix build (#1903)
pcapriotti Nov 2, 2021
db1730b
Federation: Document how to deploy local builds (#1880)
smatting Nov 3, 2021
fc9c7c1
chore: [charts] Update webapp version (#1897)
zebot Nov 3, 2021
6ba5bec
Galley polysemy (3/5) - Access effects (#1904)
pcapriotti Nov 4, 2021
030dd81
Cassandra: use LOCAL_QUORUM (#1884)
jschaul Nov 4, 2021
ea490c4
Close GRPC client after making a request to federator (#1873)
pcapriotti Nov 4, 2021
b0a3d60
Provide ormolu via direnv, run `make formatc` in github actions (#1908)
flokli Nov 4, 2021
87c27d3
Implement all other store effects (#1906)
pcapriotti Nov 5, 2021
21c0eac
Fix: push events when AppLock or SelfDeletingMessages config change. …
fisx Nov 5, 2021
1db0235
regenerate galley.cabal (#1911)
smatting Nov 8, 2021
4dbd1a5
Federation: Notify remote participants when a user leaves a conversat…
smatting Nov 8, 2021
f3e45af
Use cabal to build wire-server (opt-in) (#1853)
smatting Nov 8, 2021
9eb6810
fix generate.sh (#1913)
smatting Nov 9, 2021
7371390
Do not fail user deletion when a remote notification fails (#1912)
smatting Nov 9, 2021
08362c8
Fix LD_LIBRARY_PATH usage in direnv build environment (#1918)
sysvinit Nov 9, 2021
6c3e533
polysemy-check laws for IdP effect (#1863)
isovector Nov 9, 2021
488f8b5
Galley polysemy (4/5) - Error effects (#1907)
pcapriotti Nov 10, 2021
c335c8c
Add /list-connections to the local nginz config (#1921)
akshaymankar Nov 10, 2021
eb6b802
Report QualifiedCapture correctly in prometheus metrics (#1919)
akshaymankar Nov 10, 2021
922ec36
Allow filtering cassandra nodes by datacentre (#1886)
jschaul Nov 10, 2021
65c2080
direnv.nix: List all system deps for building haskell libraries (#1922)
akshaymankar Nov 10, 2021
187d52c
Update documentation of dependency setup (#1900)
Nov 12, 2021
fe32ce3
Spar Polysemy: Split IdPRawMetadataStore from IdP (#1924)
isovector Nov 13, 2021
8ecea4d
Faktor out golden tests into separate test suite in wire-api. (#1926)
fisx Nov 15, 2021
0106e27
Add changelog
akshaymankar Nov 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
pull_request:
push:
branches: [master]

jobs:
build-dev-env:
name: Build dev env
strategy:
matrix:
os:
- ubuntu-latest
# This is too expensive
# - macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: cachix/install-nix-action@v14.1
- uses: cachix/cachix-action@v10
with:
name: wire-server
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build the wire-server-direnv
run: nix-build --no-out-link direnv.nix
- name: Install the wire-server-direnv
run: nix-env -f direnv.nix -i
- name: Ensure everything is formatted
run: make formatc
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@ b.yaml
telepresence.log

/.ghci

# local config
.envrc.local
cabal.project.local
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
<!-- if you're not the release manager, do your edits to changelog under CHANGELOG.d/ -->

# [2021-11-15]

## Release notes

* In case you use a multi-datacentre cassandra setup (most likely you do not), be aware that now [LOCAL_QUORUM](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html) is in use as a default. (#1884)
* Deploy galley before brig. (#1857)
* Upgrade webapp version to 2021-11-01-production.0-v0.28.29-0-d919633 (#1856)

## API changes

* Remove locale from publicly facing user profiles (but not from the self profile) (#1888)

## Features

* End-points for configuring self-deleting messages. (#1857)

## Bug fixes and other updates

* Ensure that all endpoints have a correct handler in prometheus metrics (#1919)
* Push events when AppLock or SelfDeletingMessages config change. (#1901)

## Documentation

* Federation: Document how to deploy local builds (#1880)

## Internal changes

* Add a 'filterNodesByDatacentre' config option useful during cassandra DC migration (#1886)
* Add ormolu to the direnv, add a GH Action to ensure formatting (#1908)
* Turn placeholder access effects into actual Polysemy effects. (#1904)
* Fix a bug in the IdP.Mem interpreter, and added law tests for IdP (#1863)
* Introduce fine-grained error types and polysemy error effects in Galley. (#1907)
* Add polysemy store effects and split off Cassandra specific functionality from the Galley.Data module hierarchy (#1890, #1906). (#1890)
* Make golden-tests in wire-api package a separate test suite (for faster feedback loop during development). (#1926)
* Separate IdPRawMetadataStore effect from IdP effect (#1924)
* Test sending message to multiple remote domains (#1899)
* Use cabal to build wire-server (opt-in) (#1853)

## Federation changes

* Close GRPC client after making a request to a federator. (#1865)
* Do not fail user deletion when a remote notification fails (#1912)
* Add a one-to-one conversation test in getting conversations in the federation API (#1899)
* Notify remote participants when a user leaves a conversation because they were deleted (#1891)

# [2021-10-29]

## Release notes
Expand Down
46 changes: 38 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,37 @@ init:
# Build all Haskell services and executables, run unit tests
.PHONY: install
install: init
ifeq ($(WIRE_BUILD_WITH_CABAL), 1)
cabal build all
./hack/bin/cabal-run-all-tests.sh
./hack/bin/cabal-install-all-artefacts.sh
else
stack install --pedantic --test --bench --no-run-benchmarks --local-bin-path=dist
endif

# Build all Haskell services and executables with -O0, run unit tests
.PHONY: fast
fast: init
ifeq ($(WIRE_BUILD_WITH_CABAL), 1)
make install
else
stack install --pedantic --test --bench --no-run-benchmarks --local-bin-path=dist --fast $(WIRE_STACK_OPTIONS)
endif

# Usage: make c package=brig test=1
.PHONY: c
c:
cabal build $(WIRE_CABAL_BUILD_OPTIONS) $(package)
ifeq ($(test), 1)
./hack/bin/cabal-run-tests.sh $(package)
endif
./hack/bin/cabal-install-artefacts.sh $(package)

# ci here doesn't refer to continuous integration, but to cabal-integration
# Usage: make ci package=brig test=1
.PHONY: ci
ci: c
make -C services/$(package) i-$(pattern)

# Build everything (Haskell services and nginz)
.PHONY: services
Expand All @@ -54,12 +79,12 @@ services: init install
# Build haddocks
.PHONY: haddock
haddock:
WIRE_STACK_OPTIONS="--haddock --haddock-internal" make fast
WIRE_STACK_OPTIONS="$(WIRE_STACK_OPTIONS) --haddock --haddock-internal" make fast

# Build haddocks only for wire-server
.PHONY: haddock-shallow
haddock-shallow:
WIRE_STACK_OPTIONS="--haddock --haddock-internal --no-haddock-deps" make fast
WIRE_STACK_OPTIONS="$(WIRE_STACK_OPTIONS) --haddock --haddock-internal --no-haddock-deps" make fast

# formats all Haskell files (which don't contain CPP)
.PHONY: format
Expand Down Expand Up @@ -232,14 +257,15 @@ libzauth:
#
# Run this again after changes to libraries or dependencies.
.PHONY: hie.yaml
hie.yaml: stack-dev.yaml
stack build implicit-hie
stack exec gen-hie | yq "{cradle: {stack: {stackYaml: \"./stack-dev.yaml\", components: .cradle.stack}}}" > hie.yaml

.PHONY: stack-dev.yaml
stack-dev.yaml:
hie.yaml:
ifeq ($(WIRE_BUILD_WITH_CABAL), 1)
echo -e 'cradle:\n cabal: {}' > hie.yaml
else
cp stack.yaml stack-dev.yaml
echo -e '\n\nghc-options:\n "$$locals": -O0 -Wall -Werror' >> stack-dev.yaml
stack build implicit-hie
stack exec gen-hie | yq "{cradle: {stack: {stackYaml: \"./stack-dev.yaml\", components: .cradle.stack}}}" > hie.yaml
endif

#####################################
# Today we pretend to be CI and run integration tests on kubernetes
Expand Down Expand Up @@ -277,6 +303,10 @@ kube-integration-test:
kube-integration-teardown:
export NAMESPACE=$(NAMESPACE); ./hack/bin/integration-teardown-federation.sh

.PHONY: kube-integration-e2e-telepresence
kube-integration-e2e-telepresence:
./services/brig/federation-tests.sh $(NAMESPACE)

.PHONY: kube-integration-setup-sans-federation
kube-integration-setup-sans-federation: guard-tag charts-integration
# by default "test-<your computer username> is used as namespace
Expand Down
Loading