aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* refactor(types): create dedicated folder for types package srclutangar2021-12-162-1/+2
| | | | | | fix guide examples and add types package readme refactor(tsconfig): move back base tsconfig to base directory
* feat(types): create peertube-types packagelutangar2021-12-161-0/+16
| | | | | | | | | | | | Create dedicated Typescript "types" configuration file for each "projects". Create a types folder which includes every useful ts definition: - client - server - shared Add tooling to create a proper package, extract dependencies, etc... Add CI Github task. refactor(types): publish types package in release script
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-1653-288/+283
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Fix lintChocobozzz2021-12-141-1/+8
|
* Ability for admins to set default upload valuesChocobozzz2021-12-147-7/+145
|
* Increase timeoutChocobozzz2021-12-141-1/+1
|
* Move b frame strategy in transcoding profileChocobozzz2021-12-142-19/+26
| | | | | We may use a too high value for some encoders and it allows to specify custom values/strategy
* Fix typo.John Livingston2021-12-141-1/+1
|
* Fix AP audienceChocobozzz2021-12-132-2/+2
|
* Handle channel owner update of remote serverChocobozzz2021-12-134-21/+30
|
* Added "zxx" (no linguistic content) in available video languages (#4631)Florian CUNY2021-12-131-1/+3
| | | | | | | | | | | | | * Added "zxx" (no linguistic content) in available video languages Implements https://github.com/Chocobozzz/PeerTube/issues/1489 * FIx lint * Fix lint * Put other languages below instance languages Co-authored-by: Chocobozzz <me@florianbigard.com>
* Give moderators access to edit channels (#4608)kontrollanten2021-12-138-87/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * give admins access to edit all channels closes #4598 * test(channels): +admin update another users channel * Fix tests * fix(server): delete another users channel Since the channel owner isn't necessary the auth user we need to check the right account whether it's the last video or not. * REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to MANAGE_ANY_VIDEO_CHANNEL. * user-right: moderator can't manage admins channel * client: MyVideoChannelCreateComponent > VideoChannelCreateComponent * client: MyVideoChannelEdit > VideoChannelEdit * Revert "user-right: moderator can't manage admins channel" This reverts commit 2c627c154e2bfe6af2e0f45efb27faf4117572f3. * server: clean dupl validator functionality * fix ensureUserCanManageChannel usage It's not async anymore. * server: merge channel validator middleares ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets merged into one middleware. * client(VideoChannelEdit): redirect to prev route * fix(VideoChannels): handle anon users * client: new routes for create/update channel * Refactor channel validators Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add upload/import/go live video attributes hooksChocobozzz2021-12-105-6/+92
|
* Add hls to prune storage scriptChocobozzz2021-12-102-35/+23
|
* Fix testsChocobozzz2021-12-094-12/+21
|
* No notification on moderator abuseChocobozzz2021-12-094-51/+86
|
* Add filter:api.server.stats.get.result hookChocobozzz2021-12-094-2/+21
|
* Fix torrent metadata update for hlsChocobozzz2021-12-092-16/+10
|
* Update torrents info name on video updateChocobozzz2021-12-083-7/+17
|
* Update torrent metadata on video updateChocobozzz2021-12-085-10/+38
|
* Merge branch 'release/4.0.0' into developChocobozzz2021-12-072-17/+32
|\
| * Fix services testsChocobozzz2021-12-071-3/+3
| |
| * Fix live log tagsChocobozzz2021-12-071-14/+29
| |
* | Merge branch 'release/4.0.0' into developChocobozzz2021-12-071-1/+1
|\|
| * Fix iframe allow-popups for oembedChocobozzz2021-12-071-1/+1
| |
* | Add mute status in account and channel pagesChocobozzz2021-12-0711-26/+397
| |
* | Increase timeoutChocobozzz2021-12-062-2/+2
| |
* | Add ability to redirect users on external authChocobozzz2021-12-036-0/+53
| |
* | Merge branch 'release/4.0.0' into developChocobozzz2021-12-033-16/+19
|\|
| * Fix pending transcoding with failed jobChocobozzz2021-12-032-15/+18
| |
| * Fix too long filename video uploadChocobozzz2021-12-031-1/+1
| |
* | Decrease time to cleanup resumable uploadsChocobozzz2021-12-034-35/+21
| |
* | Fix commentChocobozzz2021-12-031-2/+2
| |
* | Remove uneeded functionChocobozzz2021-12-031-4/+0
| |
* | Fix plugin upgradeChocobozzz2021-12-033-6/+84
| | | | | | | | Correctly decache all plugin paths
* | CLI: plugins install command accept a --plugin-version parameter. (#4599)John Livingston2021-12-034-2/+33
|/ | | | | | | | | | | * CLI: plugins install command accept a --plugin-version parameter. * Unit tests for plugins install --plugin-version. * Fix linting. * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add header Vary Accept-Language (#4588)kontrollanten2021-12-022-7/+11
| | | | | | | | | | | | | | | * nginx: add header Vary Accept-Language solves #3647 * Revert "nginx: add header Vary Accept-Language" This reverts commit 90dccf53247882ad30904e4c950b745c4e859e01. * add resp header Vary Accept-Language solves #3647 * don't add vary header to embed page
* Don't notify when transcoding ends on manual runChocobozzz2021-12-011-1/+3
|
* Fix redundancy timeoutChocobozzz2021-11-301-1/+1
|
* Correctly escape meta tagsChocobozzz2021-11-301-51/+54
|
* Fix buildChocobozzz2021-11-291-1/+1
|
* Fix redundancy timeoutChocobozzz2021-11-294-8/+14
|
* Fix transcoding job count inconsistencyChocobozzz2021-11-291-7/+7
|
* Auto update publishedAt in live restreamChocobozzz2021-11-262-0/+7
|
* Add `req` and `res` as controllers hooks parameterslutangar2021-11-2510-23/+25
| | | | | Hooks prefixed by `action:api` now give access the original express req and res. Checkout guide.md for possible usage.
* Fix E2E testsChocobozzz2021-11-242-1/+5
|
* Ensure we don't run transcoding after import fileChocobozzz2021-11-232-5/+11
|
* Upgrade tools dependenciesChocobozzz2021-11-221-16/+16
|
* Apply import interval only when reasonable (#4552)mj-saunders2021-11-221-5/+8
| | | | | | | | | | * Apply import interval only when reasonable When importing videos from another service, an interval can be applied between each download. It only really makes sense to apply this interval when the last attempted download actually happened, and not when it was skipped. * Fix boolean notation
* Fix typoChocobozzz2021-11-192-4/+4
|