aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/client-html.ts
Commit message (Collapse)AuthorAgeFilesLines
* Support video views/viewers stats in serverChocobozzz2022-04-151-1/+1
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Disallow unlisted video indexationChocobozzz2022-04-081-0/+2
|
* Fix client html cache on theme updateChocobozzz2022-03-171-3/+2
|
* Remove uneeded memoizeChocobozzz2022-03-081-12/+4
|
* Fix client html performance regressionChocobozzz2022-02-281-3/+11
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * client: remove unused file * refactor(client/my-actor-avatar): size from input Read size from component input instead of scss, to make it possible to use smaller avatar images when implemented. * implement avatar miniatures close #4560 * fix(test): max file size * fix(search-index): normalize res acc to avatarMini * refactor avatars to an array * client/search: resize channel avatar to 120 * refactor(client/videos): remove unused function * client(actor-avatar): set default size * fix tests and avatars full result When findOne is used only an array containting one avatar is returned. * update migration version and version notations * server/search: harmonize normalizing * Cleanup avatar miniature PR Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix plaintext markdown converterChocobozzz2022-02-041-4/+4
|
* 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
|