Chocobozzz
25153d2ae1
Only render public comments
2019-04-26 10:03:46 +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
Vincent
4c0a43b4d4
Minor change on web_finger_controller
2019-04-17 17:33:36 +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
da2a0593ca
Various UI stuff (mainly implement mookup)
...
Fix lint
Disable modern mode
Fixes
UI fixes
Fixes
Ignore .po~ files
Fixes
Fix homepage
Fixes
Fixes
Mix format
Fix tests
Fix tests (yeah…)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:13 +02:00
Thomas Citharel
fc0214c633
Merge branch 'feature/event-maps' into 'master'
...
Feature/event maps
See merge request framasoft/mobilizon!105
2019-04-01 17:26:33 +02:00
Thomas Citharel
ccd705bc4f
Add timeline events you're going to
...
Mix format
Fix chocobozzz feedback
Only show upcoming events on feed
Remove console log calls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 17:07:00 +02:00
Thomas Citharel
0c8d2f7e00
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
Chocobozzz
4fa78d7cd2
Get config and display/hide register button
2019-03-22 15:26:58 +01:00
Chocobozzz
e864b38ec6
Add config endpoint
2019-03-22 13:58:57 +01:00
Thomas Citharel
2fe33aa470
ℹ Improve docs and documentation (again)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-19 11:16:03 +01:00
Thomas Citharel
bba6629046
Better docs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Nicer docs
No 3rd stage
Add mix.deps get before docs
Add :ex_doc on test env so that it runs into CI
2019-03-18 12:10:29 +01:00
Thomas Citharel
6ca0b5f915
Add GraphQL methods and test
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Finish
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-15 16:37:46 +01: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
cb0808dbad
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
d3e2f28b49
Implement public actor ICS endpoint and event ICS export
...
Closes #83 and #84
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-06 17:07:42 +01:00
Thomas Citharel
c689406114
Extract User from Actors context
...
Mobilizon.Actors.User -> Mobilizon.Users.User
Also Mobilizon.Actors.Service now become Mobilizon.User.Service
And Mobilizon.Users and Mobilizon.UsersTest is introduced.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 17:23:05 +01:00
Thomas Citharel
0f107606b1
Make accept the default content-type on AP/HTML routes
...
Fixes case with Accept: */* getting AP instead of HTML
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 12:24:29 +01:00
Thomas Citharel
bacd1bfb02
Merge branch 'feature/list-users' into 'master'
...
Add ability to list users
See merge request framasoft/mobilizon!83
2019-03-05 12:19:40 +01:00
Thomas Citharel
9c98f34b5c
Invert list users sort direction (make it desc)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 12:14:31 +01:00
Thomas Citharel
c1f07122d1
Fix routing between BE & FE and fix event creation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 12:07:58 +01:00
Thomas Citharel
f08b6334f0
Add @moduledoc to new module
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 10:41:23 +01:00
Chocobozzz
a0123459b3
Add ability to list users
2019-03-05 10:41:23 +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
6de839dec2
Add JSON-LD schema
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-04 18:38:30 +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
a3ffc08e57
Add Activity Pub endpoints cache
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-01 18:30:46 +01:00
Thomas Citharel
b3a3001e90
Fix render/4 -> render/3 calls
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-01 14:54:02 +01:00
Thomas Citharel
5713670ac9
Refactor Atom feed caching
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fixes
Fix tests
Fix tests
2019-03-01 14:53:56 +01:00
Thomas Citharel
02d1cea2d7
Add cached RSS feeds for actors endpoints
2019-02-27 18:30:01 +01:00
Thomas Citharel
c4e327508b
Front-end fixes and updates
...
Especially Join/Leave event, Vue-Markdown replacement
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 17:20: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
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
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
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
Chocobozzz
250f0b3bd1
Add API to join and leave an event
2019-02-07 16:56:59 +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
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