Commit Graph

193 Commits

Author SHA1 Message Date
ButterflyOfFire
fa7c7cc6cf Translated using Weblate (Arabic)
Currently translated at 48.5% (32 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ar/
2019-12-25 18:14:07 +01:00
Taru Luojola
6ec89d2b63 Translated using Weblate (Finnish)
Currently translated at 100.0% (66 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fi/
2019-12-19 21:14:02 +01:00
Dzmitry K
662a611139 Translated using Weblate (Russian)
Currently translated at 33.3% (22 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ru/
2019-12-19 21:13:48 +01:00
Quentin PAGÈS
cb31a6b93f Translated using Weblate (Occitan)
Currently translated at 100.0% (66 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-12-19 21:13:48 +01:00
fadelkon
c296eee14e Translated using Weblate (Catalan)
Currently translated at 100.0% (66 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ca/
2019-12-18 09:44:34 +01:00
fadelkon
2c7007c25d Translated using Weblate (Catalan)
Currently translated at 25.8% (17 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ca/
2019-12-18 01:44:02 +01:00
Francesc
12b99d43f0 Translated using Weblate (Catalan)
Currently translated at 25.8% (17 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ca/
2019-12-18 01:43:58 +01:00
Dzmitry K
8dd852fc84 Added translation using Weblate (Belarusian) 2019-12-18 00:44:40 +01:00
fadelkon
ac505108a3 Translated using Weblate (Catalan)
Currently translated at 4.5% (3 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ca/
2019-12-17 13:56:25 +01:00
ButterflyOfFire
f4b1a1e613 Added translation using Weblate (Finnish) 2019-12-17 13:56:25 +01:00
fadelkon
b93923a22e Added translation using Weblate (Catalan) 2019-12-17 12:48:12 +01:00
Quentin
1c9410dbed Translated using Weblate (Occitan)
Currently translated at 100.0% (66 of 66 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-12-17 12:27:15 +01:00
Thomas Citharel
beae3385d9
Merge remote-tracking branch 'weblate/master' into i18n/update 2019-12-17 10:14:55 +01:00
Quentin
f60fdb4bb7 Translated using Weblate (Occitan)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-12-17 10:12:29 +01:00
Thomas Citharel
aa58f655d0
Merge remote-tracking branch 'weblate/master' into i18n/update 2019-12-17 09:53:40 +01:00
ButterflyOfFire
4fe783cb8d Translated using Weblate (Arabic)
Currently translated at 33.9% (21 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ar/
2019-12-17 09:39:53 +01:00
Thomas Citharel
4da3fb946b
Update demo warning message
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 09:20:40 +01:00
Thomas Citharel
334d66bf5d
Add admin interface to manage instances subscriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 21:56:16 +01:00
Marcin Mikołajczak
65566bd65e Translated using Weblate (Polish)
Currently translated at 96.8% (60 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/pl/
2019-12-05 13:12:59 +01:00
Thomas Citharel
d0a82c6172 Merge branch 'feature/comments' into 'master'
Comments

See merge request framasoft/mobilizon!335
2019-11-28 12:49:43 +01:00
Thomas Citharel
dc07f34d78
Introduce comments below events
Also add tomstones

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-28 12:33:58 +01:00
AlessiBilos
cf46530742 Translated using Weblate (Italian)
Currently translated at 24.2% (15 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/it/
2019-11-27 18:12:27 +01:00
Marcin Mikołajczak
b979e642d3 Translated using Weblate (Polish)
Currently translated at 90.3% (56 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/pl/
2019-11-23 12:12:35 +01:00
Marcin Mikołajczak
9948c913f2 Translated using Weblate (Polish)
Currently translated at 75.8% (47 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/pl/
2019-11-17 15:11:52 +01:00
ButterflyOfFire
da553a39c0 Translated using Weblate (Arabic)
Currently translated at 6.5% (4 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ar/
2019-11-16 11:11:47 +01:00
ButterflyOfFire
15f18aaa0d Added translation using Weblate (Arabic) 2019-11-15 11:05:05 +01:00
Pieter David
5c50fd5ec0 Translated using Weblate (Dutch)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/nl/
2019-11-12 14:24:39 +01:00
Pieter David
fe052a5dcd Translated using Weblate (English)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/en/
2019-11-12 14:24:39 +01:00
Till
94ce8cfeed Translated using Weblate (German)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/de/
2019-11-12 14:24:39 +01:00
Thomas Citharel
c599a47d58
Introduce Mimirsbrunn geocoder and improve addresses & maps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-12 14:10:18 +01:00
Thomas Citharel
0e7cf89492
Remove floor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-08 19:39:02 +01:00
Thomas Citharel
95ba76a0fa
Fix issue when updating event and introduce background jobs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:40:36 +01:00
Thomas Citharel
cc820d6b63
Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules
* Data doesn't need anymore to be converted to ActivityStream format to
be saved (this was taken from Pleroma and not at all a good idea here)
* Everything saved when creating an event is inserted into PostgreSQL in
a single transaction
2019-10-31 10:06:11 +01:00
Thomas Citharel
7b6d9f73d3 Merge branch 'bug/delete-actors-cascade-followers' into 'master'
Make actors deletion cascade to followers

Closes #253

See merge request framasoft/mobilizon!294
2019-10-23 16:18:47 +02:00
Thomas Citharel
0f67256814
Make actors deletion cascade to followers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:02:01 +02:00
Thomas Citharel
b5f9518faf
Implement search engine & service in backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
0a1270b73a Merge branch 'bug/move-sql-columns-from-varchar-to-text' into 'master'
Handle fields limitation better

Closes #226, #225 et #239

See merge request framasoft/mobilizon!288
2019-10-18 11:45:13 +02:00
Thomas Citharel
342506bac0
Add some backend changes and validation for field length
Closes #225 and #226

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:11 +02:00
Quentin
9fc790e90e Translated using Weblate (Occitan)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-10-17 16:31:57 +02:00
Zilverspar
81caf2ed38 Translated using Weblate (French)
Currently translated at 100.0% (62 of 62 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fr/
2019-10-17 16:31:57 +02:00
Quentin
b0f67a6e3a Translated using Weblate (Occitan)
Currently translated at 100.0% (54 of 54 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-10-17 16:31:57 +02:00
Thomas Citharel
5e75daa732
Add e2e seed and test event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 19:34:16 +02:00
Thomas Citharel
534ff09674
Properly handle event status
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:34:03 +02:00
Thomas Citharel
210b348b46
Add warning inside emails as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:44:53 +02:00
Thomas Citharel
1ba05f603c Translated using Weblate (English)
Currently translated at 100.0% (54 of 54 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/en/
2019-10-10 15:29:11 +02:00
Quentin
f42a7376f7 Translated using Weblate (Occitan)
Currently translated at 100.0% (54 of 54 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-10-10 15:07:36 +02:00
Thomas Citharel
6ebefd099c
Merge remote-tracking branch 'weblate/master' into i18n/update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 14:49:24 +02:00
Quentin
5f02a4b48c Translated using Weblate (Occitan)
Currently translated at 100.0% (44 of 44 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-10-08 14:29:51 +02:00
Quentin
1aef6c3ee6 Translated using Weblate (French)
Currently translated at 97.7% (43 of 44 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fr/
2019-10-08 14:29:51 +02:00
Thomas Citharel
442a011490
Add draft feature
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 18:23:32 +02:00
Thomas Citharel
a84cfb5910
Save user locale and use it to translate things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 13:08:09 +02:00
Thomas Citharel
b49d27f637
Translated using Weblate (English)
Currently translated at 100.0% (44 of 44 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/en/
2019-10-01 09:14:22 +02:00
Thomas Citharel
7161dd709e
Translated using Weblate (French)
Currently translated at 97.7% (43 of 44 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fr/
2019-10-01 09:12:31 +02:00
Thomas Citharel
7e2253220b Translated using Weblate (English)
Currently translated at 100.0% (44 of 44 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/en/
2019-09-30 19:10:51 +02:00
Thomas Citharel
4238c6a5d1 Translated using Weblate (French)
Currently translated at 97.7% (43 of 44 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fr/
2019-09-30 19:10:51 +02:00
Thomas Citharel
5fd38ace2e
Notifications on event update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-30 19:01:46 +02:00
Thomas Citharel
5b4f1c271a
Send email notifications when a participation is approved/rejected
Also handles participant status :rejected instead of deleting the
participation

Closes #164

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-30 18:45:29 +02:00
Quentin
e5d0c965b5 Translated using Weblate (Occitan)
Currently translated at 100.0% (25 of 25 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/oc/
2019-09-25 14:00:03 +02:00
Thomas Citharel
fa9dcf50c2 Added translation using Weblate (Russian) 2019-09-24 16:40:08 +02:00
Thomas Citharel
8bfa179377 Added translation using Weblate (Portuguese) 2019-09-24 16:40:07 +02:00
Thomas Citharel
21c7334776 Added translation using Weblate (Polish) 2019-09-24 16:40:06 +02:00
Thomas Citharel
186b053fa3 Added translation using Weblate (Occitan) 2019-09-24 16:40:06 +02:00
Thomas Citharel
81b5e71575 Added translation using Weblate (Dutch) 2019-09-24 16:40:05 +02:00
Thomas Citharel
7c8d59daac Added translation using Weblate (Japanese) 2019-09-24 16:40:03 +02:00
Thomas Citharel
9051291f43 Added translation using Weblate (Italian) 2019-09-24 16:40:02 +02:00
Thomas Citharel
107338722a Added translation using Weblate (Spanish) 2019-09-24 16:39:59 +02:00
Thomas Citharel
6159d6b8bd Added translation using Weblate (German) 2019-09-24 16:39:59 +02:00
Thomas Citharel
796490200b Added translation using Weblate (Czech) 2019-09-24 16:39:53 +02:00
Thomas Citharel
3bbcc2227d Translated using Weblate (English)
Currently translated at 100.0% (25 of 25 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/en/
2019-09-23 20:05:47 +02:00
Thomas Citharel
175028cc9d Translated using Weblate (French)
Currently translated at 100.0% (25 of 25 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/fr/
2019-09-23 19:59:56 +02:00
Thomas Citharel
6a41b13446
🎨 Add fancy html emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 19:50:33 +02:00
miffigriffi
4c74248a04 Merge branch 'master' into refactoring-based-on-credo-and-dialyzer 2019-09-22 00:40:53 +02:00
miffigriffy
f6800665e7 Apply formatting 2019-09-13 02:28:09 +02:00
miffigriffy
e358dcce77 Refactoring of Events context 2019-09-13 01:01:17 +02:00
Thomas Citharel
a1f0b94c9f
Update backend gettext translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 13:10:13 +02:00
miffigriffy
4418275223 Refactoring of Actors context 2019-09-09 00:52:49 +02:00
miffy
fa037fd683 Separating of Storage context 2019-09-08 01:49:56 +02:00
miffy
f316f0a940 Refactoring of Users context 2019-09-07 19:55:45 +02:00
miffy
d0c9974558 Refactoring of Reports context 2019-09-07 18:54:30 +02:00
Thomas Citharel
cb96b807a0
Improve event creation form by introducting EventOptions
It's a subentity that holds additional metadata in a map database type

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-02 17:11:27 +02:00
Thomas Citharel
050d5778dc
Remove events when deleting organizer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-28 11:36:09 +02:00
Thomas Citharel
0e0b68445b
Reuse existing addresses when creating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-22 16:20:42 +02:00
Thomas Citharel
641129dc74
Federate participations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-20 10:17:28 +02:00
Thomas Citharel
c51115bdbe
Introduce relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Thomas Citharel
5fbaf42cad
Add address input and refactor federation stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-30 10:35:29 +02:00
Thomas Citharel
aef841e192 Introduce backend for reports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 13:49:22 +02:00
Thomas Citharel
5b3831b4bf
Attach actor to pictures entity 2019-05-31 18:07:37 +02:00
Thomas Citharel
f90089e1bf
Refactor media upload
Use Upload Media logic from Pleroma

Backend changes for picture upload

Move AS <-> Model conversion to separate module

Front changes

Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-24 17:29:51 +02:00
Thomas Citharel
12116ba6fa
Add visibility to actors
Also use url helpers to generate urls properly

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-25 19:05:05 +02:00
Thomas Citharel
a877e4d7d9
Implement related events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:22:36 +02:00
Thomas Citharel
ddad462076
Add description slug field for events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 14:45:31 +02:00
Thomas Citharel
0c8d2f7e00
Work around Addresses to bring them properly through GraphQL
Got caught with https://github.com/absinthe-graphql/absinthe/issues/601
at some point, that's why fields are renamed

Fix tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 16:51:15 +02:00
Thomas Citharel
99ac6ef100
Add GraphQL support to handle FeedTokens
Closes #88

Automatically create tokens for new users and actors

Closes #89

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 18:52:27 +01:00
Thomas Citharel
c61c75163f
Add backend and endpoints for Feed Tokens
Closes #19 #86 #87

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 14:57:05 +01:00
Chocobozzz
5a8ad3ab52
Add join/leave group 2019-03-08 14:43:45 +01:00
Thomas Citharel
cb0808dbad
Introduce admin and moderator role, check role on list_users action
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add test for guards
2019-03-07 14:18:11 +01:00
Thomas Citharel
02d1cea2d7
Add cached RSS feeds for actors endpoints 2019-02-27 18:30:01 +01:00
Thomas Citharel
7086fe8389
Make Categories a predefined list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Allow null values for categories for now

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31:04 +01:00
Thomas Citharel
7dd7e8fc36
Fix mix format and format migrations too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix credo warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Show elixir version

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Also lint migrations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Reset allow failure to false

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 14:53:09 +01:00
Thomas Citharel
4ec40d601b
Implement search with PostgreSQL trigrams
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Rename function to reflect that we only get one result

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add loggers and make Ecto call parallels during search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Implement trigrams for events & replace pg similarity operator % with <%

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:10 +01:00