Commit Graph

348 Commits

Author SHA1 Message Date
Thomas Citharel
cfab9285f9 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
d07f3bec5d 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
2428b99ad0 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
2c7621537a 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
061cd74ca1 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
91e7b57366 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
2500f01fb0 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
5c12d8d5c9 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
c7357cad55 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
2532bb35cc 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
a9d0a4275d 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
aa28bb7264 Add @moduledoc to new module
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 10:41:23 +01:00
Chocobozzz
29af7e3b82 Add ability to list users 2019-03-05 10:41:23 +01:00
Thomas Citharel
f59335a540 Merge branch 'cache' into 'master'
Cache

See merge request framasoft/mobilizon!84
2019-03-05 10:25:26 +01:00
Thomas Citharel
355dce9dd7 Add and fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 10:13:19 +01:00
Thomas Citharel
8bf8e8a46f Add JSON-LD schema
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-04 18:38:30 +01:00
Thomas Citharel
d394bdae99 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
02e72733a9 Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-03 15:52:00 +01:00
Thomas Citharel
02a098446f Add Activity Pub endpoints cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-01 18:30:46 +01:00
Thomas Citharel
8c4ca7a045 Fix render/4 -> render/3 calls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-01 14:54:02 +01:00
Thomas Citharel
e5ea49daff 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
b89082e312 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
d987498e91 Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-27 18:30:09 +01:00
Thomas Citharel
ad36e34b22 Add cached RSS feeds for actors endpoints 2019-02-27 18:30:01 +01:00
Thomas Citharel
7edd61ef63 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
ae1b97a3a0 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
f6f791757f 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
aa99412aed 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
e40c3bda0a 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
1d9af93dff Update phoenix_pubsub
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31:06 +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
82b34f112e Merge branch 'improve-tests' into 'master'
Improve tests

See merge request framasoft/mobilizon!78
2019-02-22 18:13:01 +01:00
Thomas Citharel
b044924278 Improve tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 18:07:20 +01:00
Thomas Citharel
25aa7eae6d 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
f29a3926ed 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
ad78339040 Refactor router 2019-02-22 16:58:03 +01:00
Thomas Citharel
71d06d4024 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
d063f114ef 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
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
3b1b1574d3 Merge branch 'search' into 'master'
Search

See merge request framasoft/mobilizon!73
2019-02-22 13:57:33 +01:00
Thomas Citharel
8f1ff1c50b 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
89e8cc056c Add a new Phoenix config option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:11 +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
Chocobozzz
761f0a5f40 Add leave/join/delete event logic 2019-02-22 13:49:23 +01:00
Thomas Citharel
959cafadce 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
493243ff0b Update CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 17:14:49 +01:00
Thomas Citharel
7f88b10b97 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
b1a474f610 Update ex_crypto
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:59:39 +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
261dc882e2 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