Commit graph

104 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 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 634157eb4b
Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-03 15:52:00 +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 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 8a977e3b84
Update phoenix_pubsub
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31:06 +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 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 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
Thomas Citharel 1a4197f977 Update deps 2019-02-08 11:35:35 +01:00
Thomas Citharel 11a112dc9a Merge branch 'dependabot/hex/excoveralls-0.10.5' into 'master'
Bump excoveralls from 0.10.3 to 0.10.5

See merge request framasoft/mobilizon!65
2019-02-08 11:03:26 +01:00
Thomas Citharel 92d9d19291 Bump httpoison from 1.4.0 to 1.5.0
Bumps [httpoison](https://github.com/edgurgel/httpoison) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/edgurgel/httpoison/releases)
- [Changelog](https://github.com/edgurgel/httpoison/blob/master/CHANGELOG.md)
- [Commits](https://github.com/edgurgel/httpoison/compare/v1.4.0...v1.5.0)
2019-02-08 10:55:40 +01:00
Thomas Citharel 590b3da010 Merge branch 'dependabot/hex/ecto_enum-1.2.0' into 'master'
Bump ecto_enum from 1.1.0 to 1.2.0

See merge request framasoft/mobilizon!63
2019-02-08 10:50:47 +01:00
Thomas Citharel 4980593384 Bump excoveralls from 0.10.3 to 0.10.5
Bumps [excoveralls](https://github.com/parroty/excoveralls) from 0.10.3 to 0.10.5.
- [Release notes](https://github.com/parroty/excoveralls/releases)
- [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parroty/excoveralls/compare/v0.10.3...v0.10.5)
2019-02-08 10:43:14 +01:00
Thomas Citharel 2bb81c50e7 Merge branch 'master' into 'dependabot/hex/ecto_enum-1.2.0'
# Conflicts:
#   mix.lock
2019-02-08 10:36:26 +01:00
Thomas Citharel d19ff8dc56 Bump ex_doc from 0.19.1 to 0.19.3
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.19.1 to 0.19.3.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.19.1...v0.19.3)
2019-02-08 10:33:19 +01:00
Thomas Citharel ffc3ed107e Bump ecto_enum from 1.1.0 to 1.2.0
Bumps [ecto_enum](https://github.com/gjaldon/ecto_enum) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gjaldon/ecto_enum/releases)
- [Changelog](https://github.com/gjaldon/ecto_enum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gjaldon/ecto_enum/compare/v1.1.0...v1.2.0)
2019-02-08 10:25:57 +01:00
Thomas Citharel 2b0ebfa726 Bump ecto_autoslug_field from 0.5.1 to 1.0.0
Bumps [ecto_autoslug_field](https://github.com/sobolevn/ecto_autoslug_field) from 0.5.1 to 1.0.0.
- [Release notes](https://github.com/sobolevn/ecto_autoslug_field/releases)
- [Changelog](https://github.com/sobolevn/ecto_autoslug_field/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sobolevn/ecto_autoslug_field/compare/0.5.1...1.0.0)
2019-02-08 10:17:47 +01:00
Thomas Citharel 557dbff6f5 Bump credo from 1.0.0 to 1.0.2
Bumps [credo](https://github.com/rrrene/credo) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rrrene/credo/compare/v1.0.0...v1.0.2)
2019-02-08 05:12:38 +01:00
Thomas Citharel 3d12784d60 Merge branch 'dependabot/hex/cors_plug-2.0.0' into 'master'
Bump cors_plug from 1.5.2 to 2.0.0

See merge request framasoft/mobilizon!60
2019-02-07 17:09:50 +01:00
Thomas Citharel bfe341ebe3 Merge branch 'dependabot/hex/comeonin-4.1.2' into 'master'
Bump comeonin from 4.1.1 to 4.1.2

See merge request framasoft/mobilizon!59
2019-02-07 16:54:38 +01:00
Thomas Citharel 54b94a65b6 Bump cors_plug from 1.5.2 to 2.0.0
Bumps [cors_plug](https://github.com/mschae/cors_plug) from 1.5.2 to 2.0.0.
- [Release notes](https://github.com/mschae/cors_plug/releases)
- [Changelog](https://github.com/mschae/cors_plug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mschae/cors_plug/compare/v1.5.2...v2.0.0)
2019-02-07 16:53:58 +01:00
Thomas Citharel 421fbda9fa Merge branch 'dependabot/hex/bamboo-1.2.0' into 'master'
Bump bamboo from 1.1.0 to 1.2.0

See merge request framasoft/mobilizon!58
2019-02-07 16:46:45 +01:00
Thomas Citharel 210b665cc7 Bump comeonin from 4.1.1 to 4.1.2
Bumps [comeonin](https://github.com/riverrun/comeonin) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/riverrun/comeonin/releases)
- [Changelog](https://github.com/riverrun/comeonin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/riverrun/comeonin/compare/v4.1.1...v4.1.2)
2019-02-07 16:44:43 +01:00
Thomas Citharel 34c331b8b5 Bump bamboo from 1.1.0 to 1.2.0
Bumps [bamboo](https://github.com/thoughtbot/bamboo) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/thoughtbot/bamboo/releases)
- [Changelog](https://github.com/thoughtbot/bamboo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/bamboo/compare/v1.1.0...v1.2.0)
2019-02-07 16:21:09 +01:00
Thomas Citharel a379866588 Bump absinthe from 1.4.13 to 1.4.14
Bumps [absinthe](https://github.com/absinthe-graphql/absinthe) from 1.4.13 to 1.4.14.
- [Release notes](https://github.com/absinthe-graphql/absinthe/releases)
- [Changelog](https://github.com/absinthe-graphql/absinthe/blob/v1.4.14/CHANGELOG.md)
- [Commits](https://github.com/absinthe-graphql/absinthe/compare/v1.4.13...v1.4.14)
2019-02-07 16:20:50 +01:00
Thomas Citharel c660210439
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:09 +01:00
Thomas Citharel 617b59c038
Bump rdf for Elixir 1.8 compat
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:04 +01:00
Thomas Citharel 2f2c538cc9
Add Credo checks and refactor code
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Make Logger.debug calls lazy

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add missing @moduledocs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Refactor according to credo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Final fixes and add credo to CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Closes #52
2019-01-03 15:52:48 +01:00
Thomas Citharel c16a26fc99 Bump Elixir deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:29:58 +01:00
Thomas Citharel 9c65ad0170 Use ex_vcr for tests
Which are now offline-only !

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-13 12:23:37 +01:00
Thomas Citharel 2939485321 Fix all warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:30:47 +01:00
Thomas Citharel a04dfc5293 Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 18:17:53 +01:00
Thomas Citharel b54dae7e15 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel ad9c9922e4 Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 16:07:17 +02:00
Thomas Citharel 970a40c22e Downgrade cowboy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-24 14:09:21 +02:00
Thomas Citharel eb0c0002be Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel e170aa7f66 Mostly UI stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 14:19:24 +02:00
Thomas Citharel 93a97b0865 Some work
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 14:29:17 +02:00
Thomas Citharel cac4dd3ca3
Search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:14 +02:00
Thomas Citharel f1cb601b46
WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:04 +02:00
Thomas Citharel e14007bac5
WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:12:21 +02:00
Thomas Citharel 4b4ecec693 Introduce avatar and banner and fetch Gravatar to fill avatar during registration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

typo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Rename avatar to avatar_url, same with header.

Add a comment to explain why the tweak with HTTPoison and TLS1.2

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Rename avatar to avatar_url

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

rename old avatar properties in front-end to avatar_url

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

fix change gravatar from ?d= to ?default=

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

reorganize aliases and imports

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

set avatar url only when gravatar exists, add a test for that case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-27 19:04:45 +01:00
Thomas Citharel 226df0d0ef make tests watchable and notifies
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-15 11:41:47 +01:00
Thomas Citharel 1217361b6c fix some code style and add checks to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 17:57:25 +01:00
Thomas Citharel 67b8890f77 add coveralls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:56:26 +01:00
Thomas Citharel 960ef0c276 add cache, credo and postgis to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:49:37 +01:00
Thomas Citharel 20cd1bb579 Change models, new migrations, fix front and make tests work
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:33:03 +01:00
Thomas Citharel 92d2045735 end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-09 17:52:26 +01:00
Thomas Citharel 8ac705d8c2 replace coherence with guardian 2017-12-09 14:58:37 +01:00
Thomas Citharel 90ceb4f6fe initial commit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-12-08 09:58:14 +01:00