Commit Graph

1015 Commits (2b62cccd75e9025fb66148bcb1feea2a458ee8e4)

Author SHA1 Message Date
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
Chocobozzz 2efd32f697
Fix updating video tags to empty field 2018-05-16 09:42:56 +02:00
Chocobozzz 136cce4d67
Use publishedAt by default in videos sort 2018-05-15 08:47:47 +02:00
Rigel Kent 82ddca10b7 making the feed fulltext 2018-05-12 09:52:09 +02:00
Chocobozzz 7fb39378d8
Add check channel update test in video update 2018-05-11 16:17:49 +02:00
Chocobozzz 938d3fa0ff
Move normalize functions in helpers 2018-05-11 15:55:39 +02:00
Chocobozzz 5cf1350011
Improve AP validation for Notes 2018-05-11 15:41:54 +02:00
Chocobozzz 0f320037e6
Add ability to update a video channel 2018-05-11 15:25:51 +02:00
Chocobozzz 9675333dec
Decrease AP video cache 2018-05-11 15:25:51 +02:00
Chocobozzz fd4484f19e
Cache AP video route for 5 seconds 2018-05-11 15:24:17 +02:00
John Livingston 8a2db2e8cb linting 2018-05-11 15:23:50 +02:00
John Livingston 7eb5f8cd32 fix reject 2018-05-11 15:23:50 +02:00
John Livingston e2b9d0ca56 Standard code 2018-05-11 15:23:50 +02:00
John Livingston 066fc8ba71 import-videos: prompt for password 2018-05-11 15:23:50 +02:00
Chocobozzz 8be1afa12b
Add ability to embed a video in Twitter
The instance should be whitelisted first
2018-05-11 08:48:20 +02:00
Chocobozzz 1d6e5dfc37
Improve video torrent AP object validator 2018-05-11 08:48:20 +02:00
Chocobozzz 9419b01352
Fix tests 2018-05-09 13:49:50 +02:00
Chocobozzz a10fc78bb0
Fix video channel description/support max length 2018-05-09 13:32:44 +02:00
Chocobozzz 360329cc02
Account/channel descriptions are not required anymore 2018-05-09 11:41:18 +02:00
Chocobozzz 71e3dfda4e
Add timeout and TTL to request jobs 2018-05-09 09:08:22 +02:00
Chocobozzz 7d8e778ad0
Fix video channel update/create on empty fields 2018-05-07 11:31:23 +02:00
Rigel Kent 966eb05313 feature: initial syndication feeds tests for instance-wide feeds 2018-04-26 16:30:27 +02:00
Chocobozzz 08c1efbe32
Add video channel management 2018-04-26 16:18:01 +02:00
Chocobozzz ed56ad1193
Add ability to update the user display name/description 2018-04-26 10:03:40 +02:00
Chocobozzz e0ea4b1d55
Implement video channel feeds 2018-04-25 17:30:56 +02:00
Chocobozzz 170726f523
Implement video channel views 2018-04-25 16:56:13 +02:00
Chocobozzz cc918ac3f4
Update video-channel routes (again)
Use /video-channels now, it's more simple for clients
2018-04-25 16:16:21 +02:00
Chocobozzz 03e12d7c49
Add account link in videos list 2018-04-25 14:32:19 +02:00