Commit Graph

982 Commits

Author SHA1 Message Date
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
Chocobozzz
04291e1ba4
Fix job tests 2018-08-30 15:03:19 +02:00
Chocobozzz
6b6168606b
Bufferize videos views in redis 2018-08-30 15:03:18 +02:00
Chocobozzz
8b60488020
Refractor user quota SQL queries 2018-08-28 18:29:48 +02:00
Chocobozzz
41a676db39
Add features table on signup 2018-08-28 17:39:29 +02:00
Chocobozzz
c3c2ab1c8b
Optimize channel search query 2018-08-28 15:16:04 +02:00
Chocobozzz
9ee92651f6
Fix tests 2018-08-28 11:32:03 +02:00
Chocobozzz
bfcef50db9
Fix oauth server module 2018-08-28 10:56:09 +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
62689b942b
Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
Rigel Kent
c9d5c64f98 replace fs by fs-extra to prevent EMFILE error 2018-08-27 16:03:57 +02:00
Chocobozzz
687d638c2b Fetch outbox when searching an actor 2018-08-27 09:41:54 +02:00
Chocobozzz
f5b0af50c8 Search video channel handle/uri 2018-08-27 09:41:54 +02:00
Chocobozzz
aa55a4da42 Infinite scroll to list our subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz
f37dc0dd14 Add ability to search video channels 2018-08-27 09:41:54 +02:00
Chocobozzz
240085d005 Fix tests 2018-08-27 09:41:54 +02:00
Chocobozzz
83e6519ba4 Refractor comment creation from federation 2018-08-27 09:41:54 +02:00
Chocobozzz
1297eb5db6 Add refresh video on search 2018-08-27 09:41:54 +02:00
Chocobozzz
f6eebcb336 Add ability to search a video with an URL 2018-08-27 09:41:54 +02:00
Chocobozzz
22a16e36f6 Add local user subscriptions 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
965c4b22d0 Use height instead of width to represent the video resolution 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
d03cd8bb20 Split users controller 2018-08-27 09:41:54 +02:00
Chocobozzz
4f1f6f0383
Ensure youtubedl binary exists in ydl helper 2018-08-16 09:45:51 +02:00
Chocobozzz
a76138ff56
Add quota used in users list 2018-08-14 18:01:23 +02:00
Chocobozzz
eed24d26db Don't set a bitrate on unknown audio input 2018-08-14 15:53:06 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper 2018-08-14 15:28:30 +02:00
Chocobozzz
59c76ffa8f
Flat shared module directory 2018-08-14 15:00:01 +02:00
Chocobozzz
13b6dc1f34
Increase video import timeout 2018-08-14 11:40:14 +02:00
Chocobozzz
cc43831a90
Filter tracker based on infohash 2018-08-14 11:00:03 +02:00
Chocobozzz
e5e7f7fe99
Add tests when getting a blacklisted video 2018-08-14 09:27:19 +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
288178bf02
Try to fix travis tests 2018-08-10 17:49:12 +02:00
Chocobozzz
268eebed92
Add state and moderationComment for abuses on server side 2018-08-10 16:54:01 +02:00
Chocobozzz
141b177db0
Add ability to ban/unban users 2018-08-09 17:55:05 +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
a031ab0b9b
Increase test timeout for imports 2018-08-08 10:13:05 +02:00
Chocobozzz
541006e355 Correct webtorrent download cleanup 2018-08-08 09:30:31 +02:00
Chocobozzz
3e17515e29 Add torrent tests 2018-08-08 09:30:31 +02:00
Chocobozzz
187501f8b8 Add check param tests regarding video imports 2018-08-08 09:30:31 +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