]> git.ipfire.org Git - thirdparty/vuejs/router.git/log
thirdparty/vuejs/router.git
5 years agoci: add codecov
Eduardo San Martin Morote [Wed, 17 Jul 2019 09:57:15 +0000 (11:57 +0200)] 
ci: add codecov

6 years agochore(devDeps): update deps
Eduardo San Martin Morote [Mon, 8 Jul 2019 11:54:41 +0000 (13:54 +0200)] 
chore(devDeps): update deps

6 years agofeat(hash): wip implementation of hash
Eduardo San Martin Morote [Mon, 8 Jul 2019 11:52:25 +0000 (13:52 +0200)] 
feat(hash): wip implementation of hash

Still missing basic features as pausing, back, forward, go. Currently no
way to detect back/forward navigation from user (See TODO note at the
top of hash.ts file)

6 years agofix(errors): fix error inheritance in IE<10
Eduardo San Martin Morote [Fri, 5 Jul 2019 18:21:16 +0000 (20:21 +0200)] 
fix(errors): fix error inheritance in IE<10

6 years agochore: testing watchers
Eduardo San Martin Morote [Fri, 5 Jul 2019 13:35:42 +0000 (15:35 +0200)] 
chore: testing watchers

6 years agotest(explorations): export code to es3 to test on ie
Eduardo San Martin Morote [Fri, 5 Jul 2019 13:22:51 +0000 (15:22 +0200)] 
test(explorations): export code to es3 to test on ie

6 years agotest(link): add basic tests for router-link
Eduardo San Martin Morote [Tue, 2 Jul 2019 20:02:32 +0000 (22:02 +0200)] 
test(link): add basic tests for router-link

6 years agochore(devDeps): update
Eduardo San Martin Morote [Mon, 1 Jul 2019 17:52:55 +0000 (19:52 +0200)] 
chore(devDeps): update

6 years agotest: add type check to test command
Eduardo San Martin Morote [Mon, 1 Jul 2019 17:52:47 +0000 (19:52 +0200)] 
test: add type check to test command

6 years agochore(test): add note about router-view tests
Eduardo San Martin Morote [Mon, 1 Jul 2019 17:18:22 +0000 (19:18 +0200)] 
chore(test): add note about router-view tests

6 years agofeat(view): handle nested views
Eduardo San Martin Morote [Mon, 1 Jul 2019 17:07:07 +0000 (19:07 +0200)] 
feat(view): handle nested views

6 years agotest(view): test named views
Eduardo San Martin Morote [Mon, 1 Jul 2019 16:31:35 +0000 (18:31 +0200)] 
test(view): test named views

6 years agorefactor(types): improve matcher.spec
Eduardo San Martin Morote [Mon, 1 Jul 2019 16:20:08 +0000 (18:20 +0200)] 
refactor(types): improve matcher.spec

6 years agofix(types): remove many @ts-ignore
Eduardo San Martin Morote [Mon, 1 Jul 2019 15:49:51 +0000 (17:49 +0200)] 
fix(types): remove many @ts-ignore

6 years agofix(types): ajust types in Matcher
Eduardo San Martin Morote [Mon, 1 Jul 2019 15:49:14 +0000 (17:49 +0200)] 
fix(types): ajust types in Matcher

6 years agorefactor: matched components always contain a `components` object
Eduardo San Martin Morote [Mon, 1 Jul 2019 12:26:27 +0000 (14:26 +0200)] 
refactor: matched components always contain a `components` object

6 years agofix(safari): workaround 100 consecutive calls of history.pushState
Eduardo San Martin Morote [Mon, 1 Jul 2019 08:27:21 +0000 (10:27 +0200)] 
fix(safari): workaround 100 consecutive calls of history.pushState

6 years agofix(query): fix empty query
Eduardo San Martin Morote [Sun, 30 Jun 2019 16:00:44 +0000 (18:00 +0200)] 
fix(query): fix empty query

