Chocobozzz
bd911b54b5
Use bullmq job dependency
2022-08-09 09:18:07 +02:00
Chocobozzz
5a921e7b74
Move to bullmq
2022-08-09 09:18:07 +02:00
Chocobozzz
5e2afe4290
Limit import depending on transcoding resolutions
2022-08-09 09:18:07 +02:00
Chocobozzz
64fd6158fd
Fix resolution to transcode hook name
2022-08-09 09:18:07 +02:00
Chocobozzz
84cae54e7a
Add option to not transcode original resolution
2022-08-09 09:18:07 +02:00
Chocobozzz
0260dc8aca
Add channel server hooks
2022-08-03 11:24:42 +02:00
Chocobozzz
ebb9e53ada
Add plugin hook on transcoding resolutions building
2022-08-02 16:05:44 +02:00
Chocobozzz
1bb4c9ab2e
Add ability to delete a specific video file
2022-08-01 14:55:10 +02:00
Chocobozzz
eb7b48ce84
Prevent logging an error on lazy static 404
2022-07-27 14:38:07 +02:00
Chocobozzz
927fa4b11f
Add rejected state to follows
...
Prevent reprocessing already rejected follows
2022-07-27 13:52:13 +02:00
Chocobozzz
1cc9774668
Fix incorrect error logs
2022-07-18 11:55:13 +02:00
Chocobozzz
42b4063699
Add ability for client to create server logs
2022-07-18 11:37:18 +02:00
Chocobozzz
ba2684cedd
Fix lint
2022-07-13 12:14:26 +02:00
Chocobozzz
f7ce623db1
Don't log error on static 404
2022-07-13 11:21:19 +02:00
Chocobozzz
ea8107bff8
Split static router
2022-07-13 11:16:29 +02:00
Chocobozzz
f614635d6a
Fix unknown infohash setting
2022-07-11 14:37:58 +02:00
Chocobozzz
17d85f48b5
Fix unknown infohash skip log
2022-07-06 16:19:08 +02:00
Chocobozzz
9452d4fd33
/!\ Use a dedicated config file for development
...
It means you have to replace NODE_ENV=test to NODE_ENV=dev if you use it
npm run dev:* commands are already updated
2022-07-06 16:12:17 +02:00
Chocobozzz
a4152bed14
Add ability to disable unknown infohash log
2022-06-30 09:13:11 +02:00
Chocobozzz
4fae2b1f30
Rename video full loading
2022-06-28 15:06:15 +02:00
Chocobozzz
e722fb5923
Merge branch 'release/4.2.0' into develop
2022-06-27 10:36:31 +02:00
Chocobozzz
41e74ec9cd
Fix broken feeds with published live
2022-06-27 10:36:16 +02:00
Chocobozzz
c53853ca1b
Introduce worker threads to process remote images
2022-06-24 16:31:48 +02:00
kontrollanten
2e401e8575
store uploaded video filename ( #4885 )
...
* store uploaded video filename
closes #4731
* dont crash if videos channel exist
* migration: use raw query
* video source: fixes after code review
* cleanup
* bump migration
* updates after code review
* refactor: use checkUserCanManageVideo
* videoSource: add openapi doc
* test(check-params/video-source): fix timeout
* Styling
* Correctly set original filename as source
Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-06-21 15:31:25 +02:00
Durgaraj Karki
c8bac5396c
fixes video not played from defined parameters in embed service ( #5023 )
...
* fixes video not played from defined parameters in embed service
* adds parameters to the oembed services
* Styling
Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-06-21 14:38:15 +02:00
Chocobozzz
0f07c28951
Correctly handle unknown remote actor image size
2022-06-20 11:48:40 +02:00
Chocobozzz
aa2ce188d1
Optimize view endpoint
2022-06-17 14:56:16 +02:00
Chocobozzz
e771ff815d
Merge branch 'release/4.2.0' into develop
2022-06-03 14:32:44 +02:00
Chocobozzz
62f53731cf
Fix invalid download filename
2022-06-03 14:28:43 +02:00
Chocobozzz
e5a781ec25
Bypass rate limits for admins and moderators
2022-05-30 11:39:44 +02:00
Chocobozzz
db9d882c25
Add ability to set default feed items count
2022-05-24 15:56:23 +02:00
Chocobozzz
87a0cac618
Improve admin users list table
...
* Fix last login sort with null values
* Remember last selected columns
* Display last login date by default
2022-05-24 15:29:17 +02:00
Chocobozzz
f40712abbb
Add ability to filter overall video stats by date
2022-05-06 14:23:02 +02:00
Chocobozzz
49f0468d44
Add filter by start/end date overall stats in api
2022-05-05 14:13:14 +02:00
Chocobozzz
bae616273d
Convert followers/following in raw SQL queries
...
Prevent weird bug in SQL generation
2022-05-05 10:29:35 +02:00
Chocobozzz
26e3e98ff0
Support live session in server
2022-05-03 14:49:15 +02:00
Chocobozzz
961cbe4269
Fix getting live by anonymous user
2022-04-22 09:50:20 +02:00
Chocobozzz
901bcf5c18
Add ability to set start/end date to timeserie
2022-04-15 09:49:35 +02:00
Chocobozzz
ac907dc7c1
Improve viewer counter
...
More precise, avoid weird decrease, reuse an id to federate viewers
2022-04-15 09:49:35 +02:00
Chocobozzz
b211106695
Support video views/viewers stats in server
...
* 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
2022-04-15 09:49:35 +02:00
Chocobozzz
a219c9100b
Refactor AP context builder
2022-03-24 09:40:46 +01:00
Chocobozzz
7e98a7df7d
Remove activitypub helper
...
Put functions in lib/activitypub instead
2022-03-23 14:24:50 +01:00
Chocobozzz
92e66e04f7
Rename studio to editor
2022-03-22 17:24:32 +01:00
Chocobozzz
1808a1f8e4
Add video edition finished notification
2022-03-22 16:25:14 +01:00
Chocobozzz
57e4e1c1a9
Don't store remote rates of remote videos
...
In the future we'll stop to expose all available rates to improve users
privacy
2022-03-18 11:21:50 +01:00
Chocobozzz
f012319a64
Process video torrents in order
...
Prevent update before video torrent generation for example
2022-03-16 15:45:58 +01:00
Chocobozzz
f443a74649
Add latency setting support
2022-03-09 09:23:10 +01:00
Chocobozzz
ab4b897499
Merge branch 'release/4.1.0' into develop
2022-03-04 17:01:02 +01:00
Chocobozzz
907ba7e270
Fix live update error
2022-03-04 17:00:53 +01:00
Chocobozzz
d3d3deaa7a
Refactor user build and express file middlewares
2022-03-04 10:57:36 +01:00
kontrollanten
c5ca7e1e0c
add filter:api.video-playlist.videos.list.* hooks
...
closes #4775
2022-02-28 10:56:37 +01:00
Chocobozzz
c729caf6cc
Add basic video editor support
2022-02-28 10:42:19 +01: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
bdb54e6f8c
Use local URL for feed guid
2022-02-22 11:16:29 +01:00
Chocobozzz
474542d7ac
Add additional checks when importing a video
2022-02-09 11:54:18 +01:00
Chocobozzz
4393b2552c
Move to peertube feed fork
2022-02-07 09:38:24 +01:00
Chocobozzz
c68e2b2d22
Fix plaintext markdown converter
2022-02-04 10:38:32 +01:00
Chocobozzz
0f11ec8dd3
Prevent HLS transcoding after webtorrent transcoding
2022-02-01 11:27:38 +01:00
Chocobozzz
228d8e8e47
Convert markdown to html/plain text for feeds
2022-01-31 10:07:38 +01:00
Chocobozzz
d511df2890
Add ability to filter my imports by target URL
2022-01-19 14:58:16 +01:00
Chocobozzz
419b520ca4
Add ability to cancel & delete video imports
2022-01-19 14:31:05 +01:00
Chocobozzz
7177b46ca1
Add ability to delete history element
2022-01-18 11:23:41 +01:00
Chocobozzz
2f0a0ae217
Upgrade uploadx dependency
2022-01-18 10:47:26 +01:00
Chocobozzz
cbe2f36d93
Fix audio transcoding with video only file
2022-01-06 17:55:37 +01:00
Chocobozzz
c3edc5b074
Merge branch 'release/4.0.0' into develop
2022-01-06 13:31:37 +01:00
Chocobozzz
795212f7ac
Prevent caption listing of private videos
2022-01-06 13:27:29 +01:00
Chocobozzz
0628157fe9
Move uuid stuff in extra utils
...
Since it requires an external dependency
2021-12-29 14:44:58 +01:00
Chocobozzz
d17c7b4e8c
Fix shared imports
2021-12-24 10:14:47 +01:00
Chocobozzz
482b26231b
Fix audio only transcoding
2021-12-23 10:57:55 +01:00
lutangar
5e3d29ab21
Add video caption created and deleted hooks
2021-12-23 09:35:35 +01:00
Chocobozzz
c55e3d7227
Move test functions outside extra-utils
2021-12-17 12:24:03 +01:00
Chocobozzz
6b5f72beda
Move typescript utils in its own directory
2021-12-16 18:04:16 +01:00
Chocobozzz
b65de1be4d
Use different p2p policy for embeds and webapp
2021-12-16 10:08:55 +01:00
Chocobozzz
a9bfa85d2c
Add ability for admins to set default p2p policy
2021-12-16 10:08:55 +01:00
lutangar
06aad80165
chore(refactor): remove shared folder dependencies to the server
...
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
2021-12-16 10:08:43 +01:00
Chocobozzz
3cf68b869d
Ability for admins to set default upload values
2021-12-14 17:17:01 +01:00
kontrollanten
a37e9e74ff
Give moderators access to edit channels ( #4608 )
...
* give admins access to edit all channels
closes #4598
* test(channels): +admin update another users channel
* Fix tests
* fix(server): delete another users channel
Since the channel owner isn't necessary the auth user we need to check
the right account whether it's the last video or not.
* REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL
Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to
MANAGE_ANY_VIDEO_CHANNEL.
* user-right: moderator can't manage admins channel
* client: MyVideoChannelCreateComponent > VideoChannelCreateComponent
* client: MyVideoChannelEdit > VideoChannelEdit
* Revert "user-right: moderator can't manage admins channel"
This reverts commit 2c627c154e
.
* server: clean dupl validator functionality
* fix ensureUserCanManageChannel usage
It's not async anymore.
* server: merge channel validator middleares
ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets
merged into one middleware.
* client(VideoChannelEdit): redirect to prev route
* fix(VideoChannels): handle anon users
* client: new routes for create/update channel
* Refactor channel validators
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-13 15:29:13 +01:00
Chocobozzz
d17d743051
Add upload/import/go live video attributes hooks
2021-12-10 13:51:44 +01:00
Chocobozzz
0fbc0dec59
Fix tests
2021-12-09 15:44:54 +01:00
Chocobozzz
9e847c17f9
No notification on moderator abuse
2021-12-09 14:27:32 +01:00
Chocobozzz
650580504c
Add filter:api.server.stats.get.result hook
2021-12-09 14:09:24 +01:00
Chocobozzz
6ba93fa639
Fix torrent metadata update for hls
2021-12-09 11:23:02 +01:00
Chocobozzz
38d69d6501
Update torrents info name on video update
2021-12-08 16:12:49 +01:00
Chocobozzz
9b293cd6a2
Update torrent metadata on video update
2021-12-08 11:07:19 +01:00
Chocobozzz
d9f9804d86
Merge branch 'release/4.0.0' into develop
2021-12-07 11:06:57 +01:00
Chocobozzz
6e14e40053
Fix iframe allow-popups for oembed
2021-12-07 11:06:35 +01:00
Chocobozzz
80badf493a
Add mute status in account and channel pages
2021-12-07 09:46:01 +01:00
Chocobozzz
0bc53e2029
Add ability to redirect users on external auth
2021-12-03 17:04:47 +01:00
Chocobozzz
6d472b4046
Decrease time to cleanup resumable uploads
2021-12-03 14:01:38 +01:00
John Livingston
3a1157a68a
CLI: plugins install command accept a --plugin-version parameter. ( #4599 )
...
* CLI: plugins install command accept a --plugin-version parameter.
* Unit tests for plugins install --plugin-version.
* Fix linting.
* Styling
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-03 10:14:01 +01:00
kontrollanten
5fc44b57f8
Add header Vary Accept-Language ( #4588 )
...
* nginx: add header Vary Accept-Language
solves #3647
* Revert "nginx: add header Vary Accept-Language"
This reverts commit 90dccf5324
.
* add resp header Vary Accept-Language
solves #3647
* don't add vary header to embed page
2021-12-02 09:14:54 +01:00
lutangar
7226e90fdc
Add `req` and `res` as controllers hooks parameters
...
Hooks prefixed by `action:api` now give access the original express req and res.
Checkout guide.md for possible usage.
2021-11-25 09:54:22 +01:00
Chocobozzz
ad5db1044c
Add ability to run transcoding jobs
2021-11-18 15:20:57 +01:00
Chocobozzz
b46cf4b920
Add ability to remove hls/webtorrent files
2021-11-18 09:04:30 +01:00
Chocobozzz
b3ed044ded
Simplify search video channel
2021-11-16 13:52:46 +01:00
Chocobozzz
11a554cfcf
Fix unused parameter
2021-11-16 09:29:54 +01:00
Chocobozzz
527a52ac42
Add ability to filter out public videos from admin
2021-11-12 14:23:22 +01:00
Chocobozzz
8db19c959e
Remove contributors list from /about/peertube
...
Some contributors don't want to be associated to a particular peertube
instance
2021-11-12 11:00:51 +01:00
Chocobozzz
597f771f3f
Fix video update transaction
2021-11-10 15:52:22 +01:00
Chocobozzz
a2a81f5a7f
Prevent concurrent video update
2021-11-10 14:57:09 +01:00