Commit graph

262 commits

Author SHA1 Message Date
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
Thomas Citharel b34f433e41
Merge remote-tracking branch 'github/dependabot/npm_and_yarn/js/graphql-14.5.8' into deps/upgrade 2019-09-26 17:51:53 +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
dependabot-preview[bot] be356facc4
Bump graphql from 14.5.7 to 14.5.8 in /js
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.5.7 to 14.5.8.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-26 04:53:29 +00: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 eb065d1a1a
Merge remote-tracking branch 'github/dependabot/npm_and_yarn/js/webpack-4.41.0' into deps/upgrade 2019-09-25 08:58:30 +02:00
dependabot-preview[bot] 7261ba19b3
Bump @types/leaflet from 1.5.1 to 1.5.2 in /js
Bumps [@types/leaflet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/leaflet) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/leaflet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-25 04:56:31 +00:00
dependabot-preview[bot] a1c5f11e85
Bump webpack from 4.40.2 to 4.41.0 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.40.2 to 4.41.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.40.2...v4.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-25 04:55:55 +00: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 27665dd4da
Finish deps upgrade
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 09:43:54 +02:00
Thomas Citharel b6039b63bd
Merge remote-tracking branch 'github/dependabot/npm_and_yarn/js/types/chai-4.2.3' into deps/upgrade 2019-09-24 09:31:37 +02:00
Thomas Citharel e5e66181d5
Merge remote-tracking branch 'github/dependabot/npm_and_yarn/js/vue-apollo-3.0.0-rc.6' into deps/upgrade 2019-09-24 09:30:28 +02:00
Thomas Citharel 4c68339afe
Merge remote-tracking branch 'github/dependabot/npm_and_yarn/js/eslint-6.4.0' into deps/upgrade 2019-09-24 09:30:09 +02:00
Thomas Citharel 5381107c55
Merge remote-tracking branch 'github/dependabot/npm_and_yarn/js/vue-svg-inline-loader-1.3.0' into deps/upgrade 2019-09-24 09:29:10 +02:00
dependabot-preview[bot] 6560b428fd
Bump @types/chai from 4.2.0 to 4.2.3 in /js
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.2.0 to 4.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 05:18:03 +00:00
dependabot-preview[bot] 3918d839ee
Bump vue-apollo from 3.0.0-rc.2 to 3.0.0-rc.6 in /js
Bumps [vue-apollo](https://github.com/Akryum/vue-apollo) from 3.0.0-rc.2 to 3.0.0-rc.6.
- [Release notes](https://github.com/Akryum/vue-apollo/releases)
- [Commits](https://github.com/Akryum/vue-apollo/compare/v3.0.0-rc.2...v3.0.0-rc.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 05:17:18 +00:00
dependabot-preview[bot] 0793228398
Bump eslint from 6.3.0 to 6.4.0 in /js
Bumps [eslint](https://github.com/eslint/eslint) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.3.0...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 05:16:04 +00:00
dependabot-preview[bot] 9f551c9b06
Bump apollo-link-error from 1.1.11 to 1.1.12 in /js
Bumps [apollo-link-error](https://github.com/apollographql/apollo-link) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/apollographql/apollo-link/releases)
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link-error@1.1.11...apollo-link-error@1.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 05:11:10 +00:00
dependabot-preview[bot] 245111bfb8
Bump vue-svg-inline-loader from 1.2.18 to 1.3.0 in /js
Bumps [vue-svg-inline-loader](https://github.com/oliverfindl/vue-svg-inline-loader) from 1.2.18 to 1.3.0.
- [Release notes](https://github.com/oliverfindl/vue-svg-inline-loader/releases)
- [Commits](https://github.com/oliverfindl/vue-svg-inline-loader/compare/v1.2.18...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 05:10:25 +00:00
dependabot-preview[bot] 2d922f2686
Bump tslint-config-airbnb from 5.11.1 to 5.11.2 in /js
Bumps [tslint-config-airbnb](https://github.com/progre/tslint-config-airbnb) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/progre/tslint-config-airbnb/releases)
- [Changelog](https://github.com/progre/tslint-config-airbnb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/progre/tslint-config-airbnb/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 18:40:07 +00:00
Thomas Citharel 91e77f2750
Bump apollo-link-http from 1.5.15 to 1.5.16 in /js (#11)
Bump apollo-link-http from 1.5.15 to 1.5.16 in /js
2019-09-23 20:37:44 +02:00
Thomas Citharel d12e309ec4
Bump typescript from 3.6.2 to 3.6.3 in /js (#10)
Bump typescript from 3.6.2 to 3.6.3 in /js
2019-09-23 20:37:28 +02:00
Thomas Citharel eb0be11977
Bump tslint from 5.19.0 to 5.20.0 in /js (#7)
Bump tslint from 5.19.0 to 5.20.0 in /js
2019-09-23 20:35:37 +02:00
dependabot-preview[bot] 558ba632b9
Bump apollo-link-http from 1.5.15 to 1.5.16 in /js
Bumps [apollo-link-http](https://github.com/apollographql/apollo-link) from 1.5.15 to 1.5.16.
- [Release notes](https://github.com/apollographql/apollo-link/releases)
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link-http@1.5.15...apollo-link-http@1.5.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 18:34:35 +00:00
dependabot-preview[bot] daf45797af
Bump typescript from 3.6.2 to 3.6.3 in /js
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.6.2...v3.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 18:34:02 +00:00
dependabot-preview[bot] 4647e93304
Bump tslint from 5.19.0 to 5.20.0 in /js
Bumps [tslint](https://github.com/palantir/tslint) from 5.19.0 to 5.20.0.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.19.0...5.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 18:33:04 +00:00
dependabot-preview[bot] 60092af3d5
Bump webpack from 4.39.3 to 4.40.2 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 18:32:36 +00: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 b721a19464 Merge branch 'bug/fix-instance-host-in-emails' into 'master'
🎨 Add fancy html emails

See merge request framasoft/mobilizon!192
2019-09-23 19:52:32 +02:00
Thomas Citharel 6a41b13446
🎨 Add fancy html emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 19:50:33 +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 4296e52d3b
Disable webpack bundle analyzer running everytime
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 49f38c8924
Final fixes for build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-05 16:59:25 +02:00
Thomas Citharel 464728d458
Upgrade js deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-03 18:44:01 +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