Commit Graph

192 Commits

Author SHA1 Message Date
Chocobozzz
408cc77425 Better delete identity admin message 2019-08-26 15:58:28 +02:00
Chocobozzz
91051ab3b6 Fix buefy modals 2019-08-26 12:21:23 +02:00
Thomas Citharel
61ddcdecae Reuse existing addresses when creating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-22 16:20:42 +02:00
Chocobozzz
4b2528252d Fix update current client 2019-08-21 11:25:09 +02:00
Thomas Citharel
c74c029299 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
33c455f75a 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
ddac0aee65 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
41ae49e3e3 Disable webpack bundle analyzer running everytime
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:19 +02:00
Thomas Citharel
1b3dfb20d2 Introduce relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Chocobozzz
db62eb4cd8 Fix lint 2019-08-13 10:59:12 +02:00
Chocobozzz
abaebd949d Remove apollo link state 2019-08-12 16:04:32 +02:00
Thomas Citharel
2d41e00771 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
a5ebf40829 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
dbb5434c97 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
c70d1d03d4 Front end deps upgrades and fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 17:14:03 +02:00
Chocobozzz
7c8dee9a9d Add ability to update/create/delete identities 2019-07-08 16:32:22 +02:00
Thomas Citharel
fb07be4ed7 Final fixes for build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-05 16:59:25 +02:00
Thomas Citharel
91d79aa91a Upgrade js deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-03 18:44:01 +02:00
Thomas Citharel
e4646e3dcd Improved event form creation date & timepickers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-06-07 17:19:30 +02:00
Thomas Citharel
7ef4ef264b Attach actor to pictures entity 2019-05-31 18:07:37 +02:00
Thomas Citharel
290b4ba7d3 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
990d7abc49 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
71efbb0880 Trigger file upload with button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-31 11:01:52 +02:00
Thomas Citharel
c0abbf3d3e 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
fe65a478f0 Add mentions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-29 16:46:23 +02:00
Thomas Citharel
417618a36d Add tiptap editor for description ❤️
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-28 18:55:02 +02:00
Thomas Citharel
5dccabb9b8 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
3cb29be4fc 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
48aedb4ba9 Move main logo height definition from css to img tag 2019-05-21 16:52:47 +02:00
Alexandre Mathieu
92028270b5 Import missing components from Bulma to fix message display, and sort dependencies by alphabetical order 2019-05-17 16:28:15 +02:00
poulp
3b5d3cd2e3 Use merge_map when defining colors to avoid override original Bulma colors 2019-05-17 15:28:10 +02:00
Thomas Citharel
fc9032d315 Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!130
2019-04-30 14:47:03 +02:00
Thomas Citharel
26960774ad 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
55aace23e3 Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-30 14:35:02 +02:00
Vincent
4a425e6011 add make test and Remove vue-cli serve 2019-04-30 13:56:07 +02:00
Chocobozzz
e5b8a89ec9 Test implementation of my account page 2019-04-26 15:36:53 +02:00
Thomas Citharel
7944a7d767 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
6ada1b67af Show cards on event card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 20:49:52 +02:00
Thomas Citharel
14604cfa6a Changes for search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 19:01:39 +02:00
Thomas Citharel
57d05b9ec6 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
7455decacb 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
ae5ab1d7d9 Merge branch 'deps/upgrade' into 'master'
Update deps

See merge request framasoft/mobilizon!119
2019-04-24 14:28:31 +02:00
Thomas Citharel
128f10bf29 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
69457146bf 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
fcad7aa2ce Add map data attribution for OpenStreetMap
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:13:52 +02:00
Thomas Citharel
23cbb7d359 Load map tiles over HTTPS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:11:59 +02:00
Thomas Citharel
8d48dfa5ff Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:08:41 +02:00
Thomas Citharel
86e4303529 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
700a0b85c3 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
5e61cf041a 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
f241251b24 Show related events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-23 11:23:18 +02:00
Thomas Citharel
e25eb81dec 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
bfcaafcc08 update js libs 2019-04-18 10:37:16 +02:00
Vincent
e4fb706809 Don't use entrypoints in docker 2019-04-18 09:52:39 +02:00
Thomas Citharel
153e0e877f Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!110
2019-04-11 15:31:19 +02:00
Thomas Citharel
c98eee00de Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 15:01:37 +02:00
Thomas Citharel
fb145d1033 Show slug in the interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 14:57:13 +02:00
Thomas Citharel
19fea308cb Move to yarn
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:27 +02:00
Thomas Citharel
45dbf3a2c6 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
5fdcc816db Merge branch 'deps/upgrade' into 'master'
Upgrade deps

See merge request framasoft/mobilizon!107
2019-04-01 17:34:17 +02:00
Thomas Citharel
4df0ae055f 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
15ba39742f Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 17:17:08 +02:00
Thomas Citharel
f88127e039 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
6814182ea2 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
9a881ed4d9 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
22ca73170d Add error page and login error redirection 2019-04-01 13:41:05 +02:00
Chocobozzz
2b99736f5b Get config and display/hide register button 2019-03-22 15:26:58 +01:00
Chocobozzz
de4ddf1aca Add config endpoint 2019-03-22 13:58:57 +01:00
Thomas Citharel
ee1777d8ab Lint JS files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-22 10:57:14 +01:00
Thomas Citharel
d1a8601ce0 Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-21 20:33:21 +01:00
Thomas Citharel
e2785df3f6 Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-18 12:20:44 +01:00
Thomas Citharel
95bca41d5d Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-15 10:57:40 +01:00
Thomas Citharel
a34186d82d Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 13:48:50 +01:00
Thomas Citharel
a9d0a4275d 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
d394bdae99 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
aa99412aed 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
c2a421eabd 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
ad78339040 Refactor router 2019-02-22 16:58:03 +01:00
Chocobozzz
761f0a5f40 Add leave/join/delete event logic 2019-02-22 13:49:23 +01:00
Thomas Citharel
2578f415ad 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
ba0e29e56e Update deps 2019-02-08 11:35:35 +01:00
Thomas Citharel
ea1e66cc94 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
5b97eeaf80 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
d8131c21c0 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
1b470f3f04 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
640bb878e8 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
cd0c02e3d2 Fix js warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:57:45 +01:00
Thomas Citharel
36cb5f5089 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
48ad9914a4 Fix login/logout flow 2019-01-18 15:38:18 +01:00
Thomas Citharel
5745d05834 Event state leftover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:21:53 +01:00
Thomas Citharel
6050fce2a2 Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-15 14:18:54 +01:00
Thomas Citharel
d80b12b608 Remove last occurences of address_type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 18:12:52 +01:00
Thomas Citharel
a1c4293cf4 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
786ffe2d8d 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
bec013b78e 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
568493a5b1 Remove moment js 2019-01-11 16:00:19 +01:00
Chocobozzz
290b31f031 Fix resend confirmation component 2019-01-11 14:35:14 +01:00
Chocobozzz
7d9fc559bf Fix events fetching 2019-01-11 14:24:33 +01:00
Chocobozzz
91b26bacef Fix reset password component 2019-01-11 13:58:29 +01:00
Chocobozzz
652ca1c3b8 Use includes instead of indexOf 2018-12-28 16:30:35 +01:00