Commit graph

1497 commits

Author SHA1 Message Date
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
Thomas Citharel 6718dd8e69
Upgrade vue-cli to v4, change the way server params injection is made
and serve es6 modules

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 14:20:22 +02:00
Thomas Citharel 4b80b8616d
Add polyfill for IntersectionObserver
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 11:04:07 +02:00
Thomas Citharel 166696c7dd Merge branch 'bug/fix-display-on-participants-page' into 'master'
Fix multiline display on participants page

Closes #217

See merge request framasoft/mobilizon!282
2019-10-17 09:55:51 +02:00
Thomas Citharel 571f6c60bd
Fix multiline display on participants page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 09:41:52 +02:00
Thomas Citharel 4dcbf85d9a Merge branch 'bug/fix-XSS-on-event-title' into 'master'
Make sure title is properly sanitized

Closes #247

See merge request framasoft/mobilizon!281
2019-10-16 19:17:27 +02:00
Thomas Citharel 8094f1d80a
Make sure title is properly sanitized
Close #247

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 19:03:31 +02:00
Thomas Citharel 6b2382c444 Merge branch 'doc-develop' into 'master'
Doc: work is based on master; push to fork

See merge request framasoft/mobilizon!280
2019-10-16 17:23:51 +02:00
Thomas Citharel 90a1d3276f Merge branch 'bug/differenciate-user-not-found-and-user-not-activated' into 'master'
Translate them and handle difference between user not found and user not confirmed

Closes #212

See merge request framasoft/mobilizon!279
2019-10-16 17:20:53 +02:00