Commit Graph

1066 Commits

Author SHA1 Message Date
dependabot-preview[bot] d4740f4d9f
Bump tiptap-extensions from 1.27.0 to 1.28.0 in /js
Bumps [tiptap-extensions](https://github.com/scrumpy/tiptap) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/scrumpy/tiptap/releases)
- [Commits](https://github.com/scrumpy/tiptap/compare/tiptap-extensions@1.27.0...tiptap-extensions@1.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 05:05:14 +00:00
dependabot-preview[bot] 8d74bb48ab
Bump tippy.js from 4.3.5 to 5.0.0 in /js
Bumps [tippy.js](https://github.com/atomiks/tippyjs) from 4.3.5 to 5.0.0.
- [Release notes](https://github.com/atomiks/tippyjs/releases)
- [Commits](https://github.com/atomiks/tippyjs/compare/v4.3.5...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 05:04:18 +00: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 5e072a924e Merge branch 'i18n/update' into 'master'
Translations

See merge request framasoft/mobilizon!202
2019-09-26 18:07:24 +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
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
poulp 4b80a2a203 Use merge_map when defining colors to avoid override original Bulma colors 2019-05-17 15:28:10 +02:00
Thomas Citharel 8b80cb056e Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!130
2019-04-30 14:47:03 +02:00
Thomas Citharel 876ddeb3db Merge branch 'remove_vue_cli_serve' into 'master'
Remove vue cli serve

See merge request framasoft/mobilizon!129
2019-04-30 14:39:39 +02:00
Thomas Citharel 961f22e9ab
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-30 14:35:02 +02:00
Vincent ff7fd460f0
add make test and Remove vue-cli serve 2019-04-30 13:56:07 +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 639f726515 Merge branch 'deps/upgrade' into 'master'
Update deps

See merge request framasoft/mobilizon!119
2019-04-24 14:28:31 +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 86b011dc25
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:08:41 +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 13b8f57468 Merge branch 'deps/remove-material-design-icon' into 'master'
Remove material-design-icons

Closes #106

See merge request framasoft/mobilizon!117
2019-04-23 11:52:56 +02:00
Thomas Citharel 9a1430d651
Remove material-design-icons
Causes #106

Not needed anyway, as we temporarily use the CDN

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:51:26 +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 20a4f7244c Merge branch 'minor_fix_webfinger' into 'master'
Minor change on web_finger_controller

See merge request framasoft/mobilizon!115
2019-04-18 10:53:09 +02:00
Vincent 983236072e update js libs 2019-04-18 10:37:16 +02:00
Vincent 040266a656 Don't use entrypoints in docker 2019-04-18 09:52:39 +02:00
Thomas Citharel 6bf903f9d7 Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!110
2019-04-11 15:31:19 +02:00
Thomas Citharel 9eb0d763c1
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 15:01:37 +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 166979a297
Move to yarn
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:27 +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 2dcd65ea78 Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!107
2019-04-01 17:34:17 +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 1bbe077cbf
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 17:17:08 +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 6bbcc119de
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-21 20:33:21 +01:00
Thomas Citharel cbcb654fac
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-18 12:20:44 +01:00
Thomas Citharel ff99008774
Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-15 10:57:40 +01:00
Thomas Citharel bc47816a30
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 13:48:50 +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 66e67aa816
Redirect properly to correct endpoint depending on content-type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-04 17:20:18 +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 001bc29d3d Bump register-service-worker from 1.5.2 to 1.6.1 in /js/
Bumps [register-service-worker](https://github.com/yyx990803/register-service-worker) from 1.5.2 to 1.6.1.
- [Release notes](https://github.com/yyx990803/register-service-worker/releases)
- [Changelog](https://github.com/yyx990803/register-service-worker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yyx990803/register-service-worker/commits/v1.6.1)
2019-02-12 05:16:07 +01:00
Thomas Citharel 1a4197f977 Update deps 2019-02-08 11:35:35 +01:00
Thomas Citharel f7c25a034c Bump apollo-absinthe-upload-link from 1.4.0 to 1.5.0 in /js/
Bumps [apollo-absinthe-upload-link](https://github.com/bytewitchcraft/apollo-absinthe-upload-link) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/bytewitchcraft/apollo-absinthe-upload-link/releases)
- [Commits](https://github.com/bytewitchcraft/apollo-absinthe-upload-link/compare/1.4.0...1.5.0)
2019-02-08 10:56:32 +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
Thomas Citharel 12406136cc
🥜🔒 Fixed package.lock http -> https
See https://npm.community/t/some-packages-have-dist-tarball-as-http-and-not-https/285
(it seems it can be resolved by nuking node_modules)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-27 08:39:16 +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 da817d35c4
⚙️ Build js with .env from parent directory
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-21 09:04:25 +01:00
ty kayn 74ba3e0cb6 Add Makefile to setup things 2018-12-17 11:24:26 +01:00
Rigel Kent 52a6bda1b0 (doc) specify latest LTS and later as baseline 2018-12-12 12:49:35 +01:00
Rigel Kent 8feb6627c5 (doc) update README.md and client package.json
- specify nodejs version
- clearer setup process
- cleanup of phoenix doc artifacts
- prioritize manual install
2018-12-11 18:39:23 +01:00
Thomas Citharel fca5d0b8e6
Change package-lock.json (urls are now https for some reason)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:01:26 +01:00
Chocobozzz 3a0d7396fc
Add script to run webpack analyzer 2018-11-30 16:05:21 +01:00
Chocobozzz 8adbaabf28
npm run serve -> npm run dev 2018-11-30 09:48:41 +01:00
Thomas Citharel 824b1a969e Update js deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:55:31 +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 eb0c0002be Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel df3f08c528 Fix Docker front and api ports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-25 17:06:50 +02:00
Thomas Citharel c4cfb081e7 Add docker-compose dev
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-25 16:42:04 +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 e14007bac5
WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:12:21 +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