Commit graph

333 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 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 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 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 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 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 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 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 599e2a39b5
Make tags clickable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +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 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 eb7ab7229a
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
Anton Strömkvist f36c6295a3 Translated using Weblate (Swedish)
Currently translated at 98.8% (322 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sv/
2019-10-18 09:29:22 +02:00
Quentin 8d2c7bf8bf 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-10-18 09:29:19 +02:00
Anton Strömkvist 5845f9cfb4 Translated using Weblate (German)
Currently translated at 0.3% (1 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2019-10-18 09:29:18 +02:00
ty kayn 22f02fe456 Translated using Weblate (French)
Currently translated at 99.7% (325 of 326 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr/
2019-10-17 18:18:17 +02:00
Anton Strömkvist d07e3a3d4b Added translation using Weblate (Swedish) 2019-10-17 18:14:58 +02:00
Quentin 26ab85a697 Translated using Weblate (Occitan)
Currently translated at 100.0% (320 of 320 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-17 16:31:57 +02:00
Zilverspar 1257576fba Translated using Weblate (French)
Currently translated at 99.7% (319 of 320 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr/
2019-10-17 16:31:57 +02:00
Gavy 2960f94f8b Translated using Weblate (French)
Currently translated at 99.7% (319 of 320 strings)

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

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-17 16:31:57 +02:00
Thomas Citharel f6ff3e586a
Warn on login that everything is deleted regularily
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 15:07:41 +02:00
Thomas Citharel ddd9d44da1 Merge branch 'feature/add-polyfill-for-intersection-observer' into 'master'
Fix build on Safari and improve js build

Closes #246

See merge request framasoft/mobilizon!283
2019-10-17 14:49:31 +02:00
Thomas Citharel 63a839d8aa
Try to fix crash on Safari by removing -apple-system from font-family
Source https://github.com/scrumpy/tiptap/issues/464

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 14:30:25 +02:00
Thomas Citharel 4b80b8616d
Add polyfill for IntersectionObserver
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 11:04:07 +02:00
Thomas Citharel 571f6c60bd
Fix multiline display on participants page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 09:41:52 +02:00
Thomas Citharel de9b26df2d
Translate them and handle difference between user not found and user not
confirmed

Closes #212

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 17:07:49 +02:00
Joel Takvorian 3b31acebd6 Link to participation from event page
When the organizer sees hiw own event, the number of attendees is now a link to the attendees page

Fixes #221
2019-10-16 13:12:58 +02:00
Damien b98a86184b (Hopefully) improve grammar
[CI skip]
2019-10-15 21:38:49 +02:00
Thomas Citharel eef8ba516d Merge branch 'bug/fix-description-even-lists-margin' into 'master'
Fix event description lists margin

See merge request framasoft/mobilizon!269
2019-10-15 17:54:46 +02:00
Thomas Citharel 3c635ce4b4
Fix Cypress tests and add a different welcome message when coming from
registration

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 17:33:02 +02:00
Thomas Citharel 5af1f4a8c2
Fix event description lists margin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 11:40:25 +02:00
Thomas Citharel 5ebbb57d0e
Fix participations stats on the MyEvents page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 10:39:26 +02:00
Thomas Citharel f82c3b7492
Fix event URL validation and check if hostname is correct before showing
it

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 09:57:08 +02:00
Thomas Citharel 4727c8861e
Put correct link to blog into message alert depending on locale
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 09:10:51 +02:00
Thomas Citharel d93561742a
Better handle datetime
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 19:29:18 +02:00
Thomas Citharel 32f6ee7019
Hide Mastodon icon since there's no way to share right now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 14:39:31 +02:00
Thomas Citharel e0826b4e87
Show event onlineAddress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 14:38:21 +02:00
Thomas Citharel cad508a9bb
Make sure welcome back only shows once and improve margins
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 14:25:08 +02:00
Thomas Citharel b200b1c2b2
Add icons on event edit fields
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 13:07:50 +02:00
Thomas Citharel 3feb3183d9
Fixes for event card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 13:03:48 +02:00
Thomas Citharel 0fa9a0bcb1
Event description pic & meta and email share fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 12:56:37 +02:00
Thomas Citharel ed46a0917f
Improve registration page sentences
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 12:23:17 +02:00
Thomas Citharel cbe1dd2868
Prevent picture resend on event update, handle duplicate pictures
properly in backend and add a proper default picture

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 11:41:57 +02:00
Thomas Citharel 8139b4d132 Merge branch 'improve-icons' into 'master'
Improve icons & css & seo & a11y

See merge request framasoft/mobilizon!262
2019-10-13 18:22:44 +02:00
Thomas Citharel 5676852206
Improve icons & css & seo & a11y
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 18:21:35 +02:00
Thomas Citharel 14369e61e9
Fix test and handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 17:03:48 +02:00
Thomas Citharel 3e4bd76f29
Fix participations list actions with another identity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 16:24:43 +02:00
Thomas Citharel 33acbca2bc
Make sure number of available places gets updated when participation
status changes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 14:00:40 +02:00
Thomas Citharel 33e51a05ec
Handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 13:56:24 +02:00
Thomas Citharel 57f0b5dad1
Participation fixes
Closes #208 and #210

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 10:51:22 +02:00
Thomas Citharel 2577a2a27b Merge branch 'test/add-cypress-on-event-creation' into 'master'
Add e2e seed and test event creation

See merge request framasoft/mobilizon!254
2019-10-12 19:47:19 +02:00
Thomas Citharel 2af2f72d2f Merge branch 'improve-image-picker' into 'master'
Improve avatar picker

See merge request framasoft/mobilizon!257
2019-10-12 19:36:34 +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 c481e818a5
Improve avatar picker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 19:23:32 +02:00
Thomas Citharel b0cab822bb Merge branch 'bug/improve-username-generator' into 'master'
Improve username generator (handle unicode conversion properly)

See merge request framasoft/mobilizon!255
2019-10-12 18:55:19 +02:00
Thomas Citharel c66d098c6c
Hide identies in navbar if I have only one
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 18:19:51 +02:00
Thomas Citharel 6862d34965
Improve username generator (handle unicode conversion properly)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 18:14:09 +02:00
Thomas Citharel b7857d93cd
Fix number of places toggle on event edit form
Closes #205

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 11:53:40 +02:00
Thomas Citharel dc4504e091
Limit minimum endsOn datetime selector to current beginsOn, set correct
date of first week and translate labels on datepicker

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 18:41:29 +02:00
Thomas Citharel 838288a384 Merge branch 'bug/properly-handle-event-status' into 'master'
Bug/properly handle event status

Closes #194

See merge request framasoft/mobilizon!248
2019-10-11 16:45:18 +02:00
Thomas Citharel f475b713a1
Hide the participation button when event is cancelled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:34:08 +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 daec3e8433
Hide rejected participations on my event list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:11:39 +02:00
Thomas Citharel 6bd0fc15ac
Fix logo background on click
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 15:26:22 +02:00
Thomas Citharel 4499fb2f31
Fix participation section, show how many places are available
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 15:26:16 +02:00
Thomas Citharel db5b02e397 Merge branch 'feature/add-warnings-everywhere' into 'master'
Feature/add warnings everywhere

See merge request framasoft/mobilizon!246
2019-10-11 10:55:55 +02:00
Thomas Citharel 7452f0bd70
Fix form submission on Explore page search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:44:47 +02:00
Thomas Citharel 67093ab6cf
Add (closable) warning on everypage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:14:29 +02:00
Thomas Citharel 259ff64641
Fix locale handling
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 09:50:50 +02:00
Thomas Citharel b57c75743e Merge branch 'bug/fix-meta' into 'master'
Bug/fix meta

See merge request framasoft/mobilizon!244
2019-10-10 17:43:14 +02:00
Thomas Citharel 040faf4451
Fix title & meta
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 17:28:32 +02:00
Thomas Citharel c25f00c0a9 Merge branch 'bug/fix-h2' into 'master'
Remove $secondary background on h2 title, replace with underline

See merge request framasoft/mobilizon!242
2019-10-10 16:49:11 +02:00
Thomas Citharel d66a027abb
Remove $secondary background on h2 title, replace with underline
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 15:42:27 +02:00
Thomas Citharel 20b18c6fa0 Translated using Weblate (French)
Currently translated at 99.6% (265 of 266 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr/
2019-10-10 15:29:11 +02:00
Quentin f9b8f92aea Translated using Weblate (Occitan)
Currently translated at 95.3% (282 of 296 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-10 15:07:36 +02:00
Thomas Citharel f16bfcdcd4 Merge branch 'i18n/fix-missing-trads' into 'master'
Add missing translations and remove old ones

See merge request framasoft/mobilizon!240
2019-10-10 15:06:46 +02:00
Thomas Citharel 5f5c92a204
Add missing translations and remove old ones
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 15:05:21 +02:00
Thomas Citharel 405331f7cb
Make event header picture display as background cover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 14:50:44 +02:00
Thomas Citharel a20f2612bc Merge branch 'bug/fix-ui' into 'master'
Bug/fix ui

See merge request framasoft/mobilizon!237
2019-10-10 14:28:15 +02:00
Thomas Citharel 8d88aa1450
Improve Registration / Login UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 14:20:09 +02:00
Thomas Citharel e56854f13b
Change external link to joinmobilizon to about page on register page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:56:54 +02:00
Thomas Citharel cab4ebf64e
Add margin above title in Explore section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:50:23 +02:00
Thomas Citharel ac05baf1a8
Fix padding on organizer / city section on event card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:48:03 +02:00
Thomas Citharel dff27cad9d
Add margin below description instance on homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:39:24 +02:00
Thomas Citharel 98dcbbe5b0
Change base colors
Also fixes the navbar Create button issue

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:36:11 +02:00
Thomas Citharel 01b2dce74d
Fix search field
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:29:58 +02:00
Thomas Citharel ac35e4b923
Fix preview
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 12:25:32 +02:00
Thomas Citharel eca8b9ec7c
Fix editor related issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 11:05:53 +02:00
Thomas Citharel 1f9298e577
Add indication on how to add tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 10:31:15 +02:00
Thomas Citharel 651d7e1e80
Fix editor buttons reloading page 😰
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 10:25:33 +02:00