6 years agotest: setup tests for components
Eduardo San Martin Morote [Sat, 29 Jun 2019 09:30:43 +0000 (11:30 +0200)] 
test: setup tests for components

6 years agotest: fix tsconfig for mocha tests
Eduardo San Martin Morote [Fri, 28 Jun 2019 15:54:07 +0000 (17:54 +0200)] 
test: fix tsconfig for mocha tests

6 years agotest: use History mock for router tests
Eduardo San Martin Morote [Fri, 28 Jun 2019 15:53:54 +0000 (17:53 +0200)] 
test: use History mock for router tests

6 years agochore: add build script
Eduardo San Martin Morote [Fri, 28 Jun 2019 14:44:30 +0000 (16:44 +0200)] 
chore: add build script

6 years agobuild: refactor build
Eduardo San Martin Morote [Fri, 28 Jun 2019 14:43:03 +0000 (16:43 +0200)] 
build: refactor build

6 years agobuild: add rollup config and basic bundling
Eduardo San Martin Morote [Fri, 28 Jun 2019 12:37:23 +0000 (14:37 +0200)] 
build: add rollup config and basic bundling

6 years agochore(devDeps): update deps
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:38:53 +0000 (11:38 +0200)] 
chore(devDeps): update deps

6 years agochore: remove initial push on exploration
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:31:40 +0000 (11:31 +0200)] 
chore: remove initial push on exploration

6 years agofeat: handle initial navigation
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:29:15 +0000 (11:29 +0200)] 
feat: handle initial navigation

6 years agorefactor: rename matchLocation to resolveLocation
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:28:18 +0000 (11:28 +0200)] 
refactor: rename matchLocation to resolveLocation

6 years agochore(devDeps): update
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:27:04 +0000 (11:27 +0200)] 
chore(devDeps): update

6 years agotest: move history tests to own folder
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:26:20 +0000 (11:26 +0200)] 
test: move history tests to own folder

6 years agotest(errors): add tests for errors in history listener
Eduardo San Martin Morote [Tue, 11 Jun 2019 16:19:49 +0000 (18:19 +0200)] 
test(errors): add tests for errors in history listener

6 years agofix(errors): avoid unhandled errors in history listener
Eduardo San Martin Morote [Tue, 11 Jun 2019 15:38:37 +0000 (17:38 +0200)] 
fix(errors): avoid unhandled errors in history listener

6 years agofix(router): throw NavigationCancelled when it should
Eduardo San Martin Morote [Tue, 11 Jun 2019 15:17:50 +0000 (17:17 +0200)] 
fix(router): throw NavigationCancelled when it should

6 years agofix(history): cancel old navigations
Eduardo San Martin Morote [Tue, 11 Jun 2019 15:08:08 +0000 (17:08 +0200)] 
fix(history): cancel old navigations

6 years agotest(example): log time waiting
Eduardo San Martin Morote [Tue, 11 Jun 2019 12:20:21 +0000 (14:20 +0200)] 
test(example): log time waiting

6 years agofix(router): avoid in-guard redirect in new navigation happened
Eduardo San Martin Morote [Tue, 11 Jun 2019 12:20:05 +0000 (14:20 +0200)] 
fix(router): avoid in-guard redirect in new navigation happened

6 years agotest(example): add navigation cancel with checbox
Eduardo San Martin Morote [Tue, 11 Jun 2019 10:45:01 +0000 (12:45 +0200)] 
test(example): add navigation cancel with checbox

6 years agofix(history): fix pausing between back and forward
Eduardo San Martin Morote [Tue, 11 Jun 2019 10:41:40 +0000 (12:41 +0200)] 
fix(history): fix pausing between back and forward

I realized calling history.forward() on Safari didn't immediately called
the popstate listener, so simply setting a variable before and after
history.back() and history.forward() wasn't enough.
It still doesn't work consistently between all browsers. eg: on Safari
calling history.back() mulitple times in a row will trigger only one
popstate listener but on Firefox, it will trigger as many as necessary

