Commit Graph

1025 Commits

Author SHA1 Message Date
Thomas Citharel
050833490e Fix add to calendar section with low screen width
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:03 +01:00
Thomas Citharel
1c161bb1f6 Improve search field placeholder contrast
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:02 +01:00
Thomas Citharel
1fd7dbe14b Handle update identity with bad identity username
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:02 +01:00
Thomas Citharel
0fc79d1219 Fix for adding addresses
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:01 +01:00
Thomas Citharel
6e4a5a05e8 Optimize svg pictures and color them with $secondary
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:01 +01:00
Thomas Citharel
5ba4910691 Merge branch 'i18n/upgrade' into 'master'
Update translations

See merge request framasoft/mobilizon!307
2019-11-06 09:30:26 +01:00
Thomas Citharel
6d5787f1d6 Merge remote-tracking branch 'weblate/master' into i18n/upgrade 2019-11-05 19:09:39 +01:00
Thomas Citharel
799f31257b Merge branch 'bug/limit-datepicker-year-range' into 'master'
Limit year range in the datepicker

See merge request framasoft/mobilizon!305
2019-11-05 17:58:07 +01:00
Thomas Citharel
e39ad81e20 Merge branch 'bug/only-show-pointer-on-export-event' into 'master'
Only show pointer cursor on export event title

See merge request framasoft/mobilizon!304
2019-11-05 17:51:26 +01:00
Thomas Citharel
a936784bd9 Limit year range in the datepicker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-05 17:22:17 +01:00
Quentin
2a29d11cad Translated using Weblate (Occitan)
Currently translated at 100.0% (326 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-11-05 15:45:20 +01:00
Thomas Citharel
5111d2d6db Merge branch 'bug/reduce-event-date-picker-width' into 'master'
Reduced datetime picker width

See merge request framasoft/mobilizon!302
2019-11-04 17:24:49 +01:00
Thomas Citharel
c83b897e18 Merge branch 'bug/translate-description-editor-placeholder' into 'master'
Translate description editor placeholder

See merge request framasoft/mobilizon!303
2019-11-04 17:21:05 +01:00
Thomas Citharel
7fd04a4817 Merge branch 'bug/fix-issue-when-updating-event' into 'master'
Fix issue when updating event and introduce background jobs

See merge request framasoft/mobilizon!300
2019-11-04 17:05:32 +01:00
Thomas Citharel
7c49e84d22 Only show pointer cursor on export event title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:58:24 +01:00
Thomas Citharel
99cb837972 Translate description editor placeholder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:48:12 +01:00
Thomas Citharel
5bf50057f5 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
34e4682731 Merge branch 'bug/open-external-link-rel-noopener' into 'master'
Open links from event URL and in event description in external window

Closes #283 et #282

See merge request framasoft/mobilizon!301
2019-11-04 16:38:33 +01:00
Thomas Citharel
d004d2e74f Reduced datetime picker width
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:37:57 +01:00
Thomas Citharel
b2d9d5853f Open links from event URL and in event description in external window
And add rel='noopener noreferrer' on them

Closes #282 and #283

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:09:44 +01:00
Thomas Citharel
ac758cc577 Merge branch 'deps/upgrade' into 'master'
Deps/upgrade

See merge request framasoft/mobilizon!299
2019-10-31 12:02:50 +01:00
Thomas Citharel
1bf25a61cd Merge branch 'feature/refactor-federation' into 'master'
Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules

Closes #256

See merge request framasoft/mobilizon!298
2019-10-31 11:03:36 +01:00
Thomas Citharel
df0790526d Upgrade dependencies
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:50:24 +01:00
Thomas Citharel
b99873e58c Added changelog
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:49:04 +01:00
Thomas Citharel
b3b41ad777 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
68ba44113b Merge branch 'bug/fix-upload-broken' into 'master'
Bug/fix upload broken

See merge request framasoft/mobilizon!297
2019-10-29 23:00:25 +01:00
Marc Bouvier
5a4b6a7d9e added file package to fix upload 2019-10-29 22:14:11 +01:00
Thomas Citharel
8a5095d797 Merge branch 'bug/insert-search-data-async' into 'master'
Make inserting data into search table an async operation

See merge request framasoft/mobilizon!296
2019-10-23 16:52:10 +02:00
Thomas Citharel
cdacdfd787 Merge branch 'enhancement/better-config-for-inet6' into 'master'
Better config for inet6 in prod

See merge request framasoft/mobilizon!295
2019-10-23 16:42:07 +02:00
Thomas Citharel
567d8ba555 Make inserting data into search table an async operation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:33:56 +02:00
Thomas Citharel
06501364b1 Better config for inet6 in prod
Taken from Phoenix template config

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:24:24 +02:00
Thomas Citharel
0b308ca684 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
99caae332c Make actors deletion cascade to followers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:02:01 +02:00
Thomas Citharel
bbb3a8576c Merge branch 'feature/search-events-by-tag' into 'master'
Feature/search events by tag

Closes #206

See merge request framasoft/mobilizon!293
2019-10-23 15:42:37 +02:00
Thomas Citharel
c6ce7f6795 Fix unrelated warning
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
5ab8fe2888 Make tags clickable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
75ec6afffc Implement search engine & service in backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
8c65f58962 Merge branch '255-fix-make-error' into 'master'
Fix error when running `make` / `docker-compose up`

Closes #255

See merge request framasoft/mobilizon!292
2019-10-23 15:05:28 +02:00
JohanBaskovec
4c48cb8ea9 Fix error when running make / docker-compose up
This fixes an error when running the mobilizon_api container (either
with `make` or `docker-compose up`): the command `mix phx.server`
was run first in the mobilizon_api container, but it
made the container restart every ~10 seconds because of missing
dependencies errors. As a result it became impossible to install
the depencies using
`docker-compose exec api sh -c "cd js && yarn install && cd ../"`,
because that would give this error:
`Error response from daemon: Container
8ff288ad74565bb0773f9b5f8fb39ab62925c16ea0ca77c5d2579cc3013a8464 is
restarting, wait until the container is running`.

This commit fixes this error by running the dependency installation
commands (and compilation and db migration) before `mix phx.server`.
2019-10-22 22:16:18 +02:00
Thomas Citharel
88777d415e Merge branch 'support-pg' into 'master'
fix mix mobilizon.instance gen

See merge request framasoft/mobilizon!289
2019-10-21 14:56:05 +02:00
Thomas Citharel
7aa73fb4c0 Merge branch 'bug/limit-picture-sizes' into 'master'
Improve picture handling

Closes #224

See merge request framasoft/mobilizon!291
2019-10-21 14:42:22 +02:00
Martin/Geno
dd47dabe88 support: add setup_db.psql 2019-10-21 14:41:52 +02:00
Thomas Citharel
25e25d5537 Allow WebP and Gif pics
svg stays forbidden until we can be sure it's fine security-wise

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:43:06 +02:00
Thomas Citharel
74c12d6736 Add the optimize filter for uploaded pics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:42:45 +02:00
Thomas Citharel
e75dfbab2b Lower default file upload limit to 10MB
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:19:05 +02:00
Thomas Citharel
0f43a71eb0 Limit multipart upload to 10MB
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:10:39 +02:00
Thomas Citharel
185306e991 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
477f885e04 Limite size and number of tags in input
Closes #239

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:25 +02:00
Thomas Citharel
60b9fa235b 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
Thomas Citharel
c1ecfbf2e7 Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!287
2019-10-18 10:09:23 +02:00