Commit Graph

824 Commits

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