Commit graph

4245 commits

Author SHA1 Message Date
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
Thomas Citharel 62ac18ea25
Update CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 17:14:49 +01:00
Thomas Citharel 131152abac Merge branch 'tag_relations' into 'master'
Allow tag relations + bump ecto deps

See merge request framasoft/mobilizon!71
2019-02-21 17:11:29 +01:00
Thomas Citharel ae09e0ae4a
Update ex_crypto
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:59:39 +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 4caa998ae0 Merge branch 'dependabot/npm_and_yarn/js/register-service-worker-1.6.1' into 'master'
Bump register-service-worker from 1.5.2 to 1.6.1 in /js/

See merge request framasoft/mobilizon!70
2019-02-12 08:47:04 +01:00
Thomas Citharel c4f1caba31 Merge branch 'dependabot/hex/geo-3.1.0' into 'master'
Bump geo from 3.0.0 to 3.1.0

See merge request framasoft/mobilizon!69
2019-02-12 08:46:08 +01:00
Thomas Citharel 001bc29d3d Bump register-service-worker from 1.5.2 to 1.6.1 in /js/
Bumps [register-service-worker](https://github.com/yyx990803/register-service-worker) from 1.5.2 to 1.6.1.
- [Release notes](https://github.com/yyx990803/register-service-worker/releases)
- [Changelog](https://github.com/yyx990803/register-service-worker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yyx990803/register-service-worker/commits/v1.6.1)
2019-02-12 05:16:07 +01:00
Thomas Citharel 3f78790fce Bump geo from 3.0.0 to 3.1.0
Bumps [geo](https://github.com/bryanjos/geo) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/bryanjos/geo/releases)
- [Changelog](https://github.com/bryanjos/geo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bryanjos/geo/compare/v3.0.0...v3.1.0)
2019-02-09 05:12:35 +01:00