Commit graph

415 commits

Author SHA1 Message Date
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
Thomas Citharel 84f8e16cd0
Fix event creation/updating having a popup
Also change translation on the warning

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 19:41:17 +02:00
Thomas Citharel adb8592029
Add missing language entries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 18:58:13 +02:00
Thomas Citharel a205ba6ab8
Add event search field on explore page and fix featured events
Closes #195 and #196

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 18:51:55 +02:00
Thomas Citharel f4360468a6
Use local icons instead of CDN, clean unused deps & fix issue with
vue-property-decorator

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:54:35 +02:00
Thomas Citharel 2a4dbe55ca
Update i18n
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:25:53 +02:00
Thomas Citharel 9f583b5767
Rename Events to MyEvents
Close #193

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:25:09 +02:00
Thomas Citharel e1b3c14cbf
Prevent route changing when editing with changes
Close #197

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:18:27 +02:00
Thomas Citharel c565076fac
Fix participants panel icons and improve tabs
Close #198

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:03:35 +02:00
Thomas Citharel 68c8017141
Remove some dev
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 14:55:45 +02:00
Thomas Citharel c47546bb1a
Hide some fields and fix datetime issue
Closes #168

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 12:54:09 +02:00
Thomas Citharel ecb7d9f759
Fix transition test
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 22:27:14 +02:00
Thomas Citharel 6b91d85bdc
Add transition to vue router
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 20:01:00 +02:00
Thomas Citharel 0820866bb8
fix lint issues and errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 20:00:26 +02:00
Thomas Citharel 2749220832
Revert adding picture IDs everywhere
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 19:47:15 +02:00
Thomas Citharel 949785ed5b
Remove own current identity events from featured events
Events from other identities are still displayed

Closes #187

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 19:41:14 +02:00
Thomas Citharel f99586c897
Fix sending empty picture when updating identity without updated picture
Closes #188

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 19:34:04 +02:00
Thomas Citharel 406b76ef58
Make sure the registration email is sent with the correct locale
Closes #189

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 18:28:35 +02:00
Thomas Citharel bff00dea21
Properly handle account deleted
Close #191

