Commit Graph

503 Commits

Author SHA1 Message Date
Thomas Citharel
bc47816a30
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 13:48:50 +01:00
Thomas Citharel
7ce882ad90 Merge branch 'split-ci-outdated-deps' into 'master'
Add CI jobs (with allow_failure) for dependencies updates

See merge request framasoft/mobilizon!92
2019-03-08 13:48:17 +01:00
Thomas Citharel
add39a9cd1
Add CI jobs (with allow_failure) for dependencies updates
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 13:42:34 +01:00
Thomas Citharel
b76b57c438 Merge branch 'feature/admin' into 'master'
Admin

Closes #16

See merge request framasoft/mobilizon!90
2019-03-07 14:23:48 +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
f4c09c36a7 Merge branch 'feature/ics-endpoints' into 'master'
Implement public actor ICS endpoint and event ICS export

Closes #84 et #83

See merge request framasoft/mobilizon!89
2019-03-06 17:24:32 +01:00
Thomas Citharel
ab3e0c8d7d
Set icalendar fork repo url to https instead of Git
I'm so stupid

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-06 17:19:40 +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
4d47eb5c78 Merge branch 'refactor/extract-user-from-actors' into 'master'
Extract User from Actors context

Closes #77

See merge request framasoft/mobilizon!88
2019-03-05 17:30:31 +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
625d0d37d5 Merge branch 'bug/html-default-content-type' into 'master'
Make accept the default content-type on AP/HTML routes

See merge request framasoft/mobilizon!87
2019-03-05 12:30:33 +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
c4a3381b45 Merge branch 'bug/routing' into 'master'
Fix routing between BE & FE and fix event creation

See merge request framasoft/mobilizon!86
2019-03-05 12:13:14 +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
6ee3233cc6 Merge branch 'cache' into 'master'
Cache

See merge request framasoft/mobilizon!84
2019-03-05 10:25:26 +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
634157eb4b
Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-03 15:52:00 +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
35ff742c86 Merge branch 'rss' into 'master'
Atom feeds for actors endpoints

See merge request framasoft/mobilizon!82
2019-02-27 18:37:22 +01:00
Thomas Citharel
e538f577cc
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-27 18:30:09 +01:00
Thomas Citharel
02d1cea2d7
Add cached RSS feeds for actors endpoints 2019-02-27 18:30:01 +01:00
Thomas Citharel
976186a18d Merge branch 'make-sure-actor-usernames-are-unique' into 'master'
Make sure actor usernames are unique

Closes #72

See merge request framasoft/mobilizon!81
2019-02-25 18:41:26 +01:00
Thomas Citharel
8efb1af306
Make sure actor usernames are unique
Closes #72

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 18:35:00 +01:00
Thomas Citharel
a83f214f28 Merge branch 'front-fixes' into 'master'
Front-end fixes and updates

See merge request framasoft/mobilizon!80
2019-02-25 17:28:03 +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
3507438f17 Merge branch 'categories' into 'master'
Make Categories a predifined list

See merge request framasoft/mobilizon!79
2019-02-25 17:06:32 +01:00
Thomas Citharel
8a977e3b84
Update phoenix_pubsub
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31: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
227f981645 Merge branch 'feature/router-enum' into 'master'
Refactor router

See merge request framasoft/mobilizon!76
2019-02-22 17:06:34 +01:00
Thomas Citharel
f40a4de2b0 Merge branch 'dializer-fixes' into 'master'
A few fixes comming from Dialyser

See merge request framasoft/mobilizon!77
2019-02-22 17:04:52 +01:00
Chocobozzz
53cb39350a
Refactor router 2019-02-22 16:58:03 +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
d73f738b1b Merge branch 'ci-allow-format-failure' into 'master'
Fix mix format and format migrations too

See merge request framasoft/mobilizon!75
2019-02-22 15:00:36 +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
5024dfbbef Merge branch 'search' into 'master'
Search

See merge request framasoft/mobilizon!73
2019-02-22 13:57:33 +01:00
Thomas Citharel
24dfa3b2d1 Merge branch 'feature/cleanup-event' into 'master'
Add leave/join/delete event logic

See merge request framasoft/mobilizon!74
2019-02-22 13:54:50 +01:00
Thomas Citharel
cadbe6082a
Add a new Phoenix config option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:11 +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
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