aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/client.ts
Commit message (Collapse)AuthorAgeFilesLines
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-1/+1
| | | | | | | | | | | 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
* Add header Vary Accept-Language (#4588)kontrollanten2021-12-021-5/+5
| | | | | | | | | | | | | | | * 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
* Add ability to filter out public videos from adminChocobozzz2021-11-121-1/+1
|
* Remove contributors list from /about/peertubeChocobozzz2021-11-121-6/+0
| | | | | Some contributors don't want to be associated to a particular peertube instance
* extend client-overrides with default images (#4392)kontrollanten2021-10-121-1/+4
| | | | | | | | | | | | | | * extend client-overrides with default images Add: * default-playlist.png * default-avatar-account.png * default-avatar-videochannel.png solves #4108 * Rename to default-avatar-video-channel.png Co-authored-by: Chocobozzz <me@florianbigard.com>
* Stop indexing /about/peertubeChocobozzz2021-10-111-2/+8
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-021-2/+2
|
* Support '/w/' and '/w/p/' for watch pageChocobozzz2021-05-281-2/+2
| | | | And use them as default in client
* Add shorter URLs for accounts and channels server-sideKimsible2021-05-051-2/+9
|
* Add filter hook to forbid embed accessChocobozzz2021-03-241-0/+28
|
* Fix manifestChocobozzz2021-01-191-1/+1
|
* Fix lintChocobozzz2021-01-181-1/+1
|
* Fix service workerChocobozzz2021-01-181-17/+4
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-29/+3
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-3/+4
|
* add client overrides to nginx configuration (#3297)Kimsible2020-11-161-0/+1
| | | | Co-authored-by: Rigel Kent <par@rigelk.eu> Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Inject plugin CSS in embed tooChocobozzz2020-08-241-4/+14
|
* Handle playlist methods in embed apiChocobozzz2020-08-071-4/+5
|
* Add logic to handle playlist in embedChocobozzz2020-08-071-7/+8
|
* Reorganize shared modelsChocobozzz2020-08-071-5/+5
|
* Add fcbk open-graph and twitter-card metas for accounts, video-channels, ↵Kim2020-07-311-0/+7
| | | | | | | | | | | | | | | | | playlists urls (#2996) * Add open-graph and twitter-card metas to accounts and video-channels * Add open-graph and twitter-card to video-playlists watch view * Refactor meta-tags creation server-side * Add client.ts tests for account, channel and playlist tags * Correct lint forbidden spaces * Correct test regression on client.ts Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Add ability to override client assets : logo - favicon - PWA icons - PWA ↵Kim2020-07-101-3/+49
| | | | | | | | | | | | | | | manifest name and description (#2897) * Add client-overrides storage to config * Add static-serve for client overrides * Move backgroun-image logo from bundle to css tag for runtime content hash * Add dynamic JSON manifest * Add content hash for manifest, favicon and logo Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Don't cache embed HTML fileChocobozzz2020-06-021-1/+2
|
* Update dependenciesChocobozzz2020-02-281-1/+1
|
* Merge branch 'release/2.1.0' into developChocobozzz2020-02-201-1/+7
|\
| * Fix CSP for embedsChocobozzz2020-02-201-1/+7
| |
* | Move to eslintcontainChocobozzz2020-02-031-1/+1
|/
* Remove CSP for embedChocobozzz2019-12-181-2/+1
|
* Make build worksChocobozzz2019-11-131-1/+1
|
* Fix quota in instance features tableChocobozzz2019-07-291-1/+1
|
* Improve static files cacheChocobozzz2019-07-291-7/+9
|
* Move controller in dedicated functionsChocobozzz2019-07-251-18/+22
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+1
|
* Improve channel and account SEOChocobozzz2019-02-211-0/+14
|
* Add video title/description when rendering htmlChocobozzz2018-12-171-10/+8
|
* add Content Security Policy (#1252)Rigel Kent2018-12-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | * add Content Security Policy * remove reflect-metadata on production builds to get rid of unsafe-eval * fix baseCSP usage * add SRI to CSP * add blob: to media-src * remove SRI * CSP set to reportOnly * adding data: to connect-src CSP * remove block-all-mixed-content * add report-uri support
* rename manifestBO412018-09-201-1/+1
|
* Hack 459 regarding Angular & i18nChocobozzz2018-07-251-1/+1
|
* Begin advanced searchChocobozzz2018-07-241-2/+8
|
* Render CSS/title/description tags on server sideChocobozzz2018-07-181-136/+14
|
* selective route permission to use embeds with x-frame-denyRigel Kent2018-07-171-3/+7
|
* Implement captions/subtitlesChocobozzz2018-07-161-1/+1
|
* Ability to programmatically control embeds (#776)William Lahti2018-07-101-0/+5
| | | | | | | | | | | | | | | | | | | | * first stab at jschannel based player api * semicolon purge * more method-level docs; consolidate definitions * missing definitions * better match peertube's class conventions * styling for embed tester * basic docs * add `getVolume` * document the test-embed feature
* Add ability to choose the languageChocobozzz2018-06-281-11/+26
|
* Little i18n refractoringChocobozzz2018-06-061-13/+9
|
* Add server localizationChocobozzz2018-06-061-2/+5
|
* Localize playerChocobozzz2018-06-061-0/+8
|
* Disable auto languageChocobozzz2018-06-051-1/+3
|