778a69cd
ca4557705a
fix typo in elixir imports
...
I have no idea where this snuck in??
2025-01-13 20:43:36 +01:00
summersamara
6d8b8640b7
Merge remote-tracking branch 'origin/main'
2024-12-26 12:46:57 +01:00
setop
255c8fda67
fix(back): event.ends_on can be nil
2024-12-06 15:57:53 +01:00
Massedil
f67bd900f7
Issue #1567 : use ends_on for comparaisons to get future and ongoing events
2024-11-29 19:19:19 +01:00
Massedil
71c0ce37a9
case harmonization with other fields
...
- longevents -> long_events (back-end)
- longevents -> longEvents (front-end)
2024-11-29 19:15:35 +01:00
Massedil
91b0e7d265
remove an obsolete comment
2024-11-29 19:15:35 +01:00
Massedil
752da9e641
Issue #1567 : Add a long_event
computed field to an event
...
The actual long_event implementation is only done for search and long_event is a parameter of the search request.
This change is needed for the the front-end to know if an event is a long_event everywhere an event is received.
The computed field (Ecto virtual field) is set after the Ecto request with the function with_virtual_fields().
with_virtual_fields() handles cases where there is an event, a list of events and a paginated list of events returned.
2024-11-29 19:15:35 +01:00
Massedil
6ff3525764
#1308 Fix group sorting and add new criteria (creation date, last event activity)
2024-10-24 19:09:28 +02:00
Massedil
41aa81097d
#1308 update build_page() to permit query with group_by()
...
Using Repo.aggregate() to count the total of elements is incompatible with group_by().
Changing this to a subquery with a count(*) of results permit to use group_by().
2024-10-24 19:09:28 +02:00
778a69cd
3c3206fd8a
Merge remote-tracking branch 'origin/main'
2024-07-09 00:17:59 +02:00
setop
79bd6a5d21
fix #1469 and # 1475
2024-07-08 21:44:22 +00:00
778a69cd
8d6ee125ef
Merge remote-tracking branch 'origin/main'
2024-07-05 20:51:33 +02:00
778a69cd
2f3ea848c4
Merge remote-tracking branch 'origin/main'
2024-06-30 23:29:18 +02:00
André Menrath
6d7688e4f7
Use RemoteMediaDownloaderClient, not Tesla directly to use global ssl options
2024-06-30 13:18:10 +02:00
André Menrath
b8b2e895b0
1503 fix ActivityPub publishing for self-signed CA certs
2024-06-20 22:02:31 +02:00
778a69cd
9cf861850c
Merge remote-tracking branch 'origin/main'
2024-05-01 11:24:44 +02:00
setop
d5adda00a9
feat(backend): add hat geocoder as a config
2024-04-24 12:19:44 +02:00
778a69cd
ca76b7bcf1
Merge remote-tracking branch 'origin/main'
2024-04-10 15:33:09 +02:00
setop
7030d56864
all developments of milestone 1
2024-04-10 12:36:21 +00:00
778a69cd
a49ba0fdbd
don't preload shape-*.svg that are not rendered anymore
2024-02-29 15:09:28 +01:00
778a69cd
7f5b792a3e
actually fix wrong link in instance follow request email
2024-02-17 14:21:41 +01:00
778a69cd
a0a873d234
fix wrong link in instance follow request text email
2024-02-17 14:04:01 +01:00
778a69cd
1fafd34fea
Merge remote-tracking branch 'origin/main'
2024-02-09 20:58:09 +01:00
Thomas Citharel
baa11c18b0
feat(http): allow to provide self-signed certificates
...
Allow for the MOBILIZON_CA_CERT_PATH to be used to provide your own root certificates. The CAStore
and certify certificates stores should be always already be used as fallback instead of the system
store.
Closes #1355
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel
9d99684402
feat: allow to filter events by local-only
...
In addition to internal (self + federated) and global (global external search engine), introduce the
self possibility
Closes #1322
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
778a69cd
b31491582f
Merge remote-tracking branch 'origin/main'
2024-02-09 13:41:10 +01:00
778a69cd
10d3d03da1
Merge remote-tracking branch 'origin/main'
2024-02-08 19:33:44 +01:00
Thomas Citharel
e3b36434cb
fix(activitypub): handle issue with AP Fetcher not catching some changeset errors
...
Closes #1409
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:56:50 +01:00
Thomas Citharel
4dc2f489e7
fix(activitypub): also handle as:Public and Public values for public addressing
...
Closes #1413
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
28430d6d57
feat(docker): add new environment variables for Docker config
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
1acf931ac5
fix(back): sitemapper fix after upgrade
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
ef20585f8c
fix(announcements): error message not showing when an event announcement is created with empty text
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
0bd00de501
fix(backend): only send announcement event emails when the comment author has the right to do so
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
95379885c8
fix(backend): fix sending N notifications to a single conversation participant
...
Because of the conversation participant ID being necessary in the email, we launch N jobs to send
notifications, so we need to send the email straight away.
Anonymous participants are always only a single conversation actor
participant, so we're fine
Closes #1384
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
681f8dcd04
test(graphql): add tests for sending private event announcements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
5bc0593ed6
fix(graphql): fix checking actor identity when publishing event announcements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
10c4038b85
fix(backend): hide non-public replies to comments in event comment threads
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
c9a1c35aa7
fix(announcements): make sure only valid announcements are shown to the user
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
dcbb8eae01
feat(graphql): increase max_complexity to 300
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
01eecbf1d4
fix(event announcements): only show comments from event organizers in event announcement list
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
387d3b1c30
fix(activitypub): consider PM as private conversations even if attributed_to_id is defined
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
c12df03b5d
refactor(backend): simplify the build_begins_on function in Metadata event impl
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
Thomas Citharel
5de22f91e2
fix(backend): avoid duplicating locality and region if they are the same
...
An example is Paris where both locality and region are named "Paris"
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
Thomas Citharel
1441d35e0b
feat(activitpub): add summary of metadata to events
...
Currently only expressed as plain text even though it should be HTML because of Mastodon
compatibility
Ref: https://framagit.org/les/gancio/-/issues/321
Ref: https://github.com/mastodon/mastodon/issues/28455
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
André Menrath
0d7462de06
Improve the detection of a banner image.
...
- Also accept attachments of type Image
- Prefer the key "image" if it is set as the banner image (https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object )
- solves #1399
Co-authored-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 16:55:35 +01:00
778a69cd
a12de7a0c1
Merge remote-tracking branch 'origin/main'
2024-02-05 14:09:02 +01:00
778a69cd
4cdbf78037
Merge remote-tracking branch 'potsdamn/feature/calendar'
2024-02-01 00:40:38 +01:00
778a69cd
81ae56d850
Merge remote-tracking branch 'origin/main'
2024-01-31 17:03:11 +01:00
Jonathan Reinbrecht
9670b77bc3
[IMP] move filtering of past events in related events section to backend
2024-01-19 13:59:01 +01:00
Thomas Citharel
d0835232d6
refactor(backend): change naming of function names to avoid the is_ prefix
...
Following Credo.Check.Readability.PredicateFunctionNames check
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-04 13:35:08 +01:00