Commit Graph

1036 Commits

Author SHA1 Message Date
Rigel Kent 7754034641 (embed) sandbox the iframe 2018-06-11 17:18:04 +02:00
Chocobozzz 054a103b28
Add theatre mode 2018-06-11 16:49:56 +02:00
Chocobozzz 86bed4a6aa
Fix dislikes number in video watch page 2018-06-11 15:27:34 +02:00
Chocobozzz 2a19a1e4de
Split player sass file 2018-06-11 15:25:46 +02:00
Chocobozzz 4fbfba67b3
Bumped to version v1.0.0-beta.8 2018-06-11 14:14:46 +02:00
Chocobozzz fc16f981da
Darker control bar 2018-06-11 13:55:00 +02:00
Chocobozzz 0aabe3f6f9
Improve control bar with blank videos 2018-06-11 11:53:54 +02:00
Chocobozzz d879e48b21
Fix autoplay setting in my account 2018-06-11 10:53:58 +02:00
Chocobozzz 695237b258
Fix add icon path 2018-06-11 10:05:42 +02:00
Chocobozzz 4a7591e1a8
Remove video not found 2018-06-08 15:35:18 +02:00
spf 696fa4c06b Enable default link behavior and accessibility for login page (#636)
* enable default link behavior and accessibility for login page

* alt for link: great idea, but the world is not ready
2018-06-08 15:18:39 +02:00
Chocobozzz 6d272f396c
Smooth resolution change? 2018-06-08 15:01:22 +02:00
Chocobozzz 91d9558963
Fix seeking on auto resolution change 2018-06-08 14:20:43 +02:00
Chocobozzz 7cf26f433f
Fix e2e tests 2018-06-08 11:25:12 +02:00
Chocobozzz 2ce2fd7f45
Improve player progress bar 2018-06-08 10:37:13 +02:00
Chocobozzz 8eb8bc201e
Pick average video file insead of max quality 2018-06-07 17:57:11 +02:00
Chocobozzz 54d9d09bb1
Fix the player size on mobile 2018-06-07 17:26:14 +02:00
Chocobozzz 379acb21bc
Rename "my settings" to "my account" in menu 2018-06-07 17:05:57 +02:00
Chocobozzz 6cca7360eb
Reduce bundle sizes 2018-06-07 16:50:33 +02:00
Chocobozzz 09f35e2a6f
Add warning regarding transcoding 2018-06-07 16:44:22 +02:00
Rigel Kent 9e32b99c20 fixing #595 by using the account name instead of the displayName 2018-06-07 15:07:06 +02:00
Chocobozzz 46659d01df
Fix embed view with search params 2018-06-07 15:03:33 +02:00
Chocobozzz 3baf9be283
Fix player resolution change that plays even if the video was paused 2018-06-07 14:58:41 +02:00
Chocobozzz 734a5ceb3d
Fix account/channel pages route subscription 2018-06-07 11:19:26 +02:00
Chocobozzz cc69c8db39
Fix markdown links truncating 2018-06-07 10:32:50 +02:00
Chocobozzz 5b7c47a781
Add help if the config is invalid 2018-06-07 10:20:59 +02:00
Chocobozzz fa40cbc3b2
Only use woff2 for fonts 2018-06-06 19:21:02 +02:00
Chocobozzz 9f16472264
Rename fr locale -> fr-FR 2018-06-06 18:04:33 +02:00
Chocobozzz 74b7c6d48e
Little i18n refractoring 2018-06-06 17:37:13 +02:00
Chocobozzz 7ce44a74a3
Add server localization 2018-06-06 16:48:41 +02:00
Chocobozzz f07d6385b4
Rename messages locale to angular 2018-06-06 16:48:41 +02:00
Chocobozzz e945b184a0
Localize player 2018-06-06 16:48:40 +02:00
Chocobozzz 8c40b7dc28
Add missing translations 2018-06-05 16:52:25 +02:00
Chocobozzz 0975cd5cf2
Translate tab heads 2018-06-05 16:31:52 +02:00
Chocobozzz 7a9fd8b54d
Handle singular/plurial in signup 2018-06-05 16:09:32 +02:00
Chocobozzz e309822b93
Add form validator translations 2018-06-05 15:02:27 +02:00
Chocobozzz d18d64787b
Form validators refractoring 2018-06-05 10:58:45 +02:00
Chocobozzz 25acef90a8
Fix i18n in components 2018-06-05 09:13:26 +02:00
Chocobozzz 510fefb194
Add french 2018-06-05 08:43:02 +02:00
Chocobozzz b1d40cff89
Add i18n attributes 2018-06-05 08:43:01 +02:00
Chocobozzz 989e526abf
Prepare i18n files 2018-06-05 08:43:01 +02:00
Chocobozzz a961477666
Fix lint 2018-05-31 14:43:48 +02:00
Chocobozzz a51bad1acc
Add 404 page 2018-05-31 14:24:13 +02:00
Chocobozzz 351d5225d6
Improve Twitter config help 2018-05-31 11:04:34 +02:00
Chocobozzz 8e53163fbd
Fix seek circle overflow 2018-05-31 10:49:07 +02:00
Chocobozzz 3f9b33b02b
Remove bad import 2018-05-31 09:57:03 +02:00
Chocobozzz 77728efa62
Fix player progress bar 2018-05-31 09:51:51 +02:00
Chocobozzz 0bf1f26523
Add number of videos published by an account/video channel 2018-05-30 17:37:49 +02:00
Chocobozzz 960a11e89d
Add context menu to player 2018-05-30 17:10:00 +02:00
Chocobozzz 04bf312cda
Improve create transcoding jobs tests 2018-05-30 11:12:09 +02:00
Chocobozzz b4f8277cb6
Fix resume video after peertube embed link click 2018-05-30 10:49:27 +02:00
Chocobozzz 02756fbd11
Improve torrent/video download 2018-05-29 18:30:11 +02:00
Chocobozzz a20776fcbb
Fix refreshing oauth token 2018-05-29 17:16:20 +02:00
Chocobozzz f6a7c82ca5
Fix AP activity validator 2018-05-29 15:05:14 +02:00
Chocobozzz f6d2158fd9
Upgarde videojs to v7 2018-05-29 12:05:12 +02:00
Chocobozzz 230de99e71
Upgrade client dependencies 2018-05-29 12:05:02 +02:00
Chocobozzz 1ab6d6bb6b
Bumped to version v1.0.0-beta.7 2018-05-28 17:36:18 +02:00
Chocobozzz 568cd9676e
Don't index embed pages 2018-05-28 13:15:51 +02:00
Chocobozzz fc73684ada
Resume video on peertube link click in embed 2018-05-28 11:36:29 +02:00
Chocobozzz 6b950ba5ee
Add host in account view 2018-05-28 11:36:28 +02:00
Chocobozzz 74af5145f2
Video support field inherits channel support field 2018-05-25 18:32:53 +02:00
Chocobozzz 407eab9c95
Upgrade dexie to avoid issue if disabling cookies on firefox 2018-05-25 16:56:11 +02:00
Chocobozzz ad9e39fb81
Only use account name in routes 2018-05-25 10:41:07 +02:00
Chocobozzz 06be7ed0b2
Reload my videos after delete 2018-05-25 08:38:59 +02:00
Chocobozzz d14a9532a1
Handle account name in client url
More consistent with AP urls
2018-05-24 15:30:28 +02:00
Chocobozzz b528582df2
Clean up E2E tests 2018-05-24 14:35:24 +02:00
Chocobozzz 108a66f0da
Fix history back after a redirect 2018-05-24 09:44:04 +02:00
Chocobozzz 1fad099d72
Fix protractor with Safari 2018-05-24 09:16:15 +02:00
Chocobozzz f79cfff2cb
Fix player with google bot 2018-05-23 12:02:15 +02:00
Chocobozzz a4f99a766b
Add owner in video channel page 2018-05-23 11:38:18 +02:00
Chocobozzz b851dabf78
Always redirect on homepage on '/' 2018-05-23 10:58:50 +02:00
Chocobozzz 45c0fb35eb
Add short description in about page 2018-05-23 10:41:08 +02:00
Chocobozzz b365bb43c2
Bumped to version v1.0.0-beta.6 2018-05-23 10:18:13 +02:00
Chocobozzz 7e2b4ecdcc
Move rxjs-compat in dev dep 2018-05-23 09:07:31 +02:00
Rigel Kent ff2c1fe813 feature: IP filtering on signup page
disable registration form on IP not in range
checking the CIDR list before filtering with it
placing the cidr filters as an attribute object in the config
2018-05-22 19:44:34 +02:00
Chocobozzz e2f1dad836
Fix client postinstall on release 2018-05-22 16:43:58 +02:00
Chocobozzz 0081ee8499
Bumped to version v1.0.0-beta.5 2018-05-22 16:25:08 +02:00
Chocobozzz d1bd87e066
Make it works with new autoplay policy 2018-05-22 16:02:29 +02:00
Chocobozzz 293c885b5c
Upgrade client dependencies 2018-05-22 13:23:28 +02:00
Chocobozzz f954b5da2a
Fix change detection in app component 2018-05-22 09:42:05 +02:00
Chocobozzz e7eb5b3997
Fix play on iOS (grumph) 2018-05-22 09:17:21 +02:00
Chocobozzz 0b33c52060
Improve e2e tests 2018-05-22 09:17:21 +02:00
Chocobozzz cd4d7a2ca8
Fix peertube with google bot 2018-05-22 09:17:20 +02:00
Chocobozzz 2e8e97f313
Add compatibility with browser stack 2018-05-17 16:33:20 +02:00
Chocobozzz 4b4f22fc30
Remove bad comments 2018-05-17 15:25:50 +02:00
Chocobozzz 5f92c4dc5f
Add videos e2e tests 2018-05-17 15:20:21 +02:00
Chocobozzz 74af5a8361
Client E2E tests first step 2018-05-17 10:55:50 +02:00
Chocobozzz 6200d8d917
Fix video channel update with an admin account 2018-05-17 10:55:49 +02:00
Chocobozzz 5fcbd89841
Fix typings 2018-05-16 11:06:33 +02:00
Chocobozzz 1335920348
Fix rxjs throw 2018-05-16 10:51:03 +02:00
Chocobozzz a700f1837e
Enable service worker 2018-05-16 10:51:02 +02:00
Chocobozzz 5f73f5da1d
Fix concurrent requests in videos list 2018-05-16 10:51:01 +02:00
Chocobozzz 2efd32f697
Fix updating video tags to empty field 2018-05-16 09:42:56 +02:00
Chocobozzz 17c49e60b3
Add patch for angular cli 6 2018-05-16 09:42:56 +02:00
Chocobozzz 4935a6a1fd
Catch indexdb database destroy 2018-05-16 09:42:55 +02:00
Chocobozzz e998cf3cc7
Fix some components after Angular 6 upgrade 2018-05-16 09:42:54 +02:00
Chocobozzz db400f447a
Upgrade to rxjs 6 2018-05-16 09:42:54 +02:00
Chocobozzz 54c3a22faa
Upgrade Angular first step 2018-05-16 09:42:53 +02:00
Chocobozzz 136cce4d67
Use publishedAt by default in videos sort 2018-05-15 08:47:47 +02:00
Chocobozzz efda99c30f
Store webtorrent chunks in indexdb 2018-05-15 08:39:02 +02:00
Chocobozzz 0f320037e6
Add ability to update a video channel 2018-05-11 15:25:51 +02:00
Chocobozzz 8be1afa12b
Add ability to embed a video in Twitter
The instance should be whitelisted first
2018-05-11 08:48:20 +02:00
Chocobozzz c7b0dacb28
Do not bundle two different videojs versions 2018-05-11 08:48:20 +02:00
Chocobozzz a077482fb7
Add overflow on markdown textaera 2018-05-11 08:48:20 +02:00
Chocobozzz 9b9b1805c2
User routes: :id/update -> update/:id 2018-05-11 08:48:20 +02:00
Chocobozzz c663955b25
Route: Video edit -> video update 2018-05-11 08:48:20 +02:00
Chocobozzz 4c200caae6
User add -> User create 2018-05-11 08:48:20 +02:00
Rigel 169310b288 adding basic helpers to guide users for comments/subscribe to accounts 2018-05-11 08:28:55 +02:00
Chocobozzz b17e8d8975
Avoid ... for delete/edit buttons in admin panel 2018-05-09 14:22:42 +02:00
Chocobozzz a10fc78bb0
Fix video channel description/support max length 2018-05-09 13:32:44 +02:00
Chocobozzz 360329cc02
Account/channel descriptions are not required anymore 2018-05-09 11:41:18 +02:00
Chocobozzz bf69686953 Fix message when updating my profile 2018-05-09 09:42:15 +02:00
Chocobozzz 62e62f118d
Load my-account module lazily 2018-05-09 09:32:26 +02:00
Gérald Niel acf24c7497 Fix #546 (I hope!) 2018-05-09 09:30:17 +02:00
Chocobozzz 1952a538ba
Improve responsive account about page 2018-05-09 09:23:27 +02:00
Chocobozzz 7797350a0e
Increase header burger size 2018-05-09 08:30:03 +02:00
Chocobozzz 47f8de2834
Fix error message on token expiration 2018-05-07 18:41:10 +02:00
Chocobozzz d0bcfda41c
Bumped to version v1.0.0-beta.4 2018-05-07 13:02:08 +02:00
Chocobozzz 7d8e778ad0
Fix video channel update/create on empty fields 2018-05-07 11:31:23 +02:00
Chocobozzz b0ae905e7b
Add support section in video channel about page 2018-05-07 11:24:42 +02:00
Chocobozzz 95166f9aaf
Add link to the channel page in watch page 2018-05-07 11:20:58 +02:00
Chocobozzz 920d2d2b4c
Add libs to tsconfig 2018-05-07 10:37:43 +02:00
Chocobozzz 6a478b1165
Fix tests 2018-04-26 17:06:02 +02:00
Chocobozzz 08c1efbe32
Add video channel management 2018-04-26 16:18:01 +02:00
Chocobozzz 7de6afdf54
Add username near the display name for account pages 2018-04-26 16:18:01 +02:00
Dashie 742ccef0b5 Fix link for async and clarify the wording 2018-04-26 15:26:27 +02:00
Dashie 29ca3b361f Add a link to 'My profile' in the dropdown 2018-04-26 15:26:27 +02:00
Chocobozzz ed56ad1193
Add ability to update the user display name/description 2018-04-26 10:03:40 +02:00
Chocobozzz d62cf3234c
Fix account link in the menu 2018-04-25 18:05:12 +02:00
Chocobozzz 170726f523
Implement video channel views 2018-04-25 16:56:13 +02:00
Chocobozzz d3e91a5f72
Add video channel account list 2018-04-25 15:43:19 +02:00
Chocobozzz 03e12d7c49
Add account link in videos list 2018-04-25 14:32:19 +02:00
Chocobozzz 6b738c7a31
Video channel API routes refractor 2018-04-25 13:50:48 +02:00
Chocobozzz 0626e7af82
Add account view 2018-04-24 15:13:19 +02:00
Chocobozzz 4bb6886d28
Rename account module to my-account 2018-04-23 16:16:05 +02:00
Chocobozzz 9d3ef9fe05
Use ISO 639 for languages 2018-04-23 14:39:52 +02:00
Chocobozzz 2a2c19dfef
Replace current state when changing page 2018-04-20 14:27:30 +02:00
Chocobozzz 3c40590d74
Fix auto quality 2018-04-20 10:21:28 +02:00
Chocobozzz 6cf57b443d
Player better responsive 2018-04-20 09:05:54 +02:00
Chocobozzz 7a14004b4e
Use mixin for word wrap 2018-04-20 08:19:46 +02:00
Gérald Niel f7ecffa49a Update css (don't cut word arbitrary) for description and comments. 2018-04-19 19:40:18 +02:00
Gérald Niel 0db1a22650 Merge branch 'develop' of framagit.org:chocobozzz/PeerTube into develop 2018-04-19 19:28:55 +02:00
Chocobozzz d4f3fea659
Handle errors in embed 2018-04-19 18:06:59 +02:00
Chocobozzz 2243730c8e
Add information concerning video privacy in my videos list 2018-04-19 14:52:10 +02:00
Chocobozzz 41f657c570
Add help concerning NSFW videos in upload 2018-04-19 11:47:02 +02:00
Chocobozzz 0883b3245b
Add ability to choose what policy we have for NSFW videos
There is a global instance setting and a per user setting
2018-04-19 11:01:34 +02:00
Gérald Niel 0030284b0d Merge branch 'develop' of framagit.org:chocobozzz/PeerTube into develop 2018-04-19 07:54:51 +02:00
Chocobozzz 04ed10b21e
Use popover for help component 2018-04-18 16:29:15 +02:00
Chocobozzz c9ffd53217
Better responsive design on many comment children 2018-04-18 15:00:42 +02:00
Chocobozzz 80109b2ddb
Handle when autoplay fails 2018-04-18 10:20:13 +02:00
Gérald Niel ea5cd0fa2c See commit 2a97572 fix #397 (regression) 2018-04-17 18:55:14 +02:00
Chocobozzz 66dc590764
Add ability to click on the account in watch page 2018-04-17 15:11:12 +02:00
Chocobozzz 7b87d2d514
Handle sort in rss 2018-04-17 10:56:27 +02:00
Chocobozzz cc1561f9f7
Simplify client syndications 2018-04-17 10:35:08 +02:00
Chocobozzz e6f627975b
Hide big play button on autoplay 2018-04-17 09:54:53 +02:00
Rigel Kent 244e76a552
feature: initial syndication feeds support
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.

* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)

* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support

Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz 864e782bc2
Improve big play button animation 2018-04-15 10:55:33 +02:00
Gérald Niel 33bacf9cfe Fix indetation (I hope!) 2018-04-11 19:23:18 +02:00
Gérald Niel e3f9a06a73 Fix #490 and justify text in comments div. 2018-04-11 19:14:15 +02:00
Chocobozzz fc9e66242a
Upgrade to webpack 4 2018-04-06 16:06:43 +02:00
Chocobozzz 6e0c85bd90
Upgrade client dependencies 2018-04-06 15:02:47 +02:00
Chocobozzz f37bad639b
Add ability to set a start time 2018-04-05 17:12:22 +02:00
Chocobozzz 7ee4a4af0b
Cleanup peertube plugin after dispose 2018-04-05 16:53:31 +02:00
Chocobozzz 877b0528f8
Fix auto quality with http fallback 2018-04-05 16:22:08 +02:00
Chocobozzz a8462c8e3a
Automatic resolution according to user bandwidth V1 2018-04-05 16:15:51 +02:00
Chocobozzz 317ebb939e
Improve admin css help 2018-04-04 09:39:19 +02:00
Chocobozzz d49b872a7a
Add id to body for more specific css 2018-04-04 09:30:54 +02:00
Chocobozzz c448d41242
Fix show more description button on video change 2018-04-04 09:04:34 +02:00
Chocobozzz ea20306f87
Better embed responsive 2018-04-03 18:18:58 +02:00
Chocobozzz 09edde4084
Fix video watch page responsive 2018-04-03 18:06:58 +02:00
Chocobozzz b891f9bc61
Fix watch page video change 2018-04-03 17:33:39 +02:00
Chocobozzz 33d7855229
Improve first play 2018-04-03 15:18:24 +02:00
Chocobozzz c6352f2c64
Improve player
Add a settings dialog based on the work of Yanko Shterev (@yshterev):
https://github.com/yshterev/videojs-settings-menu. Thanks!
2018-04-03 14:02:10 +02:00
Chocobozzz 6b9af12936
Add opacity effect on control bar icons 2018-04-03 12:06:28 +02:00
Chocobozzz e993ecb3b7
Improve player progress bar 2018-04-03 12:06:28 +02:00
Julien Le Bras 2922e048de Add publishedAt field for video model.
* New field added in the `video` table + migration script

* `publishedAt` updated to NOW when privacy changes from private to
  public/unlisted (default = NOW)

* Models updated to handle the new attribute

* Client interface updated to use `publishedAt` instead of `createdAt`
  except in My Account > My Videos view
2018-03-30 08:52:58 +02:00
Chocobozzz ae61cb09dc
Bumped to version v1.0.0-beta.3 2018-03-29 14:13:23 +02:00
Chocobozzz 09becad8e8
Add reverse proxy test in travis 2018-03-29 11:39:53 +02:00
Chocobozzz 490b595a01
Prevent brute force login attack 2018-03-29 11:03:30 +02:00
Chocobozzz 23f4c3d412
Disply other videos if screen >= 1300px 2018-03-29 08:49:34 +02:00
Chocobozzz 2b084d7048
Add link to register in login form 2018-03-28 18:22:59 +02:00
Chocobozzz 5afdd0a52f
Add initial video quota info in registration form 2018-03-28 17:05:46 +02:00
Charles de Lacombe 829be6e8b7 Add a hover effect on left menu links (#418) (#425)
I:
- removed the `margin-left` on the `.panel-block` to put it on the children
instead
- squashed the `margin-bottom` of the links into their `height` (and rounded it
to 40px, feel free to correct me)
- centered vertically the content of the links
- added the `background-color` change on hover for the links

I put the same color as the `.logged-in-block`. Maybe it should be externalized
as a SCSS variable?

I also added a CSS transition. Is it alright?
2018-03-28 11:43:09 +02:00
Chocobozzz 63f4b13281
Bumped to version v1.0.0-beta.2 2018-03-28 08:42:23 +02:00
Chocobozzz e700d33b19
Reduce title/button size for embed 2018-03-27 18:45:51 +02:00
Chocobozzz 2e78e2684c
Fix lint 2018-03-27 17:52:41 +02:00
Chocobozzz a86887a4b8
Fix my videos pagination 2018-03-27 17:37:26 +02:00
Chocobozzz 5b5e333f06
Fix videos list params 2018-03-27 17:10:56 +02:00
Chocobozzz d414207f07
Add root class if user is logged in 2018-03-27 16:18:49 +02:00
Chocobozzz be1fc4bc50
Fix custom server configuration numbers 2018-03-27 15:46:36 +02:00
Chocobozzz fc62e39c0b
Redirect to homepage on empty search 2018-03-27 15:12:55 +02:00
Chocobozzz 586f7c1bef
Decrease player button size on very small screens 2018-03-27 14:39:10 +02:00
Rigel Kent 1869c87535 show quota in stats, display quota on the about page, fixes #405 (#421)
move videoQuota under a user object, use byte PipeTransform
2018-03-27 13:42:57 +02:00
Chocobozzz da99ccf268
Add autoplay parameter in embed 2018-03-27 11:11:15 +02:00
Chocobozzz 649f0334e0
Fix my videos list page 2018-03-27 11:11:15 +02:00
Chocobozzz 75236b9878
4 lines per page instead of 3 for videos list 2018-03-27 11:11:15 +02:00
Chocobozzz 0dcf9a14be
Fix player error when the media is not supported 2018-03-26 15:29:04 +02:00
Chocobozzz 60a26a559c
Reduce innactivity timeout on embed 2018-03-26 13:55:27 +02:00
Chocobozzz 869968d792
Improve embed video player responsive 2018-03-26 13:55:27 +02:00
Chocobozzz bf9ae5ce57
Fix log in with special password character (+) 2018-03-26 11:49:44 +02:00