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