]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Merge branch 'develop' into shorter-URLs-channels-accounts
authorChocobozzz <me@florianbigard.com>
Thu, 27 May 2021 14:12:41 +0000 (16:12 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 27 May 2021 14:12:41 +0000 (16:12 +0200)
1  2 
client/src/app/+accounts/account-video-channels/account-video-channels.component.ts
client/src/app/+search/search.component.ts
client/src/app/app-routing.module.ts
client/src/app/menu/menu.component.html
client/src/app/shared/shared-main/shared-main.module.ts
server/controllers/api/index.ts
server/lib/client-html.ts
server/tests/client.ts
shared/extra-utils/index.ts

index 0a43ab0ad82b3788b4d02fdd49c6b30ffa385125,4e3cce590d1b3f795483649cbd7fb5a93bebc849..4619c404642020344baa4c4d0cb15447ba839890
@@@ -3,9 -3,8 +3,9 @@@ import { RouteReuseStrategy, RouterModu
  import { CustomReuseStrategy } from '@app/core/routing/custom-reuse-strategy'
  import { MenuGuards } from '@app/core/routing/menu-guard.service'
  import { POSSIBLE_LOCALES } from '@shared/core-utils/i18n'
- import { PreloadSelectedModulesList } from './core'
+ import { MetaGuard, PreloadSelectedModulesList } from './core'
  import { EmptyComponent } from './empty.component'
 +import { RootComponent } from './root.component'
  
  const routes: Routes = [
    {
    },
    {
      path: 'verify-account',
-     loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule)
+     loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule),
+     canActivateChild: [ MetaGuard ]
    },
    {
 -    path: 'accounts',
 +    path: 'a',
-     loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule)
+     loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule),
+     canActivateChild: [ MetaGuard ]
    },
    {
 -    path: 'video-channels',
 +    path: 'c',
-     loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule)
+     loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule),
+     canActivateChild: [ MetaGuard ]
    },
    {
      path: 'about',
Simple merge
Simple merge
Simple merge
index 5c520d0c204940e0fdbde435d9c57c3eb1c788db,3bc09ead587a11a173a17a260629bb9dc9d8ab3e..9f5b5bb28997f00e97e3c0a7533f82da55e2ba6e
@@@ -1,16 -1,26 +1,27 @@@
 +export * from './actors/actors'
  export * from './bulk/bulk'
  export * from './cli/cli'
+ export * from './custom-pages/custom-pages'
  export * from './feeds/feeds'
  export * from './mock-servers/mock-instances-index'
- export * from './miscs/miscs'
+ export * from './miscs/email'
  export * from './miscs/sql'
+ export * from './miscs/miscs'
  export * from './miscs/stubs'
  export * from './moderation/abuses'
  export * from './plugins/mock-blocklist'
  export * from './requests/check-api-params'
  export * from './requests/requests'
  export * from './search/videos'
  export * from './server/activitypub'
  export * from './server/clients'
  export * from './server/config'