Commit Graph

4324 Commits

Author SHA1 Message Date
Thomas Citharel
a7a0c58ae3
Fix moving resources
Closes #838

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 17:13:46 +02:00
Thomas Citharel
04fff8485e
Fix resource list not refreshing after adding/deleting resource
Closes #837

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 17:13:46 +02:00
Thomas Citharel
46bfa2c422
Add a default timezone if user's timezone is set to null
Closes #746

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 16:54:34 +02:00
Thomas Citharel
db6f88c0a0
Save timezone to current timezone if no timezone is set
The preferences showed the detected timezone as the selected timezone if no timezone was null. Now we force set it in that case.

Closes #815

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 16:52:32 +02:00
Thomas Citharel
9a289d65d3 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1043
2021-08-20 13:12:51 +00:00
Thomas Citharel
765af3eb1d Translated using Weblate (Spanish)
Currently translated at 100.0% (1144 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-20 15:12:11 +02:00
Thomas Citharel
2489b91349 Translated using Weblate (Spanish)
Currently translated at 100.0% (1144 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-20 15:11:17 +02:00
Berto Te
5f35e72b4c Translated using Weblate (Spanish)
Currently translated at 100.0% (1144 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-20 15:04:01 +02:00
Thomas Citharel
e232d72c35 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1041
2021-08-19 17:33:20 +00:00
Thomas Citharel
90ea5194d9 Translated using Weblate (Spanish)
Currently translated at 100.0% (1144 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-19 18:45:05 +02:00
Thomas Citharel
4e1d0bfcd6 Translated using Weblate (Spanish)
Currently translated at 100.0% (1144 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-19 18:44:00 +02:00
GunChleoc
bf59cdbd94 Translated using Weblate (Gaelic)
Currently translated at 98.7% (1130 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-08-19 18:15:52 +02:00
--
f06c38d91b Translated using Weblate (Finnish)
Currently translated at 99.9% (1143 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-08-19 18:15:52 +02:00
Berto Te
a2ae3dcae2 Translated using Weblate (Spanish)
Currently translated at 100.0% (1144 of 1144 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-19 18:15:49 +02:00
Thomas Citharel
b08666789f Merge branch 'fix-sitemap-creation' into 'master'
Fix sitemap creation on Docker

See merge request framasoft/mobilizon!1040
2021-08-19 14:02:57 +00:00
Thomas Citharel
a3d02184f0
Fix sitemap creation on Docker
Docker is installed at root but priv/ lies in lib/mobilizon-x/
We can use Application.app_dir(:mobilizon, "priv/static") to get the
correct path

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-19 15:23:33 +02:00
Thomas Citharel
649e1b97a4 Merge branch 'docker-fix-default-listen-ip' into 'master'
Fix default listen-ip in Docker configuration

See merge request framasoft/mobilizon!1039
2021-08-19 09:14:41 +00:00
Thomas Citharel
d2a0c4d044
Fix default listen-ip in Docker configuration
127.0.0.1 will only work in host mode. Default to 0.0.0.0 instead.

It can be manually overritten with actual container IP through
MOBILIZON_INSTANCE_LISTEN_IP env parameter.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-19 10:35:51 +02:00
19863fc6bf lint all 2021-08-18 18:17:16 +02:00
f66845efa4 - **Allow remote group moderators to edit group events and posts**
- **Allow events to hold metadata information, either preconfigured (live video URL, price details, accessibility informations,…), either through a free key/value form.** Metadata concerning live video feeds linking to PeerTube, YouTube & Twitch will benefit from iframe integration.
 - Add the possibility to create profiles and groups from CLI
 - Add the possibility to create a profile at the same time when creating an user from CLI
 - Add the possibility to create users with LDAP provider from CLI
 - Added back support for Docker-compose based development
 - Added rel=canonical and meta robots noindex tags to public pages from remote groups, in order to avoid them being indexed by Google
 - Allow members-restricted posts to be viewable by instance moderators (for moderation purposes)
 - Added a filter to resize pictures bigger than 1920x1080
 - Allow to deny registration by email or email domain
 - Added missing index on participants url
 - Added a loading wheel to show that events are loading on some views
 
 - Made server only listen on IPv4 in the install template
 - Improve identity picker to have a fixed height and allow filtering between your identities and group contacts
 - Leaflet map controls (zoom/locate) are now translatable
 - Show exactly 12 events on the Explore page
 
 - Fixed links contained in event & post description that didn't open in new tabs
 - Add back missing RSS/ical links on public group pages
 - Fixed links to Framacolibri forum
 - Fixed drafts and restricted visibility events & posts listed on group page
 - Fixed notification page on Safari
 - Fixed profile edition
 - Fixed Feed Token recreation
 - Fixed media cleaner job
 - Fixed english being always used as a language instead of the default one set when the request has no `Accept-Language` header (such as Google index bots)
 - Fixed Ecto validation errors not being translated and interpolated
 - Fixed <html> `lang` attribute not being properly set with the language currently used
 - Fixed federated posts having wrong visibility setting
 - Fixed unused CSS filter on homepage rendering wrong on Webkit
 - Fixed handling SSL being already started in LDAP connection
 - Fixed an Apollo cache issue when registrering your first profile
 - Fixed the Docker image missing ca-certificates
 - Fixed missing pagination on Explore page featured events
 - Fixed broken popup warning when editing an event
 - Fixed GraphQL Playground (again)
 - Fixed Coordinates mixmatch between latitude and longitude in iCalendar export and federation
 - Fixed token refreshment issues
 - Fixed search from 404 page
 
 - Catalan
 - Chinese (Traditional)
 - Finnish
 - French
 - Gaelic
 - Galician
 - German
 - Indonesian
 - Russian
 - Spanish
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEExMITpfxOHHCvHn8FoGG53eDKB3MFAmEbjvoACgkQoGG53eDK
 B3NOlhAAsAg9L5KFrbsxGtUDL0tCZWtOZXub9YBdeXThykCGcvJleXYDi4FenQN7
 WYSi5gBGZTHJCbEy3AatkaraYV+w7oExB9dKj882iToLj7M16X4c+pWeZNgBt5zb
 oEf4CG/BvV0ICKn48khmsAQVbAPkm8k3Um7fELwfZ2pA5CKvHLyrD5VUnXaz5abV
 in46GDERPFUZ0cSXoozK0PwEP473KGlGWM8vXRkudLCm0aZzx9UwxdJFcvmDMMuK
 etVLiH/XlPyoE89LA0Vq0gUEozQrbAjaXAQCkiaftyKMpw0hda64rz80L4Hy/FS8
 RqNWVDvznrcRe7FmsKDzkgkBfk4ecero60MAE1N2rfJbwwYFVGSD1G2B/PckN0ss
 /4G2Dn61tn/zhBDNVerWRbaHg7cyIbxb92GVOmAJK5yvOG5qo6h8gwN2OzSLSjWG
 jTbIFgJ7KY9XVcFwdZ4VL95CglzM32irFbFh7kpx3MWVAYoeBDPcevE+q8zRyUCY
 jYbWLeTGWlNyEe+C5mXT9IrGt51yFIbsT6alst28H9pOyHZQnsjGzXRIYCn5nNne
 TTbkNG0fE5Pl1Xo40WaLcYJIWjU/2rwS9tyrWmcN5Ws5qg33mRdGKlU6AaSuGfkG
 QpGcclyrvsYl9bVX/XHWbJnAZUdm+qB59IHELY37dLYM2ASUk6w=
 =SXZE
 -----END PGP SIGNATURE-----

Merge tag '1.3.0' into chapril

- **Allow remote group moderators to edit group events and posts**
- **Allow events to hold metadata information, either preconfigured (live video URL, price details, accessibility informations,…), either through a free key/value form.** Metadata concerning live video feeds linking to PeerTube, YouTube & Twitch will benefit from iframe integration.
- Add the possibility to create profiles and groups from CLI
- Add the possibility to create a profile at the same time when creating an user from CLI
- Add the possibility to create users with LDAP provider from CLI
- Added back support for Docker-compose based development
- Added rel=canonical and meta robots noindex tags to public pages from remote groups, in order to avoid them being indexed by Google
- Allow members-restricted posts to be viewable by instance moderators (for moderation purposes)
- Added a filter to resize pictures bigger than 1920x1080
- Allow to deny registration by email or email domain
- Added missing index on participants url
- Added a loading wheel to show that events are loading on some views

- Made server only listen on IPv4 in the install template
- Improve identity picker to have a fixed height and allow filtering between your identities and group contacts
- Leaflet map controls (zoom/locate) are now translatable
- Show exactly 12 events on the Explore page

- Fixed links contained in event & post description that didn't open in new tabs
- Add back missing RSS/ical links on public group pages
- Fixed links to Framacolibri forum
- Fixed drafts and restricted visibility events & posts listed on group page
- Fixed notification page on Safari
- Fixed profile edition
- Fixed Feed Token recreation
- Fixed media cleaner job
- Fixed english being always used as a language instead of the default one set when the request has no `Accept-Language` header (such as Google index bots)
- Fixed Ecto validation errors not being translated and interpolated
- Fixed <html> `lang` attribute not being properly set with the language currently used
- Fixed federated posts having wrong visibility setting
- Fixed unused CSS filter on homepage rendering wrong on Webkit
- Fixed handling SSL being already started in LDAP connection
- Fixed an Apollo cache issue when registrering your first profile
- Fixed the Docker image missing ca-certificates
- Fixed missing pagination on Explore page featured events
- Fixed broken popup warning when editing an event
- Fixed GraphQL Playground (again)
- Fixed Coordinates mixmatch between latitude and longitude in iCalendar export and federation
- Fixed token refreshment issues
- Fixed search from 404 page

- Catalan
- Chinese (Traditional)
- Finnish
- French
- Gaelic
- Galician
- German
- Indonesian
- Russian
- Spanish
2021-08-18 15:48:10 +02:00
Thomas Citharel
05a551a6e3 Merge branch 'release-1.3.0' into 'master'
Version 1.3.0

See merge request framasoft/mobilizon!1028
2021-08-17 10:21:43 +00:00
Thomas Citharel
f0e9f8e31e
Bump version to 1.3.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-17 11:30:18 +02:00
Thomas Citharel
b2c0090c3a Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1038
2021-08-17 09:29:44 +00:00
GunChleoc
106cf9271e Translated using Weblate (Gaelic)
Currently translated at 100.0% (1130 of 1130 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-08-17 11:22:02 +02:00
Thomas Citharel
7403bbbd60 Merge branch 'add-visio-metadata' into 'master'
Add some visio services to preconfigured metadata

See merge request framasoft/mobilizon!1037
2021-08-17 09:21:50 +00:00
Thomas Citharel
ae31835923
Add Etherpad Integration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-17 10:42:03 +02:00
Thomas Citharel
639309ed92
Add some visio services to preconfigured metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-17 10:42:02 +02:00
Thomas Citharel
a21f287c98 Merge branch 'increase-feeds-limits' into 'master'
Add sane limits to feeds

Closes #722

See merge request framasoft/mobilizon!1036
2021-08-16 14:56:48 +00:00
Norbert Szulc
f8f53edb76
Add test 2021-08-16 16:23:13 +02:00
Thomas Citharel
de102755f8
Add sane limits to feeds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 16:23:13 +02:00
Thomas Citharel
fbbf85225b Merge branch 'upgrade-deps' into 'master'
Upgrade deps

Closes #711

See merge request framasoft/mobilizon!1035
2021-08-16 10:34:23 +00:00
Thomas Citharel
21d64659c5 Merge branch 'fix-federating-private-events' into 'master'
Content is visible only @ap_public is in "to"

Closes #711

See merge request framasoft/mobilizon!1034
2021-08-16 10:05:03 +00:00
Thomas Citharel
9ff127d172
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 11:35:45 +02:00
Thomas Citharel
f204141262
Content is visible only @ap_public is in "to"
Closes #711

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 11:16:45 +02:00
Thomas Citharel
a94f2bc536 Merge branch 'fix-geo-coordinates' into 'master'
Fix geocoordinates mixmatch

Closes #828

See merge request framasoft/mobilizon!1033
2021-08-16 08:59:29 +00:00
Thomas Citharel
34e2c4f310
Fix geocoordinates mixmatch
Closes #828

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 10:23:16 +02:00
Thomas Citharel
22b2a4aff8 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1032
2021-08-13 18:57:26 +00:00
GunChleoc
a616e51148 Translated using Weblate (Gaelic)
Currently translated at 100.0% (1130 of 1130 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-08-13 20:15:48 +02:00
deadmorose
5bc4e7dc5a Translated using Weblate (Russian)
Currently translated at 100.0% (172 of 172 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/ru/
2021-08-13 20:15:47 +02:00
deadmorose
49fe27d86b Translated using Weblate (Russian)
Currently translated at 100.0% (247 of 247 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ru/
2021-08-13 20:15:47 +02:00
deadmorose
b0d1e6d18f Translated using Weblate (Russian)
Currently translated at 100.0% (1130 of 1130 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-08-13 20:15:47 +02:00
Berto Te
ca12e65731 Translated using Weblate (Spanish)
Currently translated at 100.0% (1130 of 1130 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-13 20:15:44 +02:00
Thomas Citharel
993a27b93c Merge branch 'update-number-of-events-on-explore' into 'master'
Make the number of events fit the page on Explore

Closes #809 et #826

See merge request framasoft/mobilizon!1031
2021-08-13 17:18:28 +00:00
Thomas Citharel
b4d1252ece Merge branch 'session-issues' into 'master'
Various issues

Closes #809

See merge request framasoft/mobilizon!1030
2021-08-13 17:17:59 +00:00
Thomas Citharel
23b8da2085
Add link from homepage last published events section to search page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 18:07:38 +02:00
Thomas Citharel
cc029a52f9
Make the number of events fit the page on Explore
Close #826

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 18:07:38 +02:00
Thomas Citharel
5b1ae688d2
Fix session issues
Close #809

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 18:06:54 +02:00
Thomas Citharel
e781fd5b49
Fix search on 404 page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 17:00:21 +02:00
Thomas Citharel
d71e76d692
Fix some queries being called even when not logged-in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 16:56:51 +02:00
Thomas Citharel
4831379d13
Allow prop for EventBanner to be null
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 16:56:27 +02:00