Commit graph

1331 commits

Author SHA1 Message Date
Dany Marcoux 6450121167
Disable search button if search field is empty
Closes #269
2019-11-07 16:40:58 +01:00
Thomas Citharel ca1044a6fb Merge branch 'improve-documentation-development' into 'master'
Improve documentation for the development section

See merge request framasoft/mobilizon!308
2019-11-07 09:30:59 +01:00
Dany Marcoux 80fe65ea93
Improve documentation for the development section
Remove duplication for the Docker/Docker-Compose instructions.

Mention that Docker/Docker-Compose is the recommended approach to run
Mobilizon.

Be clear about accessing `localhost:4000` only once the containers are fully
built and launched.
2019-11-06 23:48:15 +01:00
Thomas Citharel ddbe637c34 Merge branch 'bug/fixes' into 'master'
Various fixes

See merge request framasoft/mobilizon!306
2019-11-06 10:16:03 +01:00
Thomas Citharel a3d467c23a
Make error when last identity translatable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 10:04:21 +01:00
Thomas Citharel 33f7c14db6
Fixes with addresses and iCalendar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 10:04:17 +01:00
Thomas Citharel a46f4c058c
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 aac614d597
Improve search field placeholder contrast
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:02 +01:00
Thomas Citharel 08dab070e7
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 f91f8ab926
Fix for adding addresses
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:01 +01:00
Thomas Citharel 23470a010c
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 4af4f506a4 Merge branch 'i18n/upgrade' into 'master'
Update translations

See merge request framasoft/mobilizon!307
2019-11-06 09:30:26 +01:00
Thomas Citharel df328b0470
Merge remote-tracking branch 'weblate/master' into i18n/upgrade 2019-11-05 19:09:39 +01:00
Thomas Citharel 4a6e5036b7 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 f40efe5a0e 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 9f1d8b9daf
Limit year range in the datepicker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-05 17:22:17 +01:00
Quentin c1a40923bd 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 e799b8a77f 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 cf0475e35d 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 92d694acf4 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 6a807a6a13
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 04e447a083
Translate description editor placeholder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:48:12 +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 037aa4f9e5 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 b6351c4045
Reduced datetime picker width
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:37:57 +01:00
Thomas Citharel 0a844aa174
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 fb25c7c07f Merge branch 'deps/upgrade' into 'master'
Deps/upgrade

See merge request framasoft/mobilizon!299
2019-10-31 12:02:50 +01:00
Thomas Citharel 99677c1b7d 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 ffffe106f5
Upgrade dependencies
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:50:24 +01:00
Thomas Citharel a27e63b8c3
Added changelog
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:49:04 +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 814cfbc8eb 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 bd56dd57c3 added file package to fix upload 2019-10-29 22:14:11 +01:00
Thomas Citharel f2c945d23a 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 a01b028fd9 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 b117985dff
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 3838e0315a
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 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 854ada3dc6 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 39d7db07f3
Fix unrelated warning
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel 599e2a39b5
Make tags clickable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +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 221d10cd85 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 010f56acf2 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 59caac86a1 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 3357cb66db 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 95c71d77f7
support: add setup_db.psql 2019-10-21 14:41:52 +02:00
Thomas Citharel afa3bb1eff
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 d1fb90eece
Add the optimize filter for uploaded pics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:42:45 +02:00