Commit Graph

1421 Commits (f421fa06ada7bb01d91142cc8211a65e2b390d7b)

Author SHA1 Message Date
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
Chocobozzz 791645e620
Add bulk actions in users table 2018-10-08 15:55:32 +02:00
Lucas Declercq 7f2cfe3a79 Rename downloadingEnabled property to downloadEnabled 2018-10-08 14:45:22 +02:00
Lucas Declercq 4ffdcfc63b Fix some defaults values + indentation 2018-10-08 14:42:55 +02:00
Micah Elizabeth Scott 211239ed94 remove confirm modal for asset injection in edit-custom-config (#1219) 2018-10-07 22:07:14 +02:00
Lucas Declercq e0d827e29a Only show download button if downloadingEnabled is set to true 2018-10-06 19:18:00 +02:00
Lucas Declercq 156c50af30 Add downloadingEnabled property to video model 2018-10-06 19:17:39 +02:00
Chocobozzz 35d50b7dd2
Fix videos list when page is empty 2018-10-05 17:07:13 +02:00
Chocobozzz 79bd2632d6
Add user moderation in the account page 2018-10-05 17:02:10 +02:00
Chocobozzz e724fa93c7
Move user moderation tool in a separate component 2018-10-05 17:02:09 +02:00
Chocobozzz 6e46de095d
Add user history and resume videos 2018-10-05 11:22:38 +02:00
BO41 a585824160 add resize listener (#1182)
* add resize listener

* respect user decision

* change listener to rxjs

* review changes
2018-10-05 11:22:24 +02:00
Chocobozzz 4232d092bb
Remove unused variable 2018-10-05 11:20:08 +02:00
Rigel Kent 6fbae8788f
fix account URI in remote comment modal (partial rollback) 2018-10-05 10:48:21 +02:00
Rigel Kent 040a506bcf
fix account URI in remote comment modal (cleanup) 2018-10-05 10:20:26 +02:00
Rigel Kent 6d5973fa0e
fix account URI in remote comment modal 2018-10-04 14:13:17 +02:00
Chocobozzz 25378bc866
Delete correctly redundancy files 2018-10-03 16:43:57 +02:00
Chocobozzz 5bc8745ef9
Bumped to version v1.0.0-rc.2 2018-10-03 14:52:35 +02:00
Rigel Kent 6a6951ec10
Bumped to version v1.0.0-rc.1 2018-10-03 13:24:10 +02:00
Chocobozzz e33f888b86
Fix hotkey translations 2018-10-03 10:11:26 +02:00
Chocobozzz 60709df536
Fix Delete title button 2018-10-03 10:02:55 +02:00
Chocobozzz 53877968a6
Add comments feeds popover in watch page 2018-10-02 11:19:12 +02:00
Chocobozzz 4787966900
Don't throw an error on empty search 2018-10-01 17:39:09 +02:00
Rigel Kent c5d04b4f35
add allow advancedSearch with empty search
a.k.a. filters on all videos

also added a badge showing the rough number of active filters
2018-10-01 17:23:06 +02:00
Chocobozzz 601527d795
Check video channel name is unique on our instance 2018-10-01 15:20:14 +02:00
Rigel Kent abb2c7927c show last commit hash alongside server version in footer 2018-10-01 14:31:01 +02:00
Rigel Kent 9e3e248109
add protractor profile for local tests 2018-10-01 13:40:28 +02:00
Chocobozzz 8c202ae8d4
Bumped to version v1.0.0-beta.16 2018-10-01 12:16:00 +02:00
Chocobozzz 2a27c451f7
Update changelog 2018-10-01 11:24:41 +02:00
Chocobozzz 5e77a5de40
Include https://github.com/webtorrent/webtorrent/pull/1513 in our
webtorrent client dependency
2018-10-01 10:03:17 +02:00
Chocobozzz 59c9c5d9bb
Fix error when clicking on the disabled publish button 2018-10-01 09:04:43 +02:00
Chocobozzz 75f1d36218
Fix my account subtitles 2018-10-01 09:02:27 +02:00
Chocobozzz ed4c3c0910
Update captions in sequence to avoid concurrence issues 2018-10-01 08:54:58 +02:00
Rigel Kent 0f40d69a0f
adding shortcuts to videojs, adding frame-by-frame support 2018-09-30 15:18:03 +02:00
Rigel Kent 8b183196cb
fix primeng border color on all themes 2018-09-29 17:36:19 +02:00
Rigel Kent f5d9558f66
various display improvements 2018-09-29 13:42:17 +02:00
Rigel Kent 8c2b9756f9
fix message space on video upload cancel 2018-09-29 02:42:45 +02:00
Chocobozzz 8eaa6d62c6
Fix advanced options in upload form 2018-09-28 16:17:10 +02:00
Chocobozzz e182430ac7
Update translations 2018-09-28 16:07:27 +02:00
Chocobozzz 3e04f12909
Re generate angular translations 2018-09-28 15:13:57 +02:00
Chocobozzz baf0a8c98e
Fix some i18n tags 2018-09-28 15:13:01 +02:00
Chocobozzz 01fe5bd721
Fix no other videos displayed on some videos 2018-09-28 14:51:30 +02:00
Chocobozzz 19f2205516
Display other videos on xl screens on the right 2018-09-28 14:37:04 +02:00
Chocobozzz 287918da17
Hide useless error when destroying fake renderer 2018-09-28 14:22:43 +02:00
Rigel Kent 8be9f43aed
correct local subscribe in the subscription menu 2018-09-28 13:42:33 +02:00
Chocobozzz 07524e229f
Enable more angular options 2018-09-28 10:36:46 +02:00
Chocobozzz 161b061d4e
Remove duplicated videos on unfollow/delete redundancy 2018-09-28 10:07:05 +02:00
Chocobozzz a890d1e0d3
Check current password on server side 2018-09-26 16:28:27 +02:00
BO41 be1206bb93
fix lint errors 2018-09-26 16:28:26 +02:00
BO41 3805ce3f43
check old password before change 2018-09-26 16:28:25 +02:00
Chocobozzz cc68049424
Fix video import of some youtube videos 2018-09-26 15:55:45 +02:00
Chocobozzz 9ffdd52a95
Improve overview section titles 2018-09-26 15:03:04 +02:00
Chocobozzz 28da43cf66
Regenerate translations 2018-09-26 14:55:20 +02:00
Chocobozzz 3827c3b348
Fix quota translations 2018-09-26 14:50:39 +02:00
Rigel Kent 4a216666e7
add shortcuts icon in menu 2018-09-26 14:23:19 +02:00
Chocobozzz 60e74f80d8
Bumped to version v1.0.0-beta.15 2018-09-26 11:59:14 +02:00
Chocobozzz 9c91b521bc
Update translations 2018-09-26 10:38:26 +02:00
Chocobozzz 39ba2e8e3a
Add RSS feed to subscribe button 2018-09-26 09:39:41 +02:00
Rigel Kent 7bdd917a6a
fix link to the list of open instances due to joinpeertube.org update 2018-09-25 21:43:14 +02:00
Rigel Kent 660d11e91e
refactor subscribe button and comment-add for visitor-interact UX (#1100)
* refactor subscribe button for visitor-subscribe UX
* refactor comment-add for visitor-interact UX
2018-09-25 15:42:58 +02:00
Chocobozzz 4ebf25fda0
Bumped to version v1.0.0-beta.14 2018-09-25 09:21:35 +02:00
Chocobozzz b2e2cdc516
Update translations 2018-09-24 18:14:02 +02:00
Chocobozzz b9fcfb1d2a
Fix weird CSS bug with production build and CSS var 2018-09-24 18:05:57 +02:00
Chocobozzz a7f9fae9ab
Improve download modal input style 2018-09-24 17:48:34 +02:00
Chocobozzz 5363a766d9
Fix playback rate hotkey 2018-09-24 17:44:50 +02:00