Commit graph

2405 commits

Author SHA1 Message Date
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
Thomas Citharel 210b665cc7 Bump comeonin from 4.1.1 to 4.1.2
Bumps [comeonin](https://github.com/riverrun/comeonin) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/riverrun/comeonin/releases)
- [Changelog](https://github.com/riverrun/comeonin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/riverrun/comeonin/compare/v4.1.1...v4.1.2)
2019-02-07 16:44:43 +01:00
Thomas Citharel 4bac5a07bd
Move Participant role from integer to enum
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 16:37:40 +01:00
Thomas Citharel b424142be9 Merge branch 'dependabot/hex/absinthe-1.4.14' into 'master'
Bump absinthe from 1.4.13 to 1.4.14

See merge request framasoft/mobilizon!57
2019-02-07 16:36:28 +01:00
Thomas Citharel 34c331b8b5 Bump bamboo from 1.1.0 to 1.2.0
Bumps [bamboo](https://github.com/thoughtbot/bamboo) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/thoughtbot/bamboo/releases)
- [Changelog](https://github.com/thoughtbot/bamboo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/bamboo/compare/v1.1.0...v1.2.0)
2019-02-07 16:21:09 +01:00
Thomas Citharel a379866588 Bump absinthe from 1.4.13 to 1.4.14
Bumps [absinthe](https://github.com/absinthe-graphql/absinthe) from 1.4.13 to 1.4.14.
- [Release notes](https://github.com/absinthe-graphql/absinthe/releases)
- [Changelog](https://github.com/absinthe-graphql/absinthe/blob/v1.4.14/CHANGELOG.md)
- [Commits](https://github.com/absinthe-graphql/absinthe/compare/v1.4.13...v1.4.14)
2019-02-07 16:20:50 +01:00
Thomas Citharel 7b83682b26 Merge branch 'split-event-visibility-and-join' into 'master'
Split event visibility and join options

Closes #56

See merge request framasoft/mobilizon!54
2019-02-07 14:07:16 +01:00
Thomas Citharel 1b3ee17d72
Set visibility field default to null
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 14:01:38 +01:00
Thomas Citharel a2070b1d54
Split event visibility and join options
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix tests

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

Fix format

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 11:49:14 +01:00
Thomas Citharel b8717b0134 Merge branch 'feature/group-event-tests' into 'master'
Feature/group event tests

See merge request framasoft/mobilizon!53
2019-02-07 10:40:36 +01:00
Chocobozzz d0c1d6f41f
Add event resolver tests 2019-02-07 10:29:01 +01:00
Chocobozzz ec961aa5e6
Add group resolver tests 2019-02-07 10:29:01 +01:00
Thomas Citharel f3d37325fa
Add missing @moduledoc for MobilizonWeb.Schema.Utils
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 10:27:54 +01:00
Thomas Citharel 8cbcae1c86 Merge branch 'change-registration-workflow' into 'master'
Change registration workflow

Closes #63

See merge request framasoft/mobilizon!52
2019-01-30 16:09:56 +01:00
Thomas Citharel ce65c992d3
Handle validated users without profiles
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Format

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 15:59:30 +01:00