Commit graph

190 commits

Author SHA1 Message Date
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