Chocobozzz
eebd9838f0
Add filter hook to forbid embed access
2021-03-24 18:18:41 +01:00
Chocobozzz
4bc45da342
Add hooks support for video download
2021-03-24 18:18:41 +01:00
Chocobozzz
97aeb3cc46
Fix external on logout hook
2021-03-24 18:18:41 +01:00
Chocobozzz
c2bd7a6fcf
Add regenrate thumbnails scripts
2021-03-24 18:18:41 +01:00
Chocobozzz
f43db2f46e
Refactor auth flow
...
Reimplement some node-oauth2-server methods to remove hacky code needed by our external
login workflow
2021-03-24 18:18:41 +01:00
Chocobozzz
cae2df6bdc
Stricter email options typings
2021-03-24 18:18:41 +01:00
Chocobozzz
32a18cbf33
Add new plugin/peertube version notifs
2021-03-24 18:18:41 +01:00
Chocobozzz
829523cfa5
Reduce bundle size using a const enum
2021-03-24 18:18:40 +01:00
Chocobozzz
ae71acca14
Check ffmepg version on startup
2021-03-24 18:18:40 +01:00
Chocobozzz
e7053b1d9d
Fix AP security tests
2021-03-24 18:18:40 +01:00
Chocobozzz
266131e0ca
Don't skip all threads on AP fetcher error
2021-03-24 18:18:40 +01:00
Chocobozzz
e5abb482c3
Fix index search
2021-03-24 18:18:40 +01:00
Chocobozzz
43b513660b
Fix AP flag validator
2021-03-24 18:18:40 +01:00
Chocobozzz
5a2c0f0c99
Bigger video thumbnails for feeds
2021-03-24 18:18:40 +01:00
Chocobozzz
b5c361089f
Fix 404 AP status codes
2021-03-24 18:18:40 +01:00
Chocobozzz
b329abc2f0
Fix request body limit
2021-03-24 18:18:40 +01:00
Chocobozzz
18b24b2dc5
Add jobs tag to logger
2021-03-24 18:18:40 +01:00
Chocobozzz
db4b15f21f
Use got instead of request
2021-03-24 18:18:40 +01:00
Chocobozzz
67f87b66fe
Refactor a little bit AP validators
2021-03-24 18:18:40 +01:00
Chocobozzz
452b3bea08
Introduce tags to the logger
...
That could help to filter unneeded logs and/or select particular
components
2021-03-24 18:18:40 +01:00
Chocobozzz
61fd98341f
Fix mention notification with deleted comment
2021-03-22 09:49:23 +01:00
Chocobozzz
42ec411bf8
Fix abuse tests
2021-03-09 16:10:52 +01:00
Chocobozzz
a2eba50b8e
Fix moderation notification
2021-03-04 16:16:37 +01:00
Chocobozzz
dbb15e371a
Increase timeouts
2021-03-04 09:40:17 +01:00
Chocobozzz
fbd51e69f2
Upgrade server dependencies
2021-03-03 16:14:32 +01:00
Chocobozzz
5a22296bdb
Fix broken hot algorithm
2021-03-03 13:52:58 +01:00
Chocobozzz
534556052e
Optimize views sort sql query
2021-03-03 11:24:16 +01:00
Chocobozzz
6c9c3b7b14
Fix emptying video tags
2021-03-03 11:03:30 +01:00
Chocobozzz
1ef447bd83
Don't create another uneeded preview placeholder
2021-03-03 11:02:34 +01:00
Chocobozzz
cd2c3dcdc4
Remove unnecessary transcoding job error
2021-03-03 10:23:05 +01:00
Chocobozzz
dcd75f786c
Rename request timeout
2021-03-03 10:10:55 +01:00
Chocobozzz
67bd004d84
Increase broadcast concurrency
2021-03-03 10:09:34 +01:00
Chocobozzz
74d249bc13
Add ability to cleanup remote AP interactions
2021-03-03 10:08:08 +01:00
Chocobozzz
095e225804
Add a test for refreshing remote keys
2021-02-26 14:44:34 +01:00
Chocobozzz
8795d6f254
Fix broken local actors
...
Some channels can't federate because they don't have public/private
keys, maybe because the generation failed for various reasons
2021-02-26 14:22:25 +01:00
Chocobozzz
92315d979c
More robust channel change federation
2021-02-26 11:50:18 +01:00
Chocobozzz
23ac334389
Increase jobs request timeout
2021-02-26 10:48:12 +01:00
Chocobozzz
543442a3be
Add more AP stats to stats endpoint
...
It will help to understand if the federation correctly works or not
2021-02-26 10:28:11 +01:00
Chocobozzz
494df94036
Fix abuse crash on deleted video
2021-02-26 09:28:50 +01:00
Chocobozzz
88cfa3e8fa
Fix preview upload with capitalized ext
2021-02-26 09:16:31 +01:00
Chocobozzz
a77c7327a2
Fix process abuse transactions
2021-02-25 15:55:31 +01:00
Chocobozzz
e7812bf091
Add refresh_token_expires_in to oauth res
2021-02-25 15:25:48 +01:00
Chocobozzz
031ea8efed
Use named chunk for embed on analyze
2021-02-25 15:01:29 +01:00
Chocobozzz
d61893f723
Async torrent creation
2021-02-25 15:01:07 +01:00
Chocobozzz
d7df188f23
Fix separate SQL query for video get
2021-02-25 11:18:11 +01:00
Chocobozzz
0221f8c9b1
Trim video name also on server
2021-02-25 10:01:33 +01:00
Chocobozzz
e072fb1e16
Add m4a support
2021-02-25 09:14:24 +01:00
Chocobozzz
9556ce48e7
Fix async issues with channels list
2021-02-25 09:09:41 +01:00
Chocobozzz
70243d7a35
Correctly wait transcoding before federating
2021-02-22 10:35:37 +01:00
Chocobozzz
15bedeebd7
Fix loading things twice on trending page
2021-02-22 10:35:37 +01:00
Chocobozzz
94d721efdc
Fix stats tests
2021-02-19 16:29:00 +01:00
Chocobozzz
d7764e2eb7
Fix import script when using the search index
2021-02-19 15:04:58 +01:00
Chocobozzz
4cbdcf4409
Fix sending accept to old follows
2021-02-19 13:55:00 +01:00
Chocobozzz
300cb723eb
Fix tests
2021-02-19 11:27:38 +01:00
Chocobozzz
2a021e6cb6
Fix thread replies API response
2021-02-19 10:52:31 +01:00
Chocobozzz
285981f4dd
Optimize rate endpoint
2021-02-19 10:26:58 +01:00
Chocobozzz
9d6b9d10ef
Fix video comments display with deleted comments
2021-02-19 10:06:52 +01:00
Chocobozzz
fae6e4da8f
Try to speed up server tests
2021-02-19 09:36:50 +01:00
Chocobozzz
e33933e44c
Fix latest migrations
...
We made an historical mistake: we have a unique key on videoId,
resolution AND fps. But the filenames and torrent filenames do not have
fps in their name
Remove these duplicate entries
2021-02-19 08:41:32 +01:00
Chocobozzz
53c06121a4
Fix import tests
2021-02-18 14:08:16 +01:00
Chocobozzz
8efc27bf14
Cleanup
2021-02-18 13:38:09 +01:00
Chocobozzz
f66db4d5c8
Fix feeds
2021-02-18 13:38:09 +01:00
Chocobozzz
b3d5cb92b1
Add ability to update torrents cache in client
2021-02-18 13:38:09 +01:00
Chocobozzz
d9a2a03196
Don't guess remote tracker URL
2021-02-18 13:38:09 +01:00
Chocobozzz
2451916e45
Add video files migration
2021-02-18 13:38:09 +01:00
Chocobozzz
90a8bd305d
Dissociate video file names and video uuid
2021-02-18 13:38:09 +01:00
Chocobozzz
1664bc60eb
Optimize remote image processing
2021-02-16 10:36:44 +01:00
Chocobozzz
374b725df5
Optimize remote thumbnail processing
2021-02-16 10:36:44 +01:00
Chocobozzz
a35a22797c
Remove previous thumbnail if needed
2021-02-16 10:36:44 +01:00
Chocobozzz
6302d599cd
Generate a name for caption files
2021-02-16 10:36:44 +01:00
Chocobozzz
a8b1b40485
Generate a name for thumbnails
...
Allows aggressive caching
2021-02-16 10:36:44 +01:00
Chocobozzz
0472d474fd
Remove deprecated static routes
2021-02-16 10:36:44 +01:00
Chocobozzz
c15aff666d
Remove old code
...
We consider Dislike as a classic activity now
2021-02-12 14:53:07 +01:00
Chocobozzz
e3b4c084cd
Guess if we need to generate the thumbnail for imports
2021-02-12 09:37:01 +01:00
Chocobozzz
ff9112ad21
Increase logs test timeout
2021-02-11 14:34:55 +01:00
Chocobozzz
6559da2821
Allow plugins to load a video by id
2021-02-11 10:23:52 +01:00
Chocobozzz
44d1f7f2e8
Painfully debug concurrent import jobs
2021-02-09 11:46:30 +01:00
Chocobozzz
3933a127d2
Ensure we don't receive things from local actors
2021-02-08 16:06:32 +01:00
Chocobozzz
0c39df2536
Increase test timeout
2021-02-08 15:50:10 +01:00
Chocobozzz
9129b7694d
Allow to specify transcoding and import jobs concurrency
2021-02-08 15:38:45 +01:00
Chocobozzz
81b46cbc34
Optimize videos list API endpoint
2021-02-08 15:38:45 +01:00
Chocobozzz
9162476fe9
Support NodeJS 14 and 15, deprecate Node 10
2021-02-04 14:31:18 +01:00
Rigel Kent
3d4e112d16
add best trending strategy based on Reddit's best
...
inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/
this implementation only adds freshness, and doesn't personalize based
on subscribed communities yet.
2021-02-04 09:04:47 +01:00
Chocobozzz
f6267b6101
Upgrade tools dependencies
2021-02-03 13:49:56 +01:00
Chocobozzz
2e1e4af03b
Fix get video from redudancy
2021-02-03 09:57:47 +01:00
Chocobozzz
ba5a8d89bb
Update server dependencies
2021-02-03 09:45:08 +01:00
Chocobozzz
69eddafb17
Fix HLS generation after import script
2021-02-02 14:00:46 +01:00
Chocobozzz
aaedadd538
Transcode HLS playlists in a tmp directory
2021-02-02 11:50:29 +01:00
Chocobozzz
d8ba492119
Fix broken HLS playback with some audio streams
2021-02-02 11:19:46 +01:00
Chocobozzz
657bba2b29
Fix hls tests
2021-02-02 10:07:46 +01:00
Chocobozzz
40930fda86
Transcode audio uploads to lower resolutions
...
Better consistency
2021-02-02 09:45:42 +01:00
Chocobozzz
89613cb444
Purge entire video from redundancy
2021-02-02 08:50:30 +01:00
Chocobozzz
5e8dd6e08a
Fix lint
2021-02-01 16:05:22 +01:00
Chocobozzz
6d989edc66
Add ability to update plugin auth
2021-02-01 15:39:13 +01:00
Chocobozzz
6949a1a111
Fix tests
2021-02-01 15:03:28 +01:00
Chocobozzz
56df7815b5
Fix URI search config update
2021-02-01 11:30:01 +01:00
Chocobozzz
7e3592d70b
Correctly remove torrents with HLS only
2021-02-01 11:23:12 +01:00
Chocobozzz
7448551fe5
Fix redundancy with HLS only files
2021-02-01 11:23:12 +01:00
Chocobozzz
33c7131be5
Check banned status for external auths
2021-02-01 11:23:11 +01:00
Chocobozzz
7519c4a27b
Fix tests
2021-01-29 15:58:01 +01:00
Chocobozzz
a8537c622e
Use veryfast preset for default transcoding profile
2021-01-29 15:31:31 +01:00
Chocobozzz
789951460b
Try to support other codecs
2021-01-29 14:05:41 +01:00
Chocobozzz
ffd970faf9
Don't quick transcode if using a custom profile
2021-01-29 14:05:41 +01:00
Chocobozzz
2498aaead1
Add plugin transcoding profile guide
2021-01-29 14:05:41 +01:00
Chocobozzz
b3eafc5fc5
Reduce transcoding overhead by disabling resolutions
2021-01-29 08:44:36 +01:00
Chocobozzz
80ac2e5548
Support transcoding profile in client admin
2021-01-28 16:10:09 +01:00
Chocobozzz
1896bca09e
Support transcoding options/encoders by plugins
2021-01-28 15:55:39 +01:00
Chocobozzz
529b37527c
Use a profile manager for transcoding
2021-01-28 15:55:39 +01:00
Rigel Kent
923d3d5ad5
add test and openapi for hot sort parameter
2021-01-28 15:55:34 +01:00
Rigel Kent
ba5d4a849c
move from trending routes to alg param
2021-01-28 15:55:34 +01:00
Rigel Kent
3da68f0a78
add default trending page choice, revert comments count for hot strategy
2021-01-28 15:55:34 +01:00
Rigel Kent
28eeb811c4
only count comments from people other than the video author
2021-01-28 15:55:34 +01:00
Rigel Kent
5bcbcbe338
modularize abstract video list header and implement video hotness recommendation variant
2021-01-28 15:55:34 +01:00
Chocobozzz
7a4994873c
Fix rss feed with HLS videos
2021-01-27 16:42:13 +01:00
Chocobozzz
00b87c5791
Fix live RAM usage when ffmpeg is too slow
2021-01-27 12:05:10 +01:00
Chocobozzz
a4a8cd3971
Add missing niceness to ffmpeg thumbnail processes
2021-01-27 09:09:59 +01:00
Chocobozzz
e9cb361cf5
Fix tests
2021-01-26 11:37:31 +01:00
Chocobozzz
e08ff02a9f
Allow webp image uploads
2021-01-26 10:29:57 +01:00
Chocobozzz
d223dca0cd
Reformat sql console output
2021-01-26 10:03:41 +01:00
Chocobozzz
1e743faafe
Disable sql prettifier by default
...
It adds too much lines, leading to difficulties when reading dev logs
2021-01-26 09:54:32 +01:00
Chocobozzz
448487a602
Fix sendmail emailer
2021-01-26 09:28:49 +01:00
Florent
82f5527fc3
add option for video-import CLI to wait between two video imports ( #3310 )
...
* peertube-import-videos: Add --wait-interval option
* peertube-import-videos: various code style improvements
Co-authored-by: Florent F <florent.fayolle69@gmail.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2021-01-25 15:42:44 +01:00
Rigel Kent
2a6cf69cff
prettify SQL queries during debug ( #3635 )
...
* prettify SQL queries during debug
* Use sql-formatter
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-01-25 15:37:41 +01:00
Chocobozzz
6939cbac48
Safely remove webtorrent files
...
Only remove them on max quality HLS playlist generation
2021-01-25 14:38:52 +01:00
Chocobozzz
77d7e851dc
Add priority to transcoding jobs
...
(1 = highest priority)
100 for new resolutions
10 for original file optimization
Add a malus for transcoding jobs depending on how many uploads the user did in the
last 7 days
2021-01-25 14:38:52 +01:00
Chocobozzz
24516aa26a
Refactor transcoding job handlers
2021-01-21 15:58:17 +01:00
Chocobozzz
3b01f4c0ac
Support progress for ffmpeg tasks
2021-01-21 14:42:43 +01:00
Chocobozzz
a4d2ca0715
Add user video list hooks
2021-01-20 15:28:34 +01:00
Chocobozzz
70fdff3d4e
Serve AP objects for default account/channel pages
2021-01-20 11:48:59 +01:00
Chocobozzz
471251fa14
Fix error log
2021-01-20 09:50:22 +01:00
Chocobozzz
86f553fbdf
Fix raw file import
2021-01-20 08:45:21 +01:00
Chocobozzz
805b8619c1
Fix (again) youtube import
2021-01-19 16:36:21 +01:00
Rigel Kent
370240824e
Allow users/visitors to search through an account's videos ( #3589 )
...
* WIP: account search
* add search to account view
* add tests for account search
2021-01-19 13:43:33 +01:00
Chocobozzz
03aa518e54
Fix manifest
2021-01-19 10:47:04 +01:00
Chocobozzz
9f39c5466e
Fix user notification test
2021-01-19 08:35:44 +01:00
Chocobozzz
969e59d17d
Fix youtube import
2021-01-18 14:29:16 +01:00
Chocobozzz
17e6974409
Fix lint
2021-01-18 11:59:14 +01:00
Chocobozzz
a8a63b1ffe
Fix youtube-dl format fallback
2021-01-18 11:40:31 +01:00
Chocobozzz
1d22d2514f
Fix service worker
2021-01-18 11:16:37 +01:00
Chocobozzz
83befebe52
Increase test timeout
2021-01-18 09:52:05 +01:00
Rigel Kent
454c20fa7c
stricter youtubedl format selectors ( #3516 )
...
* stricter youtubedl format selectors
make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding
* add support for merge formats in youtubedl
* avoid vp9.2 in youtubedl to avoid any HDR
* move getEnabledResolutions, safer replace of imported extension
* add test for youtube-dl selectors
2021-01-15 15:56:56 +01:00
Chocobozzz
d43c6b1ffc
Implement remote interaction
2021-01-15 10:49:10 +01:00
Chocobozzz
dd9c7929e6
Display debug ffmpeg stdout/stderr
2021-01-15 10:23:40 +01:00
Chocobozzz
53d43fc914
Remove unused tracker param
2021-01-15 10:23:40 +01:00
Chocobozzz
c9c43612d5
Fix lint
2021-01-13 10:15:38 +01:00
Chocobozzz
f5961a8cdf
Add 4k transcoding test
2021-01-13 09:52:52 +01:00
Chocobozzz
78d62f4d18
Fix and add skipping ping log tests
2021-01-13 09:38:19 +01:00
Rigel Kent
7abb6060a9
specific niceness for live transcoding
2021-01-13 09:16:44 +01:00
Rigel Kent
d8b34ee55b
Allow user to search through their watch history ( #3576 )
...
* allow user to search through their watch history
* add tests for search in watch history
* Update client/src/app/shared/shared-main/users/user-history.service.ts
2021-01-13 09:16:15 +01:00
Johan Fleury
12c1e38df2
feat: allow administrator to disable logging of ping requests
2021-01-13 09:14:43 +01:00
Rigel Kent
b7085c7132
add support for 1440p (Quad HD/QHD/WQHD) videos
2021-01-13 09:14:09 +01:00
Rigel Kent
7185dab3ff
add test for script printing command
2021-01-13 09:13:31 +01:00
Rigel Kent
0984960345
add script printing command to generate a resolution for a given file
2021-01-13 09:13:31 +01:00
Rigel Kent
1ea7da819e
add ability to remove one's avatar for account and channels ( #3467 )
...
* add ability to remove one's avatar for account and channels
* add ability to remove one's avatar for account and channels
* only display avatar edition options after input change
2021-01-13 09:12:55 +01:00
Chocobozzz
26171379d0
Use source sans 3 font
2021-01-13 09:05:22 +01:00
Chocobozzz
8ace68056d
Increase test timeout
2021-01-12 09:02:40 +01:00
Chocobozzz
55a5b0fd8d
Update translations
2021-01-11 16:05:10 +01:00
Chocobozzz
b14e8e461f
Fix tracker IP with reverse proxy
2021-01-11 15:45:04 +01:00
Chocobozzz
a11a782f5c
Fix duplicate entry in job list page
2021-01-11 15:39:15 +01:00
Chocobozzz
1acb947504
Retrieve user by id instead of username
2021-01-11 13:53:08 +01:00
Chocobozzz
b3fa96eea0
Don't reject accounts with empty description
2021-01-11 11:06:11 +01:00
Chocobozzz
c2b823826d
Log RTMP server error (address already in use)
2021-01-11 09:33:14 +01:00
Chocobozzz
4f20856ed4
Add more hints regarding live port
2021-01-11 09:20:44 +01:00
Chocobozzz
f42c21528b
Increase live test timeout
2021-01-08 12:11:45 +01:00
Chocobozzz
66dbfa1f30
Reduce inbox stats updated interval
2021-01-08 11:59:42 +01:00
Chocobozzz
adc8e7e19f
Fix ldap test port
2021-01-04 11:21:19 +01:00
Chocobozzz
f0484f7a16
Fix autoblacklist notification issue
2021-01-04 10:50:47 +01:00
Chocobozzz
027e308099
Don't crash on youtube-dl update write error
2021-01-04 10:05:47 +01:00
Chocobozzz
2dbc170da3
Add missing audit log if the user deletes its account
2021-01-04 09:54:48 +01:00
Chocobozzz
cc49be3e35
Fix views processing hour 0
2020-12-30 14:29:17 +01:00
Chocobozzz
47d8e266f1
Support activeMonth and activeHalfyear in nodeinfo
2020-12-30 11:41:36 +01:00
Chocobozzz
a046453549
Increase notifications comment test timeout
2020-12-30 11:27:59 +01:00
Chocobozzz
24198e976f
Styling
2020-12-30 11:26:24 +01:00
Theodore R. Smith
8e76aa1d75
( #3520 ) [cli] Hardened `auth add`: No longer fails with extraneous characters.
...
**The Solution:**
I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL.
**The Problem:**
When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port.
For instance, if there was a trailing / in your instance URL, before this commit it will always fail with
expected 200 "OK", got 404 "Not Found".
It took me over 20 minutes to figure out that this was the problem.
See Issue #3091 .
2020-12-27 14:29:54 -06:00
Chocobozzz
f88453e233
Fix build
2020-12-22 16:49:17 +01:00
Chocobozzz
236841a1d7
Force HLS transcoding
...
Fix weird behaviour with some web browsers. Don't really know if it's a
ffmpeg bug, a safari bug or a peertube bug, but forcing transcoding
seems to fix this playback bug
2020-12-22 16:04:42 +01:00
Chocobozzz
9cfeb3cf98
Fix redundancy federation in some cases
2020-12-17 09:23:57 +01:00
Chocobozzz
9e454eba57
More robust server stats tests
2020-12-16 14:59:33 +01:00
Chocobozzz
1ab6024345
Fix live badge in videos list
2020-12-16 14:19:43 +01:00
Chocobozzz
54363cffa4
Fix stats tests
2020-12-16 10:36:15 +01:00
Chocobozzz
496b5a5bf6
Increase test timeout
2020-12-15 15:09:12 +01:00
Chocobozzz
99afa081bc
Add AP stats
2020-12-15 13:34:58 +01:00
Chocobozzz
c9bc850e93
Use -1 for max live duration unlimited
2020-12-15 09:26:37 +01:00
Chocobozzz
113d4a3f73
Only link to crowdfunding pages in credits
2020-12-14 16:08:15 +01:00
kontrollanten
40c52969f7
emails: remove hardcoded PeerTube names
2020-12-14 15:37:29 +01:00
kontrollanten
2e4b8ae485
emailer: use instance name instead of hostname
2020-12-14 15:37:29 +01:00
kontrollanten
915e2bbb97
video embed: use instance name as html title
2020-12-14 15:25:51 +01:00
kontrollanten
2564d97e0d
video-embed: inject custom CSS
...
closes #3420
2020-12-14 15:25:51 +01:00
Chocobozzz
402145b863
Refactor jobs state
2020-12-14 12:00:35 +01:00
Chocobozzz
5721fd8374
Fix channels import with a channel with playlists
2020-12-14 09:55:30 +01:00
Chocobozzz
d8794cf855
More robust import script when using since/until
2020-12-14 09:55:30 +01:00
Chocobozzz
f98c395295
Keep scope in notifier
2020-12-14 09:34:47 +01:00
kontrollanten
b1771455af
fix(notifier): notifyModeratorsOfNewAbuse
...
closes #3445
2020-12-14 09:34:47 +01:00
Chocobozzz
59fd824cf3
Fix tests timeout
2020-12-14 09:11:27 +01:00
Chocobozzz
34caef7fc0
Add joblog at the end of ci
2020-12-14 09:11:27 +01:00
Chocobozzz
e078371807
Parse log script can take files as args
2020-12-14 09:11:27 +01:00
Rigel Kent
040d6896a3
add display of logs matching any state
2020-12-13 19:27:25 +01:00
Girish Ramakrishnan
75594f474a
do not crash if SMTP server is down
...
just log a warning if the SMTP server is down on startup time
fixes #3457
2020-12-12 08:50:59 +01:00
Chocobozzz
a800dbf345
Live views update
2020-12-09 16:31:42 +01:00
Chocobozzz
5cac83a78d
Refactor views component
2020-12-09 15:33:16 +01:00
Chocobozzz
0d8de2756f
Fix live tests
2020-12-09 14:45:47 +01:00
Chocobozzz
b49f22d8f9
Upgrade sequelize to v6
2020-12-09 11:41:22 +01:00
Rigel Kent
f2eb23cd87
emit more specific status codes on video upload ( #3423 )
...
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz
8e2392e512
Fix config test
2020-12-08 11:37:24 +01:00
Chocobozzz
a59f210ff3
Refactor a little bit client canonical URL
2020-12-08 11:15:11 +01:00
Thomas Citharel
e5024f5181
Add tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-08 11:15:11 +01:00
Thomas Citharel
106fa2249d
Set canonical link to original video/playlist url
...
The local URL was used instead of the original url
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-08 11:15:11 +01:00
kontrollanten
2805cb7cb6
server/mw/oauth: res.loc.auth to true upon auth
...
Setting res.locals.authenticated explicity to
true makes it's more clear whether the req is
authenticated when using optionalAuthenticate
middlware.
2020-12-08 10:40:08 +01:00
kontrollanten
f17faefb30
plugins: add optional authentication for routes
2020-12-08 10:40:08 +01:00
Chocobozzz
c824e8a0c7
Fix hook test
2020-12-08 10:38:47 +01:00
Chocobozzz
38267c0c8a
Use dedicated hooks for account/channel videos
2020-12-08 10:33:23 +01:00
kontrollanten
1bfc07e4cc
server accounts/videos: trigger filter hook
2020-12-08 10:33:23 +01:00
Chocobozzz
17b7d4b315
Don't allow manual redundancy of live videos
2020-12-07 16:07:52 +01:00
Chocobozzz
5b9b403a20
Fix replay last segments loop
2020-12-07 16:07:00 +01:00
Rigel Kent
2d53be0267
replace numbers with typed http status codes ( #3409 )
2020-12-07 14:32:36 +01:00
Chocobozzz
4ef9ea482f
Fix live transcoding tests
2020-12-04 16:41:03 +01:00
Chocobozzz
aa5ee5017a
Fix lint
2020-12-04 15:58:29 +01:00
Chocobozzz
e772bdf14c
Load video in permanent live after last one ended
2020-12-04 15:38:32 +01:00
Chocobozzz
3851e732c4
Fix audio issues with live replay
2020-12-04 15:10:13 +01:00
Chocobozzz
49bcdb0d66
Try to fix live freeze
2020-12-04 10:40:53 +01:00
Chocobozzz
55223d6574
Fix live transcoding threads config
2020-12-04 10:02:09 +01:00
Chocobozzz
e26dc0cdbd
Strict actor url comparison
2020-12-03 16:12:58 +01:00
Chocobozzz
5147a6d945
Try to fix non HTTPS remote accounts
2020-12-03 15:21:16 +01:00
Chocobozzz
bb4ba6d94c
Add permanent live support
2020-12-03 15:21:16 +01:00
Rigel Kent
d4132d3f56
more explicit error messages for file uploads
2020-12-03 10:15:49 +01:00
Chocobozzz
4a54a93941
Fix live invalid save replay duration
2020-12-03 10:05:10 +01:00
Chocobozzz
ffc12d3ad5
Increase live constraint test timeout
2020-12-02 16:58:45 +01:00
Chocobozzz
3a735f7df7
Prepare changelog
2020-12-02 14:24:07 +01:00
Chocobozzz
2650d6d489
Fix live replay duration glitch
2020-12-02 10:18:15 +01:00
Chocobozzz
49cff3a4c9
Keep displayName as valid playlist sort
2020-12-01 15:08:59 +01:00
Chocobozzz
d9550daf05
Add local actor follow url migration
2020-12-01 15:04:38 +01:00
Chocobozzz
9e3e4adc65
Add logs to fixture generations
2020-12-01 15:04:38 +01:00
Arman
117c643e45
Fix sort fields on Video Playlists
...
displayName does not exist in VideoPlaylistModel, the correct field is `name`
2020-12-01 14:58:35 +01:00
Chocobozzz
8c666c44ab
Fix live saving after a server restart
2020-11-30 17:03:13 +01:00
Chocobozzz
6cddd97d1d
Fix lint
2020-11-30 16:02:34 +01:00
Chocobozzz
937581b8f6
Fix high CPU with long live when save replay is true
2020-11-30 15:59:22 +01:00
Chocobozzz
bd2e2f11d0
Add inspect to test script
2020-11-30 15:06:25 +01:00
Chocobozzz
0484ec9e41
Try to fix live tests
2020-11-30 09:16:41 +01:00
Chocobozzz
4a7f90248b
Fix cors on sha segment endpoint
2020-11-27 17:09:36 +01:00
Chocobozzz
e5a516e702
More robust live test
2020-11-27 15:46:49 +01:00
Chocobozzz
9b337d8c0f
Fix 500 on unknown thread
2020-11-27 11:48:20 +01:00
Chocobozzz
353f8bc0c7
Add registered setting CLI plugin install test
2020-11-27 11:41:38 +01:00
Chocobozzz
0e856b78e9
Try to fix live test
2020-11-26 15:16:30 +01:00
Chocobozzz
ce4a50b99b
Fix "Too many packets buffered for output stream"
...
And move encoder global options in a global wrapper
2020-11-26 14:45:48 +01:00
Chocobozzz
fb4b3f91dc
Count only active lives for account limit
2020-11-26 14:08:31 +01:00
Chocobozzz
884d2c39ae
Fix live FPS limit
2020-11-26 11:30:18 +01:00
Chocobozzz
d07b2944db
Fix comment account external URL
...
It did not work, and I think it's better to target the local account
page anyway
2020-11-25 15:11:57 +01:00
Chocobozzz
a9d4c3c8ca
Avoid too large cert error messages
2020-11-25 14:43:43 +01:00
Chocobozzz
18490b0765
Fix migration and test
2020-11-25 11:07:56 +01:00
Rigel Kent
5beb89f223
refactor scoped token service
2020-11-25 11:07:56 +01:00
Rigel Kent
afff310e50
allow private syndication feeds via a user feedToken
2020-11-25 11:07:56 +01:00
Chocobozzz
f619de0e43
Add tests to gif resizer
2020-11-25 10:07:51 +01:00
Chocobozzz
6b67897e2e
Add transcoding module comments
2020-11-25 10:07:51 +01:00
Chocobozzz
33ff70baa6
Fix audio encoding params
2020-11-25 10:07:51 +01:00
Chocobozzz
ca5c612bfd
Add live transcoding bit rate tests
2020-11-25 10:07:51 +01:00
Chocobozzz
5a547f69d5
Support encoding profiles
2020-11-25 10:07:51 +01:00
Chocobozzz
9252a33d11
Export encoders options in a dedicated struct
2020-11-25 10:07:51 +01:00
Chocobozzz
daf6e48010
Split ffmpeg utils with ffprobe utils
2020-11-25 10:07:51 +01:00
Kimsible
123f619336
Add pixel size to tooltip and gif support with FFmpeg for avatar upload ( #3329 )
...
* Add avatar pixel size upload in tooltip
* Add gif support for avatar
* Add ffmpeg GIF process
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-25 09:26:31 +01:00
Chocobozzz
47e363bbe9
Relax live fps test
2020-11-20 15:39:24 +01:00
Chocobozzz
74fd2643b4
Provide express request to onLogout call
...
+ pluginInfo related changes
2020-11-20 15:36:43 +01:00
Chocobozzz
8f3ad70874
Fix transcoder test
2020-11-20 15:14:23 +01:00
Chocobozzz
d218e7de94
Do not transcode to an higher bitrate
...
Thanks bkil https://github.com/bkil
2020-11-20 15:11:31 +01:00
Chocobozzz
4749078b8a
Add actor follow url migration
2020-11-20 12:09:14 +01:00
Chocobozzz
55d5fbc583
Fix lint
2020-11-20 11:35:33 +01:00
Rigel Kent
64b5c2476a
remove outdated badges, add authorization to caption routes
2020-11-20 11:29:37 +01:00
Chocobozzz
de94ac86a2
Fix incorrect IDs in AP federation
2020-11-20 11:21:08 +01:00
Chocobozzz
fce7fe04ee
Update server dependencies
2020-11-19 09:07:20 +01:00
Chocobozzz
0aa52e1707
Add ability to display all channel/account videos
2020-11-18 15:29:38 +01:00
Chocobozzz
021c42657f
Try to fix multiple server tests
2020-11-18 14:15:25 +01:00
Chocobozzz
e0409585a7
Fix youtube-dl ipv4 PR
2020-11-18 14:11:15 +01:00
Mark Van den Borre
677012b4ee
default youtube-dl to use ipv4 ( #3311 )
...
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-18 14:06:20 +01:00
Chocobozzz
7f88a58e3f
Try to fix playlist tests
2020-11-18 13:41:27 +01:00
Chocobozzz
875f0610e4
Don't take into account ended lives in concurrent lives check
2020-11-18 11:32:57 +01:00
Chocobozzz
e14de000f9
Update live settings edge delay
2020-11-18 11:32:57 +01:00
Chocobozzz
ea3674d04d
Remove notifications of muted accounts/servers
2020-11-18 11:32:57 +01:00
Chocobozzz
3e8584b99a
Fix live tests
2020-11-17 16:14:11 +01:00
Chocobozzz
de29e90c37
Fix CLI import script
2020-11-17 15:28:24 +01:00
Chocobozzz
45c70083dd
Add html test for mentions too
2020-11-17 14:38:27 +01:00
Chocobozzz
9ff36c2d70
Refactor markdown/sanitize html code
2020-11-17 14:34:09 +01:00
Chocobozzz
9afb5c10e5
Add email markdown tests
2020-11-17 14:24:55 +01:00
Chocobozzz
5c0ecc340e
Disable HTTP import in push actions
2020-11-17 14:23:52 +01:00
Chocobozzz
1648dcb509
Increase live delay
2020-11-17 14:05:15 +01:00
Chocobozzz
6bff8ce23a
Process remaining segment hashes on live ending
2020-11-17 14:05:15 +01:00
Chocobozzz
19149d45b8
Merge branch 'feature/admin-comments' into develop
2020-11-16 13:57:14 +01:00
Chocobozzz
f127331459
Add admin view to manage comments
2020-11-16 13:48:58 +01:00
Kimsible
8872828d59
add client overrides to nginx configuration ( #3297 )
...
Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-16 10:34:05 +01:00
Chocobozzz
0f8d00e314
Implement video comment list in admin
2020-11-13 16:38:23 +01:00
Chocobozzz
5c0904fc66
Cleanup lives on server restart
2020-11-13 14:36:30 +01:00
Chocobozzz
786b855af7
Fix live sha segments with multiple resolutions
2020-11-13 12:02:29 +01:00
Chocobozzz
17119e4a54
Reorganize left menu and account menu
...
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
2020-11-13 12:02:21 +01:00
Chocobozzz
501af82d99
Delay notification when waiting for a live
2020-11-12 17:13:32 +01:00
Chocobozzz
2122606318
Increase live segment file name
2020-11-12 16:56:37 +01:00
Chocobozzz
6297bae0c1
Fix live infohash of original resolution
2020-11-12 16:55:13 +01:00
Chocobozzz
797d05bdd9
Force signed headers in http signatures
...
Thanks Roger
2020-11-12 16:29:32 +01:00
Chocobozzz
2a9562fc58
Increase tests waits
2020-11-12 16:29:32 +01:00
Arman
b8fa24491c
remove duplicate file checks in video model ( #3289 )
...
- server/models/video/video.ts (delete duplicate): build duplicate file id addition in buildAPIResult
2020-11-11 20:44:58 +01:00
Chocobozzz
adbf1ed8c4
Use our implementation of randomInt
2020-11-10 17:04:09 +01:00
Chocobozzz
b9da21bd5a
Hide dock if there are no title/description
2020-11-10 16:47:25 +01:00
Chocobozzz
2af337c839
Cleanup follows of orphean actors
2020-11-10 16:29:35 +01:00
Chocobozzz
b9cf3fb638
Fix email footer
...
Do not include notif preferences in contact form email
2020-11-10 15:56:13 +01:00
Chocobozzz
10c8b0b743
Fix comments federation
2020-11-10 15:26:33 +01:00
Chocobozzz
0223291c45
Delay video views scheduled job
...
To not overload the federation
2020-11-10 15:04:08 +01:00
Chocobozzz
7a4ea93246
Remove deprecated abuse api
2020-11-10 14:50:16 +01:00
Chocobozzz
403c69c5a3
Check threads resolve on non federated videos
2020-11-10 14:34:04 +01:00
Chocobozzz
210856a7be
Try to fix live segments check
2020-11-10 14:15:59 +01:00
Chocobozzz
52a350a15c
Fix muted accounts on overviews
2020-11-10 11:06:36 +01:00
Chocobozzz
998440b6ec
Fix live migrations
2020-11-10 10:45:20 +01:00
Chocobozzz
0b84383d48
Fix stat file size with HLS
2020-11-10 08:07:21 +01:00
Chocobozzz
439d68e537
Fix jobs pagination
2020-11-09 16:13:12 +01:00
Chocobozzz
c655c9ef6f
Update ffmpeg static version for tests
2020-11-09 15:33:04 +01:00
Chocobozzz
e4bf785617
Handle views for live videos
2020-11-09 15:33:04 +01:00
Chocobozzz
529f037294
Revert some mistakes
2020-11-09 15:33:04 +01:00
Chocobozzz
9e2b2e76ba
Don't add live videos in redundancy
2020-11-09 15:33:04 +01:00
Chocobozzz
3cabf3532b
Add live server hooks
2020-11-09 15:33:04 +01:00
Chocobozzz
c8f3cfeba7
Fix tests
2020-11-09 15:33:04 +01:00
Chocobozzz
053aed43fb
Regenerate miniature on live save
2020-11-09 15:33:04 +01:00
Chocobozzz
3bc68dfd61
Fix audio sync after saving replay
...
hls.js seems to not correctly handle audio gaps with fragmented mp4
(but can with a ts playlist)
2020-11-09 15:33:04 +01:00
Chocobozzz
ba881f0e3f
Reduce P2P blacklist in tracker
2020-11-09 15:33:04 +01:00
Chocobozzz
99fa5c5bad
Fix theater mode
2020-11-09 15:33:04 +01:00
Chocobozzz
bd54ad1953
Add live notification tests
2020-11-09 15:33:04 +01:00
Chocobozzz
68e70a745b
Add save replay live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
97969c4edf
Add check constraints live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
af4ae64f6f
Begin live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
77e9f859c6
Add check params live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
d988e9a2f8
Fix live infohash block
2020-11-09 15:33:04 +01:00
Chocobozzz
284ef52911
Fix live ending
2020-11-09 15:33:04 +01:00
Chocobozzz
a056ca4813
Add max lives limit
2020-11-09 15:33:04 +01:00
Chocobozzz
d846d99c6c
Add modal to display live information
2020-11-09 15:33:04 +01:00
Chocobozzz
31c82cd914
Fix replay saving
2020-11-09 15:33:04 +01:00
Chocobozzz
b5b687550d
Add ability to save live replay
2020-11-09 15:33:04 +01:00
Chocobozzz
ef680f6835
Save
2020-11-09 15:33:04 +01:00
Chocobozzz
fb7194043d
Check live duration and size
2020-11-09 15:33:04 +01:00
Chocobozzz
a5cf76afa3
Add watch messages if live has not started
2020-11-09 15:33:04 +01:00
Chocobozzz
de6310b2fc
Handle live federation
2020-11-09 15:33:04 +01:00
Chocobozzz
1ef65f4c03
Refactor video creation
2020-11-09 15:33:04 +01:00
Chocobozzz
c6c0fa6cd8
Live streaming implementation first step
2020-11-09 15:33:04 +01:00
Kimsible
98b9464312
render html/markdown for new comment notification email ( #3255 )
...
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-07 22:59:58 +01:00
Rigel Kent
44fb529740
add node-youtube-dl download host env var in auto-updater
2020-10-24 12:42:06 +02:00
Girish Ramakrishnan
313921b50f
Fix transcoding errors in readonly docker containers
...
ffmpeg seems to create some temporary files in the cwd. When PeerTube
is run in a read-only docker container, this causes all transcoding
to fail. As a workaround, we set the cwd to the configured tmp dir.
2020-10-23 14:51:44 +02:00
Chocobozzz
fb0f7f82e5
Fix re webtorrent transcoding
2020-09-09 10:14:33 +02:00
Chocobozzz
865af3fd7b
Add site_name to opengraph tags
2020-09-04 09:52:38 +02:00
Chocobozzz
3e3ae9668b
Increase videos search before test timeout
2020-08-28 08:23:15 +02:00
Chocobozzz
6055411221
Fix abuse reportee search query
2020-08-26 15:44:19 +02:00
Chocobozzz
25ae21107c
Fix tests
2020-08-26 15:22:26 +02:00
Chocobozzz
20dcfd7498
Deprecate old static routes
2020-08-26 15:03:00 +02:00
Chocobozzz
2199aaef6f
Remove debug
2020-08-26 09:38:22 +02:00
Chocobozzz
e6abf95e9f
Add redirection on unavailable video due to follow constraints
2020-08-26 09:14:14 +02:00
Chocobozzz
50fcdebdb1
Update server dependencies
2020-08-25 13:54:59 +02:00
Chocobozzz
07491f4b98
Add fixtures cache to github actions
2020-08-24 18:54:37 +02:00
Chocobozzz
a293ac71d8
Fix lint
2020-08-24 16:21:16 +02:00
Chocobozzz
de97d62109
Remove debug logs
2020-08-24 16:13:38 +02:00
Chocobozzz
97816649b7
Fix RSS feed when HLS only is enabled
2020-08-24 16:11:37 +02:00
Chocobozzz
74055dc882
Fix tests
2020-08-24 14:11:15 +02:00
Chocobozzz
8b6f0fd53d
Reorganize a little bit tests
2020-08-24 13:53:45 +02:00
Chocobozzz
1f5221fb4a
Move html injection plugin tests in its own file
2020-08-24 13:37:49 +02:00
Chocobozzz
b0ce7c39dc
Add ssl support to postgresql
2020-08-24 11:38:57 +02:00
Chocobozzz
4f24f16e27
Better error message on postgresql connection err
2020-08-24 11:34:15 +02:00
Chocobozzz
cf649c2ed9
Inject plugin CSS in embed too
2020-08-24 11:25:40 +02:00
Chocobozzz
5505981154
Fix auth add cli examples
2020-08-24 09:57:58 +02:00
Chocobozzz
7294aab0c8
Add ability to set custom field to video form
2020-08-21 15:39:51 +02:00
Chocobozzz
8054669f11
Optimize default sort when listing videos
...
createdAt does not have the appropriate index
2020-08-20 11:05:45 +02:00
Chocobozzz
1c58423f6c
Optimize comment RSS sql query
2020-08-20 11:05:45 +02:00
Chocobozzz
65b19fa479
Increase user notification test timeouts
2020-08-19 11:43:10 +02:00
Chocobozzz
cbb513e737
Add server migration for playlists
2020-08-19 11:30:21 +02:00
Chocobozzz
371906639e
Add ability to a video multiple times in a playlist
2020-08-19 11:30:21 +02:00
Rigel Kent
b056afe0ac
add .ac3, .aac audio and more video extensions
2020-08-18 09:54:05 +02:00
Chocobozzz
e9c5f12338
Do not reuse reset password links
2020-08-12 09:16:08 +02:00
Chocobozzz
07c01b3154
Add kabile to supported languages
2020-08-11 09:41:57 +02:00
kimsible
766d13b447
Make channelName optionnal in tests only and validators
...
Fix tests channel displayName
Make channelName in createUser optionnal on server side to not break api
Fix auto channelName with createUser in tests
2020-08-11 08:46:35 +02:00
kimsible
69db147043
Make channelName optionnal only for the API
2020-08-11 08:46:35 +02:00
kimsible
4e68fc8605
Add validator channelName for create-user api
2020-08-11 08:46:35 +02:00
kimsible
3d215dc5f9
Add channelName to user-create server-side and models
2020-08-11 08:46:35 +02:00
Chocobozzz
30bc55c88b
Refactor video extensions logic in server
2020-08-11 07:57:20 +02:00
Rigel Kent
fccbbc1a77
add and document new additional video extensions supported at upload
2020-08-10 09:46:59 +02:00
Chocobozzz
b96777c380
Fix twitter embed
2020-08-07 14:53:01 +02:00
Chocobozzz
951b582f52
Add ability to share playlists in modal
2020-08-07 13:43:48 +02:00
Chocobozzz
6fad8e51c4
Handle playlist oembed
2020-08-07 08:58:29 +02:00
Chocobozzz
9054a8b6e5
Handle playlist methods in embed api
2020-08-07 08:58:29 +02:00
Chocobozzz
5abc96fca2
Add logic to handle playlist in embed
2020-08-07 08:58:29 +02:00
Chocobozzz
a02b93ce75
Fix lint
2020-08-07 08:28:14 +02:00
Chocobozzz
bd45d503e5
Reorganize shared models
2020-08-07 08:28:14 +02:00
Chocobozzz
583eb04b54
Upgrade to angular 10
2020-08-07 08:28:14 +02:00
Chocobozzz
dca0fe12ec
Fix resolution for portrait videos
2020-08-03 16:03:52 +02:00
Chocobozzz
cb4eb74485
Increase redundancy check params timeout
2020-07-31 16:18:40 +02:00
Chocobozzz
d7b1c7b4f1
Fix video only HLS on ios
2020-07-31 13:49:36 +02:00
Chocobozzz
39433fa56c
Fix client tests
2020-07-31 13:20:25 +02:00
Chocobozzz
41130b4ce3
Fix tests
2020-07-31 11:35:19 +02:00
Chocobozzz
668b7f096e
Add openapi doc
2020-07-31 11:35:19 +02:00
Chocobozzz
d573926e9b
Add migrations for abuse messages
2020-07-31 11:35:19 +02:00
Chocobozzz
594d3e48d8
Add abuse messages/states notifications
2020-07-31 11:35:19 +02:00
Chocobozzz
94148c9028
Add abuse messages management in my account
2020-07-31 11:35:19 +02:00
Chocobozzz
441e453ae5
Add abuse message management in admin
2020-07-31 11:35:19 +02:00
Chocobozzz
edbc932546
Add server API to abuse messages
2020-07-31 11:35:19 +02:00
Chocobozzz
20516920d2
Increase timeout for moderation notifications
2020-07-31 11:32:04 +02:00
Chocobozzz
f9d2deae3a
Correctly test ldap
2020-07-31 11:32:04 +02:00
Chocobozzz
f4659d73fb
Don't run in parallel cli and plugin tests
2020-07-31 11:32:04 +02:00
Chocobozzz
7abb5c5da1
Use parallel to run tests in parallel
2020-07-31 11:32:04 +02:00
Chocobozzz
b488ba1e26
Don't rely on youtube for tests
...
Use another import URL when possible, and disable import tests when we
want to do a youtube import test
2020-07-31 11:32:04 +02:00
Kim
8d987ec63e
Add fcbk open-graph and twitter-card metas for accounts, video-channels, playlists urls ( #2996 )
...
* Add open-graph and twitter-card metas to accounts and video-channels
* Add open-graph and twitter-card to video-playlists watch view
* Refactor meta-tags creation server-side
* Add client.ts tests for account, channel and playlist tags
* Correct lint forbidden spaces
* Correct test regression on client.ts
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-31 11:29:15 +02:00
Rigel Kent
7b3909644d
test search for subscriptions and video-channels
2020-07-29 18:15:53 +02:00
Rigel Kent
225a7682e6
adapt notifications buttons for small screens
2020-07-29 18:15:53 +02:00
Rigel Kent
4f5d045960
harmonize search for libraries
2020-07-29 18:15:53 +02:00
Rigel Kent
bc99dfe54e
variable columns for users list, more columns possible, badge display for statuses
2020-07-29 18:15:53 +02:00
Rigel Kent
654a188f80
allow sorting notifications
2020-07-29 18:15:53 +02:00
Chocobozzz
ec903c010e
Merge branch 'release/2.3.0' into develop
2020-07-20 17:00:58 +02:00
kimsible
963023abe6
Fix: display username in password-reset and verify-email notifs
2020-07-20 16:56:32 +02:00
Chocobozzz
677ea3c084
Relax migrations
2020-07-11 08:58:06 +02:00
Chocobozzz
17aa80ed01
Merge branch 'release/2.3.0' into develop
2020-07-10 15:23:31 +02:00
Chocobozzz
1dee8d68cb
Fix video import tests
2020-07-10 14:56:17 +02:00
Chocobozzz
1878224214
Handle webp images from youtube-dl
2020-07-10 14:54:11 +02:00
Chocobozzz
cfde28bac3
Add ability to report account
2020-07-10 14:02:41 +02:00
Chocobozzz
8ca56654a1
Add ability to report comments in front end
2020-07-10 14:02:41 +02:00
Chocobozzz
310b5219b3
Add new abuses tests
2020-07-10 14:02:41 +02:00
Chocobozzz
811cef146c
Use raw sql for abuses
2020-07-10 14:02:41 +02:00
Chocobozzz
4f32032fed
Add migrations
2020-07-10 14:02:41 +02:00
Chocobozzz
57f6896f67
Implement abuses check params
2020-07-10 14:02:41 +02:00
Chocobozzz
d95d155988
Use 3 tables to represent abuses
2020-07-10 14:02:41 +02:00
Chocobozzz
1fdf8edb77
Fix lint
2020-07-10 10:51:07 +02:00
Kim
caf2aaf4f9
Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description ( #2897 )
...
* Add client-overrides storage to config
* Add static-serve for client overrides
* Move backgroun-image logo from bundle to css tag for runtime content hash
* Add dynamic JSON manifest
* Add content hash for manifest, favicon and logo
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-10 10:20:11 +02:00
Rigel Kent
ea7337cfde
add check-params test for user list
...
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent
8491293b02
add blocked filter in users list to filter banned users
...
fixes #2914
2020-07-02 22:50:33 +02:00
Chocobozzz
1e904cde34
Fix users tests
2020-07-02 14:23:50 +02:00
Rigel Kent
b8b3abac6a
fix change ownership typing
2020-06-28 22:45:27 +02:00
Rigel Kent
d473fd94ce
allow muting from the miniature options
...
initial implementation with a listing refresh except on search results
2020-06-28 16:55:17 +02:00
Rigel Kent
4c9e9d2ee9
align ownership change video list table with moderation tables
2020-06-28 16:20:23 +02:00
Rigel Kent
00494d6e2a
allow limiting video-comments rss feeds to an account or video channel
2020-06-27 13:20:59 +02:00
Rigel Kent
2c31866430
update openapi spec with links and callback for search
2020-06-27 13:12:34 +02:00
Chocobozzz
7820a54e5e
Close mock blocklit server when tests end
2020-06-26 14:51:01 +02:00
Chocobozzz
db48de8597
Block infohash spammers from tracker
2020-06-25 16:28:07 +02:00
Chocobozzz
d4bf24df8e
Add auto block videos plugin tests
2020-06-25 16:28:07 +02:00
Girish Ramakrishnan
6ee7221117
Add database.name config option
...
If database.name is set, we use it as the complete database name.
If unset, we use the "peertube"+database.suffix as the complete database
name.
Fixes #1620
2020-06-25 08:48:44 +02:00
Chocobozzz
67ed6552b8
Reorganize client shared modules
2020-06-23 16:00:49 +02:00
Rigel Kent
1ebddadd07
predefined report reasons & improved reporter UI ( #2842 )
...
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Chocobozzz
07aea1a264
Use TS_NODE_FILES instead of --files
...
Because --files does not work
2020-06-18 17:14:02 +02:00
Chocobozzz
c24aac6bc7
Fix tests
2020-06-18 13:39:13 +02:00
Chocobozzz
26d6bf6533
Split types and typings
2020-06-18 10:46:27 +02:00
Chocobozzz
67c604ae69
Fix server build
2020-06-17 12:42:16 +02:00
Chocobozzz
faa9d434b4
Update server dependencies
2020-06-17 11:42:50 +02:00
Chocobozzz
982f2fc9b4
Correctly fix subtitles import
2020-06-17 09:42:00 +02:00
Chocobozzz
8eb07b0130
Split notification tests
2020-06-16 15:55:42 +02:00
Chocobozzz
1ba471c55f
Add videos count in channels list
2020-06-16 14:13:01 +02:00
Chocobozzz
c7763eddd1
Fix getSubs import
2020-06-16 11:26:46 +02:00
John Livingston
212e17a189
Logging ip requesting unknown infoHash
2020-06-15 15:43:11 +02:00
Chocobozzz
fd261a8de9
Fix video view filename
2020-06-15 15:18:54 +02:00
Chocobozzz
ba11402435
Fix global search nsfw policy when logged in
2020-06-15 15:04:51 +02:00
Chocobozzz
1a40132c67
Use default nsfw instance policy for search index
2020-06-12 16:27:41 +02:00
Chocobozzz
5a61ffbb7c
Optimize views per day in video channels
2020-06-12 16:27:41 +02:00
Chocobozzz
e74bda21d1
Speed up videos indexation
...
And fetch video attributes after
2020-06-12 16:27:41 +02:00
Chocobozzz
8b381422b8
Fix lint
2020-06-12 08:27:59 +02:00
Rigel Kent
3487330d30
preserve original variable names server-side
2020-06-10 21:12:09 +02:00
Rigel Kent
5baee5fca4
rename blacklist to block/blocklist, merge block and auto-block views
...
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list
resolves #2790
2020-06-10 21:12:05 +02:00
Chocobozzz
f9b6d51f48
Fix tests
2020-06-10 15:35:20 +02:00
Chocobozzz
3521ab8fc0
Add search index tests
2020-06-10 14:02:41 +02:00
Chocobozzz
3b0bd70aa0
Add search target check params
2020-06-10 14:02:41 +02:00
Chocobozzz
f046e2fa5c
Fix video follow SQL
2020-06-10 14:02:41 +02:00
Chocobozzz
5fb2e2888c
First implem global search
2020-06-10 14:02:41 +02:00
Rigel Kent
62e7be634b
change fixtures to reflect output size of jimp
2020-06-10 14:01:49 +02:00
Rigel Kent
e6dfa58689
space optimizations for `node_modules` and client stats removal
...
- replace sharp with lighter jimp alternative
- remove stats in builds
fixes #2807
2020-06-10 14:01:49 +02:00
Chocobozzz
b84d4c809f
Fix video comments feed SQL query
2020-06-09 14:52:55 +02:00
Chocobozzz
4282dafc82
Add AP icons breaking change
2020-06-04 15:22:08 +02:00
Chocobozzz
5cb9f0f4f7
Send complete video description in AP messages
2020-06-04 15:17:20 +02:00
Chocobozzz
5072b90922
Sort AP files by resolution desc
2020-06-04 15:03:30 +02:00
Rigel Kent
81fe3c67c5
fix duplicate id in svg, empty alt in base email
2020-06-04 09:05:44 +02:00
Levi Bard
3092e9bbb0
Make federation of unlisted videos an instance-level server preference ( #2802 )
...
* Add preference for federating unlisted videos
* Connect unlisted video federation with new preference
* Apply pull request feedback
* Fix lint issues
* Remove preference for federating unlisted videos from web admin interface
2020-06-03 09:42:07 +02:00
Chocobozzz
78646451c9
Don't cache embed HTML file
2020-06-02 17:15:24 +02:00
Chocobozzz
b763f88dd0
Merge branch 'release/2.2.0' into develop
2020-06-02 09:31:30 +02:00
Chocobozzz
03fc19281b
Fix emails
2020-06-02 09:21:33 +02:00
Chocobozzz
696d83fd13
Block comments from muted accounts/servers
...
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)
2020-05-29 09:32:20 +02:00
Chocobozzz
72c33e716f
Support broadcast messages
2020-05-29 09:32:12 +02:00
Chocobozzz
8adf0a767f
Fix comments deleted display
2020-05-29 09:21:26 +02:00
Chocobozzz
444c0a0e01
Add ability to bulk delete comments
2020-05-29 09:21:26 +02:00
Chocobozzz
d2a5c4e150
Fix broken migration introduced in 2.2.0-rc.1
2020-05-25 08:59:59 +02:00
Chocobozzz
9a7fd9600b
Fix external auth email/password update
...
Also check if an actor does not already exist when creating the user
2020-05-20 10:17:27 +02:00
Chocobozzz
51539e95d9
Fix migrations
2020-05-18 09:43:36 +02:00
Rigel Kent
2158ac9034
Add server plugin filter hooks for import with torrent and url ( #2621 )
...
* Add server plugin filter hooks for import with torrent and url
* WIP: pre and post-import filter hooks
* Rebased
* Cleanup filters to accept imports
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-05-14 11:10:26 +02:00
Chocobozzz
7405b6ba89
Add missing channel playlists AP endpoint
2020-05-13 14:49:11 +02:00
Chocobozzz
a06581f296
Fix tests
2020-05-13 11:57:34 +02:00
Chocobozzz
9934b6f31e
Add missing playlist and playlistElement types in AP context
2020-05-13 10:53:18 +02:00
Chocobozzz
2ca154da93
Fix auto follow index URL
2020-05-12 09:37:39 +02:00
Chocobozzz
d253bfaaa5
Add other tests to external auth
2020-05-11 18:32:58 +02:00
Chocobozzz
c9215a1be0
Update code contributors
2020-05-11 13:43:56 +02:00
Chocobozzz
0f06c4de69
Add unique key on actor preferredUsername
2020-05-11 11:06:12 +02:00
Chocobozzz
95cd31f1fe
Allow to auto follow a specific URL
2020-05-11 10:53:06 +02:00
Chocobozzz
3a7a261f33
Add test for auto mute list router
2020-05-11 10:15:56 +02:00
Chocobozzz
81c647ff19
Cleanup oauth tokens cache
2020-05-11 08:40:38 +02:00
Rigel Kent
1d26d05fd9
Align follower handle display on instance display in tables
2020-05-08 15:31:51 +02:00
Rigel Kent
df4c603dea
Switch emails to pug templates and provide richer html/text-only versions
2020-05-08 15:31:51 +02:00
Chocobozzz
91b8e675e2
Improve auto mute tests
2020-05-07 17:08:16 +02:00
Chocobozzz
716adfaed6
Fix refresh token
2020-05-07 16:36:04 +02:00
Chocobozzz
8bff1fe009
Add auto mute plugin tests
2020-05-07 16:34:09 +02:00
Chocobozzz
faf174d043
Fix CLI build
2020-05-07 15:40:22 +02:00
Chocobozzz
80fdaf0645
Add moderation helpers to plugins
2020-05-07 15:07:01 +02:00
Chocobozzz
3cc665f48f
Add last login date to users
2020-05-07 10:39:09 +02:00
Chocobozzz
feb34f6b6b
Use video abuse filters on client side
2020-05-07 08:33:34 +02:00
Chocobozzz
1df8a4d79a
Fix comments feed with musted accounts
2020-05-06 14:12:12 +02:00
Chocobozzz
fc8aabd0bf
parseQueryStringFilter cleanup
2020-05-06 10:31:52 +02:00
Chocobozzz
ceba0e65d4
Fix lint
2020-05-06 08:48:06 +02:00
Chocobozzz
fde37dc99c
Add ability for video owners to delete comments
2020-05-05 17:22:11 +02:00
Chocobozzz
298b3fd315
Increase video comments limit
2020-05-05 16:48:30 +02:00
Chocobozzz
4c576aca1c
Fix playlist description length
2020-05-05 16:34:50 +02:00
Chocobozzz
1c32067367
Fix HLS audio only transcoding
2020-05-05 16:27:46 +02:00
Chocobozzz
7139845894
Sort outbox by desc created at order
2020-05-05 14:08:07 +02:00
Chocobozzz
8bb71f2e33
Add auth plugin info in users list
2020-05-05 13:54:30 +02:00
Rigel Kent
5140edafeb
Fix plugin-auth migration
2020-05-05 13:52:10 +02:00
Chocobozzz
7557704eec
Fix compat with peertube 2.1
2020-05-05 09:15:41 +02:00
Chocobozzz
97b65ce58a
Fix plugin storeData
2020-05-04 16:21:39 +02:00
Chocobozzz
15b4bcdf04
Fix plugin get settings
2020-05-04 16:21:39 +02:00
Chocobozzz
5644f9b035
Accept numbers in plugin names
2020-05-04 16:21:39 +02:00
Chocobozzz
bc90883f1a
Handle external login errors
2020-05-04 16:21:39 +02:00
Chocobozzz
a4995eb7ac
Add ability to unregister plugin auths
2020-05-04 16:21:39 +02:00
Chocobozzz
e9b0fa5c16
Auth plugin compat with regular user accounts
2020-05-04 16:21:39 +02:00
Chocobozzz
a5896799f1
Add plugin settings change watcher
2020-05-04 16:21:39 +02:00
Chocobozzz
dadc90bca2
Client calls revoke-token endpoint on logout
2020-05-04 16:21:39 +02:00
Chocobozzz
5a7eecdd56
Add config helper for plugins
2020-05-04 16:21:39 +02:00
Chocobozzz
ebefc902f5
Add external login buttons
2020-05-04 16:21:39 +02:00
Chocobozzz
9107d791e2
Add external login tests
2020-05-04 16:21:39 +02:00
Chocobozzz
4a8d113b9b
Begin support for external auths
2020-05-04 16:21:39 +02:00
Chocobozzz
98813e69bc
Check auth plugin result
2020-05-04 16:21:39 +02:00
Chocobozzz
829b794a85
Add plugin ldap tests
2020-05-04 16:21:39 +02:00
Chocobozzz
055cfb11a9
Add plugin auth migrations
2020-05-04 16:21:39 +02:00
Chocobozzz
e307e4fce3
Add ability for auth plugins to hook tokens validity
2020-05-04 16:21:39 +02:00
Chocobozzz
e1c5503114
Support logout and add id and pass tests
2020-05-04 16:21:39 +02:00
Chocobozzz
8dc8a34ee8
Avoir some circular dependencies
2020-05-04 16:21:39 +02:00
Chocobozzz
7fed637506
Begin auth plugin support
2020-05-04 16:21:39 +02:00
Rigel Kent
25a42e293b
Fix rowsPerPage change, add filter clear button, update video-abuse-list search query param dynamically
2020-05-04 15:01:44 +02:00
Rigel Kent
9b1fa49b60
Support is:blacklisted as video-abuse-list filter
2020-05-04 15:01:44 +02:00
Rigel Kent
0d3a2982a9
Switching to a named filters/single input on video-abuse
2020-05-04 15:01:44 +02:00
Rigel Kent
d1261d9a3c
Add links from user-edit
2020-05-01 16:41:02 +02:00
Rigel Kent
197876ea87
Add tests for video-abuse persistence after video deletion
2020-05-01 16:41:02 +02:00
Rigel Kent
efa012edad
Add reportee stats for deleted videos
2020-05-01 16:41:02 +02:00
Rigel Kent
0251197e24
Factorize rest-table and fix/simplify SQL
2020-05-01 16:41:02 +02:00
Rigel Kent
e0a929179a
Add filter inputs for blacklisted videos and muted accounts/servers
2020-05-01 16:41:02 +02:00
Rigel Kent
5fd4ca0051
Add nth abuse count for a given video, add reporter/reportee reports stats
2020-05-01 16:41:02 +02:00
Rigel Kent
844db39ee5
Add search for video, reporter and channel name fields
2020-05-01 16:41:02 +02:00
Rigel Kent
86521a67b2
Add video channel and video thumbnail, rework video appearance in row
2020-05-01 16:41:02 +02:00
Rigel Kent
68d19a0ace
Make sure a report doesn't get deleted upon the deletion of its video
2020-05-01 16:41:02 +02:00
Chocobozzz
c18431505f
Add API doc for playlists
2020-04-21 15:04:39 +02:00
Chocobozzz
193272b8a0
Do not display deleted comments in RSS feed
2020-04-21 09:27:42 +02:00
Chocobozzz
68b6fd21b1
Don't leak unlisted videos in comments feed
2020-04-21 09:01:39 +02:00
Chocobozzz
b3af2601da
Add ability to remove privacies using plugins
2020-04-20 15:42:27 +02:00
Chocobozzz
2fd59d7d89
Add ability to sort by originallyPublishedAt
2020-04-20 14:05:52 +02:00
Chocobozzz
86ad0cde9e
Add licence and language support to y-dl imports
2020-04-20 10:41:43 +02:00
Kim
b1770a0af4
Add thumbnail / preview generation from url on the fly ( #2646 )
...
* Add thumbnails generation on the fly to URL import
* Display generated preview to import first edit
* Use ternary to get type inference
* Move preview/thumbnail test just after import
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 10:28:38 +02:00
Chocobozzz
8f31261f77
Fix videos languages filter SQL query
2020-04-20 10:24:58 +02:00
Chocobozzz
6ed2e4eaf3
Fix tests correctly
2020-04-20 09:35:51 +02:00
Chocobozzz
0dd57e4d43
Fix tests
2020-04-20 09:04:38 +02:00
Chocobozzz
8a86e5dc4f
Use originallyPublishedAt from body on import if it exists
2020-04-17 14:35:13 +02:00
Chocobozzz
14cbb9a65a
Fix languageOneOf filter with only _unknown
2020-04-16 17:00:40 +02:00
Chocobozzz
2c0ccd4b3f
Do not support subscriptions to accounts
2020-04-16 16:37:25 +02:00
Chocobozzz
bd65cf02ff
Fix import/upload CLI options
2020-04-16 16:20:56 +02:00
Chocobozzz
5600def4c8
Fix user video quota with webtorrent disabled
2020-04-16 15:13:46 +02:00
Chocobozzz
62068f4153
Merge branch 'pr/2629' into develop
2020-04-15 14:16:40 +02:00
Chocobozzz
652c64165b
Fix import captions test
2020-04-15 14:15:44 +02:00
kimsible
ba6e9e8f1d
Add unit tests for captions via URL import
2020-04-14 17:23:01 +02:00
Rigel Kent
bb152476c8
Refactor follow/mute as modals in admin, add actions in abuse list
2020-04-14 15:53:37 +02:00
kimsible
50ad0a1c16
Add getSubs to YoutubeDL video import
2020-04-14 14:39:30 +02:00
Chocobozzz
f940e81469
Catch error in import script
2020-04-14 09:41:20 +02:00
Chocobozzz
a388781916
Add log in peertube watch script on error
2020-04-14 09:09:11 +02:00
Chocobozzz
3f956d431c
Add misc endpoints and helpers to npm test
2020-04-14 08:57:52 +02:00
Chocobozzz
d694b19344
Increase fetcher job ttl
2020-04-11 09:07:15 +02:00
Chocobozzz
670e955c22
Add CORS to AP routes
2020-04-10 15:52:01 +02:00
Chocobozzz
5e2b2e2775
Add ability for plugins to add custom routes
2020-04-10 15:23:25 +02:00
Rigel Kent
9afa0901f1
Fix lint for emailer
2020-04-10 14:26:42 +02:00
Ismaël Bouya
ed3f089cc7
Add sendmail
2020-04-10 10:20:06 +02:00
Chocobozzz
4d9ae8f7cf
Increase max page value
2020-04-10 09:46:01 +02:00
Chocobozzz
7cbbf79ff0
Check config resolutions keys
2020-04-10 08:55:21 +02:00
Chocobozzz
ab3ead3a6f
Add ability to remove a video from a plugin
2020-04-09 11:37:44 +02:00
Chocobozzz
1b05d82d86
Add SQL query support in plugins
2020-04-09 11:00:30 +02:00
Chocobozzz
bc0d801bb7
Refactor plugin helpers factory
2020-04-09 09:57:32 +02:00
Chocobozzz
00c228363f
Fix repl script
2020-04-09 08:39:44 +02:00
Chocobozzz
8c9e787526
Add ability to accept or not remote redundancies
2020-04-07 15:32:20 +02:00
Chocobozzz
edaf5b862a
Fix torrent import on windows
2020-04-07 10:40:52 +02:00
Chocobozzz
d57d1d83c6
Support audio files import
2020-04-03 15:41:39 +02:00
Chocobozzz
51892fe042
Fix typo in db field check
2020-04-03 14:08:27 +02:00
Chocobozzz
a2b6ec7c3f
Fix video codec in HLS playlist
2020-04-03 14:07:00 +02:00
Chocobozzz
3d3bb23816
Update CLI dependencies
2020-04-02 14:09:33 +02:00
Chocobozzz
ded739eb38
Fix CLI tools typings
2020-04-01 17:04:12 +02:00
Chocobozzz
93708d4e40
Fix sitemap
2020-04-01 17:02:52 +02:00
Chocobozzz
d96994289b
Update server dependencies
2020-04-01 14:46:53 +02:00
Rigel Kent
3d527ba173
Use inner join and document code for viewr stats for channels
2020-03-31 10:29:24 +02:00
Rigel Kent
714bfcc556
Tests for viewsPerDay
2020-03-31 10:29:24 +02:00
Rigel Kent
747c562837
Put channel stats behind withStats flag
2020-03-31 10:29:24 +02:00
Rigel Kent
8165d00ac6
View stats for channels
2020-03-31 10:29:24 +02:00
Rigel Kent
76314386ae
Add overview of a user's actions in user-edit ( #2558 )
2020-03-27 15:19:03 +01:00
Chocobozzz
cf5d7d9d94
Try to fix tracker tests issues
2020-03-20 16:17:14 +01:00
Chocobozzz
6cb5564490
Fix add comment in threads with deleted comments
2020-03-20 14:43:12 +01:00
Chocobozzz
5db4545cd2
Fix internal videos in playlists
2020-03-20 09:55:57 +01:00
Chocobozzz
891a819661
Optimize sql requests on broadcast
2020-03-19 11:04:05 +01:00
Chocobozzz
eb11373f93
Fix 500 when adding video in playlist
2020-03-19 09:46:50 +01:00
Chocobozzz
baab47ca81
Fix total videos stats
2020-03-13 14:54:00 +01:00
Chocobozzz
c547bbf96a
Fix re running HLS transcoding
2020-03-12 15:37:28 +01:00
Chocobozzz
84ebcf345c
Fix federation with pleroma
2020-03-12 14:14:11 +01:00
Chocobozzz
764a965778
Implement pagination for overviews endpoint
2020-03-11 15:02:20 +01:00
Chocobozzz
fab6746354
Fix sitemap endpoint
2020-03-11 15:02:20 +01:00
Lucien A
9878d1ac63
Fix CSP issue on WebFinger service ( #2541 )
...
* Fix CSP issue on WebFinger service
WebFinger RFC states that CSP should allow any origin to access WebFinger resources.
* Update webfinger.ts
2020-03-11 08:46:03 +01:00
Chocobozzz
ac940348cd
Fix lint
2020-03-10 16:37:25 +01:00
Rigel Kent
482fa503e5
Use grid to organise settings in admin, my-account
2020-03-10 16:23:40 +01:00
Chocobozzz
7b81edc854
Video file metadata PR cleanup
2020-03-10 16:18:29 +01:00
Rigel Kent
8319d6ae72
Add video file metadata to download modal, via ffprobe ( #2411 )
...
* 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
2020-03-10 14:39:40 +01:00
Chocobozzz
6b842050f7
Wrap videos list query in raw SQL
2020-03-10 14:03:58 +01:00
Chocobozzz
5f3e2425f1
Rewrite video list in raw SQL
2020-03-10 14:03:58 +01:00
Chocobozzz
366caf8b71
Fix build with typescript 3.8
2020-02-28 16:51:25 +01:00
Chocobozzz
bdd428a6d9
Update dependencies
2020-02-28 16:21:34 +01:00
Chocobozzz
4832e41584
Fix WS tracker
2020-02-25 16:30:09 +01:00
Chocobozzz
1647e4effd
Fix CPU usage on PostgreSQL
2020-02-25 16:30:09 +01:00
Chocobozzz
4c1def5fd8
Merge branch 'release/2.1.0' into develop
2020-02-20 10:43:33 +01:00
Chocobozzz
dfab4fa9c6
Fix CSP for embeds
2020-02-20 10:11:17 +01:00
Chocobozzz
887e1a0376
Fix emailer
2020-02-18 08:29:23 +01:00
Chocobozzz
134cf2bce9
Merge branch 'release/2.1.0' into develop
2020-02-17 15:44:53 +01:00
Chocobozzz
2db48acc46
Correctly fix auto follows
2020-02-17 15:44:06 +01:00
Chocobozzz
2ad9dcda24
Merge branch 'release/2.1.0' into develop
2020-02-17 15:34:42 +01:00
Chocobozzz
1c5fbed209
Fix avatar update
2020-02-17 15:33:42 +01:00
Chocobozzz
7d233f1dd9
Manual approves followers only for the instance
...
And not for accounts or channels of the instance
2020-02-17 14:27:29 +01:00
Chocobozzz
4c1c170934
Refactor email enabled function
2020-02-17 10:27:00 +01:00
John Livingston
45f1bd72a0
Creating a user with an empty password will send an email to let him set his password ( #2479 )
...
* Creating a user with an empty password will send an email to let him set his password
* Consideration of Chocobozzz's comments
* Tips for optional password
* API documentation
* Fix circular imports
* Tests
2020-02-17 10:16:52 +01:00
Rigel Kent
9677fca772
Make the search helper change based on the server config
2020-02-13 16:32:58 +01:00
Jorge Silva
3f87a46f1d
Update default user theme to instance-default
...
(cherry picked from commit 72fa5cb1272b0b897f5a975615619e354055e5bd)
2020-02-12 11:39:51 +01:00
Raphaël Droz
79ee77eab1
peertube-import-videos passes remaining options down to youtube-dl
2020-02-12 11:33:14 +01:00
Chocobozzz
5224f71303
Correctly check remote extension
2020-02-12 10:26:35 +01:00
Chocobozzz
c6de3a85ee
Fix remote avatar without AP mediatype field
2020-02-12 10:23:24 +01:00
Chocobozzz
338eb9d33a
Merge branch 'release/2.1.0' into develop
2020-02-07 09:10:59 +01:00
Chocobozzz
26469f9ed8
Correctly fix octet stream fallback for video ext
2020-02-07 09:02:18 +01:00
Chocobozzz
99d362de0c
Support wma and wav audio files
2020-02-07 09:02:04 +01:00
Chocobozzz
58b6fdcafc
Small cleanup
2020-02-06 17:41:25 +01:00
Chocobozzz
6872996d29
Be more robust with missing thumbnails/previews
2020-02-06 17:39:19 +01:00
Chocobozzz
bc053fb303
Remove octet stream fallback for video extension
...
It could be a FLAC file for example
2020-02-06 17:22:32 +01:00
Chocobozzz
cef4e38f1c
Remove octet stream fallback for video extension
...
It could be a FLAC file for example
2020-02-06 17:07:29 +01:00
Chocobozzz
4fdeef8125
Fix language list build
2020-02-06 17:06:11 +01:00
Marcin Mikołajczak
272abc0b22
fix typo in code comment
2020-02-05 14:57:05 +01:00
Chocobozzz
084a2cd0f6
Optimize context for CacheFile
2020-02-04 16:34:46 +01:00
Chocobozzz
2c8776fc31
Optimize view endpoint
2020-02-04 16:18:01 +01:00
Chocobozzz
943e519390
Don't refresh videos when processing views
...
It allows us to use a cache
2020-02-04 15:58:59 +01:00
Chocobozzz
7eba5e1fa8
Add model cache for video
...
When fetching only immutable attributes
2020-02-04 15:00:47 +01:00
Chocobozzz
0ffd6d32c1
Use a singleton for model cache
2020-02-04 11:26:51 +01:00
Chocobozzz
9a11f73392
Upgrade express-rate-limit
2020-02-04 10:52:05 +01:00
Chocobozzz
7cd1b12c19
Merge branch 'release/2.1.0' into develop
2020-02-04 09:20:16 +01:00
Chocobozzz
22f18a4a19
Fix embed on mastodon
2020-02-04 09:19:56 +01:00
Chocobozzz
f51c02c77f
Fix lint
2020-02-04 09:12:42 +01:00
Chocobozzz
598edb8af1
Reduce AP context size on specific activities
2020-02-03 11:31:23 +01:00
Chocobozzz
a15871560f
Move to eslint
2020-02-03 08:31:02 +01:00
Chocobozzz
43482ec712
Fix lint
2020-01-30 13:41:22 +01:00
Chocobozzz
ca6d36227a
Add url field in caption and use it for thumbnails
2020-01-30 11:53:38 +01:00
Chocobozzz
215304eaa0
Fix tests
2020-01-30 08:17:31 +01:00
Chocobozzz
c7f36e4f48
Fix transcoding
2020-01-29 16:54:52 +01:00
Chocobozzz
75ba887d10
Don't log error on actor delete signature error
2020-01-29 15:17:42 +01:00
Chocobozzz
0bc1b31d60
Comments enabled attrivute is optional in AP
2020-01-29 14:56:07 +01:00
Chocobozzz
01dfb64206
Relax logger on signature checker
2020-01-29 14:51:44 +01:00
Chocobozzz
d5692d4088
Merge branch 'release/2.1.0' into develop
2020-01-29 14:42:02 +01:00
Chocobozzz
9c9a166783
Fix AP icon URL for imported videos
2020-01-29 14:41:42 +01:00
Rigel Kent
837666fe48
Add tests for video downscale framerate matching
2020-01-29 13:42:15 +01:00
Rigel Kent
06bcfbd9f7
Downsample to the closest divisor standard framerate
2020-01-29 13:42:15 +01:00
Chocobozzz
0374b6b5cd
Cleanup server fixme
2020-01-28 14:45:17 +01:00
Chocobozzz
2f1756a03c
Optimize peertube script
2020-01-28 14:30:10 +01:00
Chocobozzz
005b51b977
Force node 10 usage
2020-01-28 14:03:12 +01:00
Chocobozzz
e669ff5873
Add redundancy CLI doc
2020-01-28 13:57:49 +01:00
Chocobozzz
26fcf2efeb
Add redundancy CLI
2020-01-28 11:35:26 +01:00
Chocobozzz
b764380ac2
Add ability to list redundancies
2020-01-28 11:35:26 +01:00
Chocobozzz
ffc65cbd2a
Remove HLS torrents
2020-01-24 16:48:05 +01:00
Chocobozzz
99849607a6
Remove debug messages
2020-01-24 11:38:35 +01:00
Chocobozzz
89566f77fd
Increase blacklist import timeout
2020-01-23 11:09:25 +01:00
Chocobozzz
93905586ee
Proxy youtube-dl format command too
2020-01-22 17:19:03 +01:00
Chocobozzz
6848b9f4b2
Use a filtered proxy without variables
2020-01-22 09:36:03 +01:00
Chocobozzz
be7ca0c6b9
Use a proxy for youtube-dl to avoid travis errors
2020-01-21 16:46:59 +01:00
Chocobozzz
f0ad471007
Update a little bit user dropdown message
2020-01-21 14:05:22 +01:00
Rigel Kent
7738273b80
Accessibility fixes for #2149
2020-01-21 10:08:10 +01:00
Chocobozzz
5fbd08be37
Fix typo in error log
2020-01-20 15:41:57 +01:00
John Livingston
70870adfac
Adding the request ip for hook filter:api.user.signup.allowed.result ( #2416 )
...
* Adding the request ip for hook filter:api.user.signup.allowed.result
* Fix typo
2020-01-20 14:58:44 +01:00
John Livingston
98da1a7b4a
Fix: unregistring a plugin did not remove properly his hooks.
2020-01-20 14:54:03 +01:00
Chocobozzz
c25e8ce505
Fix subscriptions tests
2020-01-10 15:37:01 +01:00
Rigel Kent
000eb0e40d
Add informational message at login for visitors coming from upload button
...
resolves #1880
2020-01-10 14:01:23 +01:00
Chocobozzz
ab4d4db44a
Avoid follow SQL conflicts
2020-01-10 13:34:20 +01:00
Chocobozzz
6fd8c4da26
Cleanup DB indexes
2020-01-10 13:33:22 +01:00
Chocobozzz
dce659fa7c
Fix federation when updating a video
2020-01-10 10:30:36 +01:00
Rigel Kent
f2f0eda543
Adapt feeds content-type to accept header
2020-01-10 10:14:04 +01:00
Rigel Kent
205ed5b7dc
Add video caption upload documentation and improve error message
...
fixes #2038
2020-01-09 14:11:39 +01:00
Chocobozzz
c4a1811ea8
Use lower instead of ilike to login users
2020-01-09 14:00:34 +01:00
Chocobozzz
e0b56b7495
Return an error on invalid count pagination
2020-01-09 09:36:31 +01:00
Chocobozzz
6b0c3c7ca9
Optimize list my playlists SQL query
2020-01-09 09:27:21 +01:00
Chocobozzz
119b16e5ac
Optimize notification endpoint
2020-01-09 09:27:18 +01:00
Rigel Kent
fbc77eb648
Add outbox page size parameter
2020-01-09 09:21:35 +01:00
Chocobozzz
c08579e14f
Add correct status on not found video
2020-01-09 08:51:27 +01:00
Chocobozzz
e612209767
Try to fix subscriptions inconsistencies
2020-01-08 15:44:41 +01:00
Chocobozzz
fe98765624
Add ability to skip count query
2020-01-08 14:15:16 +01:00
Chocobozzz
ddc07312b0
Optimize videos list SQL queries workflow
2020-01-08 11:36:57 +01:00
Chocobozzz
8ee988c316
Optimize videos list SQL query
2020-01-08 11:16:34 +01:00
Chocobozzz
e92269053e
Update http signature
2020-01-07 15:56:09 +01:00
Chocobozzz
7cde3b9c2e
Update validator dependency
2020-01-07 15:56:07 +01:00
Chocobozzz
04cda1d7a5
Add warning if admin disables webtorrent
2020-01-06 17:10:02 +01:00
Chocobozzz
c10b638c4b
Accept . _ and 0-9 plugin names
2020-01-06 16:20:01 +01:00
Chocobozzz
51b34a11b2
Share playlists state
2020-01-06 13:34:08 +01:00
Rigel Kent
32c68d67d9
Tests for totalRepliesFromVideoAuthor
2020-01-03 16:25:31 +01:00
Chocobozzz
ac0868bcc0
Improve SQL query for my special playlists
2020-01-03 14:17:57 +01:00
Chocobozzz
35f28e94c7
Add infohash cache
2020-01-03 13:47:45 +01:00
Chocobozzz
562724a1ed
Fix totalRepliesFromVideoAuthor SQL request
2020-01-03 11:53:51 +01:00
Rigel Kent
29128b2f5c
Add miniature quick actions to add video to Watch later playlist
2020-01-02 14:50:14 +01:00
Chocobozzz
cca1e13b96
Add test to search in my videos
2019-12-30 14:31:39 +01:00
Chocobozzz
4449d2695b
Fix URL normalization in import script
2019-12-30 10:44:50 +01:00
Chocobozzz
da69b88638
Auto add https:// in import script URLs
2019-12-30 10:40:09 +01:00
Rigel Kent
9d45db2919
Fix my-account{videos,video-playlists} loading mecanism
2019-12-29 02:10:17 +01:00
Rigel Kent
5b0413ddaa
Add author indicator to the comment replies loader
2019-12-28 11:48:53 +01:00
Rigel Kent
bf64ed4196
Add search bars for a user's videos and playlist library
2019-12-28 01:10:26 +01:00
Rigel Kent
c1125bcadc
Add comment filtering by reply count
2019-12-27 17:02:44 +01:00
Chocobozzz
e4a686b4a2
Cache some SQL queries
2019-12-27 13:33:16 +01:00
Chocobozzz
822c7e610d
Fix playlist search
2019-12-27 09:04:04 +01:00
Chocobozzz
227eb02f9a
Case insensitive tags search
2019-12-27 08:51:26 +01:00
Rigel Kent
c06af5012e
Add playlist search option and search input for add-to-video-playlist dropdown
...
fixes #2138
2019-12-26 11:52:52 +01:00
Chocobozzz
def2a70b7e
Fix search SQL query where duplication
2019-12-23 13:44:24 +01:00
Chocobozzz
611a72ae15
Add index for recently added SQL query
2019-12-23 13:44:24 +01:00
Chocobozzz
0dfee3a3ac
Optimize local sql query
2019-12-23 13:44:23 +01:00
Chocobozzz
1c5fed88c5
Litte SQL optimzation in videos list
2019-12-23 13:44:23 +01:00
Chocobozzz
dddc8b1fe0
Don't notify on muted instance
2019-12-19 11:34:00 +01:00
Chocobozzz
2a5518a667
Fix lint & tests
2019-12-18 16:47:54 +01:00
Chocobozzz
c3b9379167
Remove CSP for embed
2019-12-18 10:14:23 +01:00
Nassim Bounouas
f88ee4a952
Feature/password reset link expiration ( #2305 )
...
* #1928 Add a sentence indicating the reset time limit on form and email
* #1928 Customizable password reset lifetime
* #1928 Add a route to verify reset link and call it on reset form init
* Revert "#1928 Customizable password reset lifetime"
This reverts commit 0ed97453f8
.
* #1928 Reset password lifetime hardcoded to one hour
* Remove useless modifications for #1928
2019-12-18 09:59:00 +01:00
Rigel Kent
174e085587
(nodeinfo) add server config to the nodeinfo metadata
2019-12-17 13:07:50 +01:00
Chocobozzz
2735a154dc
Fix video import with long thumbnail url
2019-12-17 09:55:33 +01:00
Rigel Kent
bee29df8a9
autoplay next video support for playlists
2019-12-13 09:13:43 +01:00
Chocobozzz
2f6b5e2d6e
Add max file size, max files and ip anonymize log options
2019-12-12 17:15:38 +01:00
Chocobozzz
22a73cb879
Add internal privacy mode
2019-12-12 16:51:59 +01:00
Chocobozzz
907b8f9347
Use a migration script to generate HLS torrent files
2019-12-12 10:56:34 +01:00
Chocobozzz
458218d2ba
Don't add the unique preferredUsername index for now
...
We'll do it in the next release so admins can prepare it
2019-12-12 10:56:34 +01:00
Chocobozzz
3c0d0c669d
Fix logs regex
2019-12-12 09:43:59 +01:00
Chocobozzz
c334097734
Fix comments feed
2019-12-11 18:06:41 +01:00
Chocobozzz
566c125d6e
Serve audit logs to client
2019-12-11 14:14:01 +01:00
Chocobozzz
92e0f42e8c
Don't use the max quality file when transcoding to a new resolution
2019-12-11 09:51:17 +01:00
Chocobozzz
2034c3aaa0
Add warning if videos directory is the same than redundancy
2019-12-10 14:31:08 +01:00
Chocobozzz
65d2ae2a61
Fix comments feed
2019-12-10 08:45:52 +01:00
Chocobozzz
3cf53828db
Add ability to search by UUID
2019-12-09 15:32:53 +01:00
Chocobozzz
c4b4ab719c
Clearer feed controller
2019-12-09 10:23:22 +01:00
Rigel Kent
857e5e2340
(hotfix) remove null categories in RSS/Atom feeds
2019-12-08 22:27:24 +01:00
Chocobozzz
6f3fe96f40
Add action hooks to user routes
2019-12-06 15:59:12 +01:00
Chocobozzz
941c5eac17
Add missing hotkeys to the watch page
2019-12-06 10:05:49 +01:00
Chocobozzz
77e0851758
Ensure local actors preferredName don't already exist
...
Before applying this commit, check you don't have duplicates local
actors in your database:
select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 0
If you have some results, it seems you have duplicate channels/accounts.
For every entry, you'll have to change the preferredUsername of the
entry you want (so they are unique). The updated actors could have some
federations issues. Sorry.
2019-12-05 14:57:14 +01:00
Chocobozzz
c37a52b046
Support m4v videos
2019-12-05 11:07:57 +01:00
Chocobozzz
5197732bce
Fix channel creation limitation
2019-12-05 10:18:33 +01:00
Chocobozzz
fee47735bd
Fix migrations
2019-12-05 08:38:32 +01:00
Chocobozzz
1061c73fde
Add ability to filter per job type
2019-12-04 14:49:59 +01:00
Chocobozzz
c883db6d03
Move deleted comment on new follow tests
2019-12-04 11:48:12 +01:00
Julien Maulny
b5206dfc45
Fix retrieving of deleted comments when subscribing to a new instance
2019-12-04 09:36:45 +01:00
Julien Maulny
69222afac8
Soft delete video comments instead of detroy
2019-12-04 09:36:45 +01:00
Rigel Kent
16d9224a1c
(rss) add mrss properties and update pfeed
...
resolves #2298
2019-12-03 16:11:10 +01:00
Chocobozzz
eccf70f020
Fix private video download
2019-12-03 10:41:23 +01:00
Chocobozzz
3f6b7aa1cf
Don't move the caption if it has the right name
2019-12-03 10:10:14 +01:00
Chocobozzz
a3ce4ae847
Limit channel numbers
...
We can't load too much channels in selects and it helps to prevent actor
name squatting
2019-11-29 16:35:27 +01:00
Chocobozzz
47f6cb31d7
Fix email to field
2019-11-29 13:36:40 +01:00
Chocobozzz
cb5ce4cb13
Add more filters to admin follows table
2019-11-29 11:16:43 +01:00
Chocobozzz
97ecddae10
Filter on follows actor types in about page
2019-11-29 10:55:17 +01:00
Chocobozzz
b8f4167fb6
Only display accepted followers/followings in about page
2019-11-28 11:37:32 +01:00
Chocobozzz
2fa9c40e20
Fix tests
2019-11-27 10:29:27 +01:00
Chocobozzz
a18bb55e9b
Fix error log when updating redundancy
2019-11-27 10:29:26 +01:00
Chocobozzz
49c3bf6fa2
Fix duplicate HLS resolution in master playlist
2019-11-26 16:57:51 +01:00
Chocobozzz
52201311e1
Add codec information in HLS playlist
2019-11-26 16:25:36 +01:00
Julien Maulny
66a3674004
Fix lint
2019-11-25 16:59:09 +01:00
Rigel Kent
ba7b7e572f
(plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed allowedParams
2019-11-25 11:16:12 +01:00
Chocobozzz
efcd6f2e62
Fix fragmented download URL
2019-11-25 10:59:50 +01:00
Chocobozzz
3a149e9f8b
Add audio only transcoding tests
2019-11-25 10:59:49 +01:00
frankdelange
5c7d650827
Add audio-only option to transcoders and player
...
This patch adds an audio-only option to PeerTube by means of a new transcoding configuration which creates mp4 files which only contain an audio stream. This new transcoder has a resolution of '0' and is presented in the preferences and in the player resolution menu as 'Audio-only' (localised). When playing such streams the player shows the file thumbnail as background and disables controls autohide.
Audio-only files can be shared and streamed just like any other file. They can be downloaded as well, the resulting file will be an mp4 container with a single audio stream.
This patch is a proof of concept to show the feasibility of 'true' audio-only support. There are better ways of doing this which also enable multiple audio streams for a given video stream (e.g. DASH) but as this would entail a fundamental change in the way PeerTube works it is a bridge too far for a simple proof of concept.
2019-11-25 10:59:47 +01:00
Chocobozzz
dee6fe1e4f
Add ability to generate HLS in CLI
2019-11-25 10:59:47 +01:00
Chocobozzz
d441f2ed78
Add disable webtorrent migration
2019-11-25 10:59:45 +01:00
Chocobozzz
66fb2aa39b
Don't always replace actor avatar
2019-11-25 10:59:44 +01:00
Chocobozzz
d7a25329f9
Add ability to disable webtorrent
...
In favour of HLS
2019-11-25 10:59:43 +01:00
Chocobozzz
350131cbaf
Make build works
2019-11-13 10:04:16 +01:00
Chocobozzz
959dbbd7bf
Avoid circular error in logger
2019-11-05 11:08:51 +01:00
Chocobozzz
5d9e4eaabe
Add ability to enabled HLS in the admin panel
2019-11-05 10:13:37 +01:00
Florent F
71056d0008
Fix hours in peertube-import-videos
...
Youtube doesn't store the hour of the publish date so
set it to zero in order to compare it.
2019-11-04 17:38:03 +01:00
Chocobozzz
bcd4cf0586
Fix remove end slash function
2019-11-04 16:34:58 +01:00
Chocobozzz
92ce62331e
Fix auto index follow
2019-11-04 15:20:34 +01:00
Chocobozzz
f67d757452
Increase clock skew for HTTP signatures
2019-10-25 14:54:32 +02:00
Chocobozzz
4ce7eb71ba
Add plugin hook on registration
2019-10-25 13:54:32 +02:00
Chocobozzz
a82ddfad00
Fix lint
2019-10-23 13:15:18 +02:00
Chocobozzz
862ead21a3
Fix and cleanup actor follow inbox sql query
2019-10-23 12:06:26 +02:00
Chocobozzz
47581df073
Fix federation with some actors
...
That don't have a shared inbox, or a URL
2019-10-23 11:33:53 +02:00
Chocobozzz
e39cfd1d91
Fix misc tests
2019-10-22 09:25:35 +02:00
Chocobozzz
2aaa1a3fdc
Use typescript paths in cli scripts too
2019-10-21 17:13:22 +02:00
Chocobozzz
4c8ef0ec68
Add tsconfig-paths registration to mocha
2019-10-21 16:24:06 +02:00
Chocobozzz
e199856bb7
Upgrade tools dep
2019-10-21 16:08:03 +02:00
Chocobozzz
464687bb96
Fix bug with tsconfig paths
2019-10-21 16:02:15 +02:00
Chocobozzz
d5d9b6d7bf
Update server dependencies
2019-10-21 15:03:28 +02:00
Chocobozzz
f6e0de3f48
Don't quick transcode with the wrong pixel format
2019-10-21 14:08:34 +02:00
Chocobozzz
687c6180bc
Fix federation issue with some actor descriptions
2019-10-21 09:52:51 +02:00
Chocobozzz
39a26b2e41
Fix caption validators test
2019-10-18 16:39:17 +02:00
Chocobozzz
fff2183df6
Fix audio uploading without preview
2019-10-18 12:03:32 +02:00
Chocobozzz
eba06469b7
Fix audio merging when specifying a preview
2019-10-18 11:44:01 +02:00
Chocobozzz
2f26030dd2
Support text/plain caption files
2019-10-18 10:36:32 +02:00
Chocobozzz
85c1df6ae8
Add auto play next video migration
2019-09-24 10:35:36 +02:00
Chocobozzz
c1e5bd23d5
Try to fix tests
2019-09-24 10:19:55 +02:00
LoveIsGrief
6aa5414813
Autoplay next recommended video ( #2137 )
...
* Start working on autoplay of next video
* Ignore changes made by gitpod
* Apply changes from PR#1370
* Correct the spelling of recommendations
* Fix linting errors
* Move boolean check to existing onEnded handler
* Pick a random video until the recommendations are improved
* Add simple tests for autoPlayNextVideo
* Fix lint
...again
2019-09-24 08:48:01 +02:00
Lukas Winkler
32d7f2b754
fix a few typos ( #2141 )
...
* fix a few typos
* apply changes to original files instead
* additional correction
2019-09-23 08:17:42 +02:00
Chocobozzz
210709a907
Fix tests
2019-09-18 17:20:37 +02:00
Frank Sträter
46aaefa9b8
Update default value for commentsEnabled
2019-09-18 15:25:12 +02:00
Chocobozzz
9157d5981f
Improve plugin package.json error message
2019-09-11 10:19:03 +02:00
Chocobozzz
5faed16653
Fix migrations
2019-09-06 08:59:02 +02:00
Chocobozzz
5819e694ba
Better video publishing notification
2019-09-05 10:30:51 +02:00
Chocobozzz
00aab0666c
Merge branch 'release/1.4.0' into develop
2019-09-05 10:19:35 +02:00
Chocobozzz
be04c6fdab
Add hardware information in instance config
2019-09-05 10:17:02 +02:00
Chocobozzz
8ae03c3718
Add creation reason
2019-09-05 10:17:02 +02:00
Chocobozzz
589d9f55f6
Add config instance warning modal
2019-09-05 10:17:02 +02:00
Chocobozzz
43d0ea7f4b
Add welcome modal
2019-09-05 10:17:02 +02:00
Chocobozzz
ccc00cb2aa
Add more attributes to about page
2019-09-05 10:17:02 +02:00
Chocobozzz
2ba613a543
Fix tests
2019-09-04 16:24:58 +02:00
Chocobozzz
e1b49ee534
Implement auto follow in client
2019-09-04 16:24:58 +02:00
Chocobozzz
10a105f0c8
Add notification on auto follow index
2019-09-04 16:24:58 +02:00
Chocobozzz
6f1b4fa417
Add auto follow instances index support
2019-09-04 16:24:58 +02:00
Chocobozzz
8424c4026a
Add auto follow back support for instances
2019-09-04 16:24:58 +02:00
Chocobozzz
951532924c
Fix blacklist sort
2019-09-04 16:23:37 +02:00
Chocobozzz
dedc7abb7b
Fix auto blacklist view
2019-09-04 15:03:50 +02:00
Chocobozzz
f8278b9605
Fix bug in redundancy eviction
2019-09-04 14:40:39 +02:00
Chocobozzz
2fd9737886
Fix redundancy too heavy with streaming playlists
2019-08-30 11:05:27 +02:00
Chocobozzz
0b5c385b45
Handle reports from mastodon
2019-08-30 09:40:32 +02:00
Chocobozzz
4b1f1b810a
Lowercase video tags search
2019-08-29 16:47:32 +02:00
Chocobozzz
ad513607a3
Remove old JSON LD signature implementation
...
Only PeerTube was compatible with it, and the library has moved on
RsaSignature2018 and removed RsaSignature2017 support. We had to create
a dirty fork of the RsaSignature2017 branch, which is not ideal.
Now we use the Mastodon implementation, that most other AP
implementations that support JSONLD signatures use.
2019-08-29 16:15:41 +02:00
Chocobozzz
f0a47bc92a
Hide video abuses from muted accounts
2019-08-29 14:31:04 +02:00
Chocobozzz
3155c8606c
Fix default true values when uploding videos
2019-08-28 16:03:26 +02:00
Frank Sträter
b1b7f7160b
Bug fix logical and/or boolean selector
2019-08-28 12:58:47 +02:00
Frank de Lange
bda3b70537
peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose [level] parameters ( #2045 )
...
* peertube-import-videos.ts: add --tmpdir <tmpdir> parameter, used to designate working directory for downloading and converting imported videos
* peertube-import-videos.ts: add --first and --last parameters to limit processing of the returned playlist to the first/last N elements
* peertube-import-videos.ts: add --verbose [verbosity] parameter, set this from 0 (only errors are reported) to 4 (for trace debugging), default is 2 (info). When --verbose is used without the optional parameter the logging level is set to 3 (debug). At level 1 (warn) it will only report on successfully uploaded videos (and/or errors), use this when running peertube-import-videos in a cron job to mirror a channel.
* package.json: remove dependency on loglevel
cli.ts: add getLogger(loglevel), to be used in CLI tools, add --verbose to set log level
peertube-import-videos: use getLogger (from cli) instead of loglevel, add error_exit (log error and exit), move --verbose to cli.ts, etc.
* cli.ts: remove superfluous reference to default logging level
* peertube-import-videos: exit_error -> exitError
2019-08-26 11:35:28 +02:00
John Livingston
20ec03846d
fixes 2065: optimisation ( #2073 )
...
* fixes 2065: optimisation
* Update peertube-socket.ts
2019-08-23 09:05:30 +02:00
Chocobozzz
d11c28a36b
Fix build
2019-08-23 08:56:57 +02:00
Chocobozzz
001ed2d40c
Merge branch 'release/1.4.0' into develop
2019-08-22 17:16:48 +02:00
Chocobozzz
26ff0279d0
Fix lazy static route with unknown avatars
2019-08-22 14:52:41 +02:00
Chocobozzz
d5c8932a60
Merge branch 'release/1.4.0' into develop
2019-08-22 14:46:47 +02:00
Chocobozzz
ebe7f58726
Fix image and plugin CSP
2019-08-22 11:14:01 +02:00
Chocobozzz
217ffacfdd
Try to fix video duplication
2019-08-22 11:03:50 +02:00
Chocobozzz
dea16773df
Fix user creation by moderators
2019-08-22 10:59:14 +02:00
Chocobozzz
d636ab58d0
Fix html tag with blacklisted video
2019-08-22 10:46:54 +02:00
Chocobozzz
5c5e587307
Merge branch 'feature/strong-model-types' into develop
2019-08-22 10:43:11 +02:00
Chocobozzz
1b42d73f44
Fix socket notification with multiple user tabs
2019-08-22 10:33:58 +02:00
Chocobozzz
916937d7da
email object -> email subject
2019-08-22 10:33:58 +02:00
Chocobozzz
485b2fb2cc
Relax plugin package.json validation
2019-08-22 10:33:56 +02:00
Chocobozzz
015d9dec91
Fix socket notification with multiple user tabs
2019-08-22 10:33:22 +02:00
Chocobozzz
7c58378a57
email object -> email subject
2019-08-22 10:22:01 +02:00
Chocobozzz
d1c0a964a2
Relax plugin package.json validation
2019-08-22 09:41:49 +02:00
Chocobozzz
b5fecbf441
Type toActivityPubObject functions
2019-08-21 15:23:04 +02:00
Chocobozzz
f92e7f76d4
Fix ownership change
2019-08-21 08:57:00 +02:00
Chocobozzz
1ca9f7c3f7
Type toFormattedJSON
2019-08-20 19:23:10 +02:00
Chocobozzz
0283eaac2a
Cleanup model types
2019-08-20 14:53:42 +02:00
Chocobozzz
96ca24f00e
Fix tests
2019-08-20 10:22:05 +02:00
Chocobozzz
453e83ea5d
Stronger model typings
2019-08-19 17:26:35 +02:00
Chocobozzz
9e3e3617dc
Fix redundancy tests
2019-08-13 10:22:54 +02:00
Chocobozzz
0b353d1d8a
Fix redundancy exceeding the limit
2019-08-12 08:46:46 +02:00
Chocobozzz
e2600d8b26
Add avatar to prune script
2019-08-09 15:04:36 +02:00
Chocobozzz
5bb2eb5660
Fix avatar url validation
2019-08-09 11:49:37 +02:00
Chocobozzz
557b13ae24
Lazy load avatars
2019-08-09 11:32:40 +02:00
Chocobozzz
5224c394b3
Stronger actor association typing in AP functions
2019-08-09 08:17:16 +02:00
Chocobozzz
511765c9f8
Remove comment federation by video owner
2019-08-07 15:35:29 +02:00
Chocobozzz
51c3544718
Deprecate Node 8
...
The support ends on December 2019: https://github.com/nodejs/Release#release-schedule
2019-08-07 12:07:59 +02:00
Chocobozzz
0763044f7d
Fix comment notifications
2019-08-07 12:07:59 +02:00
Chocobozzz
327b331889
Limit maximum actor follow score
2019-08-07 12:07:58 +02:00
Chocobozzz
6b9c966f64
Automatically remove bad followings
2019-08-06 17:26:51 +02:00
Chocobozzz
f847ccb33c
Optimize watch endpoint
2019-08-06 17:20:19 +02:00
Chocobozzz
1198edf4bb
Fix user notifications on new follow
2019-08-02 10:53:36 +02:00
Chocobozzz
44b88f180b
Fix broken follow notification
2019-08-02 09:46:48 +02:00
Chocobozzz
65af03a241
Automatically update playlist thumbnails
2019-08-01 16:54:24 +02:00
Chocobozzz
a21e25ff64
Fix like/dislike federation
2019-08-01 14:26:49 +02:00
Chocobozzz
29d4e1375f
Fix HLS transcoding
2019-08-01 14:19:18 +02:00
Florent F
d0198ff99f
Add since parameter to peertube-import-videos ( #1991 )
...
* Add since parameter to peertube-import-videos
* PR remarks + --until <date>
2019-08-01 10:21:55 +02:00
Chocobozzz
970ceac0a6
Fix multiple server tests
2019-08-01 10:15:28 +02:00
Chocobozzz
bfbd912886
Fix broken playlist api
2019-08-01 09:11:04 +02:00
Chocobozzz
a95a4cc891
Moderators can only manage users
2019-07-30 09:59:19 +02:00
Chocobozzz
34dd7cb4ca
Fix quota in instance features table
2019-07-29 16:30:01 +02:00
Chocobozzz
cd4cb177e6
Improve static files cache
2019-07-29 15:20:36 +02:00
Chocobozzz
094ff8e692
Fix mocha commands
2019-07-29 14:16:03 +02:00
Chocobozzz
6f530096cb
Correctly import tags in CLI
2019-07-29 14:10:31 +02:00
Chocobozzz
2284f20207
Add gitlab ci support
2019-07-29 13:40:39 +02:00
Chocobozzz
d75db01f14
Add plugin translation system
2019-07-26 15:18:30 +02:00
Chocobozzz
ee286591a5
Plugins can update video constants
...
Categories, licences and languages
2019-07-26 15:18:30 +02:00
Chocobozzz
ba211e7386
Add public settings endpoint
2019-07-26 15:18:29 +02:00
Chocobozzz
23bdacf8ec
Add setting helper to client plugins
2019-07-26 15:18:28 +02:00
Chocobozzz
2b65c4e535
Fix scheduled privacy and verify email validations
2019-07-25 17:28:45 +02:00
Chocobozzz
552d95b1e6
Move controller in dedicated functions
2019-07-25 16:56:41 +02:00
Chocobozzz
c8861d5dc0
Fix express validator
2019-07-25 16:23:44 +02:00
Chocobozzz
47e26ec761
Fix peertube auth help
2019-07-25 12:03:13 +02:00
Chocobozzz
aa3796bda5
Sort on videoQuotaUsed in backend
2019-07-25 11:15:03 +02:00
Chocobozzz
a353a4d77c
Upgrade tools dependencies
2019-07-25 11:00:42 +02:00
Chocobozzz
523990dbe6
Upgrade server dependencies
2019-07-25 11:00:41 +02:00
Chocobozzz
9ae88819c2
Change plugin models names
2019-07-24 11:17:42 +02:00
Chocobozzz
5f189c9c85
Add hooks documentation
2019-07-24 10:58:16 +02:00
Chocobozzz
24163420dd
Add retries to travis mocha
2019-07-24 10:58:16 +02:00
Chocobozzz
5b77537ce5
Correctly notify on auto blacklist
2019-07-24 10:58:16 +02:00
Chocobozzz
7c421bb198
Fix auto blacklist
2019-07-24 10:58:16 +02:00
Chocobozzz
3e753302d8
Refactor middleware helpers
2019-07-24 10:58:16 +02:00
Chocobozzz
a8b666e9f1
Add plugin static files cache
2019-07-24 10:58:16 +02:00
Chocobozzz
7663e55a2c
Log error on unknown hook
2019-07-24 10:58:16 +02:00
Chocobozzz
587568e1cc
Add plugin table migration table
2019-07-24 10:58:16 +02:00
Chocobozzz
6691c52280
Add filter hooks tests
2019-07-24 10:58:16 +02:00
Chocobozzz
89cd127560
Add hook filters tests
2019-07-24 10:58:16 +02:00
Chocobozzz
09071200c7
Add plugin API tests
2019-07-24 10:58:16 +02:00
Chocobozzz
9b474844e8
Add CLI plugins tests
2019-07-24 10:58:16 +02:00
Chocobozzz
32fe001389
Provide logger to plugins
2019-07-24 10:58:16 +02:00
Chocobozzz
60cfd4cb54
Add plugins check params tests
2019-07-24 10:58:16 +02:00
Chocobozzz
b4055e1c23
Add server hooks
2019-07-24 10:58:16 +02:00
Chocobozzz
9fa6ca160a
Some plugins fixes and doc enhancements
2019-07-24 10:58:16 +02:00
Chocobozzz
66170ca8c6
Use process.env.npm_package_version
2019-07-24 10:58:16 +02:00
Chocobozzz
109d893ff5
Fix lint
2019-07-24 10:58:16 +02:00
Chocobozzz
d133f38582
Check latest plugins version with config interval
2019-07-24 10:58:16 +02:00
Chocobozzz
e0ce715a1d
Check latest plugins version
2019-07-24 10:58:16 +02:00
Chocobozzz
6702a1b2cc
Add ability to search available plugins
2019-07-24 10:58:16 +02:00
Chocobozzz
503c6f440a
Add peertube plugin index website models
2019-07-24 10:58:16 +02:00
Chocobozzz
30ff39e7f0
Move createTorrent in webtorrent utils
2019-07-24 10:58:16 +02:00
Chocobozzz
b2195fafc2
WIP plugins: add storage manager
2019-07-24 10:58:16 +02:00
Chocobozzz
b5f919ac8e
WIP plugins: update plugin
2019-07-24 10:58:16 +02:00
Chocobozzz
8d2be0ed7b
WIP plugins: move plugin CLI in peertube script
...
Install/uninstall/list plugins remotely
2019-07-24 10:58:16 +02:00
Chocobozzz
dba85a1e9e
WIP plugins: add plugin settings/uninstall in client
2019-07-24 10:58:16 +02:00
Chocobozzz
d00dc28dd7
WIP plugins: list installed plugins in client
2019-07-24 10:58:16 +02:00
Chocobozzz
ad91e7006e
WIP plugins: plugin settings on server side
2019-07-24 10:58:16 +02:00
Chocobozzz
ffb321bedc
WIP plugins: load theme on client side
2019-07-24 10:58:16 +02:00
Chocobozzz
7cd4d2ba10
WIP plugins: add theme support
2019-07-24 10:58:16 +02:00
Chocobozzz
18a6f04c07
WIP plugins: hook on client side
2019-07-24 10:58:16 +02:00
Chocobozzz
2c0539420d
WIP plugins: static files
2019-07-24 10:58:16 +02:00
Chocobozzz
f023a19c3e
WIP plugins: install/uninstall
2019-07-24 10:58:16 +02:00
Chocobozzz
345da516fa
WIP plugins: add ability to register plugins
2019-07-24 10:58:16 +02:00
Chocobozzz
c1340a6ac3
Add rate limit to registration and API endpoints
2019-07-04 16:42:40 +02:00
Chocobozzz
fd0bfc3ac4
peertube auth add wants a URL (and not a host)
2019-07-04 15:03:15 +02:00
Chocobozzz
d89954ff0b
Log typo
2019-07-03 16:07:30 +02:00
Nassim Bounouas
50b4dcce56
Fix/connection with email ( #1917 )
...
* #1916 Load user by email - insensitive query
* Revert "Case insensitive login"
This reverts commit c1521ca3d7
.
* #1916 Load user - insensitive query for username and sensitive for email
* #1916 Unit test for insensitive username login && documentation
2019-07-02 11:16:33 +02:00
Nassim Bounouas
4e9fa5b7e9
Feature/subject in contact form ( #1926 )
...
* #1915 Add a subject to contact form and add it to email sent
* #1915 Add subject to contact form tests
* #1915 Contact form test corrected && tslint correction
2019-06-21 08:49:35 +02:00
Chocobozzz
26d7879998
Fix redundancy exceeded quota
2019-06-20 10:33:01 +02:00
Chocobozzz
3caf77d3b1
Add language filters in user preferences
2019-06-19 15:05:36 +02:00
Chocobozzz
6b226c3278
Fix CLI default boolean values
2019-06-17 08:16:09 +02:00
Chocobozzz
1205823fec
Add ability to override CLI import attributes
2019-06-13 13:53:28 +02:00
Chocobozzz
1a12f66d63
Add more CLI tests
2019-06-13 11:09:38 +02:00
Chocobozzz
db714ab48a
Fix notification overflow
2019-06-13 09:21:18 +02:00
Chocobozzz
00aa1f0d9b
Add 4k conf in transcoding in admin panel
2019-06-12 17:26:23 +02:00
Chocobozzz
675a8fc74f
Fix user tests
2019-06-11 16:13:50 +02:00
Chocobozzz
5efab5467c
Add more embed parameters
2019-06-11 16:05:03 +02:00
Chocobozzz
0ba5f5baad
Add ability to change email in client
2019-06-11 14:31:12 +02:00
Chocobozzz
d1ab89deb7
Handle email update on server
2019-06-11 14:31:11 +02:00
Nassim Bounouas
fcf4569f2d
Feature/logrotation ( #1881 )
...
* #1775 Configure the activation or deactivation of winston log rotation
* Winston log rotation enabled by default #1775
* #1775 tslint correction
* #1775 FileTransportOptions typed and configuration files
* #1775 tslint correction
* #1775 log.rotation.enabled configuration binding
2019-06-11 14:30:44 +02:00
Chocobozzz
dd2c2a52cc
Fix email object/body configurations
2019-06-11 10:50:16 +02:00
Chocobozzz
fc8c024a1b
Fix upload script
2019-06-11 10:39:30 +02:00
Chocobozzz
9f167f12aa
Fix netrc tools
2019-06-11 09:25:20 +02:00
Chocobozzz
1f20622f2b
Improve registration
...
* Add ability to set the user display name
* Use display name to guess the username/channel name
* Add explanations about what is the purpose of a username/channel name
* Add a loader at the "done" step
2019-06-07 17:05:42 +02:00
Chocobozzz
b91bc1d1f3
Merge branch 'release/v1.3.0' into develop
2019-06-07 15:04:41 +02:00
Chocobozzz
03371ad9d0
Fix video import if autoblacklist is enabled
2019-06-07 14:35:53 +02:00
Chocobozzz
3ddb1ec555
Try to fix remote mastodon interactions
2019-06-07 10:57:33 +02:00
Chocobozzz
1b319b7aa6
Add ability to unpublish video/playlist
2019-06-06 17:29:15 +02:00
Chocobozzz
46a6db245f
Add ability to set to private a public/unlisted video
2019-06-06 16:44:02 +02:00
Chocobozzz
6091983127
Upgrade server dependencies
2019-06-06 15:39:11 +02:00
Chocobozzz
ad3405d087
Improve 4K video quality after transcoding
2019-06-06 14:45:57 +02:00
Chocobozzz
7d14d4d2ca
Server: Bulk update videos support field
2019-05-31 16:44:46 +02:00
Chocobozzz
9977c12838
Remove old activities processor
2019-05-31 15:36:50 +02:00
Chocobozzz
ee79b60e4e
More robust federation
...
In particular when fetching pleroma outbox
2019-05-31 15:17:04 +02:00
Chocobozzz
57cfff7885
Remove unused actor uuid field
2019-05-31 14:49:31 +02:00
Chocobozzz
bc01017be9
Add ability to subscribe from the channel account page
2019-05-29 17:00:40 +02:00
Chocobozzz
91b6631984
Add pagination to account video channels endpoint
2019-05-29 15:09:38 +02:00
Chocobozzz
1d5342abc4
Multi step registration
2019-05-29 11:19:54 +02:00
Chocobozzz
e590b4a512
Add ability to specify channel on registration
2019-05-28 10:46:32 +02:00
Chocobozzz
cce1b3dfd3
Fix search with bad webfinger handles
2019-05-28 10:16:59 +02:00
Chocobozzz
4d09cfba78
Fix playlist get for classic users
2019-05-28 10:16:59 +02:00
Chocobozzz
ec893ae075
Fix crash in files cache
2019-05-28 10:16:58 +02:00
LiPeK
465679cafd
Update config.ts
...
This should fix https://github.com/Chocobozzz/PeerTube/issues/1850
2019-05-28 10:12:07 +02:00
Chocobozzz
c56b774d05
Fix search with bad webfinger handles
2019-05-28 10:04:07 +02:00
Chocobozzz
964298de4e
Fix playlist get for classic users
2019-05-28 09:50:27 +02:00
Chocobozzz
ff0bce1359
Fix crash in files cache
2019-05-28 09:36:46 +02:00
Chocobozzz
46b2cec73c
Remove summon install
2019-05-27 14:56:06 +02:00
Chocobozzz
7e9d3f259d
Move CLI dependencies in their own package.json
2019-05-27 14:56:06 +02:00
Chocobozzz
21d141c296
Merge branch 'release/v1.3.0' into develop
2019-05-21 13:32:00 +02:00
Chocobozzz
63dc589865
Fix video views
2019-05-21 13:14:27 +02:00
Chocobozzz
ac3d2e0569
Fix blacklist sort
2019-05-21 12:09:58 +02:00
Chocobozzz
432ebe8bdd
Merge branch 'release/v1.3.0' into develop
2019-05-21 11:21:56 +02:00
Chocobozzz
b9dde7d96b
Fix thumbnails in video blacklist list endpoint
2019-05-21 10:59:29 +02:00
Chocobozzz
73b3aa6429
Merge branch 'feature/audio-upload' into develop
2019-05-21 10:05:12 +02:00
Chocobozzz
820d79c8ac
Fix OGG bug with firefox
2019-05-21 09:53:03 +02:00
Chocobozzz
fd822c1c69
Merge branch 'release/v1.3.0' into develop
2019-05-21 09:34:02 +02:00
Chocobozzz
4550872bcc
Relax activity validation
2019-05-21 09:31:53 +02:00
Chocobozzz
80b8ad2a70
Update travis ffmpeg patch version
2019-05-17 16:50:52 +02:00
Yohan Boniface
b5bfadf0b5
Allow to control emails prefix and signature with config ( #1789 )
...
* Allow to control emails prefix and signature with config
* Adapt email config according to @Chocobozzz review
2019-05-17 14:10:19 +02:00
Chocobozzz
b345a8047b
Add audio upload tests
2019-05-17 14:04:54 +02:00
Chocobozzz
536598cfaf
Add audio support in upload
2019-05-16 17:16:47 +02:00
Axel Viala
3daaa19274
Add way to set root password by environment.
...
Add a condition test to pass by environment a predetermined
root password for setting up.
2019-05-16 09:17:10 +02:00
libertysoft3
2fbd5e25dd
transcode in STORAGE.TMP_DIR for s3fs compatibility ( #147 )
2019-05-16 08:59:35 +02:00
Chocobozzz
1600235a2f
Merge remote-tracking branch 'origin/pr/1785' into develop
2019-05-16 08:58:39 +02:00
Chocobozzz
d183ee9bda
Don't use parallel tests with test suite 1 and 3
2019-05-15 17:17:14 +02:00
Chocobozzz
f88392cf68
Decrease max parallel tests for travis
2019-05-15 15:37:31 +02:00
Chocobozzz
48f07b4a40
All API tests in parallel
2019-05-15 15:14:21 +02:00
Chocobozzz
7243f84db0
Redundancy and search tests in parallel too
2019-05-14 15:37:43 +02:00
Chocobozzz
da3a3ab682
Try parallel check params tests
2019-05-14 15:37:42 +02:00
Chocobozzz
3db9fadca7
Relax activity validation
2019-05-13 14:51:43 +02:00
Chocobozzz
241c3357d1
Fix account description error
2019-05-13 14:37:30 +02:00
Felix Ableitner
658a47ab68
Added comments for transcode functions
2019-05-13 13:02:42 +02:00
Chocobozzz
d8cfccfbc4
Fix greek label
2019-05-13 09:45:39 +02:00
Chocobozzz
a18f275d30
Fix thumbnail when listing my videos
2019-05-13 09:45:36 +02:00
Felix Ableitner
7ed2c1a46f
fixed formatting, added test case
2019-05-04 13:06:43 +02:00
Felix Ableitner
5ba49f268d
Dont transcode videos when it is not required ( fixes #1780 )
2019-05-04 03:19:49 +02:00
Yohan Boniface
c342726ad4
Allow to control RATES_LIMIT from configuration ( #1787 )
...
* Allow to control RATES_LIMIT from configuration
* @Chocobozzz review (squash me)
2019-04-26 13:48:55 +02:00
Chocobozzz
4f0f2ab228
Fix createdAt/updatedAt issues
2019-04-26 09:16:43 +02:00
Chocobozzz
c28bcdd10a
Fix pleroma follow
2019-04-25 15:20:30 +02:00
Chocobozzz
c0e71e849a
Fix user notifications tests
2019-04-25 14:23:15 +02:00
Chocobozzz
2b4dd7e26d
Fix optional privacy in upload endpoint
2019-04-25 13:55:28 +02:00
Chocobozzz
47f6409bb8
Use apicache instead of our broken implementation
2019-04-25 11:27:13 +02:00
Chocobozzz
8519cc9234
Fix overview endpoint
2019-04-24 17:29:19 +02:00
Chocobozzz
e8a739e880
Fix video import CLI script
...
Password is an optional argument
2019-04-24 16:51:25 +02:00
Chocobozzz
cbe94af85a
Fix scheduled update
2019-04-24 16:43:41 +02:00
Chocobozzz
7c3b79768b
Use test wrapper exit function
2019-04-24 16:26:25 +02:00
Chocobozzz
42e1ec25ec
Try to fix travis
2019-04-24 16:26:24 +02:00
Chocobozzz
86ebdf8c46
Use parallel tests
2019-04-24 16:26:24 +02:00
Chocobozzz
5fb6996b81
Add default playlist image
2019-04-24 16:26:23 +02:00
Chocobozzz
210feb6cc4
Cleanup tests
2019-04-24 16:26:23 +02:00
Chocobozzz
9cc8d43e37
Add migrations
2019-04-24 16:26:22 +02:00
Chocobozzz
2fb5b3a55a
Relax videos list thumbnail api join
2019-04-24 16:26:22 +02:00
Chocobozzz
b876eaf11a
Fix ownership changes
2019-04-24 16:26:21 +02:00
Chocobozzz
dc85273764
Refactor video caption/preview caches
2019-04-24 16:26:21 +02:00
Chocobozzz
3acc508440
Upgrade sequelize
2019-04-24 16:26:21 +02:00
Chocobozzz
1735c82572
Update sequelize
2019-04-24 16:26:20 +02:00
Chocobozzz
e8bafea35b
Create a dedicated table to track video thumbnails
2019-04-24 16:25:52 +02:00
Chocobozzz
94565d52bb
Shared utils -> extra-utils
...
Because they need dev dependencies
2019-04-24 16:25:52 +02:00
Chocobozzz
4ee7a4c9ac
Remove tmp file on image processing error
2019-04-24 16:25:51 +02:00
Chocobozzz
1eddc9a74f
Add user adminFlags
2019-04-15 14:39:52 +02:00
Chocobozzz
cda03765fe
Add ability to delete old remote views
2019-04-12 08:31:06 +02:00
Chocobozzz
8f0bc73d7d
Add ability to limit videos history size
2019-04-11 15:38:53 +02:00
Chocobozzz
76062d9f96
Try to improve server tests compilation speed
2019-04-11 14:29:41 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/
2019-04-11 14:26:41 +02:00
Chocobozzz
6dd9de95df
Move config in its own file
2019-04-11 13:45:39 +02:00
Chocobozzz
5d79474cc6
Add debug component to help admins to fix IP issues
2019-04-11 10:58:09 +02:00
Chocobozzz
2c22613c2f
Add logs page in client
2019-04-11 10:14:08 +02:00
Chocobozzz
fd8710b897
Add logs endpoint
2019-04-10 16:38:32 +02:00
Chocobozzz
31b6ddf866
Add ability to disable tracker
2019-04-10 09:23:18 +02:00
Chocobozzz
22834691ab
Add check params account ratings tests
2019-04-09 11:24:15 +02:00
Yohan Boniface
c100a6142e
Add /accounts/:username/ratings endpoint ( #1756 )
...
* Add /users/me/videos/ratings endpoint
* Move ratings endpoint from users to accounts
* /accounts/:name/ratings: add support for rating= and sort=
* Restrict ratings list to owner
* Wording and better way to ensure current account
2019-04-09 11:02:02 +02:00
Chocobozzz
8ce1ba6e3e
Add new instance follower notification in client
2019-04-09 10:42:07 +02:00
Chocobozzz
883993c81e
Add notification on new instance follower (server side)
2019-04-08 17:30:48 +02:00
Chocobozzz
14893eb71c
Add ability to manually approves instance followers in REST API
2019-04-08 15:18:04 +02:00
Chocobozzz
5b9c965d5a
Add ability to forbid followers
2019-04-08 14:06:23 +02:00
Chocobozzz
594d0c6a7c
Fix HLS federation
2019-04-08 12:08:16 +02:00
Chocobozzz
0e9c48c2ed
Add ability to remove an instance follower in API
2019-04-08 11:52:43 +02:00
Chocobozzz
ae9bbed46d
Update P2P media loader peer version
2019-04-08 11:16:14 +02:00
Chocobozzz
14aed608f5
Copy video/audio codec for HLS
2019-04-08 10:03:23 +02:00
Chocobozzz
4e10f4b2f1
Fix context types
2019-04-08 09:55:25 +02:00
Chocobozzz
ae3171b660
Fix jsonld context
2019-04-08 09:24:04 +02:00
Chocobozzz
0f4905e120
2 rows per overview section
2019-04-05 17:00:09 +02:00
Chocobozzz
5893593982
Fix notification tests
2019-04-03 10:26:03 +02:00
Chocobozzz
5322589d16
Use custom ffmpeg path in youtube dl
2019-04-03 10:16:18 +02:00
Chocobozzz
489290b8b1
Restore videos list components
2019-04-02 11:45:02 +02:00
Josh Morel
7ccddd7b52
add quarantine videos feature ( #1637 )
...
* add quarantine videos feature
* increase Notification settings test timeout
to 20000ms. was completing 7000 locally but timing out
after 10000 on travis
* fix quarantine video test issues
-propagate misspelling
-remove skip from server/tests/client.ts
* WIP use blacklist for moderator video approval
instead of video.quarantine boolean
* finish auto-blacklist feature
2019-04-02 11:26:47 +02:00
Chocobozzz
308421283a
Move video file import in its own file
2019-03-19 17:10:53 +01:00
Chocobozzz
a0327eedb0
Rename video-file job to video-transcoding
2019-03-19 17:00:08 +01:00
Chocobozzz
1ed9b8ee69
Fix email notification
2019-03-19 16:41:41 +01:00
Chocobozzz
d85798c4e7
Better videos redundancy config error handling
2019-03-19 16:33:40 +01:00
Chocobozzz
2ba9287131
Cleanup invalid rates/comments/shares
2019-03-19 16:23:02 +01:00
Chocobozzz
d74d29ad9e
Limit user tokens cache
2019-03-19 14:30:43 +01:00
Chocobozzz
9f79ade627
Refresh playlists
2019-03-19 14:13:53 +01:00
Chocobozzz
0e0c745b62
Increase refresh interval to 2 days
2019-03-19 11:15:42 +01:00
Chocobozzz
f58094b257
Only create refresh job if needed
2019-03-19 11:14:48 +01:00
Chocobozzz
f4800714f9
Cleanup tmp directory at startup
2019-03-19 10:53:53 +01:00
Chocobozzz
dae86118ed
Cleanup express locals typings
2019-03-19 10:35:15 +01:00
Chocobozzz
e65c0c5b1f
Better AP route checker
2019-03-19 09:34:29 +01:00
Chocobozzz
0f6acda116
Does exist
2019-03-19 09:26:50 +01:00
Chocobozzz
9a18a62520
Handle theater mode for playlists
2019-03-18 11:17:59 +01:00
Chocobozzz
397d78fb3e
Fix unit tests
2019-03-18 11:17:59 +01:00
Chocobozzz
c5e4e36d2a
Forbid public playlists not assigned to a channel
2019-03-18 11:17:59 +01:00
Chocobozzz
2a10aab3d7
Add playlist updatedAt tests
2019-03-18 11:17:59 +01:00
Chocobozzz
76564702b7
Fix videos list for api SQL request
2019-03-18 11:17:59 +01:00
Chocobozzz
0b16f5f220
Add videos playlist exist tests
2019-03-18 11:17:59 +01:00
Chocobozzz
15e9d5ca39
Playlist reorder support
2019-03-18 11:17:59 +01:00
Chocobozzz
f0a3988066
Add to playlist dropdown
2019-03-18 11:17:59 +01:00
Chocobozzz
830b4faff1
Add/update/delete/list my playlists
2019-03-18 11:17:59 +01:00
Chocobozzz
d4c9f45b31
Add server migrations
2019-03-18 11:17:59 +01:00
Chocobozzz
9c6ca37fc1
Rename streaming playlists routes/directories
2019-03-18 11:17:59 +01:00
Chocobozzz
09979f8959
Refactor video playlist middlewares
2019-03-18 11:17:59 +01: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
Chocobozzz
bfe2ef6bfa
Add request body limit
2019-02-21 17:19:16 +01:00
Chocobozzz
539d3f4faa
BREAKING: update CSP configuration
...
Disable it by default and add ability to specify a custom report uri
2019-02-21 16:28:53 +01:00
Chocobozzz
c8000975d3
Add NSFW info in about page
2019-02-21 15:51:28 +01:00
Chocobozzz
9b39106d57
findById -> findByPk
2019-02-21 14:40:10 +01:00
Chocobozzz
374c1db98c
Upgrade server dependencies
2019-02-21 14:22:39 +01:00
Chocobozzz
92bf2f6299
Improve channel and account SEO
2019-02-21 14:06:10 +01:00
Chocobozzz
dee77e767f
Create send email type
...
Instead of using email job handler payload type
2019-02-20 15:54:32 +01:00
Chocobozzz
f8802489bb
Add isNSFW instance configuration key
2019-02-20 15:36:43 +01:00
Chocobozzz
e5fc7811ae
Increase thumbnails size
2019-02-20 13:59:31 +01:00
Josh Morel
576ad67aac
check email enabled for requiresEmailVer config
2019-02-18 17:21:41 +01:00
Chocobozzz
41d713446c
Lazy import some modules
2019-02-15 15:52:18 +01:00
Chocobozzz
17036be5bc
Try to fix travis tests
2019-02-15 14:04:34 +01:00
Chocobozzz
ed10645c2f
Fix mention helper test
2019-02-15 09:43:38 +01:00
Chocobozzz
4759fedc61
Fix from header in contact form
2019-02-15 09:43:38 +01:00
Chocobozzz
1f6d57e354
Fix mention notification with a remote account
2019-02-15 09:43:37 +01:00
Chocobozzz
c74c9be934
Refractor published date on video import
2019-02-12 11:47:23 +01:00
Andrés Maldonado
84929846e7
Import original publication date (CLI)
...
* Import original publication date when importing a video from YouTube using the CLI
* Fix lint issues
2019-02-12 11:19:19 +01:00
Andrés Maldonado
4e553a41fd
Import original publication date (web UI)
...
Import original publication date when importing a video from YouTube in the web UI
2019-02-12 11:19:19 +01:00
Andrés Maldonado
31d065cc50
Add search by original publication date
2019-02-12 11:14:37 +01:00
Chocobozzz
7f8f8bdb4a
HLS is only supported by ffmpeg 4
...
Because of c8f625f529
2019-02-12 11:14:36 +01:00
Chocobozzz
7519127b5c
Add originallyPublishedAt unit tests
2019-02-11 15:16:39 +01:00
Chocobozzz
6913f69134
Move original publication date in advanced settings
2019-02-11 14:33:47 +01:00
Chocobozzz
b718fd2237
Merge branch 'develop' into pr/1285
2019-02-11 14:09:23 +01:00
Chocobozzz
25451e08c7
Update migration version for download enabled
2019-02-11 11:55:11 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217
2019-02-11 11:52:34 +01:00
Chocobozzz
53a94c7cfa
Add federation tests on download enabled
2019-02-11 11:48:56 +01:00
Chocobozzz
e79d0ba56c
Fix reverse proxy test
2019-02-11 11:01:50 +01:00
Chocobozzz
28f3d1b36a
Merge branch 'feature/correctly-send-activities' into develop
2019-02-11 11:00:09 +01:00
Chocobozzz
b426edd485
Cleanup reset user password by admin
...
And add some tests
2019-02-11 10:37:27 +01:00
Rigel Kent
328c78bc4a
allow administration to change/reset a user's password
2019-02-11 09:26:29 +01:00
Chocobozzz
597a9266d4
Add player mode in watch/embed urls
2019-02-11 09:13:02 +01:00
Chocobozzz
4c280004ce
Use a single file instead of segments for HLS
2019-02-11 09:13:02 +01:00
Chocobozzz
0920929696
Add hls support on server
2019-02-11 09:13:02 +01:00
Chocobozzz
2adfc7ea9a
Refractor videojs player
...
Add fake p2p-media-loader plugin
2019-02-11 09:13:02 +01:00
Josh Morel
6c32d30212
remove .only from notifications tests
2019-02-07 14:49:28 +01:00
Josh Morel
f7effe8dc7
don't notify prior to scheduled update
...
also increase timeouts on user-notification test
2019-02-07 14:49:28 +01:00
Josh Morel
926cd3df33
fix typo in test accounts api validators
2019-01-28 11:49:30 +01:00
Chocobozzz
307902e2b3
Try to fix Mac video upload
2019-01-24 15:23:06 +01:00
Chocobozzz
0c5892764e
Youtube DL update every 24 hours
2019-01-21 16:22:15 +01:00
Chocobozzz
ebff55d8d6
Fix tests
2019-01-21 15:58:07 +01:00
Chocobozzz
38967f7b73
Add server host in notification account field
2019-01-21 13:52:46 +01:00
Chocobozzz
ef04ae20fe
Prefer avg_frame_rate to fetch video FPS
2019-01-17 14:03:32 +01:00
Chocobozzz
457bb213b2
Refactor how we use icons
...
Inject them in an angular component so we can easily change their color
2019-01-17 10:38:18 +01:00
Chocobozzz
1e7eb25f6c
Correctly send Flag/Dislike/View activities
2019-01-15 14:59:40 +01:00
Chocobozzz
848f499def
Prepare Dislike/Flag/View fixes
...
For now we Create these activities, but we should just send them
directly.
This fix handles correctly direct Dislikes/Flags/Views, we'll implement
the sending correctly these activities in the next peertube version
2019-01-15 14:45:09 +01:00
Chocobozzz
44b9c0ba31
Add totalLocalVideoFilesSize in stats
2019-01-15 09:45:54 +01:00
Chocobozzz
1506307f2f
Increase abuse length to 3000
...
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz
699b059e2d
Fix deleting not found remote actors
2019-01-14 12:11:06 +01:00
Chocobozzz
744d0eca19
Refresh remote actors on GET enpoints
2019-01-14 11:30:15 +01:00
Chocobozzz
bb8f7872f5
Fix peertube CLI documentation
2019-01-14 11:01:40 +01:00
Chocobozzz
cf405589f0
Move subscriptions controllers in its own file
2019-01-14 10:44:59 +01:00
Chocobozzz
b4593cd7ff
Warn user when they want to delete a channel
...
Because they will not be able to create another channel with the same
actor name
2019-01-14 10:24:49 +01:00
Aurélien Béranger
9b4b15f91c
WIP : Indicate to users how "trending" works ( #1458 )
...
* Get the INTERVAL_DAYS const in the video-trending component
* Change Trending section title
* Add a tooltip to explain how trending section works
* Minor CSS fix for the my-feed popover next to the titlepage
2019-01-14 09:06:48 +01:00
clementbrizard
1e74f19a21
Enable video upload and edit
2019-01-12 13:45:23 +00:00
clementbrizard
c80341655f
Change models
2019-01-12 13:41:45 +00:00
clementbrizard
94a680c095
Add migration file
2019-01-12 13:35:39 +00:00
Chocobozzz
c04eb647db
Use origin video url in canonical tag
2019-01-10 16:00:23 +01:00
Chocobozzz
5abb9fbbd1
Add ability to unfederate a local video (on blacklist)
2019-01-10 15:39:51 +01:00
Chocobozzz
26a008fe8d
Update translations
2019-01-10 11:51:25 +01:00
Chocobozzz
d3e56c0c4b
Implement contact form in the client
2019-01-10 11:32:38 +01:00
Chocobozzz
a4101923e6
Implement contact form on server side
2019-01-10 11:32:37 +01:00
Chocobozzz
89ada4e26c
Fix socket.io websocket connection
2019-01-09 11:15:15 +01:00
Chocobozzz
2f1548fda3
Add notifications in the client
2019-01-09 11:15:15 +01:00
Chocobozzz
f7cc67b455
Add new follow, mention and user registered notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
dc13348070
Add import finished and video published notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
e8d246d526
Add notification settings migration
2019-01-09 11:15:15 +01:00
Chocobozzz
cef534ed53
Add user notification base code
2019-01-09 11:15:15 +01:00
Chocobozzz
439b1744f5
Optimize index sizes
2018-12-20 15:25:49 +01:00
Chocobozzz
2f5c6b2fc6
Optimize actor follow scores modifications
2018-12-20 14:31:11 +01:00
Chocobozzz
56b13bd193
Fix federation of some videos
...
If we don't transcode additional resolutions, and user decided to wait
transcoding before publishing the video
2018-12-19 13:41:47 +01:00
Chocobozzz
1a12adcd1e
Fix users update me param validation
2018-12-18 17:18:25 +01:00
Chocobozzz
afa4374ab4
Fix video sort
2018-12-18 11:52:20 +01:00
Chocobozzz
276d965295
Add ability to disable and clear history
2018-12-18 11:35:51 +01:00
Chocobozzz
80bfd33c0b
Add history page on client
2018-12-18 11:35:51 +01:00
Chocobozzz
8b9a525a18
Add history on server side
...
Add ability to disable, clear and list user videos history
2018-12-18 11:35:50 +01:00
Josh Morel
af37210c0b
throw error if MailDev doesn't run
...
also allow calling in multiple file
2018-12-17 10:59:07 +01:00
Chocobozzz
8fc58cb580
Fix CSP on dev mode
2018-12-17 09:42:28 +01:00
Chocobozzz
9aac44236c
Add video title/description when rendering html
2018-12-17 09:13:22 +01:00
HesioZ
ab4dbe3657
Remove the eventual trailing '/' at the end of urls (see #1453 ) ( #1480 )
...
remove eventual trailing '/' at the end of urls in import script (see #1453 )
2018-12-15 01:43:04 +01:00
Chocobozzz
9f7a195363
Keep old channel/user name constraints
...
In order to avoid compatibility issues
2018-12-13 16:26:47 +01:00
Rigel Kent
5e755fff9d
add Content Security Policy ( #1252 )
...
* add Content Security Policy
* remove reflect-metadata on production builds to get rid of unsafe-eval
* fix baseCSP usage
* add SRI to CSP
* add blob: to media-src
* remove SRI
* CSP set to reportOnly
* adding data: to connect-src CSP
* remove block-all-mixed-content
* add report-uri support
2018-12-13 09:49:45 +01:00
Chocobozzz
9ecac97be0
Fix crash regarding video stream issue
2018-12-12 08:55:56 +01:00
Chocobozzz
64e3e27053
Fix broken audio with transcoding
2018-12-11 17:48:14 +01:00
Chocobozzz
44848a51dc
Overwrite video caption
2018-12-11 15:56:35 +01:00
Chocobozzz
f481c4f9f3
Use move instead rename
...
To avoid EXDEV errors
2018-12-11 15:12:38 +01:00
Chocobozzz
14e2014acc
Support additional video extensions
2018-12-11 15:11:09 +01:00
Chocobozzz
8923187455
Add test regarding tmp directory
2018-12-11 09:18:02 +01:00
Chocobozzz
9f8ca79284
Don't quit on queue error
2018-12-11 09:18:01 +01:00
Chocobozzz
2a8c5d0af1
Merge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared
2018-12-07 16:25:29 +01:00
BRAINS YUM
d0ce42c1c1
username/display_name/video_channel_name min length 1 and max length 50 ( #1265 )
...
* make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263 );
! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine;
allow for usernames to start with a number;
fix test, since username can be 1 char now make test check empty;
fix test, Should fail with a too long username;
fix test, Should fail with a too small username;
fix regular expression for username and videoChannel;
change username, videoChannel to be lowercase and fix message;
* change 1 characters to 1 character
2018-12-07 14:54:33 +01:00
Chocobozzz
f3e4d59408
Fix AP tests
2018-12-07 14:23:05 +01:00
Rigel Kent
314141279d
(well-known url) add change-password
2018-12-07 13:56:08 +01:00
Chocobozzz
d22b9b3e20
Fix thumbnail sitemap location
2018-12-06 09:29:00 +01:00
Chocobozzz
2feebf3e6a
Add sitemap
2018-12-05 17:44:34 +01:00
Chocobozzz
3b3b18203f
Add error when email system is not configured and using the forgot
...
password system
2018-12-05 15:10:45 +01:00
Chocobozzz
4e74e8032b
Remove inferred type
2018-12-05 14:36:05 +01:00
Chocobozzz
b9fffa297f
Create redundancy endpoint
2018-12-04 17:08:55 +01:00
Chocobozzz
6040f87d14
Add tmp and redundancy directories
2018-12-04 16:04:15 +01:00
Chocobozzz
745778256c
Fix thumbnail processing
2018-12-04 16:04:14 +01:00
Chocobozzz
f9a971c671
Update dependencies
2018-12-04 10:08:45 +01:00
Chocobozzz
dbe6aa698e
Fix trending page
2018-12-03 09:14:56 +01:00
Chocobozzz
1a8dd4da77
Fix AP redirection
2018-11-30 15:06:36 +01:00
Chocobozzz
1b5e2d7290
Optimize config endpoint
2018-11-23 11:07:00 +01:00
Chocobozzz
a8f378e02c
Don't import test tools in core
2018-11-22 15:30:41 +01:00
Chocobozzz
9fa0ea41aa
Fix youtube video import
2018-11-21 16:29:32 +01:00
Josh Morel
fc2ec87a8c
enable email verification by admin ( #1348 )
...
* enable email verification by admin
* rename/label to set email as verified
to be more explicit that admin is not sending
another email to confirm
* add update user emailVerified check-params test
* make user.model emailVerified property required
2018-11-21 08:48:29 +01:00
Chocobozzz
04b8c3fba6
Delete invalid or deleted remote videos
2018-11-20 10:44:48 +01:00
Chocobozzz
f107470e50
Fix search title
2018-11-20 10:44:48 +01:00
buoyantair
35adc403b7
Fix dependency issues
2018-11-20 12:33:52 +05:30
buoyantair
bc22d60899
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
2018-11-20 12:28:13 +05:30
Chocobozzz
d175a6f7ab
Cleanup tests imports
2018-11-19 17:08:18 +01:00
Chocobozzz
0b2f03d371
Speedup peertube startup
2018-11-19 15:21:09 +01:00
Chocobozzz
361805c48b
Fix checkbox margins
2018-11-19 14:34:36 +01:00
Chocobozzz
a8a6322778
Optimize image resizing
2018-11-19 14:34:36 +01:00
buoyantair
b9f234371b
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
2018-11-18 21:55:52 +05:30
Chocobozzz
58d515e32f
Fix images size when downloading them
2018-11-16 16:48:17 +01:00
Chocobozzz
babecc3c09
Fix AP collections pagination
2018-11-16 15:49:16 +01:00
Chocobozzz
8d4273463f
Check follow constraints when getting a video
2018-11-16 15:49:16 +01:00
Chocobozzz
8d1fa36ad2
Do not host remote AP objects
2018-11-16 11:18:13 +01:00
Chocobozzz
7373507fa8
Improve video upload error handling
2018-11-16 10:05:25 +01:00
buoyantair
92e07c3b5d
Fix dependency errors between modules
2018-11-16 02:51:26 +05:30
buoyantair
ae28cdf327
Merge from upstream
2018-11-16 02:37:16 +05:30
Chocobozzz
8cf9987334
Fix video channel videos url when scrolling
2018-11-15 17:13:27 +01:00
Chocobozzz
6385c0cb7f
Fix embed video id parsing
2018-11-15 16:57:59 +01:00
Chocobozzz
030177d246
Don't forward view, send updates instead
...
To avoid inconsistencies in the federation, now the origin server will
tell other instances what is the correct number of views
2018-11-15 16:38:37 +01:00
Chocobozzz
6cb3482ceb
Remove wrong redundancy test
2018-11-15 11:20:23 +01:00
Chocobozzz
742ddee1f1
Fix server redundancy tests
2018-11-15 10:15:34 +01:00
Chocobozzz
a130f33c9c
Add AP fetch tests
2018-11-14 16:32:28 +01:00
Chocobozzz
e5cb43e071
Clean up peertube auth
2018-11-14 16:32:28 +01:00
Chocobozzz
5c6d985fae
Check activities host
2018-11-14 16:32:27 +01:00
Chocobozzz
df66d81583
Add compatibility with other Linked Signature algorithms
2018-11-14 16:32:27 +01:00
Rigel Kent
b83b8dd5ae
add cli option to run without client
2018-11-14 15:59:56 +01:00
Chocobozzz
fb651cf2d4
Revert change og video type
2018-11-14 08:18:50 +01:00
Chocobozzz
be0f59b4ee
Merge branch 'master' into develop
2018-11-13 15:32:12 +01:00
BO41
891bc4f8bf
change video type
2018-11-13 15:28:50 +01:00
Thomas Citharel
1cf8aca11d
Rename context stats to state
...
I guess it refers to the VideoState enum used here as `state` instead.
2018-11-13 14:51:36 +01:00
Rigel Kent
408f50ebc7
(ffmpeg) force pixel format yuv420p ( #1394 )
2018-11-12 15:43:51 +01:00
buoyantair
9639bd1757
Move utils to /shared
...
Move utils used by /server/tools/* & /server/tests/**/* into
/shared folder.
Issue: #1336
2018-10-29 22:18:31 +05:30
BRAINS YUM
fa27f07637
allow peertube-import-videos.ts CLI script to run concurrently ( #1334 )
...
allows running multiple imports at the same time, whereas previously a concurrent instance of the script deleted another processe's file.
2018-10-24 20:07:51 +02:00
Frank de Lange
8684f3c1f6
Fix #1328 - application-config initialisation in CLI tools ( #1343 )
...
Test for an empty object in `cli.ts` when no config data is present (i.e. when run on a new install).
2018-10-24 12:28:25 +02:00
Rigel Kent
7cf3e57376
(doc) add manpage to peertube cli
2018-10-20 19:16:56 +02:00
Rigel Kent
c141f68be1
add repl to the cli wrapper, remove extraneous TOC in tools.md
2018-10-19 14:24:35 +02:00
Chocobozzz
f7509cbec8
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:59:52 +02:00
Chocobozzz
40ed9f6aae
Update translations
2018-10-19 12:45:40 +02:00
Chocobozzz
41f2ebae4f
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:26:37 +02:00
BRAINS YUM
d23e6a1c97
Feature/description support fields length 1000 ( #1267 )
...
* fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259 )
remove constant fields imports from migrations
* add migrations to update description and support fields to 1000 (fixes #1258 )
* fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258 );
fix test Should fail with a too long description;
fix test Should fail with a long description;
fix test Should fail with a long description;
Remove USER.SUPPORT from constants since that field no longer exists;
null not false, in migrations/0280-description-support.ts;
video support field 1000, oops;
* rename migration 0280-description-support.ts -> 0285-description-support.ts;
update video support maxlength text
2018-10-19 08:54:01 +02:00
Rigel Kent
be8139c7fe
fix lint test
2018-10-18 23:49:12 +02:00
Chocobozzz
74cd011b6c
Fix optimize old videos script
2018-10-18 16:54:26 +02:00
Chocobozzz
cdf4cb9eaf
Fix transcoding
2018-10-18 10:44:16 +02:00
Chocobozzz
e27ff5da6e
AP mimeType -> mediaType
2018-10-18 10:44:15 +02:00
Chocobozzz
28e51e831b
Oup's
2018-10-17 17:58:21 +02:00
Chocobozzz
0229b014e0
Fix tests
2018-10-17 13:10:58 +02:00
Chocobozzz
bb5d90e62f
Merge branch 'feature/webtorrent-disabling' into develop
2018-10-17 10:48:56 +02:00
Felix Ableitner
bcf21a376f
Set keyframe interval for transcoding ( fixes #1147 ) ( #1231 )
...
* Set keyframe interval for transcoding (fixes #1147 )
* remove -maxrate and old bitrate setter
* pass fps as parameter
* set type for ffmpeg param
* assign ffmpeg object
2018-10-17 10:15:38 +02:00
Chocobozzz
26370ce469
Move redundancy in its own travis container
2018-10-16 16:41:36 +02:00
Chocobozzz
fd28a0fc88
Fix redundancy test
2018-10-16 16:41:36 +02:00
Chocobozzz
65b21c961c
Add ability to mute a user/instance by server in client
2018-10-16 16:41:36 +02:00
Chocobozzz
b44164bb56
Add ability to mute a user/instance by server in server api
2018-10-16 16:41:36 +02:00
Chocobozzz
af5767ffae
Add user/instance block by users in the client
2018-10-16 16:41:36 +02:00
Chocobozzz
7ad9b9846c
Add ability for users to block an account/instance on server side
2018-10-16 16:41:36 +02:00
BRAINS YUM
1e59ca3bac
add REPL in server/tools/repl.ts ( #1248 )
2018-10-14 19:48:08 +02:00
Adnane Belmadiaf
6f2ae7a1aa
rename News category into News & Politics ( #1261 )
2018-10-14 19:43:17 +02:00
Rigel Kent
ed638e5325
move to boolean switch
2018-10-13 11:53:48 +02:00
Rigel Kent
64cc5e8575
add webtorrent opt-out settings
...
- add a key in localstorage to remember the opt-out
- add a user setting
2018-10-13 11:53:42 +02:00
BRAINS YUM
0e5ff97f6f
add parseBytes utility function and tests ( #1239 )
...
* add parseBytes utility function and tests
make it parse TB MB
fix parseBytes; * 1024
test bytes too, and make parseByte to parse quotas
add test in travis.sh in misc
* fix parseBytes and test to pass linting
2018-10-13 08:43:55 +02:00
Chocobozzz
71e318b4fe
Merge branch 'release/v1.0.0' into develop
2018-10-11 09:52:16 +02:00
Chocobozzz
1cd3facc3d
Add ability to list all local videos
...
Including private/unlisted for moderators/admins
2018-10-10 11:46:50 +02:00
Chocobozzz
b014b6b9c7
Add ability to search on followers/following
2018-10-10 09:43:53 +02:00
Lucas Declercq
9ccff23877
Add explicit error message that changing video ownership only works with local accounts ( #1214 )
...
* Add explicit error message that changing video ownership only works with local accounts
* Remove superfluous logger
* Remove unneeded end() to error responses
* Add a message on client side to prevent transfering ownership to a remote account
2018-10-10 08:57:00 +02:00
Chocobozzz
729bb18481
Add more headers to broadcast/unicast
2018-10-10 08:51:58 +02:00
Rigel Kent
e1d7b98bc7
fix automatic bitrate adjustment
...
The regression was introduced in
edb4ffc7e0
and forced a fixed bitrate per
resolution
2018-10-08 21:14:21 +02:00
Chocobozzz
c1c86c1599
Try to cache video_high_bitrate_1080p in travis
2018-10-08 17:47:19 +02:00
Chocobozzz
9f1ddd2496
Change a little bit optimize-old-videos logic
2018-10-08 16:50:56 +02:00
Felix Ableitner
edb4ffc7e0
Set bitrate limits for transcoding ( fixes #638 ) ( #1135 )
...
* Set bitrate limits for transcoding (fixes #638 )
* added optimization script and test, changed stuff
* fix test, improve docs
* re-add optimize-old-videos script
* added documentation
* Don't optimize videos without valid UUID, or redundancy videos
* move getUUIDFromFilename
* fix tests?
* update torrent and file size, some more fixes/improvements
* use higher bitrate for high fps video, adjust bitrates
* add test video
* don't throw error if resolution is undefined
* generate test fixture on the fly
* use random noise video for bitrate test, add promise
* shorten test video to avoid timeout
* use existing function to optimize video
* various fixes
* increase test timeout
* limit test fixture size, add link
* test fixes
* add await
* more test fixes, add -b:v parameter
* replace ffmpeg wiki link
* fix ffmpeg params
* fix unit test
* add test fixture to .gitgnore
* add video transcoding fps model
* add missing file
2018-10-08 16:26:04 +02:00
Chocobozzz
24b9417cec
Add users search filter
2018-10-08 15:55:32 +02:00
Lucas Declercq
7f2cfe3a79
Rename downloadingEnabled property to downloadEnabled
2018-10-08 14:45:22 +02:00
Lucas Declercq
4ffdcfc63b
Fix some defaults values + indentation
2018-10-08 14:42:55 +02:00
Chocobozzz
54b3316099
Merge branch 'release/v1.0.0' into develop
2018-10-08 12:04:52 +02:00
Chocobozzz
6321cbc3e7
Avoid old issue regarding duplicated hosts in db
2018-10-08 11:58:18 +02:00
Chocobozzz
ecf3f060ef
Fix avatar update
2018-10-08 10:37:43 +02:00
Chocobozzz
505319061e
Fix avatar update
2018-10-08 10:37:08 +02:00
Lucas Declercq
156c50af30
Add downloadingEnabled property to video model
2018-10-06 19:17:39 +02:00
Chocobozzz
79bd2632d6
Add user moderation in the account page
2018-10-05 17:02:10 +02:00
Chocobozzz
6e46de095d
Add user history and resume videos
2018-10-05 11:22:38 +02:00
Chocobozzz
d0ae9490a3
Don't block when removing redundancy files
2018-10-03 16:57:40 +02:00
Chocobozzz
25378bc866
Delete correctly redundancy files
2018-10-03 16:43:57 +02:00
Chocobozzz
be691a57c5
Check video exists before extending its expiration
2018-10-03 15:52:39 +02:00
Chocobozzz
499d901595
Fix config endpoint
2018-10-03 14:36:00 +02:00
Chocobozzz
b88a459664
Upsert cache file on create activity
2018-10-02 14:40:03 +02:00
Chocobozzz
278711b595
Try to fix travis redundancy tests
2018-10-02 13:09:57 +02:00
Chocobozzz
659edaa62c
Correctly forward comment deletion
2018-10-02 11:33:18 +02:00
Chocobozzz
792e5b8e5b
Try to improve redundancy tests
2018-10-02 09:04:19 +02:00
Chocobozzz
913f08f2bd
Fix get version
2018-10-02 09:02:47 +02:00
Chocobozzz
c049d791f9
Check the comment is defined when validating body
2018-10-01 19:07:25 +02:00
Chocobozzz
d05be4d944
Don't build redundancy urls with "-1" as fps
2018-10-01 18:40:17 +02:00
Chocobozzz
c2ad546df9
Add tests regarding well known/static text endpoints
2018-10-01 17:29:11 +02:00
Chocobozzz
99cc653f47
Fix redundancy with specific videos
2018-10-01 16:33:53 +02:00
Chocobozzz
a3737cbf2b
Fix video fps validator
2018-10-01 16:27:47 +02:00
Chocobozzz
d382f4e917
Fix refreshing external video attributes
2018-10-01 15:34:31 +02:00
Chocobozzz
601527d795
Check video channel name is unique on our instance
2018-10-01 15:20:14 +02:00
Chocobozzz
7361c401b1
Decrease log file max size
2018-10-01 15:20:13 +02:00
Chocobozzz
d1105b97ef
Fix dnt route
2018-10-01 15:20:13 +02:00
Rigel Kent
abb2c7927c
show last commit hash alongside server version in footer
2018-10-01 14:31:01 +02:00
Andrew Morgan
26b4151762
Define channelId property beforehand
2018-10-01 14:14:49 +02:00
Andrew Morgan
c01cfce40b
Allow specification of Channel ID in peertube-upload.js
2018-10-01 14:14:49 +02:00
Chocobozzz
cf9166cf2f
Add timeout on youtube dl to cleaup files
2018-10-01 12:00:05 +02:00
Chocobozzz
e37c85e933
Delete each file on failed import
2018-10-01 10:52:58 +02:00
Chocobozzz
e95e0463d8
Correctly delete files on failed import
2018-10-01 10:44:16 +02:00
Chocobozzz
26649b4215
Ensure video existence before duplicating it
2018-10-01 10:31:42 +02:00
Chocobozzz
46f8d69b4e
Fix redundancy with videos already duplicated with another instance
2018-10-01 09:41:48 +02:00
Chocobozzz
8b917537af
Increase timeout on upload endpoint
2018-10-01 09:14:00 +02:00
Chocobozzz
5ce1208a0a
Improve prune script
2018-09-28 10:56:13 +02:00
Chocobozzz
07524e229f
Enable more angular options
2018-09-28 10:36:46 +02:00
Chocobozzz
c39e86b898
Fix video description when importing by url
2018-09-28 10:18:37 +02:00
Chocobozzz
161b061d4e
Remove duplicated videos on unfollow/delete redundancy
2018-09-28 10:07:05 +02:00
Chocobozzz
d0b52b5285
Correctly delete directories on import
2018-09-28 09:08:12 +02:00
Chocobozzz
8578e3b5e6
Fix federation with a comment reply
2018-09-27 11:05:50 +02:00
Chocobozzz
a890d1e0d3
Check current password on server side
2018-09-26 16:28:27 +02:00
Chocobozzz
cc68049424
Fix video import of some youtube videos
2018-09-26 15:55:45 +02:00
Chocobozzz
542e73a26b
Improve upliad script error handling for token
2018-09-26 15:16:48 +02:00
Chocobozzz
3827c3b348
Fix quota translations
2018-09-26 14:50:39 +02:00
Chocobozzz
2e7cf5ae0c
Fix video files duplicated when fps is null
...
Null values are not considered equal in a UNIQUE index
2018-09-26 14:08:35 +02:00
Chocobozzz
d82d8ad60c
Fix redundancy tests
2018-09-26 10:16:12 +02:00
Chocobozzz
4a534352ad
Fix avatar transaction retry
2018-09-26 10:15:50 +02:00
Chocobozzz
a71de50bbc
Correctly fix the webtorrent redundancy bug
2018-09-26 08:50:21 +02:00
Chocobozzz
69fa54a0b2
Dirty webtorrent fix to wait FS sync
2018-09-25 19:42:05 +02:00
Chocobozzz
4a08f66927
Only duplicate public videos
2018-09-25 18:05:54 +02:00
Chocobozzz
c922d14220
Fix redundancy bug with old peertube torrent
2018-09-25 17:49:50 +02:00
Chocobozzz
cfaf819c38
Reduce video import TTL
2018-09-25 17:49:49 +02:00
Chocobozzz
ebdb612458
Fix redundancy totalVideos stats
2018-09-25 17:49:48 +02:00
Chocobozzz
96cdbcfa07
Merge remote-tracking branch 'origin/master' into develop
2018-09-25 11:43:00 +02:00
lsde
7e7ab7a15d
Add dot into allowed actor username
...
One should have an oportunity to include a dot into the username.
Currently, it breaks the flow if one has an SSO in front of PeeTube which creates users with "name.surname".
2018-09-25 11:41:15 +02:00
Chocobozzz
aac0118dc3
Fix dnt route
2018-09-25 11:13:34 +02:00
Chocobozzz
47d0b3ee61
Fix comment deletion with mastodon
...
Will only act with new comments
2018-09-24 16:24:42 +02:00
Chocobozzz
e5565833f6
Improve redundancy: add 'min_lifetime' configuration
2018-09-24 13:38:39 +02:00
Chocobozzz
d1a63fc7ac
Fix videos list user NSFW policy
2018-09-24 13:38:38 +02:00
Chocobozzz
1cfa8d6809
Remove unnecessary actor existance check
...
We already checked it in the signature checker
2018-09-21 09:51:24 +02:00
Chocobozzz
5c142a4bab
Fix peertube script
2018-09-20 16:35:48 +02:00
Chocobozzz
00f9e41ebf
Add warning if one of the storage directory is in the peertube
...
production directory
Because admins could loose these directories on peertube upgrade
2018-09-20 16:25:00 +02:00
Chocobozzz
0491173a61
Merge branch 'develop' into cli-wrapper
2018-09-20 16:24:31 +02:00
Chocobozzz
f201a74992
Cache user token
2018-09-20 11:45:59 +02:00
Chocobozzz
91411dba92
Limit associations fetch when loading token
2018-09-20 11:45:59 +02:00
BO41
fcc7c06037
rename manifest
2018-09-20 08:22:29 +02:00
Chocobozzz
f41d6aacdf
Fix jobs tests
2018-09-19 17:42:16 +02:00
Chocobozzz
993cef4b6e
Refractor audit user identifier
2018-09-19 17:02:27 +02:00
Chocobozzz
606c946e74
Move youtubeDL upgrader in helpers/
2018-09-19 16:24:24 +02:00
Chocobozzz
f9f899b9f8
Add redundancy check interval in config
2018-09-19 16:21:30 +02:00
Chocobozzz
d9bdd007d7
Put config redundancy strategies in "strategies" subkey
2018-09-19 16:12:07 +02:00
Chocobozzz
12ba460e9e
Improve AP actor checks
2018-09-19 15:47:55 +02:00
Chocobozzz
e587e0ecee
Optimize activity actor load in AP processors
2018-09-19 15:22:55 +02:00
Chocobozzz
d4defe07d2
Optimize video view AP processing
2018-09-19 11:41:30 +02:00
Chocobozzz
4157cdb137
Refractor videos AP functions
2018-09-19 11:16:23 +02:00
Chocobozzz
96f29c0f6d
Optimize SQL requests of videos AP endpoints
2018-09-19 10:20:38 +02:00
Chocobozzz
627621c1e8
Optimize SQL requests of watch page API endpoints
2018-09-19 09:54:37 +02:00
Chocobozzz
098eb37797
Reduce video.ts file size by moving some methods in other files
2018-09-19 09:54:35 +02:00
Chocobozzz
dae4a1c0f8
Improve webtorrent import error message when the torrent has multiple
...
files
2018-09-17 17:50:51 +02:00
Chocobozzz
c07b604111
Fix checker if we don't have redundancy strategies
2018-09-17 11:28:33 +02:00
Chocobozzz
860cfb31e3
Fix "no results" on overview page
2018-09-17 10:28:38 +02:00
Chocobozzz
2ff83ae292
Handle actors search beginning with '@'
...
Something like @toto@example.com
2018-09-17 10:13:54 +02:00
Chocobozzz
743164fed1
Fix overviews tests
2018-09-17 10:13:54 +02:00
Chocobozzz
a2377d15ee
Refractor activities sending
2018-09-14 16:51:35 +02:00
Chocobozzz
d61b817890
Process inbox activities in a queue
2018-09-14 16:47:15 +02:00
Chocobozzz
4b5384f6e7
Add redundancy stats
2018-09-14 14:57:59 +02:00
Chocobozzz
7348b1fd84
Speed up overviews route
2018-09-14 11:52:23 +02:00
Chocobozzz
2b62cccd75
Raw query to get video ids
2018-09-14 11:09:34 +02:00
Rigel Kent
8704acf49e
one cli to unite them all
...
Ash nazg thrakatulûk agh burzum-ishi krimpatul
- refactor import-videos to use the youtubeDL helper
- add very basic tests for the cli
2018-09-14 11:08:55 +02:00
Chocobozzz
3f6b6a565d
Add recently added redundancy strategy
2018-09-14 11:05:38 +02:00
Chocobozzz
d5f044cef2
Test to remove delay in tests when running multiple servers
2018-09-14 09:58:49 +02:00
Chocobozzz
b36f41ca09
Add trending videos strategy
2018-09-14 09:57:21 +02:00
Chocobozzz
6f0c46be8c
Process last hour views instead of current hour
2018-09-13 14:14:15 +02:00
Chocobozzz
c48e82b5e0
Basic video redundancy implementation
2018-09-13 14:05:49 +02:00
Chocobozzz
176e211453
Retry transactions on user endpoints if needed
2018-09-13 10:22:14 +02:00
Chocobozzz
9431cabf8a
Fix video views increment
2018-09-13 10:13:25 +02:00
Chocobozzz
662fb3ab5e
Fix feeds with channel filter
2018-09-13 09:48:34 +02:00
Rigel Kent
e78980ebd1
use focus-visible polyfill to improve keyboard navigation
...
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Austin Heap
5447516b9a
draft "security.txt" spec integration ( #1020 )
2018-09-06 14:23:46 +02:00
Chocobozzz
db6d617dd2
Fix occitan label
2018-09-05 15:59:43 +02:00
Chocobozzz
c75937d04f
Move nodeinfo model in shared/
2018-09-04 15:34:11 +02:00
Chocobozzz
df39a683ea
check 'trending.videos.interval_days' config key
2018-09-04 15:31:13 +02:00
Chocobozzz
0926af7acc
Add index to startDate in video view table
2018-09-04 15:25:02 +02:00
Chocobozzz
1a893f9c70
Do not import live streaming
2018-09-04 11:55:43 +02:00
Chocobozzz
5d112d0c3b
Fix video import with URL with small titles
2018-09-04 11:34:46 +02:00
Chocobozzz
ea853b7282
Fix import videos duplicate detection
2018-09-04 11:25:40 +02:00
Chocobozzz
eb87f9a4a9
Fix nsfw filter
2018-09-04 11:19:19 +02:00
Chocobozzz
5cf84858d4
Add federation to ownership change
2018-09-04 10:49:53 +02:00
Chocobozzz
0b74c74abe
Add trending sort tests
2018-09-04 08:58:34 +02:00
Chocobozzz
558187a72f
Fix overview cache
2018-09-04 08:58:33 +02:00
Chocobozzz
8ea6f49ad7
Fix trending videos count
2018-09-04 08:58:33 +02:00
Gaëtan Rizio
74d6346935
Users can change ownership of their video [ #510 ] ( #888 )
...
* [#510 ] Create a new route to get the list of user names
To be able to transfer ownership to a user,
we need to be able to select him from the list of users.
Because the list could be too big, we add a autocomplete feature.
This commit does the following:
* Add a API endpoint to get a list of user names by searching its name
* [#510 ] The user can choose the next owner of the video
To be able to transfer ownership to a user,
we need the owner to be able to select the user.
The server can autocomplete the name of the user to give the ownership.
We add a dialog for the user to actually select it.
This commit does the following:
* Create a modal for the owner to select the next one
* Opens this modal with a button into the menu *more*
* Make the dependency injection
* [#510 ] When the user choose the next owner, create a request in database
For the change of ownership to happen, we need to store the temporary requests.
When the user make the request, save it to database.
This commit does the following:
* Create the model to persist change ownership requests
* Add an API to manage ownership operations
* Add a route to persist an ownership request
* [#510 ] A user can fetch its ownership requests sent to him
To be able to accept or refuse a change of ownership,
the user must be able to fetch them.
This commit does the following:
* Add an API to list ownership for a user
* Add the query to database model
* [#510 ] A user can validate an ownership requests sent to him - server
The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the server part.
This commit does the following:
* Add an API for the user to accept or refuse a video ownership
* Add validators to ensure security access
* Add a query to load a specific video change ownership request
* [#510 ] A user can validate an ownership requests sent to him - web
The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the web part.
This commit does the following:
* Add a page to list user ownership changes
* Add actions to accept or refuse them
* When accepting, show a modal requiring the channel to send the video
* Correct lint - to squash
* [#510 ] PR reviews - to squash
This commit does the following:
* Search parameter for user autocompletion is required from middleware directly
* [#510 ] PR reviews - to squash with creation in database commit
This commit does the following:
* Add the status attribute in model
* Set this attribute on instance creation
* Use AccountModel method `loadLocalByName`
* [#510 ] PR reviews - to squash with fetch ownership
This commit does the following:
* Add the scope `FULL` for database queries with includes
* Add classic pagination middlewares
* [#510 ] PR reviews - to squash with ownership validation - server
This commit does the following:
* Add a middleware to validate whether a user can validate an ownership
* Change the ownership status instead of deleting the row
* [#510 ] PR reviews - to squash with ownership validation - client
This commit does the following:
* Correct indentation of html files with two-spaces indentation
* Use event emitter instead of function for accept event
* Update the sort of ownership change table for a decreasing order by creation date
* Add the status in ownership change table
* Use classic method syntax
* code style - to squash
* Add new user right - to squash
* Move the change to my-account instead of video-watch - to squash
As requested in pull-request, move the action to change ownership into my videos page.
The rest of the logic was not really changed.
This commit does the following:
- Move the modal into my video page
- Create the generic component `button` to keep some styles and logic
* [#510 ] Add tests for the new feature
To avoid regression, we add tests for all api of ownership change.
This commit does the following:
- Create an end-to-end test for ownership change
- Divide it to one test per request
* [#510 ] Do not send twice the same request to avoid spam
We can send several time the same request to change ownership.
However, it will spam the user.
To avoid this, we do not save a request already existing in database.
This commit does the following:
- Check whether the request exist in database
- Add tests to verify this new condition
* [#510 ] Change icons
Change icons so they remains logic with the rest of the application.
This commit does the following:
- Add svg for missing icons
- Add icons in `my-button` component
- Use these new icons
* [#510 ] Add control about the user quota
The user should be able to accept a new video only if his quota allows it.
This commit does the following:
- Update the middleware to control the quota
- Add tests verifying the control
* Correct merge
- Use new modal system
- Move button to new directory `buttons`
* PR reviews - to squash
2018-09-04 08:57:13 +02:00
Chocobozzz
d02911fadd
Fix thumbnail/preview in upload script
2018-09-03 11:12:53 +02:00
Chocobozzz
4b54f1360e
Fix videos overview tags section
2018-08-31 17:43:39 +02:00
Chocobozzz
9a629c6efb
Trending by interval
2018-08-31 17:22:01 +02:00
Chocobozzz
1a47109144
Add channel avatar to overviews
2018-08-31 14:32:37 +02:00
Chocobozzz
b6314e3cee
Cleanup video API SQL requests
2018-08-31 11:44:48 +02:00
Chocobozzz
288fe38590
Use custom rate limiter when asking verif email
2018-08-31 11:44:44 +02:00
Chocobozzz
328e607d32
Add sql trace in error log on sequelize error
2018-08-31 11:43:46 +02:00
Chocobozzz
afd2cba554
Try to improve sql videos list query
...
Split the complex query in 2 different queries
2018-08-31 09:53:07 +02:00
Chocobozzz
2d3741d6d9
Videos overview page: first version
2018-08-31 09:19:58 +02:00
Josh Morel
d9eaee3939
add user account email verificiation ( #977 )
...
* add user account email verificiation
includes server and client code to:
* enable verificationRequired via custom config
* send verification email with registration
* ask for verification email
* verify via email
* prevent login if not verified and required
* conditional client links to ask for new verification email
* allow login for verified=null
these are users created when verification not required
should still be able to login when verification is enabled
* refactor email verifcation pr
* change naming from verified to emailVerified
* change naming from askVerifyEmail to askSendVerifyEmail
* undo unrelated automatic prettier formatting on api/config
* use redirectService for home
* remove redundant success notification on email verified
* revert test.yaml smpt host
2018-08-31 09:18:19 +02:00
Chocobozzz
04291e1ba4
Fix job tests
2018-08-30 15:03:19 +02:00
Chocobozzz
6b6168606b
Bufferize videos views in redis
2018-08-30 15:03:18 +02:00
Chocobozzz
8b60488020
Refractor user quota SQL queries
2018-08-28 18:29:48 +02:00
Chocobozzz
41a676db39
Add features table on signup
2018-08-28 17:39:29 +02:00
Chocobozzz
c3c2ab1c8b
Optimize channel search query
2018-08-28 15:16:04 +02:00
Chocobozzz
9ee92651f6
Fix tests
2018-08-28 11:32:03 +02:00
Chocobozzz
bfcef50db9
Fix oauth server module
2018-08-28 10:56:09 +02:00
Felix Ableitner
bee0abffff
Implement daily upload limit ( #956 )
...
* Implement daily upload limit (ref #652 )
* remove duplicate code
* review fixes
* fix tests?
* whitespace fixes, finish leftover todo
* fix tests
* added some new tests
* use different config value for tests
* remove todo
2018-08-28 09:01:35 +02:00
Chocobozzz
c907c2fa3f
Improve error message on actor name conflict
2018-08-27 16:42:27 +02:00
Chocobozzz
62689b942b
Correctly migrate to fs-extra
2018-08-27 16:23:34 +02:00
Rigel Kent
c9d5c64f98
replace fs by fs-extra to prevent EMFILE error
2018-08-27 16:03:57 +02:00
Chocobozzz
687d638c2b
Fetch outbox when searching an actor
2018-08-27 09:41:54 +02:00
Chocobozzz
f5b0af50c8
Search video channel handle/uri
2018-08-27 09:41:54 +02:00
Chocobozzz
aa55a4da42
Infinite scroll to list our subscriptions
2018-08-27 09:41:54 +02:00
Chocobozzz
f37dc0dd14
Add ability to search video channels
2018-08-27 09:41:54 +02:00
Chocobozzz
240085d005
Fix tests
2018-08-27 09:41:54 +02:00
Chocobozzz
83e6519ba4
Refractor comment creation from federation
2018-08-27 09:41:54 +02:00
Chocobozzz
1297eb5db6
Add refresh video on search
2018-08-27 09:41:54 +02:00
Chocobozzz
f6eebcb336
Add ability to search a video with an URL
2018-08-27 09:41:54 +02:00
Chocobozzz
22a16e36f6
Add local user subscriptions
2018-08-27 09:41:54 +02:00
Chocobozzz
99492dbc0d
Add get subscription endpoint
2018-08-27 09:41:54 +02:00
Chocobozzz
8a19bee1a1
Add ability to set a name to a channel
2018-08-27 09:41:54 +02:00
Chocobozzz
965c4b22d0
Use height instead of width to represent the video resolution
2018-08-27 09:41:54 +02:00
Chocobozzz
06a05d5f47
Add subscriptions endpoints to REST API
2018-08-27 09:41:54 +02:00
Chocobozzz
d03cd8bb20
Split users controller
2018-08-27 09:41:54 +02:00
Chocobozzz
4f1f6f0383
Ensure youtubedl binary exists in ydl helper
2018-08-16 09:45:51 +02:00
Chocobozzz
a76138ff56
Add quota used in users list
2018-08-14 18:01:23 +02:00
Chocobozzz
eed24d26db
Don't set a bitrate on unknown audio input
2018-08-14 15:53:06 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper
2018-08-14 15:28:30 +02:00
Chocobozzz
59c76ffa8f
Flat shared module directory
2018-08-14 15:00:01 +02:00
Chocobozzz
13b6dc1f34
Increase video import timeout
2018-08-14 11:40:14 +02:00
Chocobozzz
cc43831a90
Filter tracker based on infohash
2018-08-14 11:00:03 +02:00
Chocobozzz
e5e7f7fe99
Add tests when getting a blacklisted video
2018-08-14 09:27:19 +02:00
Chocobozzz
191764f30b
Improve blacklist management
2018-08-14 09:27:18 +02:00
Chocobozzz
26b7305a23
Add blacklist reason field
2018-08-14 09:27:18 +02:00
Chocobozzz
288178bf02
Try to fix travis tests
2018-08-10 17:49:12 +02:00
Chocobozzz
268eebed92
Add state and moderationComment for abuses on server side
2018-08-10 16:54:01 +02:00
Chocobozzz
141b177db0
Add ability to ban/unban users
2018-08-09 17:55:05 +02:00
Chocobozzz
eacb25c436
Add reason when banning a user
2018-08-08 17:44:22 +02:00
Chocobozzz
e69219184b
Implement user blocking on server side
2018-08-08 15:22:58 +02:00
Chocobozzz
92b9d60c00
Add ability to delete our account
2018-08-08 10:55:27 +02:00
Chocobozzz
a031ab0b9b
Increase test timeout for imports
2018-08-08 10:13:05 +02:00
Chocobozzz
541006e355
Correct webtorrent download cleanup
2018-08-08 09:30:31 +02:00
Chocobozzz
3e17515e29
Add torrent tests
2018-08-08 09:30:31 +02:00
Chocobozzz
187501f8b8
Add check param tests regarding video imports
2018-08-08 09:30:31 +02:00
Chocobozzz
a84b8fa5cf
Add import.video.torrent configuration
2018-08-08 09:30:31 +02:00
Chocobozzz
990b6a0b0c
Import torrents with webtorrent
2018-08-08 09:30:31 +02:00
Chocobozzz
ce33919c24
Import magnets with webtorrent
2018-08-08 09:30:31 +02:00
Rigel Kent
aad0ec24e8
advertising PeerTube's rather simple DNT policy
2018-08-08 09:22:15 +02:00
Chocobozzz
3d52b300ea
Merge branch 'release/beta-10' into develop
2018-08-06 12:11:08 +02:00
Chocobozzz
2769e297ca
Fix caption upload on Mac OS
2018-08-06 11:45:24 +02:00
Chocobozzz
60979b076d
Fix tests
2018-08-06 11:19:16 +02:00
Chocobozzz
b2977eecb8
Fix fps federation
2018-08-06 11:19:16 +02:00
Chocobozzz
590fb50690
Add tests regarding video import
2018-08-06 11:19:16 +02:00
Chocobozzz
5d08a6a74e
Add import http enabled configuration
2018-08-06 11:19:16 +02:00
Chocobozzz
7e5f9f001d
Add audit logs for video import
2018-08-06 11:19:16 +02:00
Chocobozzz
2b86fe7274
Add job ttl
2018-08-06 11:19:16 +02:00
Chocobozzz
516df59b3b
Remove ability to delete video imports
...
Users should remove the linked video instead
2018-08-06 11:19:16 +02:00
Chocobozzz
d7f83948a1
Correctly handle video import errors
2018-08-06 11:19:16 +02:00
Chocobozzz
ed31c05985
Add ability to list video imports
2018-08-06 11:19:16 +02:00
Chocobozzz
299474e827
Add ability to remove a video import
2018-08-06 11:19:16 +02:00
Chocobozzz
ce32426be9
Auto update youtube-dl
2018-08-06 11:19:16 +02:00
Chocobozzz
fbad87b047
Add ability to import video with youtube-dl
2018-08-06 11:19:16 +02:00
Rigel Kent
7160878c4a
adding tests for audio conversions
2018-08-01 10:57:13 +02:00
Jorropo
991feec9a3
ffmpeg auto thread
...
Set thread count to 0 and ffmpeg will chose automaticaly
2018-08-01 10:57:13 +02:00
Rigel Kent
19ca8ca939
fixing tests to deal with new transcoding parameters
2018-08-01 10:57:13 +02:00
Jorropo
80bc88c133
Nice ffmpeg to 15 and 2
...
Niceness 15 for video conversionNiceness 2 for image generation
(niceness 2 doesn't make it slower, just don't block servers and other
app)
2018-08-01 10:57:13 +02:00
Rigel Kent
4a5ccac5f1
fixing audio getter when video has no audio
2018-08-01 10:57:13 +02:00
Rigel Kent
4176e227cb
Fixing #626 with ffmpeg's low default audio bitrate
2018-08-01 10:57:13 +02:00
Chocobozzz
a3d1026bf3
Add index on sharedInboxUrl
2018-07-31 18:04:45 +02:00
Aurélien Bertron
80e36cd9fa
Add audit logs in various modules
...
- Videos
- Videos comments
- Users
- Videos channels
- Videos abuses
- Custom config
2018-07-31 15:40:29 +02:00
Aurélien Bertron
5939081838
Add audit logs module
2018-07-31 15:40:29 +02:00
Rigel Kent
1c3386e87f
adding ORM pool configuration
2018-07-31 15:38:08 +02:00
Chocobozzz
cf7a61b5a2
Cleanup req files on bad request
2018-07-31 15:09:34 +02:00
Chocobozzz
cc6373e6d6
Fix handle down test
2018-07-31 12:21:04 +02:00
Chocobozzz
6104adc3e9
Don't send follow request if the follow is already accepted
2018-07-31 11:15:59 +02:00
Chocobozzz
25e4d6ee97
Refresh orphan actors
2018-07-31 11:04:33 +02:00
Chocobozzz
4a9e71c2b1
Increase max stalled count in job queue
2018-07-30 19:18:01 +02:00
Chocobozzz
14f2b3ad11
Graceful job queue shutdown
2018-07-30 18:49:54 +02:00
Chocobozzz
8e0fd45e14
Add more info logging
2018-07-30 17:02:40 +02:00
Chocobozzz
0588221107
Remove kue migration
2018-07-30 16:34:47 +02:00
Chocobozzz
c5a893d536
Revert "Delete actor too when deleting account/video channel"
...
This reverts commit e04551d796
.
See https://github.com/Chocobozzz/PeerTube/issues/870#issuecomment-408814420
2018-07-30 13:39:20 +02:00
Chocobozzz
e04551d796
Delete actor too when deleting account/video channel
2018-07-30 11:34:34 +02:00
Chocobozzz
e20015d744
Fiw winston meta log
2018-07-30 11:34:34 +02:00
Chocobozzz
7a93e28110
Delete old indexes
2018-07-27 17:22:20 +02:00
Chocobozzz
8d194d9a5c
Optimize videos list SQL query (another time)
2018-07-27 16:57:16 +02:00
Chocobozzz
dbfd3e9bfe
Optimize search SQL query (I hope :p)
2018-07-27 15:23:05 +02:00
Jorropo
a3c1738eea
[Server>Middlewares>Follows] Changing error code 400 to 500
...
Follows on http server is a server error not an error of the client.
2018-07-27 14:12:31 +02:00
Chocobozzz
18dbb5b972
Revert SQL optimization in videos list :(
2018-07-27 12:03:27 +02:00
Chocobozzz
3ac046e2a4
Fix peertube on chrome
2018-07-26 16:46:36 +02:00
Chocobozzz
2cebd79701
Fix last commit
2018-07-26 11:02:04 +02:00
Rigel Kent
c1e791bad0
expliciting type checks and predicates (server only)
2018-07-25 22:01:25 +02:00
Chocobozzz
d73c98884e
Hack 459 regarding Angular & i18n
2018-07-25 09:57:52 +02:00
Chocobozzz
a8bf1d826e
404 on unknown thumbnail
2018-07-24 18:03:40 +02:00
Chocobozzz
1194e8b46f
Add max count in pagination
2018-07-24 18:03:38 +02:00
Chocobozzz
77de223a5f
Fix publishedAt after a scheduled update
2018-07-24 15:11:28 +02:00
Chocobozzz
98d3324db3
Fix nodeinfo endpoint
2018-07-24 14:36:25 +02:00
Rigel Kent
3f6d68d967
adding initial support for nodeinfo
2018-07-24 14:08:44 +02:00
Chocobozzz
d411245096
Add ability to only filter in the search endpoint
2018-07-24 14:04:05 +02:00
Chocobozzz
8cd72bd377
Optimize SQL queries
2018-07-24 14:04:05 +02:00
Chocobozzz
5bcfd02974
Fix travis tests
2018-07-24 14:04:05 +02:00
Chocobozzz
0b18f4aa80
Add advanced search in client
2018-07-24 14:04:05 +02:00
Chocobozzz
d525fc399a
Add videos list filters
2018-07-24 14:04:05 +02:00
Chocobozzz
57c36b277e
Begin advanced search
2018-07-24 14:04:05 +02:00
Chocobozzz
7279b45581
Speed up populate database script
2018-07-24 14:04:05 +02:00
Chocobozzz
e032aec9b9
Render CSS/title/description tags on server side
2018-07-18 10:00:37 +02:00
Chocobozzz
1d94c15468
Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
2018-07-17 19:22:03 +02:00
Chocobozzz
57a81ff649
Fix static avatars/thumbnails cache
2018-07-17 19:04:41 +02:00
Chocobozzz
b54431049b
Add populate database script
2018-07-17 18:17:50 +02:00
Chocobozzz
62945f067b
Add cors for static paths too
2018-07-17 15:04:54 +02:00
Rigel Kent
d00e2393d4
selective route permission to use embeds with x-frame-deny
2018-07-17 12:03:31 +02:00
Chocobozzz
019e475072
Remove unnecessary image check in video upload
2018-07-16 16:51:17 +02:00
Chocobozzz
a920fef10a
Refractor video attr validators
2018-07-16 14:58:22 +02:00
Chocobozzz
f4001cf408
Handle .srt subtitles
2018-07-16 14:31:40 +02:00
Chocobozzz
40e87e9ecc
Implement captions/subtitles
2018-07-16 11:50:08 +02:00
Rigel Kent
19f7b248d8
adding redis unix connection
2018-07-14 15:00:56 +02:00
Chocobozzz
94831479f5
Migrate to bull
2018-07-11 14:00:17 +02:00
William Lahti
999417328b
Ability to programmatically control embeds ( #776 )
...
* first stab at jschannel based player api
* semicolon purge
* more method-level docs; consolidate definitions
* missing definitions
* better match peertube's class conventions
* styling for embed tester
* basic docs
* add `getVolume`
* document the test-embed feature
2018-07-10 17:47:56 +02:00
Anton Latukha
602a81a213
(ffmpeg) B-adapt 1 and B-frames 16 ( #774 )
2018-07-10 00:27:59 +02:00
Chocobozzz
3a6f351b25
Handle higher FPS for high resolution (test)
2018-06-29 17:10:54 +02:00
Rigel Kent
b81eb8fdc6
(feed) adding thumbnail support for RSS feed
2018-06-29 14:58:57 +02:00
Chocobozzz
52d9f792b3
Client: Add ability to update video channel avatar
2018-06-29 14:34:04 +02:00
Chocobozzz
4bbfc6c606
API: Add ability to update video channel avatar
2018-06-29 11:29:23 +02:00
William Lahti
12daa83784
move CORS allowance to the REST API router
2018-06-29 09:46:44 +02:00
Chocobozzz
8244c85ad6
Fix npm run dev:server
2018-06-29 09:33:36 +02:00
Chocobozzz
1b952dd426
Reset published date on publish
2018-06-28 16:58:15 +02:00
Chocobozzz
8afc19a612
Add ability to choose the language
2018-06-28 15:53:12 +02:00
PhieF
61b909b9bf
Filter by category ( #720 )
...
* get videos with specific category (api)
* update api doc with category
* add url parameter to filter by category
* fix lint issues
2018-06-27 14:24:49 +02:00
Chocobozzz
adc236fee3
Increase test timeout for travis
2018-06-27 10:07:41 +02:00
Chocobozzz
1e11f67be4
Fix transaction retryer error log
2018-06-27 09:45:06 +02:00
Chocobozzz
49799b165e
Add author_url in oembed response
2018-06-27 09:08:34 +02:00
Chocobozzz
85b4d9c52e
Upgrade dependencies
2018-06-26 18:05:47 +02:00
Chocobozzz
9b67da3d9b
Add tracker rate limiter
2018-06-26 16:53:43 +02:00
Chocobozzz
0c237b19fd
Fix images size limit
2018-06-22 15:42:55 +02:00
Chocobozzz
23687332e6
Improve update host script and add warning if AP urls are invalid
2018-06-21 18:36:08 +02:00
Chocobozzz
2ef6a0635c
Do not create a user with the same username than another actor name
2018-06-21 11:54:22 +02:00
Chocobozzz
575712a5c9
Fix HTTP fallback when having videostream issues on firefox
2018-06-20 08:57:52 +02:00
Chocobozzz
9c2e0dbfa9
Update iso639 translations for french and deutch
2018-06-19 14:02:57 +02:00
Chocobozzz
c305467cd7
Fix avatar image in channel page
2018-06-18 11:34:14 +02:00
Chocobozzz
e94fc29706
Fix removing scheduled update
2018-06-18 10:26:20 +02:00
Chocobozzz
b7f1747dc7
Create webtorrent client on player load
...
So we don't run Angular change detection every 250ms on webtorrent
import, when https://github.com/mafintosh/speedometer/pull/7 will be
merged
2018-06-18 10:26:18 +02:00
Florent F
05623b9030
Add resolution to create-transcoding-job script ( #654 )
...
* Add resolution to create-transcoding-job script
* Requested changes
2018-06-15 18:27:35 +02:00
Chocobozzz
bbe0f0645c
Add ability to schedule video publication
2018-06-15 18:20:56 +02:00
Chocobozzz
2baea0c77c
Add ability for uploaders to schedule video update
2018-06-14 18:06:56 +02:00
Chocobozzz
4dae00e68b
Use local object URLs for feeds
2018-06-14 11:25:19 +02:00
Chocobozzz
9a4a9b6c4e
Fix offset/limit on some SQL queries 🤦
2018-06-13 18:07:35 +02:00
Chocobozzz
749c7247ae
Fix bad RSS descriptions when filtering videos by account or channel
2018-06-13 15:07:45 +02:00
Chocobozzz
bcec136ee6
Fix lint
2018-06-13 14:55:18 +02:00
Chocobozzz
90d4bb8125
Refractor retry transaction function
2018-06-13 14:27:40 +02:00
Chocobozzz
3cd0734fd9
Improve tests when waiting pending jobs
2018-06-13 10:22:53 +02:00
Chocobozzz
2186386cca
Add concept of video state, and add ability to wait transcoding before
...
publishing a video
2018-06-12 20:37:51 +02:00
Chocobozzz
6ccdf3a23e
Fix import with when the imported file has the same extension than an
...
already existing file
2018-06-11 19:16:00 +02:00
Rigel Kent
7754034641
(embed) sandbox the iframe
2018-06-11 17:18:04 +02:00
Chocobozzz
fe3a55b071
Add video comments RSS
2018-06-08 20:34:37 +02:00
Chocobozzz
ff193d5e3f
Increase access_token lifetime
2018-06-08 08:17:41 +02:00
Chocobozzz
8eb8bc201e
Pick average video file insead of max quality
2018-06-07 17:57:11 +02:00
Chocobozzz
99d103019c
Move fixtures in tests/
2018-06-07 09:57:35 +02:00
Chocobozzz
28be89161a
Improve create import file job
...
Fix federation of .ogv videos
2018-06-07 09:43:18 +02:00
Florent Fayolle
0138af9237
Add create-import-video-file-job command
2018-06-07 08:57:48 +02:00
Chocobozzz
74b7c6d48e
Little i18n refractoring
2018-06-06 17:37:13 +02:00
Chocobozzz
7ce44a74a3
Add server localization
2018-06-06 16:48:41 +02:00
Chocobozzz
e945b184a0
Localize player
2018-06-06 16:48:40 +02:00
Chocobozzz
f8b4475386
Disable auto language
2018-06-05 08:43:02 +02:00
Chocobozzz
989e526abf
Prepare i18n files
2018-06-05 08:43:01 +02:00
Chocobozzz
9588d4f49b
Correctly forward video related activities
2018-05-31 10:23:56 +02:00
Chocobozzz
04bf312cda
Improve create transcoding jobs tests
2018-05-30 11:12:09 +02:00
Chocobozzz
0c948c1659
Add ability to manually run transcoding job
2018-05-30 10:49:56 +02:00
Chocobozzz
9118bca307
Fix static function name
2018-05-29 18:35:01 +02:00
Chocobozzz
02756fbd11
Improve torrent/video download
2018-05-29 18:30:11 +02:00
Chocobozzz
f6a7c82ca5
Fix AP activity validator
2018-05-29 15:05:14 +02:00
Chocobozzz
53a613171e
Fix publishedAt value after following a new instance
2018-05-28 18:50:44 +02:00
Chocobozzz
77a87fec6c
Update changelog
2018-05-28 17:28:53 +02:00
Chocobozzz
e3d5ea4f82
Fix actor outbox
2018-05-28 12:13:00 +02:00
Chocobozzz
8fffe21a7b
Refractor and optimize AP collections
...
Only display urls in general object, and paginate video comments, shares, likes and
dislikes
2018-05-25 16:21:16 +02:00
Chocobozzz
e251f170b0
Split files in activitypub server
2018-05-25 11:33:04 +02:00
Chocobozzz
16f29007dc
Fix cc field in classic audience
2018-05-25 11:17:41 +02:00
Chocobozzz
ad9e39fb81
Only use account name in routes
2018-05-25 10:41:07 +02:00
Chocobozzz
06be7ed0b2
Reload my videos after delete
2018-05-25 08:38:59 +02:00
Chocobozzz
a00a8f09f9
Don't render opengraph tags of private videos
2018-05-24 15:34:16 +02:00
Chocobozzz
d14a9532a1
Handle account name in client url
...
More consistent with AP urls
2018-05-24 15:30:28 +02:00
Chocobozzz
a4f99a766b
Add owner in video channel page
2018-05-23 11:38:18 +02:00
Chocobozzz
b40f057594
Handle concurrent requests in cache middleware
2018-05-23 10:03:26 +02:00
Chocobozzz
e1a540b5fa
Fix insane SQL request when loading all video attributes
2018-05-23 09:07:32 +02:00
Rigel Kent
ff2c1fe813
feature: IP filtering on signup page
...
disable registration form on IP not in range
checking the CIDR list before filtering with it
placing the cidr filters as an attribute object in the config
2018-05-22 19:44:34 +02:00
Chocobozzz
0b33c52060
Improve e2e tests
2018-05-22 09:17:21 +02:00
Rigel Kent
30c82f0d2e
feature: db selection in redis
...
resolves #579
2018-05-21 17:49:56 +02:00
Chocobozzz
6200d8d917
Fix video channel update with an admin account
2018-05-17 10:55:49 +02:00
Chocobozzz
5fcbd89841
Fix typings
2018-05-16 11:06:33 +02:00
Rigel Kent
ac235c37e2
robots.txt config and route
2018-05-16 10:50:55 +02:00