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