aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/client-html.ts
Commit message (Collapse)AuthorAgeFilesLines
* Stop using tsconfig registerChocobozzz2022-01-061-2/+3
| | | | Prefer to replace paths at compile time
* Fix buildChocobozzz2021-12-171-1/+1
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-1/+1
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-1/+2
| | | | | | | | | | | 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
* Remove uneeded functionChocobozzz2021-12-031-4/+0
|
* Add header Vary Accept-Language (#4588)kontrollanten2021-12-021-2/+6
| | | | | | | | | | | | | | | * 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
* Correctly escape meta tagsChocobozzz2021-11-301-51/+54
|
* Fix E2E testsChocobozzz2021-11-241-0/+5
|
* Remove uneeded language injectionChocobozzz2021-10-111-3/+1
| | | | It's already handled by angular build
* Fix config injection with custom HTML/CSSChocobozzz2021-09-091-2/+3
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Do not index remote actorsChocobozzz2021-08-051-2/+9
|
* Fix oembed for playlistsChocobozzz2021-07-271-1/+1
|
* Fix buildChocobozzz2021-07-261-1/+1
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-2/+7
|
* Refactor video query builderChocobozzz2021-06-101-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-021-2/+2
|
* CleanupChocobozzz2021-05-281-7/+5
| | | | | We must not expose private actor objects to clients Just make 2 GET requests on channel/accounts instead
* Merge branch 'develop' into shorter-URLs-channels-accountsChocobozzz2021-05-271-2/+16
|\
| * Instance homepage support (#4007)Chocobozzz2021-05-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Inject server config in HTMLChocobozzz2021-05-141-2/+16
| |
* | Add shorter URLs for accounts and channels server-sideKimsible2021-05-051-2/+15
|/
* modify tests to support current behaviour regarding plaintext descriptionRigel Kent2021-04-131-13/+9
|
* render markdown and plainify descriptions on previewsRigel Kent2021-04-131-6/+11
|
* Add banners supportChocobozzz2021-04-081-3/+3
|
* fix missing title attribute on <iframe> tag suggested for embedding (#3901)Thavarasa Prasanth2021-03-311-1/+2
| | | | | | | | | | | | | * title attribute is missing on <iframe> tag suggested for embedding #3861 * fix #3901 * fix: escapeHTML #3901 * fix: playlist title instead of video title #3901 * fix #3901 * assign title directly #3901
* video embed: use instance name as html titlekontrollanten2020-12-141-0/+1
|
* video-embed: inject custom CSSkontrollanten2020-12-141-0/+1
| | | | closes #3420
* Upgrade sequelize to v6Chocobozzz2020-12-091-16/+15
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-3/+39
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* Refactor a little bit client canonical URLChocobozzz2020-12-081-4/+33
|
* Set canonical link to original video/playlist urlThomas Citharel2020-12-081-5/+13
| | | | | | The local URL was used instead of the original url Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-5/+6
|
* Hide dock if there are no title/descriptionChocobozzz2020-11-101-3/+3
|
* Add site_name to opengraph tagsChocobozzz2020-09-041-3/+8
|
* Remove debugChocobozzz2020-08-261-2/+0
|
* Inject plugin CSS in embed tooChocobozzz2020-08-241-0/+21
|
* Fix twitter embedChocobozzz2020-08-071-1/+7
|
* Handle playlist oembedChocobozzz2020-08-071-11/+45
|
* Reorganize shared modelsChocobozzz2020-08-071-1/+1
|
* Add fcbk open-graph and twitter-card metas for accounts, video-channels, ↵Kim2020-07-311-64/+194
| | | | | | | | | | | | | | | | | 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>
* Fix lintChocobozzz2020-07-101-2/+2
|
* Add ability to override client assets : logo - favicon - PWA icons - PWA ↵Kim2020-07-101-1/+16
| | | | | | | | | | | | | | | 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>
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Handle external login errorsChocobozzz2020-05-041-1/+1
|
* Move to eslintcontainChocobozzz2020-02-031-12/+12
|
* Accessibility fixes for #2149Rigel Kent2020-01-211-2/+9
|
* Add correct status on not found videoChocobozzz2020-01-091-1/+4
|
* Update validator dependencyChocobozzz2020-01-071-1/+1
|