Commit Graph

1159 Commits (dc8902634864841be7ca483b8e1c0f5afa609c32)

Author SHA1 Message Date
Chocobozzz 72675ebe01
Move video watch playlist in its own component 2019-05-13 11:19:29 +02:00
Chocobozzz 722bca907b
Fix component reuse on channel/account videos 2019-05-13 10:37:55 +02:00
Chocobozzz 64545a834b
Fix top menu dropdown 2019-05-13 09:45:37 +02:00
Chocobozzz 743f023c53
Fix videos more dropdown position/loading 2019-05-13 09:45:37 +02:00
Chocobozzz d0dba1fce6
Optimize video update page load 2019-04-25 10:52:11 +02:00
Chocobozzz f3ae606caf
Wait config before loading login/signup 2019-04-25 10:40:01 +02:00
Chocobozzz ad5718261d
Fix contact admin button overflow 2019-04-25 10:14:35 +02:00
Chocobozzz c1521ca3d7
Case insensitive login 2019-04-25 10:03:30 +02:00
Chocobozzz 98000f10e7
Fix dropdown top menu on mobile 2019-04-25 10:02:02 +02:00
Chocobozzz 71d00bfd7f
Fix explained privacies on first upload screen 2019-04-25 09:52:07 +02:00
Chocobozzz 5fb6996b81
Add default playlist image 2019-04-24 16:26:23 +02:00
Chocobozzz 1eddc9a74f
Add user adminFlags 2019-04-15 14:39:52 +02:00
Chocobozzz 28e0e40d2b
Fix privacy warning position on mobile 2019-04-15 09:43:23 +02:00
Paul FLORENCE f3d2e6d082
Fix keyboard icon transparency 2019-04-12 10:16:53 +02:00
Chocobozzz 2c3abc4fa7
Fix my account settings responsive 2019-04-11 11:18:19 +02:00
Chocobozzz 5d79474cc6
Add debug component to help admins to fix IP issues 2019-04-11 10:58:09 +02:00
Chocobozzz 2b3f1919fd
Fix videos list margin with hidden menu 2019-04-11 10:21:45 +02:00
Chocobozzz 2c22613c2f
Add logs page in client 2019-04-11 10:14:08 +02:00
Chocobozzz fd8710b897
Add logs endpoint 2019-04-10 16:38:32 +02:00
Chocobozzz 31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +02:00
Chocobozzz 8ce1ba6e3e
Add new instance follower notification in client 2019-04-09 10:42:07 +02:00
Chocobozzz 846751c98b
Add newInstanceFollower in notification settings 2019-04-09 08:19:54 +02:00
Chocobozzz 0dc6477758
Add delete/manual approval instance followers in client 2019-04-08 15:47:44 +02:00
Chocobozzz abf325b4f6
Fix privacy label display 2019-04-08 09:33:37 +02:00
Chocobozzz 0a57bbff21
Handle actions in other videos section 2019-04-08 09:30:07 +02:00
Chocobozzz 0f4905e120
2 rows per overview section 2019-04-05 17:00:09 +02:00
Chocobozzz 32157c0892
Add auto blacklist info in feature table 2019-04-05 15:45:50 +02:00
Chocobozzz 3143ae17a0
Improve playlist element style 2019-04-05 15:23:41 +02:00
Chocobozzz 8dfceec44a
video add to playlist component -> onpush strategy 2019-04-05 14:16:48 +02:00
Chocobozzz 3a0fb65c61
Add video miniature dropdown 2019-04-05 10:53:09 +02:00
Chocobozzz 693263e936
Refactor videos selection components 2019-04-05 10:53:08 +02:00
Chocobozzz e2409062de
Refactor video miniatures 2019-04-03 16:17:41 +02:00
Chocobozzz 8fc02e4768
Set thumbnail height 2019-04-03 14:18:23 +02:00
Chocobozzz 11dd0c2e42
Improve abstract videos list
Better responsive and align miniatures to the left
2019-04-03 13:25:52 +02:00
Chocobozzz df93a9bed8
Update translations 2019-04-03 11:12:22 +02:00
Chocobozzz c47106315a
tslint update 2019-04-02 18:30:26 +02:00
Chocobozzz f421fa06ad
Update client dep 2019-04-02 17:39:21 +02:00
Chocobozzz a1a216d9cb
Upgrade server dep 2019-04-02 16:42:13 +02:00
Chocobozzz 489290b8b1
Restore videos list components 2019-04-02 11:45:02 +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 7113b5cd32
Fix custom CSS help 2019-03-20 14:20:00 +01:00
Chocobozzz d01b2fb9ab
Add icon to delete history button 2019-03-20 14:08:03 +01:00
Chocobozzz a55052c9ba
Add my library section in menu 2019-03-20 13:53:51 +01:00
Chocobozzz 7e73f07131
Improve comment deletion message 2019-03-20 10:12:31 +01:00
Chocobozzz 9a18a62520 Handle theater mode for playlists 2019-03-18 11:17:59 +01:00
Chocobozzz 978c9d497b Add playlist channel validator when playlist is public 2019-03-18 11:17:59 +01:00
Chocobozzz bce47964f6 Add video channel view 2019-03-18 11:17:59 +01:00
Chocobozzz d0e1e32589 Remove jest tests
I don't have time to maintain them
2019-03-18 11:17:59 +01:00
Chocobozzz e2f01c47e0 Playlist support in watch page 2019-03-18 11:17:59 +01:00
Chocobozzz 15e9d5ca39 Playlist reorder support 2019-03-18 11:17:59 +01:00
Chocobozzz c5a1ae500e Playlist videos component 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 9c6ca37fc1 Rename streaming playlists routes/directories 2019-03-18 11:17:59 +01:00
Chocobozzz c8000975d3
Add NSFW info in about page 2019-02-21 15:51:28 +01:00
Chocobozzz c0e04e4641
Move user registration info in features table 2019-02-21 15:00:26 +01:00
Chocobozzz a975517c68
Don't close help popover when clicking inside 2019-02-21 14:08:21 +01:00
Chocobozzz 84c7cde6e8
Update E2E tests 2019-02-21 14:04:44 +01:00
Chocobozzz 1e17071bac
Video abuse notification is not only for local videos 2019-02-20 15:54:58 +01:00
Chocobozzz ef80c66cea
Refactor ellipsis CSS 2019-02-20 15:52:03 +01:00
Chocobozzz 6d28a5056e
Correctly fix video import notification
If the imported video is deleted
2019-02-20 15:46:33 +01:00
Chocobozzz f8802489bb
Add isNSFW instance configuration key 2019-02-20 15:36:43 +01:00
Chocobozzz 1aabcae7e3
Add hover effect on video miniature 2019-02-20 14:56:18 +01:00
Chocobozzz e5fc7811ae
Increase thumbnails size 2019-02-20 13:59:31 +01:00
Chocobozzz bbe697cac4
Increase player default size to 66vh 2019-02-20 11:42:30 +01:00
Chocobozzz b28e4e5e08
Add user notification animation 2019-02-20 10:16:04 +01:00
Chocobozzz 41d713446c
Lazy import some modules 2019-02-15 15:52:18 +01:00
Chocobozzz b7a7e801ac
Fix too long name in menu 2019-02-15 09:43:37 +01:00
Chocobozzz 72be63e56f
Fix moderators that cannot access the muted servers table 2019-02-15 09:43:36 +01:00
Chocobozzz 344d8be566
Don't crash on error in notification popup 2019-02-15 09:43:36 +01:00
Chocobozzz d4804eead7
Fix too long name in menu 2019-02-14 11:32:18 +01:00
Chocobozzz bf12db2497
Fix moderators that cannot access the muted servers table 2019-02-14 10:22:10 +01:00
Chocobozzz 9b69bfc076
Don't crash on error in notification popup 2019-02-14 10:07:25 +01:00
Andrés Maldonado 31d065cc50
Add search by original publication date 2019-02-12 11:14:37 +01:00
zacharystenger ec24796ea8 Fix negative seconds by displaying 0 instead (#1445) (#1625)
* Fix from-now.pipe.ts so it never displays negative seconds

* Apply the fix only when returning seconds. Remove redundant Math.floor operation
2019-02-12 09:16:15 +01:00
Chocobozzz 6913f69134
Move original publication date in advanced settings 2019-02-11 14:33:47 +01:00
Chocobozzz b718fd2237
Merge branch 'develop' into pr/1285 2019-02-11 14:09:23 +01:00
Chocobozzz 501e961199
Move enabled download/comments in advanced tab 2019-02-11 12:00:19 +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
Rigel Kent 67b1d3fed7
cleanup and remove paramSubs 2019-02-11 09:26:40 +01:00
Rigel Kent 2c2baef6f3
move user-password to Input decorator 2019-02-11 09:26:39 +01:00
Rigel Kent a3342ce250
remove isAdministration 2019-02-11 09:26:38 +01:00
Rigel Kent 328c78bc4a
allow administration to change/reset a user's password 2019-02-11 09:26:29 +01:00
Chocobozzz c7ca4c8be7 Fix client with google bot 2019-02-11 09:13:02 +01:00
Chocobozzz 597a9266d4 Add player mode in watch/embed urls 2019-02-11 09:13:02 +01:00
Chocobozzz 6ec0b75beb Fallback HLS to webtorrent 2019-02-11 09:13:02 +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
Josh Morel 2c0070c8f3 fix undefined change ownership icons 2019-01-28 13:48:42 +01:00
Chocobozzz 4afcdcfad8
Fix menu overflow on mobile screens 2019-01-28 09:56:14 +01:00
Chocobozzz 307902e2b3
Try to fix Mac video upload 2019-01-24 15:23:06 +01:00
Chocobozzz 572b8e02e2
Fix trending days display on first load 2019-01-21 17:11:21 +01:00
Chocobozzz 0f80cb03c6
Add link to the profile who commented in notif 2019-01-21 14:08:25 +01:00
Chocobozzz fdebd9a3bd
Fix notification popover width 2019-01-21 14:03:04 +01:00
Chocobozzz 38967f7b73
Add server host in notification account field 2019-01-21 13:52:46 +01:00
Chocobozzz aa87909287
Fix calendar in dark mode 2019-01-17 11:51:08 +01:00
Chocobozzz f2fab901df
Fix invisible things in dark mode 2019-01-17 11:34:29 +01:00
Chocobozzz 17bb716bc4
Fix some styles
Video edit tags, dropdown actions font ...
2019-01-17 11:16:08 +01:00
Chocobozzz 457bb213b2
Refactor how we use icons
Inject them in an angular component so we can easily change their color
2019-01-17 10:38:18 +01:00
Chocobozzz 3195cd1c11
Fix notification z-index on modals 2019-01-15 09:25:26 +01:00
Chocobozzz 1506307f2f
Increase abuse length to 3000
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz 9a39392a7e
Fix notification socket
Should be in core module to share the same subject to all the app
2019-01-14 15:32:09 +01:00
Chocobozzz f57ad0d22c
Fix scroll in notifications page 2019-01-14 15:12:20 +01:00
Chocobozzz 674a66bbda
Add unload listener on video upload/update 2019-01-14 15:01:08 +01:00
Chocobozzz b5487ff4a5
Add error message when trying to upload .ass subtitles 2019-01-14 11:52:15 +01:00
Chocobozzz b4593cd7ff
Warn user when they want to delete a channel
Because they will not be able to create another channel with the same
actor name
2019-01-14 10:24:49 +01:00
Chocobozzz 7b95f31385
Help translators to translate trending title/tooltip 2019-01-14 09:11:28 +01:00
Chocobozzz 033bc0efc2
Fix NSFW blur on search 2019-01-14 09:07:08 +01:00
Chocobozzz f242c2e01e
Improve "no notifications" message 2019-01-14 09:06:58 +01:00
Aurélien Béranger 9b4b15f91c WIP : Indicate to users how "trending" works (#1458)
* Get the INTERVAL_DAYS const in the video-trending component

* Change Trending section title

* Add a tooltip to explain how trending section works

* Minor CSS fix for the my-feed popover next to the titlepage
2019-01-14 09:06:48 +01:00
clementbrizard adb115f552 Enable video watch 2019-01-12 19:03:08 +00:00
clementbrizard 1e74f19a21 Enable video upload and edit 2019-01-12 13:45:23 +00:00
clementbrizard c80341655f Change models 2019-01-12 13:41:45 +00:00
Chocobozzz 5abb9fbbd1
Add ability to unfederate a local video (on blacklist) 2019-01-10 15:39:51 +01:00
Chocobozzz 26a008fe8d
Update translations 2019-01-10 11:51:25 +01:00
Chocobozzz d3e56c0c4b
Implement contact form in the client 2019-01-10 11:32:38 +01:00
Chocobozzz 3866f1a02f
Add contact form checkbox in admin form 2019-01-10 11:32:38 +01:00
Chocobozzz 43483d1296 Correctly scroll to video comment 2019-01-09 11:15:15 +01:00
Chocobozzz 07a982363f Correctly scroll in notification preferences 2019-01-09 11:15:15 +01:00
Chocobozzz 2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
Chocobozzz 6e7e63b83f Fix notification icon position 2019-01-09 11:15:15 +01:00
Chocobozzz 4707f410ae
Fix notification with large message 2018-12-20 11:18:29 +01:00
Chocobozzz f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz e0e665f0ef
Don't call watching endpoint if history is disabled 2018-12-19 13:45:43 +01:00
Chocobozzz 276d965295
Add ability to disable and clear history 2018-12-18 11:35:51 +01:00
Chocobozzz 80bfd33c0b
Add history page on client 2018-12-18 11:35:51 +01:00
Acid Chicken (硫酸鶏) 583cd0d212 Add WebFinger support (#1498)
* Add WebFinger support

* Fix TS7006

* Follow lint

* Fix TS7006
2018-12-18 10:42:39 +01:00
Chocobozzz 1b04f19c48
Add ability to set subtitle in URL in watch page 2018-12-17 14:22:59 +01:00
Chocobozzz 259dd796e6
Fix adding captions to a video 2018-12-17 14:15:29 +01:00
Chocobozzz 16c07398f2
Fix followers search 2018-12-13 15:00:42 +01:00
Chocobozzz dae5ca24b1
Redirect to the last url on login 2018-12-11 15:27:46 +01:00
Chocobozzz 14e2014acc Support additional video extensions 2018-12-11 15:11:09 +01:00
Chocobozzz 4523bf1132
dots are allowed in actor names 2018-12-10 10:26:00 +01:00
Josh Morel 851c5cddc1 rename ask-email link to ask-send-email 2018-12-08 14:46:34 +01:00
Micah Elizabeth Scott 4b49385892 Remove hard-coded 8GB upload limit in client (#1293)
* Remove hard-coded 8GB upload limit in client

Ideally we'd know what the specific server's configured upload limit
is before starting, but this 8GB limit is not useful if an administrator
has changed the nginx post limit on the server.

* Better docs for admins about client_max_body_size

Seems like some admins already tweak this value up or down to allow
for different maximum video upload sizes. The current codebase has no
other server-side limits that I'm aware of, and I've been routinely
uploading quite large videos to my instance.

This patch replaces the somewhat incorrect (or outdated?) 'hard limit'
comment with some advice about allocating enough space for nginx and
communicating the limit with your users.

Of course it would be better if this configuration could be unified with
PeerTube's config somehow. I'm not sure whether the best option there is
to turn off nginx's buffering here and let PeerTube handle the entire upload
(can we do this only for the video upload API endpoint?) or whether we want
PeerTube to generate nginx configs in a more automated way layer. In any case,
this patch is intended as an incremental improvement.
2018-12-07 14:58:17 +01:00
Chocobozzz 6ebfaf6764
Remove dashes from actor names 2018-12-07 14:56:56 +01:00
BRAINS YUM d0ce42c1c1 username/display_name/video_channel_name min length 1 and max length 50 (#1265)
* make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263);
    ! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine;
allow for usernames to start with a number;
fix test, since username can be 1 char now make test check empty;
fix test, Should fail with a too long username;
fix test, Should fail with a too small username;
fix regular expression for username and videoChannel;
change username, videoChannel to be lowercase and fix message;

* change 1 characters to 1 character
2018-12-07 14:54:33 +01:00
Chocobozzz 3b3b18203f
Add error when email system is not configured and using the forgot
password system
2018-12-05 15:10:45 +01:00
Chocobozzz 56af5222c1
Put features table in about page 2018-12-05 14:53:13 +01:00
Chocobozzz 4e74e8032b
Remove inferred type 2018-12-05 14:36:05 +01:00
Chocobozzz ddb83e49ec
My account menu -> open entries on hover 2018-12-05 14:21:31 +01:00
Chocobozzz a1b2f87613
Add information in report modal 2018-12-05 11:05:54 +01:00
Chocobozzz 9c53ef67e3
Add button to help to translate peertube 2018-12-05 10:53:14 +01:00
Chocobozzz 06471769fc
Upgrade client dependencies 2018-12-04 10:29:28 +01:00
Chocobozzz a99e2d9448
Reload user table when setting an email to verified 2018-11-21 17:11:56 +01:00
Chocobozzz f97c91f7ec
Add separators in user moderation dropdown 2018-11-21 17:05:31 +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 f107470e50
Fix search title 2018-11-20 10:44:48 +01:00
Chocobozzz 361805c48b
Fix checkbox margins 2018-11-19 14:34:36 +01:00