aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/utils.ts
Commit message (Collapse)AuthorAgeFilesLines
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 broken depChocobozzz2022-02-091-3/+2
|
* Update server dependenciesChocobozzz2022-02-091-1/+1
|
* Update server dependenciesChocobozzz2022-01-141-1/+2
|
* Fix sequelize order typingsChocobozzz2021-10-221-3/+3
|
* Refactor getOrCreateAPVideoChocobozzz2021-06-021-0/+4
|
* Stricter models typingChocobozzz2021-05-121-4/+3
|
* add sort select to my videos, change default sort to -publishedAtRigel Kent2021-04-061-0/+8
| | | | fixes #3779
* Fix video comments display with deleted commentsChocobozzz2021-02-191-1/+1
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-1/+2
|
* Keep displayName as valid playlist sortChocobozzz2020-12-011-2/+13
|
* Optimize comment RSS sql queryChocobozzz2020-08-201-0/+25
|
* Reorganize client shared modulesChocobozzz2020-06-231-18/+0
|
* Block comments from muted accounts/serversChocobozzz2020-05-291-4/+1
| | | | | | | | | | | | Add better control for users of comments displayed on their videos: * Do not forward comments from muted remote accounts/servers (muted by the current server or by the video owner) * Do not list threads and hide replies (with their children) of accounts/servers muted by the video owner * Hide from RSS comments of muted accounts/servers by video owners Use case: * Try to limit spam propagation in the federation * Add ability for users to automatically hide comments on their videos from undesirable accounts/servers (the comment section belongs to videomakers, so they choose what's posted there)
* Use video abuse filters on client sideChocobozzz2020-05-071-54/+6
|
* parseQueryStringFilter cleanupChocobozzz2020-05-061-11/+3
|
* Fix rowsPerPage change, add filter clear button, update video-abuse-list ↵Rigel Kent2020-05-041-11/+16
| | | | search query param dynamically
* Switching to a named filters/single input on video-abuseRigel Kent2020-05-041-1/+50
|
* Factorize rest-table and fix/simplify SQLRigel Kent2020-05-011-3/+5
|
* Add filter inputs for blacklisted videos and muted accounts/serversRigel Kent2020-05-011-2/+13
|
* Add video file metadata to download modal, via ffprobe (#2411)Rigel Kent2020-03-101-0/+18
| | | | | | | | | | | | | | | | | | | * Add video file metadata via ffprobe * Federate video file metadata * Add tests for file metadata generation * Complete tests for videoFile metadata federation * Lint migration and video-file for metadata * Objectify metadata from getter in ffmpeg-utils * Add metadataUrl to all videoFiles * Simplify metadata API middleware * Load playlist in videoFile when requesting metadata
* Rewrite video list in raw SQLChocobozzz2020-03-101-17/+21
|
* Move to eslintcontainChocobozzz2020-02-031-2/+2
|
* Update validator dependencyChocobozzz2020-01-071-1/+1
|
* Add comment filtering by reply countRigel Kent2019-12-271-0/+14
|
* Add more filters to admin follows tableChocobozzz2019-11-291-0/+14
|
* Add ability to disable webtorrentChocobozzz2019-11-251-1/+1
| | | | In favour of HLS
* Fix blacklist sortChocobozzz2019-09-041-5/+5
|
* Automatically remove bad followingsChocobozzz2019-08-061-3/+17
|
* Sort on videoQuotaUsed in backendChocobozzz2019-07-251-0/+2
|
* Add language filters in user preferencesChocobozzz2019-06-191-3/+9
|
* Upgrade sequelizeChocobozzz2019-04-241-1/+11
|
* Update sequelizeChocobozzz2019-04-241-17/+31
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+0
|
* Refresh playlistsChocobozzz2019-03-191-1/+11
|
* Playlist server APIChocobozzz2019-03-181-3/+18
|
* Fix video sortChocobozzz2018-12-181-1/+5
|
* Add history on server sideChocobozzz2018-12-181-1/+1
| | | | Add ability to disable, clear and list user videos history
* Add ability to mute a user/instance by server in server apiChocobozzz2018-10-161-2/+0
|
* Add ability for users to block an account/instance on server sideChocobozzz2018-10-161-0/+18
|
* Fix videos overview tags sectionChocobozzz2018-08-311-5/+8
|
* Trending by intervalChocobozzz2018-08-311-10/+34
|
* Cleanup utils helperChocobozzz2018-08-141-0/+3
|
* Optimize search SQL query (I hope :p)Chocobozzz2018-07-271-13/+1
|
* Fix last commitChocobozzz2018-07-261-1/+1
|
* Add videos list filtersChocobozzz2018-07-241-1/+1
|
* Begin advanced searchChocobozzz2018-07-241-2/+50
|
* Fix sort inconsistencyChocobozzz2018-02-191-7/+7
|
* Move models to typescript-sequelizeChocobozzz2017-12-131-8/+9
|
* Handle blacklist (#84)Green-Star2017-09-221-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Client: Add list blacklist feature * Server: Add list blacklist feature * Client: Add videoId column * Server: Add some video infos in the REST api * Client: Add video information in the blacklist list * Fix sortable columns :) * Client: Add removeFromBlacklist feature * Server: Add removeFromBlacklist feature * Move to TypeScript * Move to TypeScript and Promises * Server: Fix blacklist list sort * Server: Fetch videos informations * Use common shared interface for client and server * Add check-params remove blacklisted video tests * Add check-params list blacklisted videos tests * Add list blacklist tests * Add remove from blacklist tests * Add video blacklist management tests * Fix rebase onto develop issues * Server: Add sort on blacklist id column * Server: Add blacklists library * Add blacklist id sort test * Add check-params tests for blacklist list pagination, count and sort * Fix coding style * Increase Remote API tests timeout * Increase Request scheduler API tests timeout * Fix typo * Increase video transcoding API tests timeout * Move tests to Typescript * Use lodash orderBy method * Fix typos * Client: Remove optional tests in blacklist model attributes * Move blacklist routes from 'blacklists' to 'blacklist' * CLient: Remove blacklist-list.component.scss * Rename 'blacklists' files to 'blacklist' * Use only BlacklistedVideo interface * Server: Use getFormattedObjects method in listBlacklist method * Client: Use new coding style * Server: Use new sort validator methods * Server: Use new checkParams methods * Client: Fix sortable columns