Commit Graph

682 Commits (be27ef3b4682c5639039474c39ee0d234d16f482)

Author SHA1 Message Date
Chocobozzz 03652b3179
Use ::ng-deep instead of /deep/ 2019-07-25 11:00:43 +02:00
Chocobozzz f36da21e40
Update angular 2019-07-25 11:00:43 +02:00
Chocobozzz c9e3eeedad Lazy load client script scopes 2019-07-24 10:58:16 +02:00
Chocobozzz 7663e55a2c Log error on unknown hook 2019-07-24 10:58:16 +02:00
Chocobozzz e8f902c05c Use search client scope 2019-07-24 10:58:16 +02:00
Chocobozzz 93cae47925 Add client hooks 2019-07-24 10:58:16 +02:00
Chocobozzz 18a6f04c07 WIP plugins: hook on client side 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 2f4c784a92
Add params to share modal 2019-06-12 16:44:15 +02:00
Chocobozzz 011e1e6b37
Speedup video watch layout build 2019-06-11 16:26:48 +02:00
Chocobozzz 5efab5467c
Add more embed parameters 2019-06-11 16:05:03 +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 12bec528aa
Don't break video scheduled publication 2019-06-07 15:37:36 +02:00
Chocobozzz b91bc1d1f3
Merge branch 'release/v1.3.0' into develop 2019-06-07 15:04:41 +02:00
Chocobozzz 851f5daa1e
Add ability to set a public to private in client 2019-06-07 15:01:55 +02:00
Chocobozzz 4adf26735f
Fix error in form when scheduling video publication 2019-06-07 11:35:06 +02:00
Chocobozzz 3ddb1ec555
Try to fix remote mastodon interactions 2019-06-07 10:57:33 +02:00
Chocobozzz 4c72c1cd41
Move concurrently in dev package 2019-05-31 11:48:28 +02:00
Chocobozzz 34c7f429e4
Group videos on chronological order 2019-05-31 11:15:50 +02:00
Chocobozzz c8487f3f63
Improve account channel page
Set it as the default route for account page. The main goal is to better
differentiate the channel page from the account page. With the channel
page set as default, I hope people will better understand they are in
the account page, and that this account could have multiple channels.
2019-05-29 16:45:59 +02:00
Chocobozzz 73b3aa6429
Merge branch 'feature/audio-upload' into develop 2019-05-21 10:05:12 +02:00
Chocobozzz 1c8ddbfaa0
Reset playlist add component when video changes 2019-05-17 14:34:21 +02:00
Chocobozzz 67c687236f
Fix playlist block with theater player 2019-05-17 14:17:38 +02:00
Chocobozzz 7b992a86b1
Support audio upload in client 2019-05-17 10:45:53 +02:00
Chocobozzz 536598cfaf
Add audio support in upload 2019-05-16 17:16:47 +02:00
Chocobozzz 6565916605
Use HLS by default if enabled 2019-05-14 11:35:54 +02:00
Chocobozzz b59f12b095
Fix client build 2019-05-13 14:26:00 +02:00
Chocobozzz 1acd784cf9
Fix playlists with unauthenticated users 2019-05-13 11:25:13 +02:00
Chocobozzz 72675ebe01
Move video watch playlist in its own component 2019-05-13 11:19:29 +02:00
Chocobozzz d0dba1fce6
Optimize video update page load 2019-04-25 10:52:11 +02:00
Chocobozzz 71d00bfd7f
Fix explained privacies on first upload screen 2019-04-25 09:52:07 +02:00
Chocobozzz 28e0e40d2b
Fix privacy warning position on mobile 2019-04-15 09:43:23 +02:00
Chocobozzz 2b3f1919fd
Fix videos list margin with hidden menu 2019-04-11 10:21:45 +02:00
Chocobozzz 31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +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 3143ae17a0
Improve playlist element style 2019-04-05 15:23:41 +02:00
Chocobozzz 3a0fb65c61
Add video miniature dropdown 2019-04-05 10:53:09 +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 c47106315a
tslint update 2019-04-02 18:30:26 +02:00
Chocobozzz 489290b8b1
Restore videos list components 2019-04-02 11:45:02 +02: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 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 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 84c7cde6e8
Update E2E tests 2019-02-21 14:04:44 +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 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 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 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
Chocobozzz 572b8e02e2
Fix trending days display on first load 2019-01-21 17:11:21 +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 1506307f2f
Increase abuse length to 3000
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz 674a66bbda
Add unload listener on video upload/update 2019-01-14 15:01:08 +01:00
Chocobozzz 7b95f31385
Help translators to translate trending title/tooltip 2019-01-14 09:11:28 +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
Chocobozzz 5abb9fbbd1
Add ability to unfederate a local video (on blacklist) 2019-01-10 15:39:51 +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 2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +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 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 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
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 a1b2f87613
Add information in report modal 2018-12-05 11:05:54 +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 f7454ca60a
Upgrade server dep 2018-11-15 10:54:37 +01:00
Chocobozzz 2fbe7f1933
Fix new Angular 7 issues 2018-11-15 09:25:32 +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 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 017c3dcadf
Add ability to list all local videos on client 2018-10-10 14:35:55 +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
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 6e46de095d
Add user history and resume videos 2018-10-05 11:22:38 +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 e33f888b86
Fix hotkey translations 2018-10-03 10:11:26 +02:00
Chocobozzz 53877968a6
Add comments feeds popover in watch page 2018-10-02 11:19:12 +02:00
Chocobozzz 59c9c5d9bb
Fix error when clicking on the disabled publish button 2018-10-01 09:04:43 +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 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
Rigel Kent 8be9f43aed
correct local subscribe in the subscription menu 2018-09-28 13:42:33 +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
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 a7f9fae9ab
Improve download modal input style 2018-09-24 17:48:34 +02:00
Chocobozzz 0b4e5fe327
Merge branch 'develop' into unused-imports 2018-09-24 10:40:27 +02:00
Rigel Kent bb5d74289b
add url field to download modal 2018-09-23 19:43:41 +02:00
BO41 23db998f07 remove unused imports 2018-09-22 20:11:16 +02:00
Rigel Kent cc3d1dce1f
i18n in video-edit 2018-09-21 16:48:42 +02:00
Chocobozzz ae04a0ce12
Upgrade client dependencies 2018-09-21 09:26:52 +02:00
Rigel Kent 1fd3ef3fb4
fix nav tab and tag color in dark theme 2018-09-20 20:57:18 +02:00
Rigel Kent f845c68305
fix SEO tags and attributes 2018-09-20 16:48:21 +02:00
Chocobozzz 93ea9c47d9
Improve responsive on small screens 2018-09-20 14:59:19 +02:00
Chocobozzz e972e046db
Don't get recommended videos twice 2018-09-19 09:54:36 +02:00
Rigel Kent 8c72543a4a
adding missing i18n for schedule option 2018-09-17 16:44:41 +02:00
Chocobozzz e452d2e2b8
Fix description/comments max width 2018-09-17 15:28:32 +02:00
Chocobozzz cfc16a6db8
Fix tag search on overview page 2018-09-14 14:36:12 +02:00
Rigel Kent a157b3a322
specify shift in keyboard shortcuts cheatsheet 2018-09-11 14:18:59 +02:00
Rigel Kent e78980ebd1 use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Chocobozzz d972dc7f66
Update translations 2018-09-07 17:40:45 +02:00
Chocobozzz 21131ac172
Fix video channel url in watch page 2018-09-06 13:42:00 +02:00
Chocobozzz 1c66c35c55
Align other videos block on small screens 2018-09-06 09:00:59 +02:00
Chocobozzz 432e7ddcc8
Fix video player theatre mode 2018-09-06 09:00:58 +02:00
Rigel Kent 66467298e6
fix comment and top-menu placement regressions 2018-09-05 20:00:47 +02:00
Chocobozzz 1d6587aa42
Dislike bar in the same color as the button 2018-09-05 15:40:45 +02:00
Chocobozzz dcbc29d5c8
Put "start at" at the top of the modal 2018-09-05 15:32:15 +02:00
Chocobozzz d77433a8a6
Fix video add background color 2018-09-05 11:24:43 +02:00
Chocobozzz 8ff3f88347
Fix watch page responsive 2018-09-05 11:20:44 +02:00
Rigel Kent 9a0fc8409c add theming via css custom properties
and a bonus dark color theme toggle
2018-09-04 23:24:34 +02:00
Rigel Kent 3b766e181c
fixing grid readjustment with expand and screens < 1150px 2018-09-04 18:35:39 +02:00
Chocobozzz 6aff854c0e
Fix overview page on mobile 2018-09-04 17:31:30 +02:00
Chocobozzz 8cd7faaa33
Better label for video privacies 2018-09-04 17:31:28 +02:00
Jorropo b0c36821d1 Add video recomandation by tags (#1001)
* Recommendation by tags (thx bradsk88)

Thx bradsk88 for the help.

* Prefer jest-preset-angular to skip need for babel config

* Fix jest
2018-09-04 11:01:54 +02:00
Rigel Kent 2303a803aa
fix likes bar, grid adjustment and menu width 2018-09-03 15:10:55 +02:00
Chocobozzz 348106f20c
Don't get quota twice 2018-09-03 09:30:13 +02:00