Commit Graph

4396 Commits

Author SHA1 Message Date
Thomas Citharel
426f85884b
Fix deleting own account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 11:18:39 +02:00
Thomas Citharel
24ff99ffaf
Search should return only groups, don't show user profiles
Closes #845

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 11:17:32 +02:00
Thomas Citharel
f3bb1f8976 Merge branch 'delete-account-fixes' into 'master'
Fix deleting own account

See merge request framasoft/mobilizon!1050
2021-08-23 09:15:58 +00:00
Thomas Citharel
241710807c
Fixed deduplicated files from orphan media being deleted as well
Happens when a file is uploaded, then orphaned, and a similar file is
used somewhere. The CleanMedia job service didn't consider that case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:37:20 +02:00
Thomas Citharel
8eacf29705
Fix events pagination on tags page
Not a perfect fix because of a blinking issue, but works properly

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:37:08 +02:00
Thomas Citharel
a79239eaac
Delete current actor ID as well from local storage when unlogging
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:36:53 +02:00
Thomas Citharel
61198cb639
Fix config onboarding after LDAP initial connexion
Closes #840

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:36:47 +02:00
Thomas Citharel
3a79806c0f
Accessibility improvements in AccountSettings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:20:55 +02:00
Thomas Citharel
c2b72b45d3
Fix deleting own account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:20:31 +02:00
Thomas Citharel
89da83dce4 Merge branch 'fix-orphan-media-cleaning' into 'master'
Fixed deduplicated files from orphan media being deleted as well

See merge request framasoft/mobilizon!1049
2021-08-22 14:54:05 +00:00
Thomas Citharel
ab843dff4c
Fixed deduplicated files from orphan media being deleted as well
Happens when a file is uploaded, then orphaned, and a similar file is
used somewhere. The CleanMedia job service didn't consider that case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-22 16:17:20 +02:00
Thomas Citharel
1ac2990cda Merge branch 'fix-tags-event-pagination' into 'master'
Fix events pagination on tags page

Closes #840 et #841

See merge request framasoft/mobilizon!1046
2021-08-20 17:58:24 +00:00
Thomas Citharel
d35041bd4c Merge branch 'fix-config-onboarding-after-ldap' into 'master'
Fix config onboarding after LDAP initial connexion

Closes #840

See merge request framasoft/mobilizon!1045
2021-08-20 17:30:34 +00:00
Thomas Citharel
846a4c376a
Fix events pagination on tags page
Not a perfect fix because of a blinking issue, but works properly

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 19:05:17 +02:00
Thomas Citharel
e2496536e9 Merge branch 'save-event-language' into 'master'
Introduce event language detection

Closes #636

See merge request framasoft/mobilizon!1042
2021-08-20 16:55:29 +00:00
Thomas Citharel
5cf962fd8f
Delete current actor ID as well from local storage when unlogging
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 18:49:17 +02:00
Thomas Citharel
ba075c1973
Fix config onboarding after LDAP initial connexion
Closes #840

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 18:49:03 +02:00
Thomas Citharel
d577b07c6e
Introduce event language detection
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 18:01:29 +02:00
Thomas Citharel
7c9b76765f
Cleanup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 18:00:21 +02:00
Thomas Citharel
1fd027bbc2 Merge branch 'release-1.3.1' into 'master'
Release 1.3.1

Closes #815, #746, #837 et #838

See merge request framasoft/mobilizon!1044
2021-08-20 15:51:15 +00:00
Thomas Citharel
071bbeeb68
Release 1.3.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 17:17:12 +02:00
Thomas Citharel
d4d0eb82fc
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 17:13:46 +02:00
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