Commit Graph

998 Commits

Author SHA1 Message Date
Thomas Citharel
8a5095d797 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
cdacdfd787 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
567d8ba555 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
06501364b1 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
0b308ca684 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
99caae332c Make actors deletion cascade to followers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:02:01 +02:00
Thomas Citharel
bbb3a8576c 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
c6ce7f6795 Fix unrelated warning
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
5ab8fe2888 Make tags clickable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
75ec6afffc Implement search engine & service in backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
8c65f58962 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
4c48cb8ea9 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
88777d415e 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
7aa73fb4c0 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
dd47dabe88 support: add setup_db.psql 2019-10-21 14:41:52 +02:00
Thomas Citharel
25e25d5537 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
74c12d6736 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
e75dfbab2b 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
0f43a71eb0 Limit multipart upload to 10MB
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:10:39 +02:00
Thomas Citharel
185306e991 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
477f885e04 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
60b9fa235b 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
c1ecfbf2e7 Merge branch 'deps/upgrade' into 'master'
Upgrade deps

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

See merge request framasoft/mobilizon!286
2019-10-18 10:01:38 +02:00
Thomas Citharel
8011188748 Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 09:52:47 +02:00
Anton Strömkvist
2e006e2a89 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
deb37203fc 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
711ad438b1 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
56bd11b8f7 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
62175fb15f Added translation using Weblate (Swedish) 2019-10-17 18:14:58 +02:00
Quentin
11d6c91d0f 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
c8c365fc36 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
0f60850bb5 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
45de46ee8f 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
d6b2c43ed6 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
63f325fc3d 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
bbca622f74 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
89b2ee1087 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
435c17ee53 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
a3c4b1498a 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
50ef8e593e 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
881397634a 🗎 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
ef50bdfca5 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
5d64299e42 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
6ed3395ef7 Add polyfill for IntersectionObserver
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 11:04:07 +02:00
Thomas Citharel
266db34fe2 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
ea7ff329c3 Fix multiline display on participants page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 09:41:52 +02:00
Thomas Citharel
9901a26eb1 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
32b04755a8 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
960329195f 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