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
kontrollanten
6f6abcabfb
feat(plugins): add peertubeHelpers.loadByIdOrUUIDWithFiles ( #6302 )
2024-04-04 08:20:09 +02:00
kontrollanten
cd42491cf0
feat: add support for sub routes under /my-account ( #6218 )
...
* feat: add support for sub routes under /my-account
closes #6217
* feat(plugins/client-routes): page titles
Add support for adding custom page titles in client routes.
* fix(client/PluginPages): reload component upon URL change
* Styling
* docs(plugins): update registerClientRoute
---------
Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-04-04 08:17:59 +02:00
Chocobozzz
4b18b0880d
Fix tests
2024-04-03 16:40:43 +02:00
Chocobozzz
7816fa4d48
Fix lint
2024-04-03 16:16:06 +02:00
Chocobozzz
61fec4e4ef
Better seconds to time formatting
2024-04-03 14:50:30 +02:00
Chocobozzz
9b70c8e7e8
Do not take into account empty view sections
2024-04-03 14:25:21 +02:00
kontrollanten
1b323f4f65
feat(plugins): add req.rawBody for routes
...
Stripe webhooks endpoints requires to read the raw request body.
https://docs.stripe.com/webhooks#verify-webhook-signatures-with-official-libraries
2024-04-02 11:06:34 +02:00
Chocobozzz
107e6e73a6
Fix import tests
2024-04-02 11:05:00 +02:00
Chocobozzz
7eb0189b73
Fix config test with parallel tests
2024-03-28 10:03:47 +01:00
Chocobozzz
81963e0c6e
Simplify config test
2024-03-28 09:20:23 +01:00
Chocobozzz
817f754c22
Remove difficult to maintain config update method
2024-03-28 09:10:36 +01:00
Chocobozzz
11521f231f
Generate small versions of banners too
2024-03-27 15:08:09 +01:00
kontrollanten
aaa5acbb0c
feat(plugins): add filter:api.user.me.get.result
...
relates to #6219
2024-03-27 13:32:53 +01:00
Chocobozzz
ca889dbbb8
Ensure time to int returns an integer
2024-03-27 09:04:34 +01:00
Chocobozzz
a246c44504
Support tr locale
2024-03-26 14:25:12 +01:00
Chocobozzz
a159b8b517
Add ability to list and delete original file
...
In admin
2024-03-26 14:10:02 +01:00
Chocobozzz
058ef6912c
Remove deprecated transcoding type
2024-03-25 15:17:02 +01:00
Chocobozzz
da63a030f3
Also add "allow-forms" to oembed
2024-03-19 15:29:32 +01:00
Chocobozzz
302fd93c49
Disable http metrics by default
...
Can lead to performance issues on prometheus side and peertube side if
many different URLs have been called on peertube side (google indexation
for example)
2024-03-19 14:52:41 +01:00
Chocobozzz
c09e27d77a
Optimize transcoding profile building
2024-03-19 09:53:59 +01:00
Chocobozzz
4e98d843da
Success on update "not in processing state" error
...
Or the job is never "ended"
2024-03-19 09:26:40 +01:00
Chocobozzz
798d8d37ee
Use more specific name
2024-03-18 11:28:43 +01:00
soonsouth
01af40a55f
chore: fix some comments
...
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-18 08:12:12 +01:00
chagai95
e57c3024f4
Add config option to keep original video file (basic first version) ( #6157 )
...
* testing not removing old file and adding columb to db
* implement feature
* remove unnecessary config changes
* use only keptOriginalFileName, change keptOriginalFileName to keptOriginalFilename for consistency with with videoFile table, slight refactor with basename()
* save original video files to dedicated directory original-video-files
* begin implementing object storage (bucket) support
---------
Co-authored-by: chagai.friedlander <chagai.friedlander@fairkom.eu>
Co-authored-by: Ian <ian.kraft@hotmail.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-03-15 15:47:18 +01:00
Chocobozzz
0f67adf98a
Fix live state on user archive import
2024-03-12 11:11:53 +01:00
Chocobozzz
46950fbcc8
Fix encoder after transcoding profile deletion
2024-03-12 10:44:20 +01:00
Chocobozzz
4e29a6f7ba
Improve storyboard grid algorithm
...
Try to reduce missing sprites at the end of the video
2024-03-12 06:29:56 +01:00
Chocobozzz
888b142e2e
Fix storyboard generation with some videos
...
Where `t` variable is never an integer due to our setpts formula
2024-03-11 15:40:14 +01:00
Chocobozzz
4596ec2a9f
Add ability to sort videos by file size
2024-03-08 15:15:03 +01:00
Chocobozzz
10e78bb778
Remove twitter whitelisted option
...
It doesn't seem to be required
2024-03-08 10:54:29 +01:00
Chocobozzz
98781f353d
Add user history in import/export
2024-02-28 16:48:59 +01:00
Chocobozzz
7be401ac76
Fix playlist elements merge on import
2024-02-28 15:55:37 +01:00
Chocobozzz
f6fb7cd3e9
Ensure server actor AP object has avatars
2024-02-28 14:47:39 +01:00
Chocobozzz
4434e78c56
Fix tests
2024-02-28 10:00:01 +01:00
Chocobozzz
a4b497c2a9
Add postingRestrictedToMods to channels AP objects
...
See https://github.com/LemmyNet/lemmy/issues/3837
2024-02-27 15:46:38 +01:00
Chocobozzz
b6b1aaa56f
Add video aspect ratio in server
2024-02-27 15:24:34 +01:00
Chocobozzz
68d006b6fc
Add config to disable storing lives in s3
2024-02-26 16:14:40 +01:00
Chocobozzz
109e93c139
Generate 600x600 and 1500x1500 avatars
2024-02-26 15:00:22 +01:00
Chocobozzz
fb2dc40858
Improve generated image quality
2024-02-26 11:33:17 +01:00
Chocobozzz
1abf74e464
Try to re-fix tests
2024-02-26 09:36:11 +01:00
Chocobozzz
e2b2c46339
Fix tests
2024-02-23 16:29:52 +01:00
Chocobozzz
094accd873
Fix CI
2024-02-23 15:07:09 +01:00
Chocobozzz
0165786f65
Add total moderators/admins in stats
2024-02-23 15:04:18 +01:00
Chocobozzz
bb7cb0d2fd
Add ability to set avatar to instance
2024-02-23 14:27:11 +01:00
Chocobozzz
db06d13c67
Fix typescript tests
2024-02-23 08:33:01 +01:00
Chocobozzz
9e2700b89d
Fix lint
2024-02-22 10:32:28 +01:00
Chocobozzz
0648d57870
Add total video file size column in users list
2024-02-21 15:28:38 +01:00
Chocobozzz
db69d9491e
Add abuse and registration requests stats
2024-02-21 14:57:20 +01:00
Chocobozzz
00ee54329a
Improve a little bit completeVideoCheck
2024-02-21 13:49:08 +01:00