]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/lib/job-queue/handlers/video-import.ts
Instance homepage support (#4007)
authorChocobozzz <chocobozzz@cpy.re>
Thu, 27 May 2021 13:59:55 +0000 (15:59 +0200)
committerGitHub <noreply@github.com>
Thu, 27 May 2021 13:59:55 +0000 (15:59 +0200)
commit2539932e16129992a2c0889b4ff527c265a8e2c7
treefb5048e63e02a2485eb96d27455f43e4b22e8ae0
parenteb34ec30e0b57286fc6f85160490d2e973a3b0b1
Instance homepage support (#4007)

* Prepare homepage parsers

* Add ability to update instance hompage

* Add ability to set homepage as landing page

* Add homepage preview in admin

* Dynamically update left menu for homepage

* Inject home content in homepage

* Add videos list and channel miniature custom markup

* Remove unused elements in markup service
84 files changed:
client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
client/src/app/+admin/admin.module.ts
client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts
client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html [new file with mode: 0644]
client/src/app/+admin/config/edit-custom-config/edit-homepage.component.ts [new file with mode: 0644]
client/src/app/+admin/config/edit-custom-config/index.ts
client/src/app/+home/home-routing.module.ts [new file with mode: 0644]
client/src/app/+home/home.component.html [new file with mode: 0644]
client/src/app/+home/home.component.scss [new file with mode: 0644]
client/src/app/+home/home.component.ts [new file with mode: 0644]
client/src/app/+home/home.module.ts [new file with mode: 0644]
client/src/app/+home/index.ts [new file with mode: 0644]
client/src/app/+videos/+video-watch/comment/video-comment.component.ts
client/src/app/+videos/+video-watch/video-watch.component.ts
client/src/app/app-routing.module.ts
client/src/app/app.component.ts
client/src/app/core/menu/menu.service.ts
client/src/app/core/renderer/html-renderer.service.ts
client/src/app/core/renderer/markdown.service.ts
client/src/app/core/server/server.service.ts
client/src/app/menu/menu.component.html
client/src/app/menu/menu.component.ts
client/src/app/shared/shared-custom-markup/channel-miniature-markup.component.html [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/channel-miniature-markup.component.scss [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/channel-miniature-markup.component.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/custom-markup.service.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/dynamic-element.service.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/embed-markup.component.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/index.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/playlist-miniature-markup.component.html [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/playlist-miniature-markup.component.scss [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/playlist-miniature-markup.component.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/video-miniature-markup.component.html [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/video-miniature-markup.component.scss [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/video-miniature-markup.component.ts [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/videos-list-markup.component.html [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/videos-list-markup.component.scss [new file with mode: 0644]
client/src/app/shared/shared-custom-markup/videos-list-markup.component.ts [new file with mode: 0644]
client/src/app/shared/shared-forms/markdown-textarea.component.html
client/src/app/shared/shared-forms/markdown-textarea.component.ts
client/src/app/shared/shared-icons/global-icon.component.ts
client/src/app/shared/shared-main/custom-page/custom-page.service.ts [new file with mode: 0644]
client/src/app/shared/shared-main/custom-page/index.ts [new file with mode: 0644]
client/src/app/shared/shared-main/shared-main.module.ts
client/src/assets/images/feather/octagon.svg [new file with mode: 0644]
client/src/assets/player/utils.ts
server.ts
server/controllers/api/config.ts
server/controllers/api/custom-page.ts [new file with mode: 0644]
server/controllers/api/index.ts
server/controllers/api/videos/import.ts
server/controllers/static.ts
server/helpers/markdown.ts
server/initializers/constants.ts
server/initializers/database.ts
server/initializers/migrations/0650-actor-custom-pages.ts [new file with mode: 0644]
server/lib/client-html.ts
server/lib/config.ts [deleted file]
server/lib/job-queue/handlers/video-import.ts
server/lib/plugins/plugin-helpers-builder.ts
server/lib/server-config-manager.ts [new file with mode: 0644]
server/models/account/actor-custom-page.ts [new file with mode: 0644]
server/tests/api/check-params/custom-pages.ts [new file with mode: 0644]
server/tests/api/check-params/index.ts
server/tests/api/server/homepage.ts [new file with mode: 0644]
server/tests/api/server/index.ts
server/types/models/account/actor-custom-page.ts [new file with mode: 0644]
server/types/models/account/index.ts
shared/core-utils/miscs/miscs.ts
shared/core-utils/renderer/html.ts
shared/extra-utils/custom-pages/custom-pages.ts [new file with mode: 0644]
shared/extra-utils/index.ts
shared/models/actors/custom-page.model.ts [new file with mode: 0644]
shared/models/actors/index.ts
shared/models/custom-markup/custom-markup-data.model.ts [new file with mode: 0644]
shared/models/custom-markup/index.ts [new file with mode: 0644]
shared/models/index.ts
shared/models/server/server-config.model.ts
shared/models/users/user-right.enum.ts
support/doc/api/openapi.yaml