Also fix an issue with public events not being accessible when requested
as another logged-in user.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 18:13:06 +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 3264df72f0 Translated using Weblate (Occitan)
Currently translated at 100.0% (259 of 259 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-08 14:29:51 +02:00
Thomas Citharel fa781fc840
Rework homepage and add a (fancy) about section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 12:27:31 +02:00
Thomas Citharel c58c9e5f97
Automatically login after registration
Closes #186

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 15:29:24 +02:00
Thomas Citharel a736965e91
Add basic styleguide
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:25:21 +02:00
Thomas Citharel 77d286ebb6
Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel 7244eebc31
Make sure we have email on registerAccount page
Closes #179

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 12:36:42 +02:00
Thomas Citharel 471e8ac472
Redirect to profile creation when user has no identities
Also load persons by ID instead of preferred_username

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 12:36:42 +02:00
Thomas Citharel 75bd7a3d75
Fix edit event cache issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 16:54:56 +02:00
Thomas Citharel 8bfb9ddf1a
Hide groups and multiple fixes
Closes #169

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 12:32:20 +02:00
Thomas Citharel f60ab9b5b8
Fixes to navbar and edit page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 11:37:34 +02:00
Thomas Citharel 30d901605d
Properly handle not found event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 19:14:39 +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 0c732ab4f7
Add a cancel button to event edit & make buttons fixed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 20:10:53 +02:00
Quentin 84ae130811
Translated using Weblate (Occitan)
Currently translated at 100.0% (255 of 255 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-10-01 09:07:54 +02:00
Quentin 5022c4dd6c Translated using Weblate (Occitan)
Currently translated at 100.0% (255 of 255 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-09-30 19:03:19 +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
Thomas Citharel 6fdeac0cc6 Merge branch 'bug/fix-relog' into 'master'
Don't keep cached identities query

See merge request framasoft/mobilizon!204
2019-09-26 18:18:33 +02:00
Thomas Citharel e954188c34
Don't keep cached identities query
Otherwise when relogging as a different user you'll get their
defaultActor

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 18:01:38 +02:00
Quentin 030896ff9e Translated using Weblate (Occitan)
Currently translated at 90.0% (215 of 239 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-09-26 17:48:46 +02:00
Thomas Citharel 4d4fdaaffe Merge branch 'feature/participate-dropdown' into 'master'
Add a dropdown on participate menu, disallow listing participations

Closes #174

See merge request framasoft/mobilizon!200
2019-09-26 17:41:14 +02:00
Thomas Citharel 757d2cabec
Add a dropdown on participate menu, disallow listing participations
Now requires quering the person endpoint to know if an actor
participates in an event, organizers can make authenticated requests to
event { participants { } } to see the pending / approved participants.

Also closes #174

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 17:00:01 +02:00
Thomas Citharel 300532bf81
Merge remote-tracking branch 'weblate/master' into translations 2019-09-25 14:00:26 +02:00
Quentin 553512484c Translated using Weblate (Occitan)
Currently translated at 49.0% (117 of 239 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2019-09-25 14:00:03 +02:00
Thomas Citharel 0ff20ad476
Merge remote-tracking branch 'weblate/master' into translations 2019-09-25 13:58:40 +02:00
Thomas Citharel 3806295e83
Implement password change in basic user settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 18:47:35 +02:00
Thomas Citharel 8666c04f1d Added translation using Weblate (Russian) 2019-09-24 16:38:12 +02:00
Thomas Citharel c61ffa50e5 Added translation using Weblate (Portuguese) 2019-09-24 16:38:12 +02:00
Thomas Citharel 216ac076d0 Added translation using Weblate (Polish) 2019-09-24 16:38:12 +02:00
Thomas Citharel 6b58de746e Added translation using Weblate (Occitan) 2019-09-24 16:38:12 +02:00
Thomas Citharel 9638f2e241 Added translation using Weblate (Dutch) 2019-09-24 16:38:12 +02:00
Thomas Citharel 7f48b53469 Added translation using Weblate (Japanese) 2019-09-24 16:38:12 +02:00
Thomas Citharel 13c0dbd2db Added translation using Weblate (Italian) 2019-09-24 16:38:12 +02:00
Thomas Citharel 8340bb8575 Added translation using Weblate (Spanish) 2019-09-24 16:38:12 +02:00
Thomas Citharel 4bdd3e83c7 Added translation using Weblate (German) 2019-09-24 16:38:12 +02:00
Thomas Citharel 17bf44a15c Added translation using Weblate (Czech) 2019-09-24 16:38:12 +02:00
Thomas Citharel 681c9bcbc5 Merge branch 'bug/fix-typo-en-i18n' into 'master'
Fix typo in english translation

See merge request framasoft/mobilizon!193
2019-09-23 19:58:57 +02:00
Thomas Citharel e452f15c70
Fix typo in english translation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 19:57:48 +02:00
Thomas Citharel 29600154c6 Merge branch 'bug/fix-event-title-length-limitation' into 'master'
Fix event title length limitation

Closes #167

See merge request framasoft/mobilizon!191
2019-09-23 12:07:25 +02:00
Thomas Citharel 130f24dc0b
Fix event title length limitation
Closes #167

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 11:51:59 +02:00
Thomas Citharel d01b631f2c Merge branch 'bug/fix-event-deletion-redirect' into 'master'
Fix event deletion redirection

Closes #170

See merge request framasoft/mobilizon!190
2019-09-23 11:46:43 +02:00
Thomas Citharel b70a204e06
Fix event deletion redirection
Closes #170

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 11:33:13 +02:00
Thomas Citharel aea052169b
Fix logout
Closes #171

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 11:30:23 +02:00
Thomas Citharel df5c6b4008
Various fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 10:26:38 +02:00
Thomas Citharel 246555a768
Couple of fixes, and introducing Explore section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:18 +02:00
Thomas Citharel 525e379c67
Move navbar to buefy component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:18 +02:00
Thomas Citharel abf3a58657
Allow to accept / reject participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:12 +02:00
Thomas Citharel ffa4ec9209
Work on dashboard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 09:42:54 +02:00
Thomas Citharel 96380f7df2
Move i18n to vue-i18n and json files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 12:19:02 +02:00
Thomas Citharel c3b03a2e6b
Show number of participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 12:18:57 +02:00
Thomas Citharel 6bceb5b463
Add identity pickers on event creation & join
Also it now saves current actor in localStorage and initalizes it in
Apollo Cache (just like user stuff). This allows not relying on
loggedPerson query anymore.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-11 11:03:17 +02:00
Thomas Citharel 27f2597b07
Add admin dashboard, event reporting, moderation report screens, moderation log
Close #156 and #158

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-09 20:53:16 +02:00
Thomas Citharel 164429964a Merge branch 'feature/delete-event-modal' into 'master'
Add modale when deleting an event

See merge request framasoft/mobilizon!181
2019-09-09 20:39:23 +02:00
Chocobozzz 856aa4a50c
Add modale when deleting an event 2019-09-09 20:29:09 +02:00
Chocobozzz 82df0526ec
Edit events fixes and update cache 2019-09-09 14:41:19 +02:00
Thomas Citharel bcfb142d5b
Fixes for event deletion and updates
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-05 14:55:20 +02:00
Thomas Citharel f5c3dbf128
Correctly handle event update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-05 13:59:52 +02:00
Thomas Citharel a296dbf539
Fix typescript issues and bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-03 08:44:27 +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 f928be3200 Merge branch 'feature/edit-event' into 'master'
Prepare front to edit events

See merge request framasoft/mobilizon!174
2019-09-02 15:26:39 +02:00
Chocobozzz 2cfb777a9d
Prepare front to edit events 2019-09-02 15:16:28 +02:00
Thomas Citharel 925f7bbb02 Merge branch 'feature/group-create' into 'master'
Prepare create group

See merge request framasoft/mobilizon!173
2019-09-02 12:10:23 +02:00
Chocobozzz 18b2854d99
Prepare create group 2019-09-02 11:51:42 +02:00
Chocobozzz fd00663a1e
Better delete identity admin message 2019-08-26 15:58:28 +02:00
Chocobozzz cd677551c6
Fix buefy modals 2019-08-26 12:21:23 +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
Chocobozzz a353eb49a3
Fix update current client 2019-08-21 11:25:09 +02:00
Thomas Citharel f5355b1be9
Fix link to direct profile on event page when external
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:19:32 +02:00
Thomas Citharel 8f31beb0fb
Make category optionnal and hide it from the form
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:19 +02:00
Thomas Citharel 3b8497698f
Don't use compile-time defined URLs, just use window.location
This allows to use a single front-end on two different instances, and
will allow us redistribute the front-end as Elixir releases

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:19 +02:00
Thomas Citharel c51115bdbe
Introduce relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Chocobozzz a007160480
Fix lint 2019-08-13 10:59:12 +02:00
Chocobozzz 6d221212ef
Remove apollo link state 2019-08-12 16:04:32 +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 6d80bf43ea
Refactor adding tags to an event
Also refactor extracting tags from content, now uses Pleroma's Formatter

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-26 12:06:26 +02:00
Thomas Citharel 137aa95d48
Add link to event and group creation on dashboard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 18:36:17 +02:00
Thomas Citharel 1cd511f440
Front end deps upgrades and fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 17:14:03 +02:00
Chocobozzz 0e485b2388
Add ability to update/create/delete identities 2019-07-08 16:32:22 +02:00
Thomas Citharel 55f854f3bc
Improved event form creation date & timepickers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-06-07 17:19:30 +02:00
Thomas Citharel 5b3831b4bf
Attach actor to pictures entity 2019-05-31 18:07:37 +02:00
Thomas Citharel 0a1f955194
Make event & create event & map async components
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-31 15:13:07 +02:00
Thomas Citharel 5a6ed464b6
Add vue-cli-plugin-webpack-bundle-analyzer and upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-31 11:32:50 +02:00
Thomas Citharel e8ef5997eb
Trigger file upload with button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-31 11:01:52 +02:00
Thomas Citharel 2a2e4690ff
Allow uploading pictures into description by drag&drop them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-29 17:47:52 +02:00
Thomas Citharel d3176e2a8d
Add mentions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-29 16:46:23 +02:00
Thomas Citharel 07d4db5ce9
Add tiptap editor for description ❤️
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-28 18:55:02 +02:00
Thomas Citharel c648ff1f37 Merge branch 'fix_logo_size' into 'master'
Move main logo height definition from css to img tag

See merge request framasoft/mobilizon!138
2019-05-24 17:38:57 +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
Alexandre Mathieu 93bc7cc259 Move main logo height definition from css to img tag 2019-05-21 16:52:47 +02:00
Alexandre Mathieu 90fd4cda66 Import missing components from Bulma to fix message display, and sort dependencies by alphabetical order 2019-05-17 16:28:15 +02:00
poulp 4b80a2a203 Use merge_map when defining colors to avoid override original Bulma colors 2019-05-17 15:28:10 +02:00
Chocobozzz 92ff05f505
Test implementation of my account page 2019-04-26 15:36:53 +02:00
Thomas Citharel f75d853b19
Fix logo on footer by allowing custom fill color
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 20:50:05 +02:00
Thomas Citharel 445619db8b
Show cards on event card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 20:49:52 +02:00
Thomas Citharel 88f05665a2
Changes for search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 19:01:39 +02:00
Thomas Citharel aaa1111cab
Use SVG logo instead of raw title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 17:36:25 +02:00
Thomas Citharel bed9843539 Merge branch 'event-page-fixes' into 'master'
Event page fixes

Closes #116, #117 et #118

See merge request framasoft/mobilizon!120
2019-04-24 14:28:33 +02:00
Thomas Citharel ff82cba575
Only show related events section if there's some
Always use 1/3 column layout for related events columns

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:21:22 +02:00
Thomas Citharel dd1e0a3d39
Don't show map if no coords are defined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:15:47 +02:00
Thomas Citharel fc699f12b1
Add map data attribution for OpenStreetMap
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:13:52 +02:00
Thomas Citharel cb39dbf02f
Load map tiles over HTTPS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:11:59 +02:00
Thomas Citharel 3b37e98806
Remove logout from profile
It's in the navbar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:05:27 +02:00
Thomas Citharel f5b02ed154
Show related events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:23:18 +02:00
Thomas Citharel 1f9019f511
Show slug in the interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 14:57:13 +02:00
Thomas Citharel da2a0593ca
Various UI stuff (mainly implement mookup)
Fix lint

Disable modern mode

Fixes

UI fixes

Fixes

Ignore .po~ files

Fixes

Fix homepage

Fixes

Fixes

Mix format

Fix tests

Fix tests (yeah…)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:13 +02:00
Thomas Citharel fc0214c633 Merge branch 'feature/event-maps' into 'master'
Feature/event maps

See merge request framasoft/mobilizon!105
2019-04-01 17:26:33 +02:00
Thomas Citharel 3b202674a3
Add leaflet
Fix build, make map component async and move computed to getter

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 17:07:45 +02:00
Thomas Citharel ccd705bc4f
Add timeline events you're going to
Mix format

Fix chocobozzz feedback

Only show upcoming events on feed

Remove console log calls

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 17:07:00 +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
Chocobozzz ceeb966edd
Add error page and login error redirection 2019-04-01 13:41:05 +02:00
Chocobozzz 4fa78d7cd2
Get config and display/hide register button 2019-03-22 15:26:58 +01:00
Chocobozzz e864b38ec6
Add config endpoint 2019-03-22 13:58:57 +01:00
Thomas Citharel b698eb470f
Lint JS files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-22 10:57:14 +01:00
Thomas Citharel c1f07122d1
Fix routing between BE & FE and fix event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 12:07:58 +01:00
Thomas Citharel c4e327508b
Front-end fixes and updates
Especially Join/Leave event, Vue-Markdown replacement

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 17:20:06 +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
Chocobozzz 53cb39350a
Refactor router 2019-02-22 16:58:03 +01:00
Chocobozzz e19a533e9d
Add leave/join/delete event logic 2019-02-22 13:49:23 +01:00
Thomas Citharel 4bac5a07bd
Move Participant role from integer to enum
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 16:37:40 +01:00
Thomas Citharel a2070b1d54
Split event visibility and join options
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix tests

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

Fix format

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 11:49:14 +01:00
Thomas Citharel ce65c992d3
Handle validated users without profiles
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Format

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 15:59:30 +01:00
Thomas Citharel 681653e035
Introduce registerPerson mutation
To register a profile from an unactivated user

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

👤 Fix Person interface use

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

Change host function for data property

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 15:59:27 +01:00
Thomas Citharel b264a49c23
Fix js warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:57:45 +01:00
Thomas Citharel 90fd0ff6b6
Replace Vuetify with Bulma
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove vuetify and add Bulma

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:35:57 +01:00
Chocobozzz cbdcdd005d
Fix login/logout flow 2019-01-18 15:38:18 +01:00
Thomas Citharel c4a4a31e5b
Event state leftover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:21:53 +01:00
Thomas Citharel 7ec2259ea5
Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:18:54 +01:00
Thomas Citharel 3230381be4
Remove last occurences of address_type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 18:12:52 +01:00
Thomas Citharel 289ba03960
Remove address_type and rename phone to phone_address
An event can indeed have several address types

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 17:48:08 +01:00
Thomas Citharel 3723eed1fe Merge branch 'feature/forgot-password' into 'master'
Feature/forgot password

Closes #44

See merge request framasoft/mobilizon!43
2019-01-14 10:43:18 +01:00
Thomas Citharel f3e947020b Merge branch 'feature/remove-moment' into 'master'
Remove moment js

See merge request framasoft/mobilizon!45
2019-01-11 19:08:53 +01:00
Chocobozzz cdb22268be
Remove moment js 2019-01-11 16:00:19 +01:00
Chocobozzz 4a77b2b1b7
Fix resend confirmation component 2019-01-11 14:35:14 +01:00
Chocobozzz cdece1f117
Fix events fetching 2019-01-11 14:24:33 +01:00
Chocobozzz df4d3892c3
Fix reset password component 2019-01-11 13:58:29 +01:00
Chocobozzz 5dbd259e01
Use includes instead of indexOf 2018-12-28 16:30:35 +01:00
Chocobozzz 03535246a4
Fix login 2018-12-28 16:28:08 +01:00
Chocobozzz d8dde92c86
Fix user registration and validation 2018-12-28 16:19:21 +01:00
Chocobozzz 649bc5624d
Fix vue appolo graphql middleware 2018-12-28 15:41:32 +01:00
Chocobozzz b1aa589bc7
All components now use typescript 2018-12-21 17:10:39 +01:00
Chocobozzz b409a5583d
Migration to typescript: first step
Add vue cli typescript support
Rename .js to .ts
Use class and annotations in App and NavBar
Add tslint
2018-12-21 15:41:34 +01:00
Thomas Citharel 403a32e996 Improve overall configuration and support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-15 17:35:47 +01:00
Thomas Citharel 0585b9e6d5 Fixed some things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:09:28 +01:00
Thomas Citharel 07b9676f0d Fix account component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 08:32:22 +01:00
Thomas Citharel b54dae7e15 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel 559c889f1b Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel 3b48ac957f Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel bb1cdc2043 Add some identities UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 13:46:19 +02:00
Thomas Citharel dee437e4f3 Allow multiple identities (accounts actors) for one user.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-10 10:00:07 +02:00
Thomas Citharel a71b81af91 Add UI for multiple identities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 17:37:22 +02:00
Thomas Citharel a1ae4f64e4 Hide join section if actor is organizer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 15:31:18 +02:00
Thomas Citharel e170aa7f66 Mostly UI stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 14:19:24 +02:00
Thomas Citharel 93a97b0865 Some work
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 14:29:17 +02:00
Thomas Citharel 394057d45e Put a link on the register btn
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:02:00 +02:00
Thomas Citharel 63b63d9ee2
Encore des commits degeu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00
Thomas Citharel 90de5a105b
Add groups back
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:39 +02:00
Thomas Citharel cac4dd3ca3
Search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:14 +02:00
Thomas Citharel e47ff97ac6
Front-end stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:15:45 +02:00
Thomas Citharel cf0cbc8bde
Move folder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:05 +02:00
Thomas Citharel f7117241a4
Rebase front on vuecli and update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:04 +02:00
Thomas Citharel 4b4ecec693 Introduce avatar and banner and fetch Gravatar to fill avatar during registration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

typo

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

Rename avatar to avatar_url, same with header.

Add a comment to explain why the tweak with HTTPoison and TLS1.2

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

Rename avatar to avatar_url

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

rename old avatar properties in front-end to avatar_url

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

fix change gravatar from ?d= to ?default=

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

reorganize aliases and imports

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

set avatar url only when gravatar exists, add a test for that case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-27 19:04:45 +01:00
Thomas Citharel 07382d6aca Add adresses
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-17 11:39:01 +01:00
Thomas Citharel 67ef32432e Fix front-end, allow events to be created by a group, allow to get sessions from an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-16 19:45:09 +01:00
Thomas Citharel 20cd1bb579 Change models, new migrations, fix front and make tests work
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:33:03 +01:00
Thomas Citharel 92d2045735 end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-09 17:52:26 +01:00