Commit Graph

179 Commits

Author SHA1 Message Date
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
Chocobozzz
1a6869c3ff Fix login 2018-12-28 16:28:08 +01:00
Chocobozzz
f0026a8783 Fix user registration and validation 2018-12-28 16:19:21 +01:00
Chocobozzz
7ca424e8fe Fix vue appolo graphql middleware 2018-12-28 15:41:32 +01:00
Thomas Citharel
4d650dcd18 🥜🔒 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
281c3f9c73 All components now use typescript 2018-12-21 17:10:39 +01:00
Chocobozzz
e9727ed113 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
088df9e207 ⚙️ 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
03fd9726fe Add Makefile to setup things 2018-12-17 11:24:26 +01:00
Rigel Kent
6490c95bfc (doc) specify latest LTS and later as baseline 2018-12-12 12:49:35 +01:00
Rigel Kent
85733a5778 (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
7911d08691 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
535d7f38a7 Add script to run webpack analyzer 2018-11-30 16:05:21 +01:00
Chocobozzz
5c73b8bb2b npm run serve -> npm run dev 2018-11-30 09:48:41 +01:00
Thomas Citharel
bb178dafb4 Update js deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:55:31 +01:00
Thomas Citharel
29cf798956 Improve overall configuration and support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-15 17:35:47 +01:00
Thomas Citharel
12964b7290 Fixed some things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:09:28 +01:00
Thomas Citharel
da28bb8d0c Fix account component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 08:32:22 +01:00
Thomas Citharel
4441521994 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel
6c6f93038e Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel
a4dc6cff4d Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel
b3a5106a0a Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel
2c5c263c1e Fix Docker front and api ports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-25 17:06:50 +02:00
Thomas Citharel
85ff349bd3 Add docker-compose dev
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-25 16:42:04 +02:00
Thomas Citharel
01328d183e Add some identities UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 13:46:19 +02:00
Thomas Citharel
bcdfaab9bd 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
4e33c8b4dc Add UI for multiple identities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 17:37:22 +02:00
Thomas Citharel
be05a495fd 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
b6659cae84 Mostly UI stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 14:19:24 +02:00
Thomas Citharel
35e836fff4 Some work
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 14:29:17 +02:00
Thomas Citharel
cc5457e917 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
164b6b014c Encore des commits degeu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00
Thomas Citharel
4c60f0ec51 Add groups back
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:39 +02:00
Thomas Citharel
91a3805a47 Search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:14 +02:00
Thomas Citharel
3495c8a323 Front-end stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:15:45 +02:00
Thomas Citharel
d1e204245a Move folder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:05 +02:00
Thomas Citharel
efc03b5b01 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
1a3fbcf7f7 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