Commit Graph

519 Commits

Author SHA1 Message Date
Thomas Citharel
8a977e3b84
Update phoenix_pubsub
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31:06 +01:00
Thomas Citharel
7086fe8389
Make Categories a predefined list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Allow null values for categories for now

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31:04 +01:00
Thomas Citharel
75554cd3f5 Merge branch 'improve-tests' into 'master'
Improve tests

See merge request framasoft/mobilizon!78
2019-02-22 18:13:01 +01:00
Thomas Citharel
8bba35e60b
Improve tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 18:07:20 +01:00
Thomas Citharel
227f981645 Merge branch 'feature/router-enum' into 'master'
Refactor router

See merge request framasoft/mobilizon!76
2019-02-22 17:06:34 +01:00
Thomas Citharel
f40a4de2b0 Merge branch 'dializer-fixes' into 'master'
A few fixes comming from Dialyser

See merge request framasoft/mobilizon!77
2019-02-22 17:04:52 +01:00
Chocobozzz
53cb39350a
Refactor router 2019-02-22 16:58:03 +01:00
Thomas Citharel
d37c873b04
A few fixes comming from Dialyser
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 16:57:12 +01:00
Thomas Citharel
d73f738b1b Merge branch 'ci-allow-format-failure' into 'master'
Fix mix format and format migrations too

See merge request framasoft/mobilizon!75
2019-02-22 15:00:36 +01:00
Thomas Citharel
7dd7e8fc36
Fix mix format and format migrations too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix credo warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Show elixir version

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Also lint migrations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Reset allow failure to false

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 14:53:09 +01:00
Thomas Citharel
5024dfbbef Merge branch 'search' into 'master'
Search

See merge request framasoft/mobilizon!73
2019-02-22 13:57:33 +01:00
Thomas Citharel
24dfa3b2d1 Merge branch 'feature/cleanup-event' into 'master'
Add leave/join/delete event logic

See merge request framasoft/mobilizon!74
2019-02-22 13:54:50 +01:00
Thomas Citharel
cadbe6082a
Add a new Phoenix config option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:11 +01:00
Thomas Citharel
4ec40d601b
Implement search with PostgreSQL trigrams
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Rename function to reflect that we only get one result

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add loggers and make Ecto call parallels during search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Implement trigrams for events & replace pg similarity operator % with <%

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:10 +01:00
Chocobozzz
e19a533e9d
Add leave/join/delete event logic 2019-02-22 13:49:23 +01:00
Thomas Citharel
e4a08ff83b Merge branch 'update-ci' into 'master'
Update CI Docker Image

See merge request framasoft/mobilizon!72
2019-02-21 17:21:07 +01:00
Thomas Citharel
62ac18ea25
Update CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 17:14:49 +01:00
Thomas Citharel
131152abac Merge branch 'tag_relations' into 'master'
Allow tag relations + bump ecto deps

See merge request framasoft/mobilizon!71
2019-02-21 17:11:29 +01:00
Thomas Citharel
ae09e0ae4a
Update ex_crypto
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:59:39 +01:00
Thomas Citharel
256d50e855
Allow tag relations + bump ecto deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:58:14 +01:00
Thomas Citharel
4caa998ae0 Merge branch 'dependabot/npm_and_yarn/js/register-service-worker-1.6.1' into 'master'
Bump register-service-worker from 1.5.2 to 1.6.1 in /js/

See merge request framasoft/mobilizon!70
2019-02-12 08:47:04 +01:00
Thomas Citharel
c4f1caba31 Merge branch 'dependabot/hex/geo-3.1.0' into 'master'
Bump geo from 3.0.0 to 3.1.0

