miffigriffy
49822b1f67
Apply formatting
2019-09-13 02:28:09 +02:00
miffigriffy
edfb22f40f
Refactoring of Events context
2019-09-13 01:01:17 +02:00
miffigriffy
d3c3641d0a
Refactoring of Actors context
2019-09-09 00:52:49 +02:00
miffy
46bb816a23
Separating of Storage context
2019-09-08 01:49:56 +02:00
miffy
da70286dcd
Refactoring of Users context
2019-09-07 19:55:45 +02:00
miffy
0efe0ad5d6
Refactoring of Reports context
2019-09-07 18:54:30 +02:00
Thomas Citharel
4844c8bc34
Improve event creation form by introducting EventOptions
...
It's a subentity that holds additional metadata in a map database type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-02 17:11:27 +02:00
Thomas Citharel
0254c782f5
Remove events when deleting organizer
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-28 11:36:09 +02:00
Thomas Citharel
61ddcdecae
Reuse existing addresses when creating an event
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-22 16:20:42 +02:00
Thomas Citharel
895bae4b7e
Federate participations
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-20 10:17:28 +02:00
Thomas Citharel
1b3dfb20d2
Introduce relay
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Thomas Citharel
2d41e00771
Add address input and refactor federation stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-30 10:35:29 +02:00
Thomas Citharel
ca4831f780
Introduce backend for reports
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 13:49:22 +02:00
Thomas Citharel
7ef4ef264b
Attach actor to pictures entity
2019-05-31 18:07:37 +02:00
Thomas Citharel
3cb29be4fc
Refactor media upload
...
Use Upload Media logic from Pleroma
Backend changes for picture upload
Move AS <-> Model conversion to separate module
Front changes
Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-24 17:29:51 +02:00
Thomas Citharel
bf75335c2a
Add visibility to actors
...
Also use url helpers to generate urls properly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-25 19:05:05 +02:00
Thomas Citharel
5ee97dfa43
Implement related events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:22:36 +02:00
Thomas Citharel
c64d4924d1
Add description slug field for events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 14:45:31 +02:00
Thomas Citharel
9a881ed4d9
Work around Addresses to bring them properly through GraphQL
...
Got caught with https://github.com/absinthe-graphql/absinthe/issues/601
at some point, that's why fields are renamed
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 16:51:15 +02:00
Thomas Citharel
ff6053927a
Add GraphQL support to handle FeedTokens
...
Closes #88
Automatically create tokens for new users and actors
Closes #89
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 18:52:27 +01:00
Thomas Citharel
30a5811b36
Add backend and endpoints for Feed Tokens
...
Closes #19 #86 #87
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 14:57:05 +01:00
Chocobozzz
aea9621fd9
Add join/leave group
2019-03-08 14:43:45 +01:00
Thomas Citharel
f27b6b9816
Introduce admin and moderator role, check role on list_users action
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add test for guards
2019-03-07 14:18:11 +01:00
Thomas Citharel
ad36e34b22
Add cached RSS feeds for actors endpoints
2019-02-27 18:30:01 +01:00
Thomas Citharel
c2a421eabd
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
73df4b70a8
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
bf6da6cc55
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
Thomas Citharel
8cd3217f3e
Allow tag relations + bump ecto deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:58:14 +01:00
Thomas Citharel
5b97eeaf80
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
f01819e663
Set visibility field default to null
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 14:01:38 +01:00
Thomas Citharel
d8131c21c0
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
Chocobozzz
edf6dd9168
Add ability to delete a group
2019-01-25 16:08:06 +01:00
Thomas Citharel
36cb5f5089
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
b13b74af26
Remove type after column
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:22:06 +01:00
Thomas Citharel
d80b12b608
Remove last occurences of address_type
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 18:12:52 +01:00
Thomas Citharel
a1c4293cf4
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
ba8ba05761
Add visibility to comments
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 16:21:13 +01:00
Thomas Citharel
4a8f6a0824
🔍 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
bb060be708
Work on actors
...
* Implement group GraphQL APIs
* Change Actors changeset to properly set urls
* Remove old actors indexes and add some new ones
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 11:58:57 +01:00
Chocobozzz
535d7f38a7
Add script to run webpack analyzer
2018-11-30 16:05:21 +01:00
Thomas Citharel
4bdfda5ef7
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:36:51 +01:00
Thomas Citharel
a45fad45f7
Fix comments table references
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:57:10 +01:00
Thomas Citharel
4441521994
Move to GraphQL
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel
6c6f93038e
Rename project to Mobilizon
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel
a4dc6cff4d
Put js build through phoenix
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel
a4deeb55d4
More tests
2018-08-24 11:34:00 +02:00
Thomas Citharel
b00cbb420f
Add some tests
...
Also add a unicity constraint on the followers table
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 10:16:22 +02:00
Thomas Citharel
163f190142
Remove credo and use mix format, and lint everything
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-27 10:45:35 +02:00
Thomas Citharel
85ff349bd3
Add docker-compose dev
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-25 16:42:04 +02:00
Thomas Citharel
bcdfaab9bd
Allow multiple identities (accounts actors) for one user.
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-10 10:00:07 +02:00