Commit graph

4027 commits

Author SHA1 Message Date
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
Thomas Citharel 681653e035
Introduce registerPerson mutation
To register a profile from an unactivated user

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

👤 Fix Person interface use

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

Change host function for data property

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 15:59:27 +01:00
Thomas Citharel c55ae19f84
Move queries and mutations to submodules
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 10:54:58 +01:00
Thomas Citharel 0c2931c10b
Make register/1 only create an user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Credo fix

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

Fix rebase

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 10:53:40 +01:00
Thomas Citharel 812140d401
📘 Update manual install instuctions in readme
Closes #69

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-29 10:18:56 +01:00
Thomas Citharel 47aa03b1f2 Merge branch 'feature/delete-venet' into 'master'
Add ability to delete an event

See merge request framasoft/mobilizon!51
2019-01-26 21:39:55 +01:00
Chocobozzz dd174f2446
Add ability to delete an event 2019-01-25 17:07:36 +01:00
Thomas Citharel b6f905313a Merge branch 'feature/delete-category' into 'master'
Add ability to delete a group

See merge request framasoft/mobilizon!50
2019-01-25 16:14:00 +01:00
Chocobozzz 8388240957
Add ability to delete a group 2019-01-25 16:08:06 +01:00
Thomas Citharel c0628a1566 Merge branch 'vuetify-to-bulma' into 'master'
Vuetify to bulma

Closes #38 et #61

See merge request framasoft/mobilizon!49
2019-01-24 16:03:32 +01:00
Thomas Citharel b264a49c23
Fix js warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:57:45 +01:00
Thomas Citharel c660210439
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:09 +01:00
Thomas Citharel 617b59c038
Bump rdf for Elixir 1.8 compat
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:04 +01:00
Thomas Citharel 90fd0ff6b6
Replace Vuetify with Bulma
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove vuetify and add Bulma

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:35:57 +01:00
Thomas Citharel 759a740625 Merge branch 'feature/apollo-link-state' into 'master'
Fix login/logout flow

See merge request framasoft/mobilizon!48
2019-01-18 16:15:15 +01:00
Chocobozzz cbdcdd005d
Fix login/logout flow 2019-01-18 15:38:18 +01:00
Thomas Citharel 80c6351d2f
Remove type after column
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:22:06 +01:00
Thomas Citharel c4a4a31e5b
Event state leftover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:21:53 +01:00
Thomas Citharel 7ec2259ea5
Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:18:54 +01:00
Thomas Citharel 7709c2c566 Merge branch 'api/add-address' into 'master'
Remove address_type

See merge request framasoft/mobilizon!47
2019-01-14 18:25:53 +01:00
Thomas Citharel 3230381be4
Remove last occurences of address_type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 18:12:52 +01:00
Thomas Citharel 289ba03960
Remove address_type and rename phone to phone_address
An event can indeed have several address types

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 17:48:08 +01:00
Thomas Citharel b0bc8dfa5d
✂️ Split GraphQL schema into several files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 17:13:17 +01:00
Thomas Citharel 66b0cd8e0c Merge branch 'event-visibility' into 'master'
🔍 Implement basic event visibility

Closes #56

See merge request framasoft/mobilizon!46
2019-01-14 16:26:42 +01:00
Thomas Citharel 2ece62bfb8
Add visibility to comments
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 16:21:13 +01:00
Thomas Citharel ab56d3e607
🔍 Implement basic event visibility
See https://framagit.org/framasoft/mobilizon/wikis/spec/Event#visibility

Also brings support for event status (tentative/confirmed/cancelled)

Closes #56

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 15:56:07 +01:00
Thomas Citharel 3723eed1fe Merge branch 'feature/forgot-password' into 'master'
Feature/forgot password

Closes #44

See merge request framasoft/mobilizon!43
2019-01-14 10:43:18 +01:00
Thomas Citharel f3e947020b Merge branch 'feature/remove-moment' into 'master'
Remove moment js

See merge request framasoft/mobilizon!45
2019-01-11 19:08:53 +01:00
Thomas Citharel f8219739c2 Merge branch 'feature/fix-logged-in' into 'master'
Fix events fetching

See merge request framasoft/mobilizon!44
2019-01-11 19:08:23 +01:00