Thomas Citharel
fc8c34baff
Use user timezone in emails
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-17 09:36:32 +01:00
Thomas Citharel
792535eeeb
Allow Ueberauth providers to be used at runtime
...
Close #504
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-15 19:49:38 +01:00
Thomas Citharel
cd00684456
Use DateTime.utc_now/0 instead of Timex.local/0
...
Timex.local/0 requires the TZ environment variable to be set
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-14 19:07:19 +01:00
Thomas Citharel
00a654285d
Fix email missing headers
...
Close #426 #491
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-13 18:00:05 +01:00
Thomas Citharel
dc617d2239
Remove duplicate @doc blocs
...
Elixir 11 notifies this a lot
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 15:48:05 +01:00
Thomas Citharel
d0718ee397
Allow to join an open group
...
Also:
* Refactor interacting with a remote event so that you can interact with
a remote group as well
* Add a setting for group admins to pick between an open and invite-only
group
* Fix new groups without posts/todos/resources/events/conversations URL
set
* Repair local groups that haven't got their
posts/todos/resources/events/conversations URL set
* Add a scheduled job to refresh remote groups every hour
* Add a user setting to pick when to receive notifications when there's
new members to approve (will be used when this feature is available)
* Fix pagination for members
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 15:19:36 +01:00
Thomas Citharel
4f1ceb37ed
Load only a few locales in dev environment
...
No need to load everything
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 12:03:20 +01:00
Thomas Citharel
9967642871
Add proper error message when accessing followers/followings w/ auth
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 18:11:27 +01:00
Thomas Citharel
8f275f4600
Make sure we have only one relay actor
...
Close #427
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 18:10:56 +01:00
Thomas Citharel
d7e4350bb2
Fix About page crashing when instance language is not supported
...
Use the languages defined by CLDR on server instead, and fallback to
english if not defined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 12:12:55 +01:00
Thomas Citharel
3f6a0528bc
Don't allow remote comments to be inserted if parent event doesn't allow it
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 10:49:58 +01:00
Thomas Citharel
d1dece23a8
Allow to use Mix tasks inside Releases
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-31 02:42:06 +01:00
Thomas Citharel
e5e458645d
Fix pictures not being served by Plug.Static
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-31 02:42:06 +01:00
prichier
ec1e490f39
Fix Mix.env use in prod app & MR threads
2020-10-31 02:42:06 +01:00
prichier
88dbfc0856
Mutli-stage build for production
2020-10-31 02:42:06 +01:00
Thomas Citharel
5965b221b1
Fix language change
...
- Load the language files correctly when language is changed
- Save user language in localstorage so that we can have it even if disconnected (but still load it from user settings eventually since
user might be on a different device)
- Load all locales from Cldr with Gettext
- Fix pt-PT -> pt-BR
- Clean some obsolete config.exs comments
Later changes will allow to set the language without an account
https://framagit.org/framasoft/mobilizon/-/issues/375
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-28 19:57:57 +01:00
Thomas Citharel
8e62db0ec3
Update demo mode to remove references to beta
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-28 11:41:39 +01:00
vincent debierre
98fd478342
Remove warning and reference to beta version status in text email format
2020-10-28 11:36:42 +01:00
Thomas Citharel
1d658480bd
Fix detecting file MIME type if file hasn't got a name
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-27 16:32:34 +01:00
Thomas Citharel
39d109de31
Merge branch 'improve-local-upload' into 'master'
...
Improve local uploader
See merge request framasoft/mobilizon!653
2020-10-26 12:01:24 +01:00
Thomas Citharel
500612e5a3
Improve local uploader
...
Check that destination file is not here and temporary file is still here
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-26 11:42:29 +01:00
Thomas Citharel
26567d8a9a
Merge branch 'vpzomtrrfrt/mobilizon-port-support' into 'master'
...
Check port in compare_urls
See merge request framasoft/mobilizon!651
2020-10-26 10:01:31 +01:00
Colin Reeder
fddc659f2b
Check port in compare_urls
2020-10-26 09:33:20 +01:00
Thomas Citharel
bdc1176b1d
Merge branch 'upload-and-avatar-improvements' into 'master'
...
Upload and avatar improvements
See merge request framasoft/mobilizon!646
2020-10-26 09:00:08 +01:00
Colin Reeder
bca4208dc5
Fix is_public? for non-lists
2020-10-25 12:17:31 -06:00
Thomas Citharel
3c9e2ac62c
Add more tests to upload filters
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-25 12:00:00 +01:00
Thomas Citharel
ba263fe35d
Fallback GitStatus version code to mix env value
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-23 18:55:47 +02:00
Thomas Citharel
b5036951d8
Fix list group elements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 18:06:02 +02:00
Thomas Citharel
63e739564f
Fix listing event groups
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 16:59:04 +02:00
Thomas Citharel
fd711c4d12
When filter on public group events, exclude draft events as well
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 16:58:18 +02:00
Thomas Citharel
670fff14a9
New unlogged homepage
...
With fancy illustrations ✨
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 17:49:18 +02:00
Thomas Citharel
f47cf12aa5
Merge branch 'docs-email' into 'master'
...
Docs email
See merge request framasoft/mobilizon!627
2020-10-21 11:38:13 +02:00
Thomas Citharel
81cabbd054
Fix webfinger not following redirections by using a custom dedicated Tesla client
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 11:20:15 +02:00
Thomas Citharel
85a8a68fd6
Add task to refresh an instance relay
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 11:02:28 +02:00
Thomas Citharel
a5275f9f84
Fix a credo issue
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 10:06:58 +02:00
Thomas Citharel
d2ecf5edcc
Fix issue with hostname validation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:58:19 +02:00
Thomas Citharel
ac39d363ee
Fix OEmbed preview parser
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:58:18 +02:00
Thomas Citharel
9966469444
Use a RichMediaPreviewClient to get details on resources
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:58:18 +02:00
Thomas Citharel
4617c51e52
Make sure only group moderators can update/delete events, posts
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:58:17 +02:00
Thomas Citharel
987de3f2c2
Couple of fixes for groups
...
- Fix posts update federation and add tests
- Fix posts deletion federation and add tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:44:04 +02:00
Thomas Citharel
c441532971
Fix listing group public events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:44:03 +02:00
Thomas Citharel
03f2664b01
Fix finding local actor by username with domain
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 17:19:22 +02:00
Thomas Citharel
48d7606e7e
Improve debug logger message in webfinger module
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 17:19:15 +02:00
Thomas Citharel
ac81833706
Improve member management
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 14:24:51 +02:00
Thomas Citharel
e3607b57be
Improve dashboard
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 11:04:05 +02:00
Thomas Citharel
ea38ca2567
Remove outdated string in install assistant
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 18:56:23 +02:00
Thomas Citharel
c8ac5b07ee
Fix email template without variables
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 11:45:32 +02:00
Thomas Citharel
60343128af
Fix events from former followed instances showing up
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 11:45:32 +02:00
Thomas Citharel
c448ab4a52
Use datetime with TZ for posts timestamps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:33 +02:00
Thomas Citharel
59abbe88c2
Fix tests with user tasks
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 15:53:18 +02:00