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