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
Thomas Citharel
49252bd31c
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
Thomas Citharel
6bdf44f60f
Translate them and handle difference between user not found and user not
...
confirmed
Closes #212
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 17:07:49 +02:00
Joel Takvorian
a340954dce
Doc: work is based on master; push to fork
...
Doc was mentioning branch "develop" (which doesn't exist it seems) instead of master
Refer to forked repo instead of upstream
2019-10-16 17:07:48 +02:00
Thomas Citharel
c91df22c65
Merge branch 'test/fix-ci' into 'master'
...
Fix Cypress run on CI
See merge request framasoft/mobilizon!278
2019-10-16 14:00:37 +02:00
Thomas Citharel
b6473446fa
Merge branch 'participation-link' into 'master'
...
Link to participation from event page
Closes #221
See merge request framasoft/mobilizon!274
2019-10-16 13:46:04 +02:00
Thomas Citharel
cf72918b80
Merge branch 'patch-1' into 'master'
...
systemd: fix recusive alias
See merge request framasoft/mobilizon!277
2019-10-16 13:45:42 +02:00
Thomas Citharel
dec144396e
Fix Cypress run on CI
...
Had written the condition the wrong way
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 13:43:41 +02:00
Joel Takvorian
44f58c92ca
Link to participation from event page
...
When the organizer sees hiw own event, the number of attendees is now a link to the attendees page
Fixes #221
2019-10-16 13:12:58 +02:00
Geno
4e8412a7b2
systemd: fix recusive alias
2019-10-16 11:59:37 +02:00
Thomas Citharel
bf82fa4528
Merge branch 'test/make-cypress-run-when-no-key' into 'master'
...
Make cypress run even when no key (merge requests from forks)
See merge request framasoft/mobilizon!276
2019-10-16 11:51:07 +02:00
Thomas Citharel
af2b6be195
Merge branch 'docker/improve-script' into 'master'
...
Docker/improve script
See merge request framasoft/mobilizon!275
2019-10-16 11:33:32 +02:00