Andrew Morgan
a79f20a66b
Fix linting errors and make config temporarily more loose
2019-06-17 14:20:15 +01:00
Andrew Morgan
ab6e15389e
Change linter file
2019-06-03 00:09:43 +01:00
Andrew Morgan
e77f3b7146
Use a medium instance for linting
2019-05-29 20:14:43 +01:00
Andrew Morgan
5e4820fe3f
We should be using golangci-lint to check spelling anyways
2019-05-29 17:41:04 +01:00
Andrew Morgan
bf3c0458df
up timeout to 30m
2019-05-29 17:31:48 +01:00
Andrew Morgan
b5985dcf72
GOGC to 10\?\!\?\!\?\!
2019-05-29 17:23:43 +01:00
Andrew Morgan
c5cf9386ce
Retry the builds when downloads fail
2019-05-29 17:22:46 +01:00
Andrew Morgan
60fff8619a
GOGC to 15
2019-05-29 17:17:51 +01:00
Andrew Morgan
675c7d4e29
GOGC to 20
2019-05-29 17:13:44 +01:00
Andrew Morgan
501f3e1529
GOGC to 25
2019-05-29 17:10:40 +01:00
Andrew Morgan
1c210acfc0
Switch back to unicode emoji for better labels
2019-05-29 17:08:50 +01:00
Andrew Morgan
5c56efcc04
Change GOGC to 30
2019-05-29 17:06:33 +01:00
Andrew Morgan
1cdf60e2ef
Lower memory usage
2019-05-29 16:56:21 +01:00
Andrew Morgan
5747fe936b
Put it in the command :(
2019-05-29 16:49:46 +01:00
Andrew Morgan
0b540635b7
test
2019-05-29 16:40:44 +01:00
Andrew Morgan
6e79295822
Check this is actually running
2019-05-29 16:35:20 +01:00
Andrew Morgan
c5eae2700b
Lower memory limit even more
2019-05-29 16:32:52 +01:00
Andrew Morgan
0e4f1d003a
Lower memory limit more
2019-05-29 16:30:05 +01:00
Andrew Morgan
ddc55c2e7e
Lower memory limit
2019-05-29 16:25:49 +01:00
Andrew Morgan
9966b5b68c
Making linting happy
2019-05-29 16:22:26 +01:00
Andrew Morgan
fcdb18d77f
safesql is gone
2019-05-29 16:11:21 +01:00
Andrew Morgan
76a076fae2
Fix config
2019-05-29 16:07:11 +01:00
Andrew Morgan
1aaea57082
Add config
2019-05-29 15:59:42 +01:00
Andrew Morgan
645000385b
Switch to golangci-lint
2019-05-29 15:59:15 +01:00
Andrew Morgan
fccbe8b841
quotes?
2019-05-29 15:39:59 +01:00
Andrew Morgan
ae1a43f060
Proper lint env variable
2019-05-29 15:36:41 +01:00
Andrew Morgan
441bbe12eb
stretch is the default and thus implied
2019-05-29 15:32:44 +01:00
Andrew Morgan
8ac1f8bc4f
Switch alpine to stretch so that we have git lol
2019-05-29 15:30:12 +01:00
Andrew Morgan
39f3d129ff
Fix pipeline emoji and syntax
2019-05-29 15:22:08 +01:00
Andrew Morgan
7a2d5b17b9
Switch to Buildkite ( #712 )
2019-05-29 15:17:00 +01:00
Brendan Abolivier
bcd6bdb8de
Fix CircleCI badge ( #711 )
...
The current one is directed towards @anoadragon453's repo, not the main Matrix.org one.
2019-05-29 14:48:43 +01:00
Andrew Morgan
ade4b9c978
Run CircleCI on pull request branches ( #710 )
...
We were previously only running CircleCI on master, but we want it to PRs as well.
2019-05-29 11:34:36 +01:00
Andrew Morgan
c7c5e8d8e8
Add CircleCI build status
2019-05-29 10:54:44 +01:00
Andrew Morgan
1667a4b09f
Add SyTest support to CI ( #704 )
...
Adds SyTest CI through CircleCI.
Also need to add all the tests that currently pass to testfile, but I don't think that's a hard blocker for merging.
2019-05-24 15:00:03 +01:00
Brendan Abolivier
e1ec98e248
Update Docker files and remove references to gb ( #703 )
...
Fix Docker files which had been forgotten in #594 and update scripts and docs to remove references to gb.
I also removed the `jenkins` directory which is outdated. We can revert f8d7e99 if we realise that it was a mistake to do so.
2019-05-22 10:44:25 +01:00
ruben
74827428bd
use go module for dependencies ( #594 )
2019-05-21 21:56:55 +01:00
Andrew Morgan
4d588f7008
Add #dendrite-dev to the README ( #699 )
...
I suspect this is why we're getting a lot of people coming in to #dendrite asking dev-related questions.
2019-03-27 17:36:45 +00:00
Travis Ralston
f8f9965cc5
Ensure appservices have their devices checked ( #554 )
...
The regular device check will return the device for the appservice's bot user instead of going through the user_id branch. The check has been moved to below the user_id check to ensure the right virtual user's device is chosen.
2019-03-21 08:48:21 -06:00
Alex Chen
5d2d0484d1
Fix build conflict between docker environment and host - #596 ( #598 )
...
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-03-04 14:47:29 +00:00
Sumukha Pk
6baaf8c36c
Improved clarity for setup in INSTALL.md ( #691 )
...
* Improved clarity for setup in INSTALL.md
2019-03-04 14:26:30 +00:00
Andrew Morgan
ce9f3ea362
Bump to go version 1.10 ( #690 )
2019-01-31 11:14:16 +00:00
Aaron Raimist
76a81e51b3
Remove riot.im from the list of trusted ID servers in the default config ( #688 )
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-01-31 10:06:11 +00:00
Andrew Morgan
0d6d72631b
Add matrix chatroom badge to readme ( #689 )
...
* Add matrix chatroom badge to readme
* Update URLs and add dendrite:matrix.org
2019-01-28 15:10:44 +00:00
Aaron Raimist
ac3ebcb3ed
Fix PR templates and use matrix.to instead of riot.im/develop ( #687 )
...
* Use absolute links in pull request template
Relative links don't work in most places
Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Use matrix.to (for now) instead of linking to riot.im/develop
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-01-28 10:15:33 +00:00
Andrew Morgan
4452cb4a65
Add PR template ( #686 )
2019-01-25 16:00:59 +00:00
MANASSE
3465f6727b
"v1" replaced with "r0" in pathPrefixR0 in mediaapi's routing ( #681 )
2019-01-17 09:25:13 +00:00
Alex Chen
4c5bd91e1c
POST /join/{roomId}: Allow joining even when not invited #663 ( #680 )
...
* POST /join/{roomId}: Allow joining even when not invited #663
Signed-off-by: Alex Chen <minecnly@gmail.com>
* POST /join/{roomId}: Use server in roomID as last resort to join
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-01-15 18:20:46 +00:00
Alex Chen
e063433b74
Fix POST /get_missing_events/{roomId} #622 ( #678 )
...
* Fix #622 /get_missing_events/{roomId}
Signed-off-by: Alex Chen <minecnly@gmail.com>
* Set initial size for eventsToFilter in /get_missing_events/{roomId}
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-01-14 10:20:19 +00:00
Reto
088a939461
Fix default timeout for /sync ( #615 ) ( #679 )
...
The sync timeout should be 0 according to the spec[1]
[1] https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-sync
Signed-off-by: Reto Brunner <brunnre8@gmail.com>
2019-01-10 10:28:13 +00:00
Brendan Abolivier
170264404e
Fix the sync api returning an empty sync response when reaching timeout, regardless of the since token ( #595 )
...
* Fix the sync api returning an empty sync response when reaching timeout, regardless of the since token
* Declare syncData from the start to avoid declaration shadowing
* Bump Kafka version
Since this is a huge bump, it might completely blow up - I'll revert it if that's the case
* Put the loop and the IsEmpty() check back in sync handler
* Add doc and allow returning if timeout is reached
2018-12-18 17:56:08 +00:00