Commit graph

2505 commits

Author SHA1 Message Date
Thomas Citharel fb25c7c07f Merge branch 'deps/upgrade' into 'master'
Deps/upgrade

See merge request framasoft/mobilizon!299
2019-10-31 12:02:50 +01:00
Thomas Citharel 99677c1b7d Merge branch 'feature/refactor-federation' into 'master'
Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules

Closes #256

See merge request framasoft/mobilizon!298
2019-10-31 11:03:36 +01:00
Thomas Citharel ffffe106f5
Upgrade dependencies
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:50:24 +01:00
Thomas Citharel a27e63b8c3
Added changelog
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:49:04 +01:00
Thomas Citharel cc820d6b63
Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules
* Data doesn't need anymore to be converted to ActivityStream format to
be saved (this was taken from Pleroma and not at all a good idea here)
* Everything saved when creating an event is inserted into PostgreSQL in
a single transaction
2019-10-31 10:06:11 +01:00
Thomas Citharel 814cfbc8eb Merge branch 'bug/fix-upload-broken' into 'master'
Bug/fix upload broken

See merge request framasoft/mobilizon!297
2019-10-29 23:00:25 +01:00
Marc Bouvier bd56dd57c3 added file package to fix upload 2019-10-29 22:14:11 +01:00
Thomas Citharel f2c945d23a Merge branch 'bug/insert-search-data-async' into 'master'
Make inserting data into search table an async operation

See merge request framasoft/mobilizon!296
2019-10-23 16:52:10 +02:00
Thomas Citharel a01b028fd9 Merge branch 'enhancement/better-config-for-inet6' into 'master'
Better config for inet6 in prod

See merge request framasoft/mobilizon!295
2019-10-23 16:42:07 +02:00
Thomas Citharel b117985dff
Make inserting data into search table an async operation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:33:56 +02:00
Thomas Citharel 3838e0315a
Better config for inet6 in prod
Taken from Phoenix template config

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:24:24 +02:00
Thomas Citharel 7b6d9f73d3 Merge branch 'bug/delete-actors-cascade-followers' into 'master'
Make actors deletion cascade to followers

Closes #253

See merge request framasoft/mobilizon!294
2019-10-23 16:18:47 +02:00
Thomas Citharel 0f67256814
Make actors deletion cascade to followers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:02:01 +02:00
Thomas Citharel 854ada3dc6 Merge branch 'feature/search-events-by-tag' into 'master'
Feature/search events by tag

Closes #206

See merge request framasoft/mobilizon!293
2019-10-23 15:42:37 +02:00
Thomas Citharel 39d7db07f3
Fix unrelated warning
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel 599e2a39b5
Make tags clickable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel b5f9518faf
Implement search engine & service in backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel 221d10cd85 Merge branch '255-fix-make-error' into 'master'
Fix error when running `make` / `docker-compose up`

Closes #255

See merge request framasoft/mobilizon!292
2019-10-23 15:05:28 +02:00
JohanBaskovec 010f56acf2 Fix error when running make / docker-compose up
This fixes an error when running the mobilizon_api container (either
with `make` or `docker-compose up`): the command `mix phx.server`
was run first in the mobilizon_api container, but it
made the container restart every ~10 seconds because of missing
dependencies errors. As a result it became impossible to install
the depencies using
`docker-compose exec api sh -c "cd js && yarn install && cd ../"`,
because that would give this error:
`Error response from daemon: Container
8ff288ad74565bb0773f9b5f8fb39ab62925c16ea0ca77c5d2579cc3013a8464 is
restarting, wait until the container is running`.

This commit fixes this error by running the dependency installation
commands (and compilation and db migration) before `mix phx.server`.
2019-10-22 22:16:18 +02:00
Thomas Citharel 59caac86a1 Merge branch 'support-pg' into 'master'
fix mix mobilizon.instance gen

See merge request framasoft/mobilizon!289
2019-10-21 14:56:05 +02:00
Thomas Citharel 3357cb66db Merge branch 'bug/limit-picture-sizes' into 'master'
Improve picture handling

Closes #224

