PeerTube/server/core/lib
Chocobozzz 5cb3e6a0b8
Use sessionId instead of IP to identify viewer
Breaking: YAML config `ip_view_expiration` is renamed `view_expiration`
Breaking: Views are taken into account after 10 seconds instead of 30
seconds (can be changed in YAML config)

Purpose of this commit is to get closer to other video platforms where
some platforms count views on play (mux, vimeo) or others use a very low
delay (instagram, tiktok)

We also want to improve the viewer identification, where we no longer
use the IP but the `sessionId` generated by the web browser. Multiple
viewers behind a NAT can now be able to be identified as independent
viewers (this method is also used by vimeo or mux)
2024-04-04 16:27:40 +02:00
..
activitypub Fix creating remote tracker URLs on video creation 2024-03-27 15:26:15 +01:00
auth Ensure user is owned by plugin before updating it 2023-12-06 08:43:19 +01:00
files-cache Fix lint 2024-02-22 10:32:28 +01:00
html Generate small versions of banners too 2024-03-27 15:08:09 +01:00
job-queue Method typo 2024-03-25 15:14:56 +01:00
live Optimize transcoding profile building 2024-03-19 09:53:59 +01:00
model-loaders Implement user import/export in server 2024-02-21 13:49:08 +01:00
notifier Add notification on subscription live stream 2024-02-15 14:06:25 +01:00
object-storage Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
opentelemetry Fix deprecated OTEL API 2024-02-21 16:24:21 +01:00
plugins feat(plugins): add peertubeHelpers.loadByIdOrUUIDWithFiles (#6302) 2024-04-04 08:20:09 +02:00
runners Fix cancel on stall error message 2024-03-19 08:39:41 +01:00
schedulers Fix cancel on stall error message 2024-03-19 08:39:41 +01:00
transcoding Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
user-import-export Generate small versions of banners too 2024-03-27 15:08:09 +01:00
views Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
worker Fix CPU going to 100% on odd cpu count 2023-11-28 13:32:51 +01:00
actor-follow-health-cache.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
blocklist.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
emailer.ts Move email templates in assets directory 2024-03-20 09:15:07 +01:00
hls.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
internal-event-emitter.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
local-actor.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
local-video-creator.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
moderation.ts Refactor uploadx middlewares 2024-02-21 13:49:08 +01:00
paths.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
peertube-socket.ts Fix lint 2024-02-22 10:32:28 +01:00
rate.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
redis.ts Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
redundancy.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
search.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
server-config-manager.ts Optimize config endpoint 2024-03-12 16:00:51 +01:00
signup.ts Fix signup and import 2023-10-11 15:58:16 +02:00
stat-manager.ts Add total moderators/admins in stats 2024-02-23 15:04:18 +01:00
sync-channel.ts More robust channel sync 2024-02-16 10:14:12 +01:00
thumbnail.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
timeserie.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
uploadx.ts chore: fix some comments 2024-03-18 08:12:12 +01:00
user.ts Add total video file size column in users list 2024-02-21 15:28:38 +01:00
video-blacklist.ts Prevent aborting another live session 2024-03-18 16:09:22 +01:00
video-captions.ts Refactor caption creation 2024-02-21 13:49:08 +01:00
video-channel.ts Refactor caption creation 2024-02-21 13:49:08 +01:00
video-chapters.ts Fix duplicate chapters error 2024-01-18 09:17:13 +01:00
video-comment.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
video-file.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
video-jobs.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
video-path-manager.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
video-playlist.ts Fix playlist elements merge on import 2024-02-28 15:55:37 +01:00
video-pre-import.ts chore: fix some comments 2024-03-18 08:12:12 +01:00
video-privacy.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
video-state.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
video-studio.ts Add video aspect ratio in server 2024-02-27 15:24:34 +01:00
video-tokens-manager.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
video-urls.ts Update server dependencies 2023-10-11 11:06:34 +02:00
video.ts Support chapter import/export 2024-02-21 13:49:08 +01:00