Commit Graph

1485 Commits (fd822c1c699fb89bb1c3218e047e1d842bc1ba1a)

Author SHA1 Message Date
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 4c280004ce Use a single file instead of segments for HLS 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 4348a27d25 Add lazy loading in player 2019-02-11 09:13:02 +01:00
Chocobozzz 3b6f205c34 Correctly implement p2p-media-loader 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
Chocobozzz 552dd3306f
Merge branch 'release/v1.2.0' into develop 2019-02-06 13:41:17 +01:00
Chocobozzz f5305c04aa
Bumped to version v1.2.0 2019-02-06 11:57:57 +01:00
buoyantair 9fb6cfc49b Add meta tag to embed.html 2019-01-31 16:36:25 +01:00
buoyantair 96f7fff1b6 Add meta tag to index.html 2019-01-31 16:36:25 +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 cfeae291c0
Bumped to version v1.2.0-rc.1 2019-01-17 16:15:20 +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 ad3fa0c567
Add missing translations in embed template 2019-01-14 17:45:02 +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 c32bf839c1
Fix captions in HTTP fallback 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 3b019808ef
Set last subtitle or subtitle in URL 2018-12-17 14:15:30 +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
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
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 e2a095bc96
Fix default homepage in web application 2018-12-10 10:47:29 +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 d7aea77bdb
Add ru pl and it translations 2018-12-05 10:35:44 +01:00
Chocobozzz 06471769fc
Upgrade client dependencies 2018-12-04 10:29:28 +01:00
Chocobozzz b6ff69719d
Bumped to version v1.1.0 2018-12-04 08:29:12 +01:00
Chocobozzz 326b44070b
Bumped to version v1.1.0-rc.1 2018-11-22 14:27:46 +01:00
Chocobozzz 57b9726982
Fix some zanata translations 2018-11-22 14:06:11 +01:00
Chocobozzz 6b01ed7b0c
Update translations 2018-11-22 11:34:02 +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
Chocobozzz a8a6322778
Optimize image resizing 2018-11-19 14:34:36 +01:00
Chocobozzz 43e9d2af7d
Auto login user on signup 2018-11-16 17:06:19 +01:00
Chocobozzz d8c9996ce2
Improve message visibility on signup 2018-11-16 17:02:21 +01:00
Chocobozzz 8d4273463f
Check follow constraints when getting a video 2018-11-16 15:49:16 +01:00
Chocobozzz 7373507fa8
Improve video upload error handling 2018-11-16 10:05:25 +01:00
Chocobozzz fe05c3acbd
Fix player progress bar when changing resolution 2018-11-16 09:16:41 +01:00
Chocobozzz 8cf9987334
Fix video channel videos url when scrolling 2018-11-15 17:13:27 +01:00
Chocobozzz 6385c0cb7f
Fix embed video id parsing 2018-11-15 16:57:59 +01:00
Chocobozzz 650e3d5ce3
Fix miniature with a long name 2018-11-15 16:38:36 +01:00
Chocobozzz e6d5a4f1ea
Add background effect to active menu page 2018-11-15 16:38:36 +01:00
Chocobozzz f7454ca60a
Upgrade server dep 2018-11-15 10:54:37 +01:00
Chocobozzz 79f068dfd5
Upgrade client dependencies 2018-11-15 10:25:33 +01:00
Chocobozzz 2fbe7f1933
Fix new Angular 7 issues 2018-11-15 09:25:32 +01:00
BO41 79c2480f46
update ng-bootstrap 2018-11-15 09:25:31 +01:00
BO41 83422c219d
update dependencies 2018-11-15 09:25:31 +01:00
BO41 03ca23d4f7
update angular 2018-11-15 09:25:30 +01:00
Chocobozzz 5c6d985fae
Check activities host 2018-11-14 16:32:27 +01:00
BO41 951ef8294e add noImplicitThis flag (#1324) 2018-10-24 21:50:18 +02:00
Chocobozzz 6df8130efc
Bumped to version v1.1.0-alpha.2 2018-10-19 15:52:15 +02:00
Chocobozzz e280dd0681
Fix webtorrent disabled by default 2018-10-19 14:56:26 +02:00
Chocobozzz fc23a6c097
PeerTube is not in alpha anymore 2018-10-19 14:56:25 +02:00
Chocobozzz 40ed9f6aae
Update translations 2018-10-19 12:45:40 +02:00
BRAINS YUM d23e6a1c97 Feature/description support fields length 1000 (#1267)
* fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259)
remove constant fields imports from migrations

* add migrations to update description and support fields to 1000 (fixes #1258)

* fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258);
fix test Should fail with a too long description;
fix test Should fail with a long description;
fix test Should fail with a long description;
Remove USER.SUPPORT from constants since that field no longer exists;
null not false, in migrations/0280-description-support.ts;
video support field 1000, oops;

* rename migration 0280-description-support.ts -> 0285-description-support.ts;
update video support maxlength text
2018-10-19 08:54:01 +02:00
Chocobozzz e0628695c3
Fix embed 2018-10-19 08:37:31 +02:00
Rigel Kent b8670e5336
adding minimum signup age conforming to ceiling GPDR age
It is not yet configurable and should be made so as GDPR (or other
regulations for that matter) can specify other minimum age requirements.
2018-10-18 17:15:12 +02:00
Chocobozzz f65bcbb50f
PeerTube is not in beta anymore 2018-10-18 16:54:25 +02:00
mike stedman 198d764ff0 Make abuse-delete confirmation box clearer 2018-10-18 14:59:22 +02:00
Mike 5aa4a3dd05 Change "delete" to "delete this report"
Closes #1295.
2018-10-18 14:59:22 +02:00
Chocobozzz e9683f850d
Fix lint 2018-10-18 14:58:11 +02:00
Chocobozzz c199c427d4
Better typings 2018-10-18 14:35:31 +02:00
BO41 244b4ae397 NoImplicitAny flag true (#1157)
this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137
2018-10-18 09:08:59 +02:00
Chocobozzz f365e978ed
Update translations 2018-10-17 10:57:58 +02:00
Chocobozzz bb5d90e62f
Merge branch 'feature/webtorrent-disabling' into develop 2018-10-17 10:48:56 +02:00
Chocobozzz a73115f31a
Fix webtorrent disabling 2018-10-17 10:47:15 +02:00
Chocobozzz 7cdc3ab63b
Bumped to version v1.1.0-alpha.1 2018-10-17 08:43:16 +02:00
Chocobozzz 92ea70a782 Fix code typos 2018-10-16 16:41:36 +02:00
Chocobozzz 65b21c961c Add ability to mute a user/instance by server in client 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
BO41 dffd5d127f update tslint config and fix member ordering (#1279) 2018-10-16 01:04:50 +02:00
Rigel Kent 6ca76832fd
improve description of the HTTP video import feature 2018-10-15 18:53:06 +02:00
BO41 5b3f86dd80 add alwaysStrict flag to client/tsconfig.json (#1280) 2018-10-15 14:35:18 +02:00
Rigel Kent ed638e5325
move to boolean switch 2018-10-13 11:53:48 +02:00
Rigel Kent 64cc5e8575
add webtorrent opt-out settings
- add a key in localstorage to remember the opt-out
- add a user setting
2018-10-13 11:53:42 +02:00
Chocobozzz 71e318b4fe
Merge branch 'release/v1.0.0' into develop 2018-10-11 09:52:16 +02:00
Chocobozzz 333210d862
Bumped to version v1.0.0 2018-10-11 09:06:16 +02:00
Chocobozzz cc1903ad2a
Fix angular build 2018-10-10 15:09:16 +02:00
Chocobozzz 017c3dcadf
Add ability to list all local videos on client 2018-10-10 14:35:55 +02:00
Chocobozzz b014b6b9c7
Add ability to search on followers/following 2018-10-10 09:43:53 +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 8ea1597fdb Fix too big line length 2018-10-08 16:33:02 +02:00
Chocobozzz 2cae5f1307
Add checkbox to check every rows 2018-10-08 16:15:10 +02:00
Chocobozzz 24b9417cec
Add users search filter 2018-10-08 15:55:32 +02:00