Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Merge branch 'develop' into shorter-URLs-channels-accounts

Chocobozzz8f608a4cb22a
diff --cc client/src/app/app-routing.module.ts
index 0a43ab0ad8,4e3cce590d..4619c40464
--- a/client/src/app/app-routing.module.ts
+++ b/client/src/app/app-routing.module.ts
@@@ -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 = [
{
@@@ -24,15 -30,18 +31,18 @@@
},
{
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',
diff --cc shared/extra-utils/index.ts
index 5c520d0c20,3bc09ead58..9f5b5bb289
--- a/shared/extra-utils/index.ts
+++ b/shared/extra-utils/index.ts
@@@ -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'