Commit Graph

597 Commits

Author SHA1 Message Date
Chocobozzz
0374b6b5cd
Cleanup server fixme 2020-01-28 14:45:17 +01:00
Chocobozzz
b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz
99849607a6
Remove debug messages 2020-01-24 11:38:35 +01:00
Chocobozzz
5fbd08be37
Fix typo in error log 2020-01-20 15:41:57 +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
e0b56b7495
Return an error on invalid count pagination 2020-01-09 09:36:31 +01:00
Rigel Kent
fbc77eb648 Add outbox page size parameter 2020-01-09 09:21:35 +01:00
Chocobozzz
fe98765624
Add ability to skip count query 2020-01-08 14:15:16 +01:00
Chocobozzz
e92269053e
Update http signature 2020-01-07 15:56:09 +01:00
Chocobozzz
04cda1d7a5
Add warning if admin disables webtorrent 2020-01-06 17:10:02 +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
22a73cb879
Add internal privacy mode 2019-12-12 16:51:59 +01:00
Chocobozzz
566c125d6e
Serve audit logs to client 2019-12-11 14:14:01 +01:00
Chocobozzz
6f3fe96f40
Add action hooks to user routes 2019-12-06 15:59:12 +01:00
Chocobozzz
5197732bce
Fix channel creation limitation 2019-12-05 10:18:33 +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
Chocobozzz
eccf70f020
Fix private video download 2019-12-03 10:41:23 +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
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
Rigel Kent
ba7b7e572f (plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed allowedParams 2019-11-25 11:16:12 +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
d7a25329f9
Add ability to disable webtorrent
In favour of HLS
2019-11-25 10:59:43 +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
d5d9b6d7bf
Update server dependencies 2019-10-21 15:03:28 +02:00
Chocobozzz
c1e5bd23d5
Try to fix tests 2019-09-24 10:19:55 +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
43d0ea7f4b Add welcome modal 2019-09-05 10:17:02 +02:00
Chocobozzz
8424c4026a Add auto follow back support for instances 2019-09-04 16:24:58 +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
d11c28a36b
Fix build 2019-08-23 08:56:57 +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
dea16773df
Fix user creation by moderators 2019-08-22 10:59:14 +02:00
Chocobozzz
b5fecbf441
Type toActivityPubObject functions 2019-08-21 15:23:04 +02:00
Chocobozzz
0283eaac2a
Cleanup model types 2019-08-20 14:53:42 +02:00
Chocobozzz
453e83ea5d
Stronger model typings 2019-08-19 17:26:35 +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
2b65c4e535
Fix scheduled privacy and verify email validations 2019-07-25 17:28:45 +02:00
Chocobozzz
c8861d5dc0
Fix express validator 2019-07-25 16:23:44 +02:00
Chocobozzz
523990dbe6
Upgrade server dependencies 2019-07-25 11:00:41 +02:00
Chocobozzz
3e753302d8 Refactor middleware helpers 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
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
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
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
ad91e7006e WIP plugins: plugin settings on server 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
345da516fa WIP plugins: add ability to register plugins 2019-07-24 10:58:16 +02:00
Chocobozzz
3caf77d3b1
Add language filters in user preferences 2019-06-19 15:05:36 +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
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
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
7d14d4d2ca
Server: Bulk update videos support field 2019-05-31 16:44:46 +02:00
Chocobozzz
57cfff7885
Remove unused actor uuid field 2019-05-31 14:49:31 +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
4d09cfba78
Fix playlist get for classic users 2019-05-28 10:16:59 +02:00
Chocobozzz
c28bcdd10a
Fix pleroma follow 2019-04-25 15:20:30 +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
3acc508440
Upgrade sequelize 2019-04-24 16:26:21 +02:00
Chocobozzz
1eddc9a74f
Add user adminFlags 2019-04-15 14:39:52 +02:00
Chocobozzz
8f0bc73d7d
Add ability to limit videos history size 2019-04-11 15:38:53 +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
fd8710b897
Add logs endpoint 2019-04-10 16:38:32 +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
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
0e9c48c2ed
Add ability to remove an instance follower in API 2019-04-08 11:52:43 +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
2ba9287131
Cleanup invalid rates/comments/shares 2019-03-19 16:23:02 +01:00
Chocobozzz
9f79ade627
Refresh playlists 2019-03-19 14:13: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
c5e4e36d2a Forbid public playlists not assigned to a channel 2019-03-18 11:17:59 +01:00
Chocobozzz
0b16f5f220 Add videos playlist exist tests 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
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
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
Josh Morel
576ad67aac check email enabled for requiresEmailVer config 2019-02-18 17:21:41 +01:00
Chocobozzz
c74c9be934
Refractor published date on video import 2019-02-12 11:47:23 +01:00
Chocobozzz
b718fd2237
Merge branch 'develop' into pr/1285 2019-02-11 14:09:23 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217 2019-02-11 11:52:34 +01:00
Chocobozzz
b426edd485
Cleanup reset user password by admin
And add some tests
2019-02-11 10:37:27 +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
clementbrizard
1e74f19a21 Enable video upload and edit 2019-01-12 13:45:23 +00:00
Chocobozzz
5abb9fbbd1
Add ability to unfederate a local video (on blacklist) 2019-01-10 15:39:51 +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
2f1548fda3 Add notifications in the client 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
cef534ed53 Add user notification base code 2019-01-09 11:15:15 +01:00
Chocobozzz
1a12adcd1e
Fix users update me param validation 2018-12-18 17:18:25 +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
Chocobozzz
8fc58cb580
Fix CSP on dev mode 2018-12-17 09:42:28 +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
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
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
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
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
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
Chocobozzz
1cd3facc3d
Add ability to list all local videos
Including private/unlisted for moderators/admins
2018-10-10 11:46:50 +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
Lucas Declercq
7f2cfe3a79 Rename downloadingEnabled property to downloadEnabled 2018-10-08 14:45:22 +02:00
Lucas Declercq
156c50af30 Add downloadingEnabled property to video model 2018-10-06 19:17:39 +02:00
Chocobozzz
6e46de095d
Add user history and resume videos 2018-10-05 11:22:38 +02:00
Chocobozzz
601527d795
Check video channel name is unique on our instance 2018-10-01 15:20:14 +02:00
Chocobozzz
46f8d69b4e
Fix redundancy with videos already duplicated with another instance 2018-10-01 09:41:48 +02:00
Chocobozzz
a890d1e0d3
Check current password on server side 2018-09-26 16:28:27 +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
c48e82b5e0 Basic video redundancy implementation 2018-09-13 14:05:49 +02:00
Chocobozzz
662fb3ab5e
Fix feeds with channel filter 2018-09-13 09:48:34 +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
328e607d32
Add sql trace in error log on sequelize error 2018-08-31 11:43:46 +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
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
f37dc0dd14 Add ability to search video channels 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
06a05d5f47 Add subscriptions endpoints to REST API 2018-08-27 09:41:54 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper 2018-08-14 15:28:30 +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
268eebed92
Add state and moderationComment for abuses on server side 2018-08-10 16:54:01 +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
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
5d08a6a74e Add import http enabled configuration 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
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
fbad87b047 Add ability to import video with youtube-dl 2018-08-06 11:19:16 +02:00
Chocobozzz
cf7a61b5a2
Cleanup req files on bad request 2018-07-31 15:09:34 +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
Rigel Kent
c1e791bad0
expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
Chocobozzz
1194e8b46f
Add max count in pagination 2018-07-24 18:03:38 +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
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
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
40e87e9ecc Implement captions/subtitles 2018-07-16 11:50:08 +02:00
Chocobozzz
4bbfc6c606
API: Add ability to update video channel avatar 2018-06-29 11:29:23 +02:00
Chocobozzz
0c237b19fd
Fix images size limit 2018-06-22 15:42:55 +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
e94fc29706
Fix removing scheduled update 2018-06-18 10:26:20 +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
90d4bb8125
Refractor retry transaction function 2018-06-13 14:27:40 +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
fe3a55b071
Add video comments RSS 2018-06-08 20:34:37 +02:00
Chocobozzz
ad9e39fb81
Only use account name in routes 2018-05-25 10:41:07 +02:00
Chocobozzz
d14a9532a1
Handle account name in client url
More consistent with AP urls
2018-05-24 15:30:28 +02:00
Chocobozzz
b40f057594
Handle concurrent requests in cache middleware 2018-05-23 10:03:26 +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
6200d8d917
Fix video channel update with an admin account 2018-05-17 10:55:49 +02:00
Chocobozzz
2efd32f697
Fix updating video tags to empty field 2018-05-16 09:42:56 +02:00
Chocobozzz
0f320037e6
Add ability to update a video channel 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
Chocobozzz
1d6e5dfc37
Improve video torrent AP object validator 2018-05-11 08:48:20 +02:00
Chocobozzz
360329cc02
Account/channel descriptions are not required anymore 2018-05-09 11:41:18 +02:00
Chocobozzz
7d8e778ad0
Fix video channel update/create on empty fields 2018-05-07 11:31:23 +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
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
6b738c7a31
Video channel API routes refractor 2018-04-25 13:50:48 +02:00
Chocobozzz
48dce1c90d
Update video channel routes 2018-04-24 17:12:57 +02:00
Chocobozzz
0626e7af82
Add account view 2018-04-24 15:13:19 +02:00
Chocobozzz
0883b3245b
Add ability to choose what policy we have for NSFW videos
There is a global instance setting and a per user setting
2018-04-19 11:01:34 +02:00
Chocobozzz
4195cd2bc5
Add redis cache to feed route 2018-04-17 14:04:34 +02:00
Rigel Kent
244e76a552
feature: initial syndication feeds support
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.

* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)

* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support

Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz
ee28cdf1c4
Upgrade server dependencies 2018-04-06 14:39:19 +02:00
Chocobozzz
d5b7d9110d
Fix error logging 2018-03-26 16:04:14 +02:00
Chocobozzz
5c328e6610
Move sort middleware utils in utils file 2018-03-13 11:28:37 +01:00
Cale
edf7f40a10
Fix typo in "already exist" error message 2018-03-11 08:14:35 -07:00
Chocobozzz
901637bb87
Add ability to change the homepage 2018-03-01 13:57:29 +01:00
Chocobozzz
e3bb78a213
Fix lint 2018-02-23 16:08:32 +01:00
Chocobozzz
285fe7c930
Detect posting request in our own inbox 2018-02-23 15:09:12 +01:00
Chocobozzz
6221f311de
Add ability to update another user video 2018-02-22 09:03:45 +01:00
Chocobozzz
e8cb44090e
Add links to comment mentions 2018-02-21 16:44:43 +01:00
Chocobozzz
5de8a55abc
Handle line feeds in comments 2018-02-20 10:41:11 +01:00
Chocobozzz
2422c46b27
Implement support field in video and video channel 2018-02-15 15:29:07 +01:00
Chocobozzz
e3a682a877
Handle thumbnail update 2018-02-14 16:03:09 +01:00
Chocobozzz
ac81d1a06d
Add ability to set video thumbnail/preview 2018-02-14 16:03:09 +01:00
Chocobozzz
81ebea48bf
Don't leak unlisted videos 2018-01-31 14:40:42 +01:00
Chocobozzz
f076daa76a
Add tests for emails 2018-01-30 15:16:24 +01:00
Chocobozzz
ecb4e35f4e
Add ability to reset our password 2018-01-30 13:27:07 +01:00
Chocobozzz
ce97fe366e
Don't leak passwords in log 2018-01-26 13:55:27 +01:00
Chocobozzz
94a5ff8a4a
Move job queue to redis
We'll use it as cache in the future.