6 years agofeat(router): handle cancelled navigations
Eduardo San Martin Morote [Tue, 11 Jun 2019 10:40:13 +0000 (12:40 +0200)] 
feat(router): handle cancelled navigations

6 years agofeat(link): add initial version router-link
Eduardo San Martin Morote [Fri, 7 Jun 2019 08:56:12 +0000 (10:56 +0200)] 
feat(link): add initial version router-link

6 years agofix(view): correctly freez route, matched non enumerable
Eduardo San Martin Morote [Fri, 7 Jun 2019 08:55:54 +0000 (10:55 +0200)] 
fix(view): correctly freez route, matched non enumerable

6 years agofeat: working version of simple router-view
Eduardo San Martin Morote [Thu, 6 Jun 2019 14:19:58 +0000 (16:19 +0200)] 
feat: working version of simple router-view

6 years agowip
Eduardo San Martin Morote [Wed, 5 Jun 2019 16:08:09 +0000 (18:08 +0200)] 
wip

6 years agochore: add Vue to exploration
Eduardo San Martin Morote [Wed, 5 Jun 2019 15:02:19 +0000 (17:02 +0200)] 
chore: add Vue to exploration

6 years agorefactor(router): use paused property in router listener
Eduardo San Martin Morote [Wed, 5 Jun 2019 14:28:49 +0000 (16:28 +0200)] 
refactor(router): use paused property in router listener

6 years agofeat(abstract): avoid listeners with back and forward
Eduardo San Martin Morote [Wed, 5 Jun 2019 14:25:37 +0000 (16:25 +0200)] 
feat(abstract): avoid listeners with back and forward

6 years agorefactor: rename NavigationType NavigationDirection
Eduardo San Martin Morote [Wed, 5 Jun 2019 13:58:11 +0000 (15:58 +0200)] 
refactor: rename NavigationType NavigationDirection

6 years agofeat(abstract): remove listeners
Eduardo San Martin Morote [Wed, 5 Jun 2019 13:57:51 +0000 (15:57 +0200)] 
feat(abstract): remove listeners

6 years agofeat(abstract): listen for navigation
Eduardo San Martin Morote [Wed, 5 Jun 2019 13:35:17 +0000 (15:35 +0200)] 
feat(abstract): listen for navigation

6 years agofeat(abstract): move forward in history
Eduardo San Martin Morote [Tue, 4 Jun 2019 17:05:32 +0000 (19:05 +0200)] 
feat(abstract): move forward in history

6 years agofix: remove duplicate fn from rebase
Eduardo San Martin Morote [Tue, 4 Jun 2019 16:32:20 +0000 (18:32 +0200)] 
fix: remove duplicate fn from rebase

6 years agofeat(abstract): history log
Eduardo San Martin Morote [Tue, 4 Jun 2019 16:30:43 +0000 (18:30 +0200)] 
feat(abstract): history log

6 years agofix: missing void type
Eduardo San Martin Morote [Sat, 1 Jun 2019 15:27:48 +0000 (17:27 +0200)] 
fix: missing void type

6 years agochore: up deps
Eduardo San Martin Morote [Tue, 4 Jun 2019 16:23:24 +0000 (18:23 +0200)] 
chore: up deps

6 years agofix: preserve fullPath when redirecting in matcher
Eduardo San Martin Morote [Wed, 29 May 2019 10:40:38 +0000 (12:40 +0200)] 
fix: preserve fullPath when redirecting in matcher

6 years agorefactor: improve matchLocation
Eduardo San Martin Morote [Tue, 28 May 2019 18:47:03 +0000 (20:47 +0200)] 
refactor: improve matchLocation

