Commit Graph

26 Commits

Author SHA1 Message Date
Chocobozzz
a68ccaead6
(breaking): Always list nsfw videos in playlists
Keep the same behaviour as unlisted videos
The frontend is in charge to blur the video element if the nsfw setting
is "hide" or "blur"
2023-01-19 15:04:10 +01:00
Chocobozzz
8c4bbd946d
Refactor model utils 2023-01-10 11:56:08 +01:00
Chocobozzz
4638cd713d
Don't inject untrusted input
Even if it's already checked in middlewares
It's better to have safe modals too
2022-11-15 14:41:55 +01:00
Chocobozzz
8633ad22a7
Fix AP element with deleted video federation 2022-06-21 08:59:46 +02:00
kontrollanten
d0800f7661
Implement avatar miniatures (#4639)
* 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>
2022-02-28 08:34:43 +01:00
Chocobozzz
6b5f72beda
Move typescript utils in its own directory 2021-12-16 18:04:16 +01:00
Chocobozzz
9b293cd6a2
Update torrent metadata on video update 2021-12-08 11:07:19 +01:00
Chocobozzz
11a554cfcf
Fix unused parameter 2021-11-16 09:29:54 +01:00
Chocobozzz
16c016e8b1
Stricter models typing 2021-05-12 14:12:14 +02:00
Chocobozzz
b49f22d8f9 Upgrade sequelize to v6 2020-12-09 11:41:22 +01:00
Chocobozzz
371906639e Add ability to a video multiple times in a playlist 2020-08-19 11:30:21 +02:00
Chocobozzz
26d6bf6533
Split types and typings 2020-06-18 10:46:27 +02:00
Chocobozzz
5db4545cd2
Fix internal videos in playlists 2020-03-20 09:55:57 +01:00
Chocobozzz
a15871560f
Move to eslint 2020-02-03 08:31:02 +01:00
Chocobozzz
7cde3b9c2e
Update validator dependency 2020-01-07 15:56:07 +01:00
Chocobozzz
d5d9b6d7bf
Update server dependencies 2019-10-21 15:03:28 +02:00
Chocobozzz
b5fecbf441
Type toActivityPubObject functions 2019-08-21 15:23:04 +02:00
Chocobozzz
1ca9f7c3f7
Type toFormattedJSON 2019-08-20 19:23:10 +02:00
Chocobozzz
453e83ea5d
Stronger model typings 2019-08-19 17:26:35 +02:00
Chocobozzz
65af03a241
Automatically update playlist thumbnails 2019-08-01 16:54:24 +02:00
Chocobozzz
bfbd912886 Fix broken playlist api 2019-08-01 09:11:04 +02:00
Chocobozzz
1735c82572
Update sequelize 2019-04-24 16:26:20 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/ 2019-04-11 14:26:41 +02:00
Chocobozzz
df0b219d36 Add playlist rest tests 2019-03-18 11:17:59 +01:00
Chocobozzz
07b1a18aa6 Add playlist check param tests 2019-03-18 11:17:59 +01:00
Chocobozzz
418d092afa Playlist server API 2019-03-18 11:17:59 +01:00