See merge request framasoft/mobilizon!69
2019-02-12 08:46:08 +01:00
Thomas Citharel
001bc29d3d Bump register-service-worker from 1.5.2 to 1.6.1 in /js/
Bumps [register-service-worker](https://github.com/yyx990803/register-service-worker) from 1.5.2 to 1.6.1.
- [Release notes](https://github.com/yyx990803/register-service-worker/releases)
- [Changelog](https://github.com/yyx990803/register-service-worker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yyx990803/register-service-worker/commits/v1.6.1)
2019-02-12 05:16:07 +01:00
Thomas Citharel
3f78790fce Bump geo from 3.0.0 to 3.1.0
Bumps [geo](https://github.com/bryanjos/geo) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/bryanjos/geo/releases)
- [Changelog](https://github.com/bryanjos/geo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bryanjos/geo/compare/v3.0.0...v3.1.0)
2019-02-09 05:12:35 +01:00
Thomas Citharel
35ece21b7a Merge branch 'update-deps' into 'master'
Update deps

See merge request framasoft/mobilizon!68
2019-02-08 11:35:35 +01:00
Thomas Citharel
1a4197f977 Update deps 2019-02-08 11:35:35 +01:00
Thomas Citharel
11a112dc9a Merge branch 'dependabot/hex/excoveralls-0.10.5' into 'master'
Bump excoveralls from 0.10.3 to 0.10.5

See merge request framasoft/mobilizon!65
2019-02-08 11:03:26 +01:00
Thomas Citharel
4f899bd8b5 Merge branch 'dependabot/npm_and_yarn/js/apollo-absinthe-upload-link-1.5.0' into 'master'
Bump apollo-absinthe-upload-link from 1.4.0 to 1.5.0 in /js/

See merge request framasoft/mobilizon!67
2019-02-08 11:03:10 +01:00
Thomas Citharel
cec87b8472 Merge branch 'dependabot/hex/httpoison-1.5.0' into 'master'
Bump httpoison from 1.4.0 to 1.5.0

See merge request framasoft/mobilizon!66
2019-02-08 10:57:02 +01:00
Thomas Citharel
f7c25a034c Bump apollo-absinthe-upload-link from 1.4.0 to 1.5.0 in /js/
Bumps [apollo-absinthe-upload-link](https://github.com/bytewitchcraft/apollo-absinthe-upload-link) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/bytewitchcraft/apollo-absinthe-upload-link/releases)
- [Commits](https://github.com/bytewitchcraft/apollo-absinthe-upload-link/compare/1.4.0...1.5.0)
2019-02-08 10:56:32 +01:00
Thomas Citharel
92d9d19291 Bump httpoison from 1.4.0 to 1.5.0
Bumps [httpoison](https://github.com/edgurgel/httpoison) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/edgurgel/httpoison/releases)
- [Changelog](https://github.com/edgurgel/httpoison/blob/master/CHANGELOG.md)
- [Commits](https://github.com/edgurgel/httpoison/compare/v1.4.0...v1.5.0)
2019-02-08 10:55:40 +01:00
Thomas Citharel
590b3da010 Merge branch 'dependabot/hex/ecto_enum-1.2.0' into 'master'
Bump ecto_enum from 1.1.0 to 1.2.0

See merge request framasoft/mobilizon!63
2019-02-08 10:50:47 +01:00
Thomas Citharel
b3181a9109 Merge branch 'dependabot/hex/ex_doc-0.19.3' into 'master'
Bump ex_doc from 0.19.1 to 0.19.3

See merge request framasoft/mobilizon!64
2019-02-08 10:45:56 +01:00
Thomas Citharel
4980593384 Bump excoveralls from 0.10.3 to 0.10.5
Bumps [excoveralls](https://github.com/parroty/excoveralls) from 0.10.3 to 0.10.5.
- [Release notes](https://github.com/parroty/excoveralls/releases)
- [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parroty/excoveralls/compare/v0.10.3...v0.10.5)
2019-02-08 10:43:14 +01:00
Thomas Citharel
2bb81c50e7 Merge branch 'master' into 'dependabot/hex/ecto_enum-1.2.0'
# Conflicts:
#   mix.lock
2019-02-08 10:36:26 +01:00
Thomas Citharel
d19ff8dc56 Bump ex_doc from 0.19.1 to 0.19.3
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.19.1 to 0.19.3.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.19.1...v0.19.3)
2019-02-08 10:33:19 +01:00
Thomas Citharel
779147ec4b Merge branch 'dependabot/hex/ecto_autoslug_field-1.0.0' into 'master'
Bump ecto_autoslug_field from 0.5.1 to 1.0.0

See merge request framasoft/mobilizon!62
2019-02-08 10:28:31 +01:00
Thomas Citharel
ffc3ed107e Bump ecto_enum from 1.1.0 to 1.2.0
Bumps [ecto_enum](https://github.com/gjaldon/ecto_enum) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gjaldon/ecto_enum/releases)
- [Changelog](https://github.com/gjaldon/ecto_enum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gjaldon/ecto_enum/compare/v1.1.0...v1.2.0)
2019-02-08 10:25:57 +01:00
Thomas Citharel
2b0ebfa726 Bump ecto_autoslug_field from 0.5.1 to 1.0.0
Bumps [ecto_autoslug_field](https://github.com/sobolevn/ecto_autoslug_field) from 0.5.1 to 1.0.0.
- [Release notes](https://github.com/sobolevn/ecto_autoslug_field/releases)
- [Changelog](https://github.com/sobolevn/ecto_autoslug_field/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sobolevn/ecto_autoslug_field/compare/0.5.1...1.0.0)
2019-02-08 10:17:47 +01:00
Thomas Citharel
ff5ea03225 Merge branch 'dependabot/hex/credo-1.0.2' into 'master'
Bump credo from 1.0.0 to 1.0.2

See merge request framasoft/mobilizon!61
2019-02-08 10:14:32 +01:00
Thomas Citharel
557dbff6f5 Bump credo from 1.0.0 to 1.0.2
Bumps [credo](https://github.com/rrrene/credo) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rrrene/credo/compare/v1.0.0...v1.0.2)
2019-02-08 05:12:38 +01:00
Thomas Citharel
ac3815074b Merge branch 'feature/participant-mutations' into 'master'
Add API to join and leave an event

See merge request framasoft/mobilizon!55
2019-02-07 18:04:50 +01:00
Thomas Citharel
dfa25e0d21
Events with only one event creator participant can't be left
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 17:57:49 +01:00
Thomas Citharel
3d12784d60 Merge branch 'dependabot/hex/cors_plug-2.0.0' into 'master'
Bump cors_plug from 1.5.2 to 2.0.0

See merge request framasoft/mobilizon!60
2019-02-07 17:09:50 +01:00
Thomas Citharel
d1d3beeb35
Base default participant role on event join_options instead of visbility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 17:09:04 +01:00
Chocobozzz
250f0b3bd1
Add API to join and leave an event 2019-02-07 16:56:59 +01:00
Thomas Citharel
bfe341ebe3 Merge branch 'dependabot/hex/comeonin-4.1.2' into 'master'
Bump comeonin from 4.1.1 to 4.1.2

See merge request framasoft/mobilizon!59
2019-02-07 16:54:38 +01:00
Thomas Citharel
54b94a65b6 Bump cors_plug from 1.5.2 to 2.0.0
Bumps [cors_plug](https://github.com/mschae/cors_plug) from 1.5.2 to 2.0.0.
- [Release notes](https://github.com/mschae/cors_plug/releases)
- [Changelog](https://github.com/mschae/cors_plug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mschae/cors_plug/compare/v1.5.2...v2.0.0)
2019-02-07 16:53:58 +01:00
Thomas Citharel
421fbda9fa Merge branch 'dependabot/hex/bamboo-1.2.0' into 'master'
Bump bamboo from 1.1.0 to 1.2.0

See merge request framasoft/mobilizon!58
2019-02-07 16:46:45 +01:00
Thomas Citharel
c61eabe629 Merge branch 'participant-roles' into 'master'
Move Participant role from integer to enum

See merge request framasoft/mobilizon!56
2019-02-07 16:46:26 +01:00