Commit Graph

898 Commits

Author SHA1 Message Date
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
Chocobozzz 53eb90c0ab
Fix check comments params unit tests 2018-03-26 09:48:20 +02:00
Chocobozzz abf1c5858e
Fix responsive in videos watch 2018-03-26 09:39:23 +02:00
Chocobozzz 20acba1c37
Fix video description CSS 2018-03-26 09:36:30 +02:00
Gérald Niel d502231244 Fix #408 2018-03-25 16:07:39 +02:00
Gérald Niel 5c25dbc22d No word-break in comment. Justify text. 2018-03-24 12:06:06 +01:00
Gérald Niel 794927a867 Fix break-word and add margin between content and other videos. 2018-03-24 11:56:34 +01:00
Chocobozzz b00d377021
Test to remove google as stun server 2018-03-23 16:46:51 +01:00
Chocobozzz d402fb5b7a
Update stun servers 2018-03-23 16:02:07 +01:00
Chocobozzz 0bd78bf30b
Proxify local storage and handle if it is unavailable 2018-03-23 14:26:20 +01:00
Chocobozzz a465bf5f47
Fix error display on edit config in admin 2018-03-23 11:39:06 +01:00
Chocobozzz a216c6233d
Fallback to torrent file if there is an incorrect info hash 2018-03-23 09:46:08 +01:00
Chocobozzz d63fd4f7b1
Force form validation in configuration 2018-03-23 09:31:42 +01:00
jomo dce1d7957d fix #382 generic error when password is too long (#383) 2018-03-23 09:13:33 +01:00
Chocobozzz b4b3e77d10
Improve readme 2018-03-22 19:57:20 +01:00
Chocobozzz 63ac2857aa
Use instance name for page titles 2018-03-22 14:14:31 +01:00
Chocobozzz 1ff8d7d631
Fix pagination when videos take all the width 2018-03-21 17:28:15 +01:00
Chocobozzz c263f3b425
Update FAQ 2018-03-21 10:20:47 +01:00
Chocobozzz d84f3e09ee
Typo 2018-03-21 09:44:51 +01:00
Chocobozzz 29f9b56205
Logo/title redirects to the default route 2018-03-21 09:40:57 +01:00
Chocobozzz 9add00514f
Fix '@' missing in comment mention 2018-03-21 09:35:11 +01:00
Chocobozzz 040d455178
Bumped to version v1.0.0-beta.1 2018-03-20 10:33:38 +01:00
Chocobozzz 0960af624e
Bumped to version v1.0.0-alpha.10 2018-03-19 18:47:10 +01:00
Chocobozzz 632c5e3629
More secure target blank links 2018-03-19 18:30:28 +01:00
Chocobozzz 9af61e8430
Don't forget to clean up subscriptions 2018-03-19 18:00:31 +01:00
Chocobozzz 606ca5bccf
Fix typo in embed 2018-03-19 17:35:01 +01:00
Chocobozzz a2d27bdf4c
Bumped to version v1.0.0-alpha.9 2018-03-19 17:31:38 +01:00
Chocobozzz caae7a0671
Better handling video resizing 2018-03-19 17:16:53 +01:00
Chocobozzz 6194c1b419
Handle resizes on videos list 2018-03-19 16:18:41 +01:00
David Libeau 9d145133d8 target="_blank" and fix footer (#361)
* target="_blank" and fix footer

* Add rel="noopener noreferrer"
2018-03-19 15:06:14 +01:00
Chocobozzz 09700934b9
BEARKING CHANGE: Update videos API response
before beta
2018-03-19 11:04:40 +01:00
Chocobozzz ae5a3dd664
Update videos response api 2018-03-19 10:32:51 +01:00
Lucas Declercq f6aec1b0f6 Update video duration string to show hours when duration greater than or equal 60min (#360)
* Update video duration string to show hours when >= 60min

* Only show hours in duration when relevant

* Fix problem with ternary expression

* Remove accidentally commited package-lock.json
2018-03-19 10:32:12 +01:00
David Libeau 1d6e604c7b Add "Local videos" option for instanceDefaultClientRoute (#343) 2018-03-16 08:18:12 +01:00
Chocobozzz 28ea3742d7
Bumped to version v1.0.0-alpha.8 2018-03-15 14:44:25 +01:00
Chocobozzz 2e3a0215d0
Add short description in config 2018-03-15 14:34:47 +01:00
Chocobozzz 0dd46b46e8
Bumped to version v1.0.0-alpha.7 2018-03-13 11:02:45 +01:00
Chocobozzz 066e94c538
Add "local" videos in menu 2018-03-13 10:24:28 +01:00
Chocobozzz 19a3b914f1
Change video abuse API response 2018-03-12 11:44:28 +01:00
Chocobozzz f2c3f7cd8a
Fix upload with small file names 2018-03-12 11:44:28 +01:00
Chocobozzz b64c950a1c
Update videos api list for account 2018-03-12 11:44:28 +01:00
Chocobozzz 746a3d47a7
Bumped to version v1.0.0-alpha.6 2018-03-09 10:33:37 +01:00
Chocobozzz 2c6bbd97d3
Improve infinite scroll 2018-03-09 09:22:35 +01:00
Chocobozzz dfecb90036
Fix lint momory issues 2018-03-08 17:31:11 +01:00
Chocobozzz 530d7fdd8d
Bumped to version v1.0.0-alpha.5 2018-03-08 14:42:19 +01:00
Chocobozzz 5e4b6992ab
Fix jobs sorting 2018-03-08 14:08:29 +01:00
Chocobozzz b3eeb529d9
Fix compatible browser class addition 2018-03-08 12:04:10 +01:00
Chocobozzz 73e09f2706
Try to detect incompatible web browsers 2018-03-08 12:01:55 +01:00
Chocobozzz 6a6d92b1ec
Fix infinite scroll 2018-03-08 10:46:12 +01:00
Chocobozzz 2b3b76abb0
Use banner instead of modal for privacy concerns 2018-03-07 17:35:30 +01:00
Chocobozzz 8b0516fede
Bumped to version v1.0.0-alpha.4 2018-03-06 11:26:20 +01:00
Chocobozzz 0f56c6e5ff
Make it works on iOS 2018-03-06 10:01:46 +01:00
Chocobozzz f0f1a3fc9e
Bumped to version v1.0.0-alpha.3 2018-03-02 09:22:10 +01:00
Chocobozzz ff7589ba1b
Fix player dispose exception 2018-03-02 09:15:05 +01:00
Chocobozzz 059f3b0dfb
Bumped to version v1.0.0-alpha.2 2018-03-02 09:02:00 +01:00
Chocobozzz 3ec8dc0962
Cleaner videojs control bar implementation 2018-03-01 19:02:51 +01:00
Chocobozzz c7bfd4532e
Fix homagepage redirection 2018-03-01 17:25:57 +01:00
Chocobozzz b50634b440
Bumped to version v1.0.0-alpha.1 2018-03-01 14:46:20 +01:00
Chocobozzz 1198a08cc7
Fix playback rate 2018-03-01 14:14:56 +01:00
Chocobozzz 901637bb87
Add ability to change the homepage 2018-03-01 13:57:29 +01:00
Chocobozzz a73c582e5b
Improve playback speed style 2018-03-01 13:02:09 +01:00
jonathanraes 57886d6671 Support different playback rates (#318) 2018-03-01 08:26:56 +01:00
Chocobozzz 09cababd79
Add stats route 2018-02-28 18:04:55 +01:00
Chocobozzz 22b59e8099
Add messages about privacy concerns (P2P) 2018-02-28 15:33:45 +01:00
Chocobozzz d7137ad5fb
Bumped to version v0.0.29-alpha 2018-02-28 10:58:41 +01:00
Chocobozzz 20b40b195a
Handle user rates in real time 2018-02-28 09:49:40 +01:00
Chocobozzz acbffe9c0f
Add max video height on mobile 2018-02-28 09:39:08 +01:00
Chocobozzz 7ccfb37f32
Fix player on very small screens 2018-02-28 08:26:22 +01:00
Chocobozzz 4001b3bc6c
Fix complete description on some videos 2018-02-27 10:55:00 +01:00
Chocobozzz 0394b1e181
Add help to customizations configuration options 2018-02-27 10:46:20 +01:00
Chocobozzz c1953c5664
Add ability to display job errors 2018-02-27 10:39:15 +01:00
Chocobozzz 3babbd2503
Bumped to version v0.0.28-alpha 2018-02-26 11:46:46 +01:00
Chocobozzz fed9515572
Disable service worker 2018-02-26 11:44:54 +01:00
Chocobozzz bf5685f0b7
Add fallback to HTTP 2018-02-26 10:49:27 +01:00
Chocobozzz 4da00dd2ff
Bumped to version v0.0.27-alpha 2018-02-23 16:52:08 +01:00
Chocobozzz 72680feb34
Don't zone.js patch on requestAnimationFrame 2018-02-23 15:49:16 +01:00
Chocobozzz 998acc2215
Add bar when loading chunks 2018-02-23 15:39:50 +01:00
Chocobozzz ab998f7b6d
Improve admin tables 2018-02-23 14:36:16 +01:00
Chocobozzz 621d99f53f
Better help on markdown fields 2018-02-23 10:05:17 +01:00
Chocobozzz 8a8e02a43e
Add help tooltip 2018-02-22 18:32:31 +01:00
Chocobozzz 81c263c86f
Add limit to video sizes 2018-02-22 16:54:08 +01:00
Chocobozzz a9ca764e7e
Throttle infinite scroller 2018-02-22 16:41:02 +01:00
Chocobozzz 1f30a1853e
Add confirm when admin use custom js/css 2018-02-22 15:29:32 +01:00
Chocobozzz 78967fca4c
Register service worker 2018-02-22 14:15:23 +01:00
Chocobozzz 93df58cc48
Fix service worker registration 2018-02-22 11:54:24 +01:00
Chocobozzz 41df592101
Upgrade client dependencies 2018-02-22 10:58:00 +01:00
Chocobozzz c2ff22015e
Upgrade dependencies and remove standard 2018-02-22 10:42:26 +01:00
Chocobozzz 00b5556c18
Add ability to add custom css/javascript 2018-02-22 10:22:53 +01:00
Chocobozzz 6221f311de
Add ability to update another user video 2018-02-22 09:03:45 +01:00
Chocobozzz 9f4183c9b5
Fix support field validation in video edit 2018-02-21 18:23:20 +01:00
Chocobozzz 86ec3e53ac
Put comments reply on the top 2018-02-21 17:50:41 +01:00
Chocobozzz 5b8072ee0b
Fix comment highlight 2018-02-21 17:50:41 +01:00
Chocobozzz b10ba55aca
Open mentions in new tab 2018-02-21 17:50:41 +01:00
Chocobozzz 40aa7157e2
Bumped to version v0.0.26-alpha 2018-02-21 17:10:57 +01:00
Chocobozzz e8cb44090e
Add links to comment mentions 2018-02-21 16:44:43 +01:00
Chocobozzz 3bf1ec2ebb
Hide support button if it is empty 2018-02-21 08:49:05 +01:00
Chocobozzz 61b3e146e1
Add ability to import videos from all supported youtube-dl sites 2018-02-20 18:16:13 +01:00
Chocobozzz 07fa4c97ca
Add support to video support on client 2018-02-20 16:13:55 +01:00
Chocobozzz 8a44f8354e
Fix instance name displaying with long text 2018-02-20 14:16:32 +01:00
Chocobozzz 54a932e82a
Don't break design on long description/comment 2018-02-20 11:29:28 +01:00
Chocobozzz 3d9eaae318
Add links support in comments 2018-02-20 11:04:21 +01:00
Chocobozzz 5de8a55abc
Handle line feeds in comments 2018-02-20 10:41:11 +01:00
Chocobozzz 2f315e2f91
Add filename in upload form title 2018-02-20 09:53:42 +01:00
Chocobozzz 3580fc00e4
Sort video categories/languages 2018-02-20 09:50:44 +01:00
Chocobozzz 1263fc4e6e
Improve comment highlighting 2018-02-19 10:48:44 +01:00
jonathanraes d5b53822ae Issue #168: youtube-like marking of comments (#297)
* youtube-like marking of comments

uses GET parameters to mark comments similar to youtube

* place link to comment in 'comment-date'

* Use a routes to highight a comment
2018-02-18 09:57:26 +01:00
Chocobozzz 16f1657097
Fix issue with webm and opus video 2018-02-18 09:48:07 +01:00
Chocobozzz 702785a54c
Add video image components 2018-02-16 19:30:58 +01:00
Chocobozzz e79c65723b
Upgrade server dependencies 2018-02-16 18:42:02 +01:00
Chocobozzz 68e24d7279
Add loading bar when updating a video 2018-02-16 17:24:47 +01:00
Chocobozzz 6de3676898
Add ability to update thumbnail and preview on client 2018-02-16 16:35:32 +01:00
Chocobozzz 0b49571268
Try to improve production guide 2018-02-16 11:04:12 +01:00
Chocobozzz f000931687
Bumped to version v0.0.24-alpha 2018-02-16 08:37:50 +01:00
Chocobozzz 2422c46b27
Implement support field in video and video channel 2018-02-15 15:29:07 +01:00
Chocobozzz 7b0956ec4f
Fix tests 2018-02-14 18:33:06 +01:00
Chocobozzz 3bcfff7f44
Fix video play promise error on non supported browsers 2018-02-14 18:04:30 +01:00
Chocobozzz 8cac1b6446
Move adding a video view videojs peertube plugin 2018-02-14 17:16:32 +01:00
Chocobozzz a16aee73db
Fix embed lint 2018-02-14 16:03:09 +01:00
Chocobozzz ac81d1a06d
Add ability to set video thumbnail/preview 2018-02-14 16:03:09 +01:00
Florent F f2f1118f17 Use fetch instead of XMLHttpRequest (#292) 2018-02-14 11:02:51 +01:00
Chocobozzz 0cd4344f3c
Rewrite infinite scroll 2018-02-13 14:20:46 +01:00
Chocobozzz d6bd50ba1d
Add background placeholder for thumbnails 2018-02-12 17:56:11 +01:00
jonathanraes d169c4ad46 publish comment on crtl-enter (#290) 2018-02-12 17:23:30 +01:00
Lucas Teixeira 879ea0f795 Change manifest properties (#285)
* Change full screen to standalone

This will make the notification bar visible

* Added theme color

Now the address bar will match the color of the search panel.

* Remove orientation:"portrait"

* Re-adding orientation property

This time, with "any" value
2018-02-11 18:28:55 +01:00
Chocobozzz 1ab7b637ec
Bumped to version v0.0.23-alpha 2018-02-09 13:19:01 +01:00
Chocobozzz c525c09375
Bumped to version v0.0.22-alpha 2018-02-09 09:46:18 +01:00
Chocobozzz 3290f37c76
Video previews take all the width on mobile 2018-02-09 09:30:37 +01:00
Chocobozzz 7193ad1044
Add service worker 2018-02-08 17:31:05 +01:00
Chocobozzz 151edeee3a
Better peertube icons 2018-02-08 11:23:05 +01:00
Chocobozzz 4dd626d34d
Bumped to version v0.0.21-alpha 2018-02-08 10:19:31 +01:00
Chocobozzz f6dc2fff48
Fix error with other videos displayed 2018-02-08 10:19:09 +01:00
Chocobozzz 6583edee61
Include manifest in build 2018-02-08 10:00:09 +01:00
Chocobozzz 649fb0829a
Fix other videos not displayed in video watch 2018-02-08 09:52:57 +01:00
Lucas Teixeira 9ccf111912 Include Web Manifest (#273)
* Include Web Manifest

Now we need to fix the path, which shouldn't be hard.

* Delete unused icon

* Remove Thumbs.db

That file was automatically generated

* Fixed icon path

* Fixed typo
2018-02-08 09:52:35 +01:00
Chocobozzz 00336945ce
Fix file downloading 2018-02-07 11:05:59 +01:00
Chocobozzz 196b7790d6
Fix title and action buttons in video watch 2018-02-07 11:02:56 +01:00
Chocobozzz 83452a1f23
Watch icon should be on the right 2018-02-07 10:22:35 +01:00
Chocobozzz 481d35966f
Fix video play on google chrome 2018-02-07 10:03:11 +01:00
Chocobozzz fa236ef067
Bumped to version v0.0.20-alpha 2018-02-01 11:25:08 +01:00