/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
2018-01-25 18:41:17 +01:00
Chocobozzz
f8b8c36b2a
Destroy user token when changing its role 2018-01-23 09:49:57 +01:00
Chocobozzz
59c48d49c5
Peertube home in /var/www instead of /home 2018-01-23 09:00:23 +01:00
Chocobozzz
2af4fa4d8b
Fix tests 2018-01-19 14:47:03 +01:00
Chocobozzz
f05a1c30c1
Don't show videos of remote instance after unfollow 2018-01-18 15:42:20 +01:00
Chocobozzz
1174a8479a
Set sort refractoring 2018-01-18 15:42:20 +01:00
Chocobozzz
fd206f0b2d
Add ability to update some configuration keys 2018-01-17 10:41:27 +01:00
Chocobozzz
6502c3d43e
Avoid making retried requests to dead followers 2018-01-12 10:02:11 +01:00
Chocobozzz
9a8cbd8278
Activity Pub improvements 2018-01-11 19:17:43 +01:00
Chocobozzz
4cb6d45788
Add ability to delete comments 2018-01-04 11:19:16 +01:00
Chocobozzz
265ba139eb
Send account activitypub update events 2018-01-03 16:38:50 +01:00
Chocobozzz
e8e122002d
Automatically resize avatars 2018-01-03 11:36:03 +01:00
Chocobozzz
01de67b9a4
Add avatar max size limit 2018-01-03 11:10:40 +01:00
Chocobozzz
47564bbe2e
Add ability to disable video comments 2018-01-03 10:38:19 +01:00
Chocobozzz
c5911fd347
Begin to add avatar to actors 2017-12-29 19:10:13 +01:00
Chocobozzz
5960f92395
Fix user tests 2017-12-28 16:45:32 +01:00
Chocobozzz
93e4a311f3
Improve check jobs parameters tests 2017-12-28 14:40:11 +01:00
Chocobozzz
eec63bbc0f
Improve check follow params tests 2017-12-28 14:29:57 +01:00
Chocobozzz
da854ddd50
Propagate old comment on new follow 2017-12-28 11:16:08 +01:00
Chocobozzz
d50acfab69
Add comments federation tests 2017-12-27 20:03:37 +01:00
Chocobozzz
4635f59d7c
Add video comment components 2017-12-27 16:11:53 +01:00
Chocobozzz
d3ea897591
Begin unit tests 2017-12-22 12:12:33 +01:00
Chocobozzz
bf1f650817
Add comments controller 2017-12-22 11:29:12 +01:00
Chocobozzz
85414add64
Fix player play exception on chromium 2017-12-19 15:17:43 +01:00