See merge request framasoft/mobilizon!291
2019-10-21 14:42:22 +02:00
Martin/Geno 95c71d77f7
support: add setup_db.psql 2019-10-21 14:41:52 +02:00
Thomas Citharel afa3bb1eff
Allow WebP and Gif pics
svg stays forbidden until we can be sure it's fine security-wise

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:43:06 +02:00
Thomas Citharel d1fb90eece
Add the optimize filter for uploaded pics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:42:45 +02:00
Thomas Citharel c7e0b4abfb
Lower default file upload limit to 10MB
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:19:05 +02:00
Thomas Citharel c16ef05d88
Limit multipart upload to 10MB
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:10:39 +02:00
Thomas Citharel 0a1270b73a Merge branch 'bug/move-sql-columns-from-varchar-to-text' into 'master'
Handle fields limitation better

Closes #226, #225 et #239

See merge request framasoft/mobilizon!288
2019-10-18 11:45:13 +02:00
Thomas Citharel eb7ab7229a
Limite size and number of tags in input
Closes #239

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:25 +02:00
Thomas Citharel 342506bac0
Add some backend changes and validation for field length
Closes #225 and #226

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:11 +02:00
Thomas Citharel b7d7dfbadf Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!287
2019-10-18 10:09:23 +02:00
Thomas Citharel 640a411e6e Merge branch 'i18n/update' into 'master'
Update i18n

See merge request framasoft/mobilizon!286
2019-10-18 10:01:38 +02:00
Thomas Citharel 8045260480
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 09:52:47 +02:00
Anton Strömkvist f36c6295a3 Translated using Weblate (Swedish)
Currently translated at 98.8% (322 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sv/
2019-10-18 09:29:22 +02:00
Quentin 8d2c7bf8bf Translated using Weblate (Occitan)
Currently translated at 100.0% (326 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-18 09:29:19 +02:00
Anton Strömkvist 5845f9cfb4 Translated using Weblate (German)
Currently translated at 0.3% (1 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2019-10-18 09:29:18 +02:00
ty kayn 22f02fe456 Translated using Weblate (French)
Currently translated at 99.7% (325 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr/
2019-10-17 18:18:17 +02:00
Anton Strömkvist d07e3a3d4b Added translation using Weblate (Swedish) 2019-10-17 18:14:58 +02:00
Quentin 9fc790e90e Translated using Weblate (Occitan)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-10-17 16:31:57 +02:00
Quentin 26ab85a697 Translated using Weblate (Occitan)
Currently translated at 100.0% (320 of 320 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-17 16:31:57 +02:00
Zilverspar 81caf2ed38 Translated using Weblate (French)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fr/
2019-10-17 16:31:57 +02:00
Zilverspar 1257576fba Translated using Weblate (French)
Currently translated at 99.7% (319 of 320 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr/
2019-10-17 16:31:57 +02:00
Gavy 2960f94f8b Translated using Weblate (French)
Currently translated at 99.7% (319 of 320 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr/
2019-10-17 16:31:57 +02:00
Quentin b0f67a6e3a Translated using Weblate (Occitan)
Currently translated at 100.0% (54 of 54 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-10-17 16:31:57 +02:00
Quentin 49b60328f2 Translated using Weblate (Occitan)
Currently translated at 100.0% (266 of 266 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-17 16:31:57 +02:00
Thomas Citharel 90ba211c90 Merge branch 'add-help-on-login-page-user-may-have-been-deleted' into 'master'
Warn on login that everything is deleted regularily

See merge request framasoft/mobilizon!285
2019-10-17 15:22:48 +02:00
Thomas Citharel f6ff3e586a
Warn on login that everything is deleted regularily
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 15:07:41 +02:00
Thomas Citharel f0d4d84a58 Merge branch 'master' into 'master'
🗎 Don't `sudo apt install sudo` and add imagemagick to dependencies

See merge request framasoft/mobilizon!284
2019-10-17 15:03:26 +02:00
Thomas Citharel ddd9d44da1 Merge branch 'feature/add-polyfill-for-intersection-observer' into 'master'
Fix build on Safari and improve js build

Closes #246

See merge request framasoft/mobilizon!283
2019-10-17 14:49:31 +02:00
marcin mikołajczak 078c269590 🗎 Don't sudo apt install sudo and add imagemagick to dependencies
Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
2019-10-17 14:41:54 +02:00
Thomas Citharel 63a839d8aa
Try to fix crash on Safari by removing -apple-system from font-family
Source https://github.com/scrumpy/tiptap/issues/464

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 14:30:25 +02:00