Commit Graph

11 Commits

Author SHA1 Message Date
rijkvanzanten
9a107f915e Fix file-preview on file detail + refresh timing 2020-07-09 18:22:23 -04:00
rijkvanzanten
78b5723526 Add session persistence across refresh 2020-07-07 13:58:09 -04:00
rijkvanzanten
7768b317be Implement access token refresh logic 2020-07-07 12:24:18 -04:00
rijkvanzanten
e506b2dd95 Squashed commit of the following:
commit aabfcdb9fc75789e8b68a026297651dc3b9a432d
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:40:44 2020 -0400

    Fix more projects stuff

commit 5df3364e0887627fca8361297b92a9ff5b36c98f
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:36:28 2020 -0400

    More project deletions

commit 75d49100adffee5ad94736e62470cffa89a44aa3
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:32:04 2020 -0400

    Batch get rid of projects

commit 02a64a5d4c6ae02ece42878dc10560b662b1dfca
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:06:20 2020 -0400

    Some more things

commit 617e22e0abd5d6bf57e1eac95b9a68287cd0044b
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 10:35:43 2020 -0400

    Fix module bar logo projects check

commit a8fbf0be75055c31075f2352b150309fea424e8a
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 10:35:24 2020 -0400

    Set auth token in auth handler

commit c0c1c1bb164bd49d252c6dd1d944d7bc4b6aede5
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 10:18:30 2020 -0400

    public login
2020-07-03 11:40:54 -04:00
Rijk van Zanten
2bf4ce9af7 Add 2fa input on login (#616) 2020-05-22 17:59:28 -04:00
Rijk van Zanten
7485a97a3b Public (#373)
* Add note to public page

* Add project chooser on public view

* Optimize loading order

So much nicer to use now

Closes #298

* Fix the private project switcher too

* Add transition to public view

* Prevent project switching if youre already on that project

* [WIP] Add reset password form

* Add request password reset page

* Add jwt-payload util

* Install base-64

* Fix test typing

* Add new errors to translations

* Finish reset password flow

* Fix foreground color on v-notice

* Fix tests

* Allow code in translateError + render project error translated on login

* Remove wrong reference to error component

* Render project key if name is unknown

* Fix date-fns version

* Fix tests
2020-04-09 19:06:15 -04:00
dependabot-preview[bot]
26960961e8 Bump prettier from 1.19.1 to 2.0.2 (#239)
* Bump prettier from 1.19.1 to 2.0.2

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Add dangling comma's

* Update eslint config to match prettier default

* Make eslint match prettier for real this time

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-03-24 10:51:30 -04:00
Rijk van Zanten
346e6f95ce Project switching (#206)
* Register notice component globally

* Render button as flex in full width

* Add buttons to / route

* Rename block->full-width

* Add hyrate overlay / project chooser placeholder

* Make routes named

* Dehydrate / hydrate when switching projects

* Add choose project buttons to / route

* Add main app component and hydration loader effect

* Improve routing flow

* Remove unused import statement

* Fix test
2020-03-17 16:25:43 -04:00
Rijk van Zanten
a2ba2c8783 Add fields store (#144)
* Add fields store

* Add test coverage for fields store

* Remove hydration tests

It doesn't do anything itself, but just calls init / reset methods of stores

* Rename store methods to hydrate / dehydrate

* DRY that sucker

* Move hydration logic into a store

* Fix tests for new store

* Rename hydrate store to app store, fix tests in auth

* Fix tests of router

* Fix tests in module-bar-logo

* bunch of things

* Fix tests in hydrate

* Fix router tests

* Clean up auth tests

* Update tests for collections / fields stores

* Use stores instead of mocks in tests

* Add test for store getter in collections
2020-03-11 10:36:39 -04:00
Rijk van Zanten
28531b531b Add hydration, collection store, collections module navigation (#125)
* Add hydration functions and logout route

* Add tests for hydration

* Add collections nav

* Structure collections module, add overview route

* Fix failing tests

* Add test for use-navigation

* Add tests for collections-navigation

* Add tests for collections-overview

* Fix export for use-navigation composition

* Update tests
2020-02-28 16:21:51 -05:00
Rijk van Zanten
3a7d814e77 Create auth helpers file, check auth on failed requests, change beforeRoute handler (#114)
* Create auth helpers file, check auth on failed requests, change beforeRoute handler

* Uninstall debug

* Navigate to / on no public projects

* Get router test coverage to 100%

* Fix auth tests

* Add tests for new projects store action
2020-02-21 16:22:08 -05:00