6 years agorefactor: rename variable in matchLocation
Eduardo San Martin Morote [Tue, 28 May 2019 17:42:00 +0000 (19:42 +0200)] 
refactor: rename variable in matchLocation

6 years agofeat: add redirectedFrom in normalized location
Eduardo San Martin Morote [Tue, 28 May 2019 17:27:24 +0000 (19:27 +0200)] 
feat: add redirectedFrom in normalized location

6 years agochore: up deps
Eduardo San Martin Morote [Sat, 25 May 2019 14:02:24 +0000 (17:02 +0300)] 
chore: up deps

6 years agowip: listening to history
Eduardo San Martin Morote [Wed, 22 May 2019 06:46:17 +0000 (08:46 +0200)] 
wip: listening to history

6 years agochore: up deps
Eduardo San Martin Morote [Fri, 17 May 2019 13:16:04 +0000 (15:16 +0200)] 
chore: up deps

6 years agofix import type
Eduardo San Martin Morote [Fri, 17 May 2019 13:15:52 +0000 (15:15 +0200)] 
fix import type

6 years agochore: remove unused function
Eduardo San Martin Morote [Tue, 7 May 2019 16:13:36 +0000 (18:13 +0200)] 
chore: remove unused function

6 years agochore: remove todos
Eduardo San Martin Morote [Tue, 7 May 2019 08:40:29 +0000 (10:40 +0200)] 
chore: remove todos

6 years agorefactor: remove old TODOS
Eduardo San Martin Morote [Mon, 6 May 2019 20:28:35 +0000 (22:28 +0200)] 
refactor: remove old TODOS

6 years agotest: beforeEnter nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 20:14:51 +0000 (22:14 +0200)] 
test: beforeEnter nested routes

6 years agofeat: allow beforeEnter as array
Eduardo San Martin Morote [Mon, 6 May 2019 19:47:46 +0000 (21:47 +0200)] 
feat: allow beforeEnter as array

6 years agofix: call beforeRouteLeave in right order
Eduardo San Martin Morote [Mon, 6 May 2019 19:24:59 +0000 (21:24 +0200)] 
fix: call beforeRouteLeave in right order

6 years agofeat: call beforeRouteLeave with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 19:24:14 +0000 (21:24 +0200)] 
feat: call beforeRouteLeave with nested routes

6 years agotest: refactor types
Eduardo San Martin Morote [Mon, 6 May 2019 17:58:12 +0000 (19:58 +0200)] 
test: refactor types

6 years agotest: beforeRouteEnter with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:54:54 +0000 (19:54 +0200)] 
test: beforeRouteEnter with nested routes

6 years agotest: test beforeRouteEnter on initial navigation nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:15:22 +0000 (19:15 +0200)] 
test: test beforeRouteEnter on initial navigation nested routes

6 years agotest: add afterEach test for nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:08:22 +0000 (19:08 +0200)] 
test: add afterEach test for nested routes

6 years agotest: assert arguments on beforeEach with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:06:39 +0000 (19:06 +0200)] 
test: assert arguments on beforeEach with nested routes

6 years agotest: test global beforeEach on children
Eduardo San Martin Morote [Mon, 6 May 2019 17:02:41 +0000 (19:02 +0200)] 
test: test global beforeEach on children

6 years agochore: add children routes for explorations
Eduardo San Martin Morote [Mon, 6 May 2019 16:52:59 +0000 (18:52 +0200)] 
chore: add children routes for explorations

6 years agofix: allow empty paths children
Eduardo San Martin Morote [Mon, 6 May 2019 16:37:55 +0000 (18:37 +0200)] 
fix: allow empty paths children

6 years agotest: matcher nested record
Eduardo San Martin Morote [Mon, 6 May 2019 16:18:22 +0000 (18:18 +0200)] 
test: matcher nested record

6 years agotest: add test for params with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 16:17:46 +0000 (18:17 +0200)] 
test: add test for params with nested routes

