Thomas Citharel
abf3a58657
Allow to accept / reject participants
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:12 +02:00
Thomas Citharel
ffa4ec9209
Work on dashboard
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 09:42:54 +02:00
Thomas Citharel
2d087fb810
Move Mobilizon.Events.Activity to Mobilizon.Service.ActivityPub.Activity
...
It's only used for ActivityPub stuff, nothing DB related.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 09:24:18 +02:00
miffigriffi
4c74248a04
Merge branch 'master' into refactoring-based-on-credo-and-dialyzer
2019-09-22 00:40:53 +02:00
miffigriffi
64f42d412b
mix credo warnings in Mobilizon context
2019-09-18 00:37:31 +02:00
miffigriffi
eaff073cd2
Remove Dataloader related code from Mobilizon context
2019-09-18 00:18:45 +02:00
miffigriffi
48dbec51f5
Move caching to MobilizonWeb
2019-09-18 00:01:16 +02:00
miffigriffi
8f580ce10c
Returm generation of URL by usage of MobilizonWeb.Endpoint
2019-09-17 22:10:22 +02:00
miffigriffi
ac77a7d28a
Refactoring of Events context
2019-09-17 02:22:54 +02:00
miffigriffy
5967b30bb1
Clean specs
2019-09-13 02:15:04 +02:00
miffigriffy
d3f3553ae7
Move Activity under Events context
2019-09-13 01:35:03 +02:00
miffigriffy
e358dcce77
Refactoring of Events context
2019-09-13 01:01:17 +02:00
Thomas Citharel
c3b03a2e6b
Show number of participants
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 12:18:57 +02:00
Thomas Citharel
27f2597b07
Add admin dashboard, event reporting, moderation report screens, moderation log
...
Close #156 and #158
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-09 20:53:16 +02:00
miffy
fa037fd683
Separating of Storage context
2019-09-08 01:49:56 +02:00
Thomas Citharel
f5c3dbf128
Correctly handle event update
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-05 13:59:52 +02:00
Thomas Citharel
cb96b807a0
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
641129dc74
Federate participations
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-20 10:17:28 +02:00
Thomas Citharel
8f31beb0fb
Make category optionnal and hide it from the form
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:19 +02:00
Thomas Citharel
c51115bdbe
Introduce relay
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Thomas Citharel
5fbaf42cad
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
6d80bf43ea
Refactor adding tags to an event
...
Also refactor extracting tags from content, now uses Pleroma's Formatter
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-26 12:06:26 +02:00
Thomas Citharel
c3cca5d613
Fix credo style reports following it's update
...
Mainly transform `with` into `case`
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 18:12:26 +02:00
Thomas Citharel
aef841e192
Introduce backend for reports
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 13:49:22 +02:00
Thomas Citharel
f90089e1bf
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
12116ba6fa
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
10bfc17306
Merge branch 'feature/related_events' into 'master'
...
Feature/related events
See merge request framasoft/mobilizon!113
2019-04-23 11:31:20 +02:00
Thomas Citharel
f5b02ed154
Show related events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:23:18 +02:00
Thomas Citharel
a877e4d7d9
Implement related events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:22:36 +02:00
Chocobozzz
d66bbc5414
Add ability to search on Group, Person or Event
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 10:53:04 +02:00
Thomas Citharel
ddad462076
Add description slug field for events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 14:45:31 +02:00
Thomas Citharel
99ac6ef100
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
c61c75163f
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
5a8ad3ab52
Add join/leave group
2019-03-08 14:43:45 +01:00
Thomas Citharel
9a60704ed9
Add and fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 10:13:19 +01:00
Thomas Citharel
66e67aa816
Redirect properly to correct endpoint depending on content-type
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-04 17:20:18 +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
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
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
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
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
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
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
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
Chocobozzz
dd174f2446
Add ability to delete an event
2019-01-25 17:07:36 +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
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
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