Commit graph

1910 commits

Author SHA1 Message Date
Thomas Citharel 507877ab18 Merge branch 'fix-security-issues' into 'master'
Fix security issues

Closes #385 et #384

See merge request framasoft/mobilizon!599
2020-10-09 19:51:13 +02:00
Thomas Citharel dad9623482
Make sure only proper pictures are uploaded
Closes #384

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 19:29:12 +02:00
Thomas Citharel 646f298e0b
Position the footer on the bottom of the screen
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 18:13:15 +02:00
Thomas Citharel c296381ed6
[Security] Fix events being editable by other users that organizers
Closes #385

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 18:12:35 +02:00
Thomas Citharel 24238da393
Fix a typo in the path to picture on error template
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 17:07:10 +02:00
Thomas Citharel bacf8fc3be
Fix a couple of issues in the nginx template
For instance, `X-Forwarded-Proto` is needed to properly generate the
callback URL for 3rd-party auth through Ueberauth

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 17:06:17 +02:00
Thomas Citharel 75fc1f125a
Show a proper error message on creating/updating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:45 +02:00
Thomas Citharel 9430f1145f
Fix profiles not administrators able to edit a group
Related to #385

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:44 +02:00
Thomas Citharel f338867345 Merge branch 'add-error-page' into 'master'
Introduce support for custom nginx error pages

See merge request framasoft/mobilizon!598
2020-10-09 15:06:43 +02:00
Thomas Citharel 07a5d10421
Introduce support for custom nginx error pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 14:48:49 +02:00
Thomas Citharel 5c47bdefc9 Merge branch 'skip-test-sometimes-failing' into 'master'
Skip test sometimes failing

See merge request framasoft/mobilizon!596
2020-10-08 16:54:34 +02:00
Thomas Citharel 6a1d74d07e Merge branch 'fix-event-creation-on-update' into 'master'
Prevent creating a new event when editing one

Closes #381

See merge request framasoft/mobilizon!595
2020-10-08 16:35:11 +02:00
Thomas Citharel 3a3a500e42 Merge branch 'upgrade-exvcr' into 'master'
Upgrade ex_vcr to latest version

See merge request framasoft/mobilizon!594
2020-10-08 16:22:14 +02:00
Thomas Citharel 154b9e9e3c
Skip test sometimes failing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 16:21:39 +02:00
Thomas Citharel e895ba32be
Prevent creating a new event when editing one
Close #381

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 16:16:42 +02:00
Thomas Citharel 5c3e83acfa
Upgrade ex_vcr to latest version
https://github.com/parroty/exvcr/pull/160 fixes an issue with v0.12.0

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 15:58:54 +02:00
Thomas Citharel c229c4a806 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!592
2020-10-08 14:06:55 +02:00
josé m 0b856c6369 Translated using Weblate (Galician)
Currently translated at 57.7% (462 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-08 11:57:42 +02:00
Thomas Citharel 9c1843b426 Merge branch 'add-faq-to-docs' into 'master'
Add faq to docs

See merge request framasoft/mobilizon!593
2020-10-08 11:57:38 +02:00
Thomas Citharel ed6964de31
Rollback to ex_vcr 11.2
https://github.com/parroty/exvcr/issues/159 causes issues with other
Mocks

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 11:40:13 +02:00
Thomas Citharel ed4042ed1e
Fix injecting metadata into HTML pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 10:41:30 +02:00
Thomas Citharel 2d4431072b
Change France to Europe in geocoders.md
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 10:22:30 +02:00
Thomas Citharel ca79f4dba0
Add FAQ for server requirements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 10:20:46 +02:00
Thomas Citharel d5c90af809
Allow nodejs build process to use a lower RAM value
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 10:20:14 +02:00
Thomas Citharel cdca2d24e4
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 09:24:26 +02:00
Thomas Citharel 39e90b3a50 Merge branch 'fix-event-update' into 'master'
Fix event update

See merge request framasoft/mobilizon!591
2020-10-08 09:24:10 +02:00
Thomas Citharel f4b777c3d6
Make sure event update notification email gets sent to anonymous
participants

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 08:53:25 +02:00
Thomas Citharel 9f9f58ce7d
Improve event update notification email
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 08:53:07 +02:00
Thomas Citharel 5933068a09 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!588
2020-10-08 08:38:53 +02:00
josé m 054cda2e19 Translated using Weblate (Galician)
Currently translated at 54.7% (438 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-08 08:20:24 +02:00
josé m 3707851e6a Translated using Weblate (Galician)
Currently translated at 51.4% (407 of 791 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-08 08:20:24 +02:00
Berto Te 3aecf8cb20 Translated using Weblate (Spanish)
Currently translated at 100.0% (791 of 791 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-08 08:20:24 +02:00
Thomas Citharel fbb1b2d607
Handle case when setting value is nil
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 08:19:59 +02:00
Thomas Citharel ebaa9154ee
Put back removed confirmation crypto call
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 08:19:44 +02:00
Thomas Citharel 9bf650f35f Merge branch 'fix-doc-upgrade' into 'master'
Fix missing env MIX_ENV for mix deps.get in upgrade doc (minor)

See merge request framasoft/mobilizon!590
2020-10-08 08:09:57 +02:00
Numahell f21ec1c499 Fix missing env MIX_ENV for mix deps.get in upgrade 2020-10-07 22:07:10 +02:00
Thomas Citharel b67239cf2e Merge branch 'fix-anonymous-participation' into 'master'
Fix anonymous participation

See merge request framasoft/mobilizon!589
2020-10-07 17:30:06 +02:00
Thomas Citharel 77970b8091
Improve anonymous participation and confirmation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 17:05:15 +02:00
Thomas Citharel 07ab35ab87 Merge branch 'add-languages-to-admin-settings' into 'master'
Add languages to admin settings

See merge request framasoft/mobilizon!587
2020-10-07 17:01:35 +02:00
Thomas Citharel 9382e8fc74
Improve participation rejection email by adding bold
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 16:39:33 +02:00
Thomas Citharel 3a84e6dfa5
Improve anonymous participation confirmation email by adding bold
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 16:39:32 +02:00
Thomas Citharel 586d8c440d
Add languages to admin settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 16:38:24 +02:00
Thomas Citharel 17786b025a Merge branch 'add-statistics' into 'master'
Expose more statistics

See merge request framasoft/mobilizon!586
2020-10-07 11:11:08 +02:00
Thomas Citharel 02eac30c9b
Expose more statistics
* differenciate local & all events/comments/groups
* add instance follows/followings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 10:52:29 +02:00
Thomas Citharel 09a0cbf3f1 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!585
2020-10-07 08:29:56 +02:00
josé m d574785bdb Translated using Weblate (Galician)
Currently translated at 43.4% (343 of 789 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-07 08:28:53 +02:00
Berto Te 7eab3c3272 Translated using Weblate (Spanish)
Currently translated at 100.0% (235 of 235 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/es/
2020-10-07 08:28:53 +02:00
frama late 0480dbdc6a Translated using Weblate (Italian)
Currently translated at 10.8% (86 of 789 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-10-07 08:28:53 +02:00
Berto Te d81f7d0f29 Translated using Weblate (Spanish)
Currently translated at 100.0% (789 of 789 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-07 08:28:53 +02:00
Thomas Citharel 9680f51d5c Merge branch 'improve-text' into 'master'
Improve text

See merge request framasoft/mobilizon!584
2020-10-07 08:28:45 +02:00