6 years agorefactor: remove dead code
Eduardo San Martin Morote [Mon, 6 May 2019 15:40:29 +0000 (17:40 +0200)] 
refactor: remove dead code

6 years agorefactor: remove duplicated code
Eduardo San Martin Morote [Mon, 6 May 2019 15:33:07 +0000 (17:33 +0200)] 
refactor: remove duplicated code

6 years agofix: wrong order for params resolving in matcher
Eduardo San Martin Morote [Mon, 6 May 2019 15:29:05 +0000 (17:29 +0200)] 
fix: wrong order for params resolving in matcher

6 years agochore: comments
Eduardo San Martin Morote [Mon, 6 May 2019 15:21:02 +0000 (17:21 +0200)] 
chore: comments

6 years agofeat: match nested routes with different location formats
Eduardo San Martin Morote [Mon, 6 May 2019 15:16:22 +0000 (17:16 +0200)] 
feat: match nested routes with different location formats

6 years agobuild: refactor to build esm version
Eduardo San Martin Morote [Mon, 6 May 2019 13:57:48 +0000 (15:57 +0200)] 
build: refactor to build esm version

6 years agofeat: add children suppor to matcher
Eduardo San Martin Morote [Mon, 6 May 2019 13:42:48 +0000 (15:42 +0200)] 
feat: add children suppor to matcher

6 years agotest: add remove guards test
Eduardo San Martin Morote [Mon, 6 May 2019 10:29:45 +0000 (12:29 +0200)] 
test: add remove guards test

6 years agofeat: throw with invalid redirect
Eduardo San Martin Morote [Mon, 6 May 2019 10:09:42 +0000 (12:09 +0200)] 
feat: throw with invalid redirect

6 years agotest: better mocha snapshot matching
Eduardo San Martin Morote [Mon, 6 May 2019 10:09:16 +0000 (12:09 +0200)] 
test: better mocha snapshot matching

6 years agotest: fix types
Eduardo San Martin Morote [Mon, 6 May 2019 09:27:35 +0000 (11:27 +0200)] 
test: fix types

6 years agochore: update deps
Eduardo San Martin Morote [Sat, 4 May 2019 11:16:48 +0000 (13:16 +0200)] 
chore: update deps

6 years agofeat(matcher): handle redirect in rout records
Eduardo San Martin Morote [Fri, 3 May 2019 19:43:14 +0000 (21:43 +0200)] 
feat(matcher): handle redirect in rout records

6 years agotypes: add redirect option to routerecord
Eduardo San Martin Morote [Fri, 3 May 2019 15:21:24 +0000 (17:21 +0200)] 
types: add redirect option to routerecord

6 years agofeat: allow redirect in next
Eduardo San Martin Morote [Fri, 3 May 2019 14:18:14 +0000 (16:18 +0200)] 
feat: allow redirect in next

6 years agowip: add types for redirect in next
Eduardo San Martin Morote [Thu, 2 May 2019 20:54:34 +0000 (22:54 +0200)] 
wip: add types for redirect in next

6 years agochore: add comments
Eduardo San Martin Morote [Thu, 2 May 2019 20:49:07 +0000 (22:49 +0200)] 
chore: add comments

6 years agotest: ignore index.ts in coverage
Eduardo San Martin Morote [Thu, 2 May 2019 20:41:21 +0000 (22:41 +0200)] 
test: ignore index.ts in coverage

6 years agotest: check beforeEnter, same component
Eduardo San Martin Morote [Thu, 2 May 2019 20:41:09 +0000 (22:41 +0200)] 
test: check beforeEnter, same component

6 years agotest: refactor using noGuard
Eduardo San Martin Morote [Thu, 2 May 2019 20:40:53 +0000 (22:40 +0200)] 
test: refactor using noGuard

6 years agofeat: allow named views
Eduardo San Martin Morote [Thu, 2 May 2019 20:23:06 +0000 (22:23 +0200)] 
feat: allow named views