Commit Graph

846 Commits

Author SHA1 Message Date
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 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 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 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 2e3a0215d0
Add short description in config 2018-03-15 14:34:47 +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 2c6bbd97d3
Improve infinite scroll 2018-03-09 09:22:35 +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 0f56c6e5ff
Make it works on iOS 2018-03-06 10:01:46 +01:00
Chocobozzz ff7589ba1b
Fix player dispose exception 2018-03-02 09:15:05 +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 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 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 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 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 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 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 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 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 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 36f9424ff1
Add about page 2018-01-31 17:51:04 +01:00
Chocobozzz 66b16cafb3
Add new name/terms/description config options 2018-01-31 16:42:40 +01:00
Chocobozzz e2436678e3
Add follower name in admin list 2018-01-31 14:11:10 +01:00
Chocobozzz dd77894171
Fix responsive with modale and menu displayed 2018-01-31 11:58:11 +01:00
Chocobozzz 1f788f2044
Improve responsive on video watch 2018-01-31 11:38:05 +01:00
Chocobozzz 6693df9dd6
Hide description previews on mobile view 2018-01-31 10:42:01 +01:00
Chocobozzz 61bbc72775
Fix human dates in result lists 2018-01-31 10:41:44 +01:00
Chocobozzz 915c5bbe53
Add version in footer 2018-01-31 10:19:34 +01:00
Chocobozzz c8cf5952f3
Mobile version: menu full width and autoclosed 2018-01-31 10:08:05 +01:00
Chocobozzz f076daa76a
Add tests for emails 2018-01-30 15:16:24 +01:00
Chocobozzz ecb4e35f4e
Add ability to reset our password 2018-01-30 13:27:07 +01:00
Chocobozzz 80d1057bfc
Add little effect on hover for the play button 2018-01-29 16:52:43 +01:00
Chocobozzz 13fb4de93b
Add message on 413 http error code 2018-01-29 16:15:39 +01:00
Chocobozzz ba12e8b3a6
Add ability to login with email 2018-01-29 16:09:50 +01:00
Chocobozzz 6f6cdef7ec
25 items per page 2018-01-29 15:14:29 +01:00
Chocobozzz c88593f72f
Fix search pagination 2018-01-29 09:30:06 +01:00
Chocobozzz 66ee325f57
Only accept public comments 2018-01-26 11:20:46 +01:00
Chocobozzz f6a043df74
Improve video upload guard a little bit 2018-01-25 19:09:47 +01:00
Chocobozzz 94a5ff8a4a
Move job queue to redis
We'll use it as cache in the future.

/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
2018-01-25 18:41:17 +01:00
Dimitri Gilbert 529479f924 Issue #195 : When uploading, warn when the user quits the page (#222)
* issue #195

* fixing missing provider definition

* fix styling issue

* fix styling issue

* removed unecessary code

* using angular confirmService instead of window.confirm

* gitignore unecessary folders

* style fixes

* using a generic canDeactivateGuard

* fixing lint style
2018-01-25 18:40:23 +01:00
luzpaz 2bb0f9d501 Misc. typos (#245)
Found via `codespell -q 3`
2018-01-25 08:12:42 +01:00
Chocobozzz 63c4b44961
Avoid to linkify truncated links 2018-01-23 16:32:49 +01:00
Chocobozzz e494f91e67
Add style to cancel button 2018-01-23 15:15:03 +01:00
Chocobozzz 531ab5b627
Don't play video if user paused it during loading 2018-01-23 15:02:48 +01:00
Dimitri Gilbert 8c4890cbfe Issue #196 : Allow to cancel an upload (#221)
* issue #196

* fixed missattribution of var

* fix styling issue

* renamed videoUpload to videoUploadObservable

* added created path to gitignore

* changed uploadCancel method name to cancelUpload
2018-01-23 15:01:38 +01:00
Chocobozzz adcaf1a867
Fix embed button outline 2018-01-19 09:15:42 +01:00
Chocobozzz fd206f0b2d
Add ability to update some configuration keys 2018-01-17 10:41:27 +01:00
Chocobozzz 9581cabc59
Fix loader videojs 2018-01-17 10:41:27 +01:00
Rigel Kent f41e76cd4a Show a message on client when JavaScript is disabled (#200) 2018-01-15 08:36:39 +01:00
Chocobozzz 339632b4a3
Fix changing video in watch page 2018-01-12 17:17:45 +01:00
Chocobozzz cfe1efd200
Fix http token interceptor 2018-01-11 15:39:41 +01:00
Chocobozzz 82750da396
Reduce job payload size 2018-01-11 15:32:44 +01:00
Chocobozzz dfbd250da1
Fix spinner 2018-01-11 15:14:40 +01:00
Chocobozzz 60650c77c8
Add scores to follows and remove bad ones 2018-01-11 09:35:50 +01:00
Chocobozzz 7ae71355c4
Run videojs outside angular 2018-01-10 17:36:35 +01:00
Chocobozzz 2ccaeeb341
Fetch remote AP objects 2018-01-10 17:19:14 +01:00
Chocobozzz ca309a9f64
Fix aot build 2018-01-09 17:22:26 +01:00
Chocobozzz 234b535dac
Update dependencies 2018-01-09 16:30:39 +01:00
Chocobozzz d77014491b
Add hotkeys in video player
Double click for full screen
2018-01-09 15:40:46 +01:00
Chocobozzz a22bfc3ebc
Refractor peertube videojs plugin 2018-01-09 15:29:05 +01:00
Chocobozzz 9273b2d8ff
Remove bootstrap effects in register form 2018-01-08 13:00:17 +01:00
Chocobozzz ce5496d6a3
Support video quota on client 2018-01-08 12:53:09 +01:00
Chocobozzz 108af66140
Fix overflow in select inputs 2018-01-08 11:30:58 +01:00
Chocobozzz 28832412d1
Fix lint 2018-01-08 10:46:41 +01:00
Chocobozzz 76d36e0b35
Refractor account by 2018-01-08 10:35:54 +01:00
Chocobozzz 93ef8a9d02
Send comment to followers and parents 2018-01-08 10:15:27 +01:00
Benjamin Bouvier 57a49263e4 A few updates for the watch video view (#181)
* Fixes #156: Filter out the video being watched from the list of other videos of the same author;

* Fixes #167: in the video view, hide the author's domain when it's from the current host;

* Fixes #171: Allow undoing a like/dislike;
2018-01-07 14:48:10 +01:00
Chocobozzz d7e70384a3
Add mentions to comments 2018-01-05 11:19:25 +01:00
Chocobozzz 2890b615f3
Handle HTML is comments 2018-01-04 17:50:30 +01:00
Chocobozzz 4cb6d45788
Add ability to delete comments 2018-01-04 11:19:16 +01:00
Chocobozzz cf117aaafc
Add avatar in comments 2018-01-03 17:35:00 +01:00
Chocobozzz 9bce811268
Add hover effect on login/create an account button 2018-01-03 12:04:22 +01:00
Chocobozzz 4e8c872874
Circle avatar 2018-01-03 11:54:42 +01:00
Chocobozzz 01de67b9a4
Add avatar max size limit 2018-01-03 11:10:40 +01:00
Chocobozzz 47564bbe2e
Add ability to disable video comments 2018-01-03 10:38:19 +01:00
Chocobozzz c5911fd347
Begin to add avatar to actors 2017-12-29 19:10:13 +01:00
Chocobozzz 7416fbf335
Add infinite scroll to comments 2017-12-29 09:29:32 +01:00
Chocobozzz 80f8e364e1
Use server error message on login 2017-12-29 09:22:23 +01:00
Chocobozzz eacf925ea6
Comment textarea focus on init 2017-12-29 09:18:00 +01:00
Chocobozzz d50acfab69
Add comments federation tests 2017-12-27 20:03:37 +01:00
Chocobozzz ae45f988bb
Fix comment reply 2017-12-27 16:28:15 +01:00
Chocobozzz 4635f59d7c
Add video comment components 2017-12-27 16:11:53 +01:00
Chocobozzz fb4fd623d5
Better admin tables 2017-12-21 15:24:49 +01:00
Chocobozzz 6e33bf2882
Add no result text if there are no results 2017-12-21 11:09:46 +01:00
Chocobozzz e91890011e
Add tooltip to likes/dislikes bar 2017-12-21 10:49:52 +01:00
Chocobozzz 6725d05c5f
Add ability to remove a video on watch page 2017-12-20 17:53:58 +01:00
Chocobozzz 5f0805d39b
Design modals 2017-12-20 17:49:58 +01:00
Chocobozzz cb9244de97
Improve video tag in edit form 2017-12-20 15:37:03 +01:00
Chocobozzz a0d6990823
Customize checkboxs 2017-12-20 15:25:44 +01:00
Chocobozzz 15a7387da8
Customize select 2017-12-20 14:29:55 +01:00
Chocobozzz a4b8a4ddcc
Redirect to uuid video route after upload 2017-12-20 11:09:15 +01:00
Chocobozzz 8fa5653ad8
Add transition on play/loading player 2017-12-20 11:05:10 +01:00
Chocobozzz 15ca2e871a
Fix nav in manage follows 2017-12-20 10:04:37 +01:00
Chocobozzz 0826c92d6f
Add poster for video watch 2017-12-20 10:00:07 +01:00
Chocobozzz 86f278cb4c
Improve player on small screen 2017-12-20 09:52:59 +01:00
Chocobozzz e203f2e0e1
Only import bootstrap component that we need 2017-12-20 09:26:50 +01:00
Chocobozzz 24a8e782d8
Add bootstrap analyzer and optimize build 2017-12-20 09:05:16 +01:00
Chocobozzz 1c6c7699f5
Fix embed favicon 2017-12-20 09:05:16 +01:00
Chocobozzz 85414add64
Fix player play exception on chromium 2017-12-19 15:17:43 +01:00
Chocobozzz d4c6a3b985
Fix autoplay on non authenticated users 2017-12-19 14:01:34 +01:00
Chocobozzz 39fdb3c032
Unfollow with host 2017-12-19 10:53:16 +01:00
Chocobozzz 50d6de9c28
Begin moving video channel to actor 2017-12-19 10:53:16 +01:00
Andréas Livet 7efe153b0b Enh #106 : Add an autoPlayVideo user attribute (#159)
Warning : I was not able to run the tests on my machine. It uses a different approach to handle databse connexion and didn't find where to configure it...

- create a migration file to add a boolean column in user table
- add autoPlayVideo attribute everywhere it is needed (both on client and server side)
- add tests
- add a way to configure this attribute in account-settings
- use the attribute in video-watch component to actually autoplay or not the video
2017-12-19 10:45:49 +01:00
Chocobozzz d48ff09d27
Use sequelize scopes 2017-12-14 10:07:57 +01:00
Chocobozzz c893d4514e
Add beautiful loading bar 2017-12-12 14:57:46 +01:00
Chocobozzz 77d07d6909
Add hmr 2017-12-12 14:45:42 +01:00
Chocobozzz b2731bff28
Small style fixes 2017-12-12 14:41:59 +01:00
Chocobozzz 4a7eeb62f1
Improve lint 2017-12-12 14:08:48 +01:00
Chocobozzz b682782093
Upgrade to angular 5 2017-12-12 13:58:03 +01:00
Chocobozzz 7bfd1b1edb
Upgrade scripts and embed webpack config 2017-12-12 11:42:48 +01:00
Chocobozzz 63c4db6d71
Move to angular cli 2017-12-12 10:58:16 +01:00
Chocobozzz f35546da41
Use input-group-sm instead of padding 2017-12-11 18:08:40 +01:00
Julien Lemaire c7e1e432b0 Copy to clipboard (#142)
* Copy buttons on share view

Ugly but working buttons to copy video url and video iframe code.

Add ngx-clipboard dependency to allow easy copy to clipboard directive.

* Designed copy buttons

Using some css (scss) rules to make buttons look better.

* First version on copy feedback

Little success alert message on copy.

Fix lint errors

Move dependencies to dev dependencies

* Update button design

* Use of notifications service

Provides feedback of copy action to the user through the
angular2-notifications module.
2017-12-11 17:59:39 +01:00
Chocobozzz ed9f9f5fb0
Fix changing video we are watching 2017-12-11 11:20:54 +01:00
Chocobozzz 014ad87961
Fix player height on chrome 2017-12-11 11:09:05 +01:00
Chocobozzz c2830fa8f8
Background orange on sorted columns 2017-12-11 10:44:40 +01:00
Chocobozzz dc595ab7ca
Fix selection buttons in my videos 2017-12-11 10:38:17 +01:00
Chocobozzz 9e6b41cc1d
Embed player responsive 2017-12-11 10:26:29 +01:00
Chocobozzz 20206dfb0b
Fix loading spinner in player 2017-12-11 10:02:17 +01:00
Chocobozzz 9b7d1c723d
Responsive my account 2017-12-11 09:39:40 +01:00
Chocobozzz a86309b4af
Responsive player 2017-12-11 09:13:01 +01:00
Chocobozzz b9828abe54
Videos watch responsive 2017-12-11 09:08:15 +01:00
Chocobozzz 3daf400219
Responsive homepage 2017-12-11 08:50:43 +01:00
Chocobozzz f595d39477
Finish admin design 2017-12-08 17:31:21 +01:00
Chocobozzz e600e1fea2
Design follow admin page 2017-12-08 15:22:57 +01:00
Chocobozzz cd83ea1b90
Design admin data tables 2017-12-08 14:34:17 +01:00
Chocobozzz 04e0fc4888
Begin admin design 2017-12-08 10:41:49 +01:00
Chocobozzz cadb46d832
Design second video upload step 2017-12-08 09:57:29 +01:00
Chocobozzz c182778e26
Add progress bar for video upload 2017-12-07 17:56:59 +01:00
Chocobozzz baeefe22ca
First upload step is ok 2017-12-07 17:22:44 +01:00
Chocobozzz 27e1a06c33
First step upload with new design 2017-12-07 16:32:06 +01:00
Chocobozzz 4cc66133ab
Design video update 2017-12-07 15:18:03 +01:00
Chocobozzz ff249f499c
Move video form inside a component 2017-12-07 11:15:19 +01:00
Chocobozzz 59aa1e5e75
Design confirm dialog 2017-12-07 10:33:16 +01:00
Chocobozzz 0727cab0df
Design video watch modals 2017-12-07 10:28:20 +01:00
Chocobozzz 7b272fd73f
Fix dropdown menu in video watch 2017-12-07 10:02:01 +01:00
Chocobozzz 41c3dfac99
Design other videos in watch video page 2017-12-06 18:10:57 +01:00
Chocobozzz 6a9e1d42f8
Add likes/dislikes bar 2017-12-06 18:04:40 +01:00
Chocobozzz b1fa3eba70
Begin video watch design 2017-12-06 17:15:59 +01:00
Chocobozzz ce0e281d46
Client bulk delete 2017-12-06 15:07:17 +01:00
Chocobozzz 7d763d9749
Add hover effect to buttons 2017-12-06 14:09:39 +01:00
Chocobozzz 332542bc68
Add delete button to my videos 2017-12-06 14:05:38 +01:00
Chocobozzz a2b817d322
Better error messages 2017-12-06 09:19:25 +01:00
Chocobozzz a06a31c75c
Fix player control bar when video is not loaded 2017-12-05 18:43:15 +01:00
Chocobozzz f3aaa9a95c
Fix client search 2017-12-05 18:25:29 +01:00
Chocobozzz d235f6b0d1
Design signup and login pages 2017-12-05 16:48:26 +01:00
Chocobozzz 35fb2b68ff
Fix favicon ratio 2017-12-05 16:30:03 +01:00
Chocobozzz 6bafac54bf
Fix missing default avatar 2017-12-05 15:12:03 +01:00
Chocobozzz be6a480232
Design video player 2017-12-05 11:04:15 +01:00
Chocobozzz 62e23e40da
Fix client build 2017-12-04 11:40:45 +01:00
Chocobozzz be44767854
Fix lint 2017-12-04 11:17:08 +01:00
Chocobozzz d2cc03aaad
Design account videos 2017-12-04 11:04:08 +01:00
Chocobozzz d178b5c1f8
Add margin when main content is not expanded 2017-12-04 10:40:02 +01:00
Chocobozzz 2295ce6c4e
Add account avatar 2017-12-04 10:34:40 +01:00
Chocobozzz 202f6b6c9d
Begin videos of an account 2017-12-01 18:56:26 +01:00
Chocobozzz c30745f342
Add account settings new design 2017-12-01 17:38:26 +01:00
Chocobozzz 2bbb34127f
Add auto scroll to videos list 2017-12-01 16:17:32 +01:00
Chocobozzz 9bf9d2a5c2
Begin videos list new design 2017-12-01 14:46:22 +01:00
Chocobozzz 26c6ee80d0
Implement header design 2017-12-01 13:15:53 +01:00
Chocobozzz b33f657c30
Begin new menu design 2017-12-01 10:55:56 +01:00
Chocobozzz 5cd8054542
Add ability to list jobs 2017-11-30 10:55:06 +01:00
Chocobozzz 1f3e9feca2
Better view counter 2017-11-30 09:21:11 +01:00
Chocobozzz 14063e9656
Fix error display on signup page 2017-11-29 09:07:09 +01:00
Chocobozzz a434c46545
Change tab when changing follow url 2017-11-28 17:13:51 +01:00
Chocobozzz 80958c78fd
Add loader when expanding long video description 2017-11-28 17:13:51 +01:00
Andréas Livet 83c663ef0e Display error message in signup page (#128) 2017-11-28 15:51:18 +01:00
Chocobozzz 7dbdc3bace
Don't throw error on ice connection failed
Just log it in the console
2017-11-28 14:20:01 +01:00
Chocobozzz c986175d68
Fetch outbox to grab old activities 2017-11-27 19:40:53 +01:00
Chocobozzz 0f91ae62df
Add follow tests 2017-11-27 19:40:52 +01:00
Chocobozzz 81de19482b
Fix margin issue when seeking video 2017-11-27 19:40:52 +01:00
Chocobozzz 7e9334c34d
Add ability to unfollow a server 2017-11-27 19:40:52 +01:00
Chocobozzz 9a27cdc27c
Optimize signature verification 2017-11-27 19:40:52 +01:00
Chocobozzz 4610bc5b12
ApplicationFollow -> SeverFollow 2017-11-27 19:40:52 +01:00
Chocobozzz efc32059d9
Send server announce when users upload a video 2017-11-27 19:40:52 +01:00
Chocobozzz 8e13fa7d09
Add video abuse to activity pub 2017-11-27 19:40:52 +01:00
Chocobozzz 59c857da59
Fix error when creating a fresh database 2017-11-27 19:40:52 +01:00
Chocobozzz 6086242524
Rename Pod -> Server 2017-11-27 19:40:51 +01:00
Chocobozzz 51548b3181
Add follow tabs
Following
Follow
Followers
2017-11-27 19:40:51 +01:00
Chocobozzz 350e31d6b6
Follow works 2017-11-27 19:40:51 +01:00
Chocobozzz 1e1265b36c
Make the client compile too 2017-11-27 19:40:51 +01:00
Chocobozzz 7a7724e66e
Handle follow/accept 2017-11-27 19:40:51 +01:00
Chocobozzz a01f107bc4
Improve client mobile version 2017-11-06 11:46:11 +01:00
Chocobozzz 563d032e97
Usernames are case insensitive now 2017-11-04 18:32:38 +01:00
Chocobozzz f735448395
Fix error messages on client forms 2017-11-04 18:20:13 +01:00
Chocobozzz 7a8032bb6d
Upgrade client dep 2017-10-31 16:37:37 +01:00
Chocobozzz fd45e8f43c
Add video privacy setting 2017-10-31 11:53:13 +01:00
Chocobozzz b7a485121d
Change video spinner 2017-10-31 08:41:46 +01:00
Chocobozzz 2de96f4d6b
Lazy description and previews to video form 2017-10-30 20:26:06 +01:00
Chocobozzz 757f0da370
Add tests to user roles 2017-10-27 17:27:06 +02:00
Chocobozzz 954605a804
Support roles with rights and add moderator role 2017-10-27 16:55:03 +02:00
Chocobozzz e02573ad67
Fix tag display on video watch 2017-10-27 09:40:34 +02:00
Chocobozzz d6e32a2e91
Replace NSFW with "mature or explicit content"
Blur their thumbnail and name
2017-10-27 08:51:40 +02:00
Chocobozzz c296250511
Remove sequelize deprecated operators 2017-10-26 16:59:02 +02:00
Chocobozzz a265f7f30f
Increase video attributes length
Number of tags: 3 -> 5
Tag length: 10 -> 30
Video name: 50 -> 120
Video channel name: 50 -> 120
2017-10-26 15:52:11 +02:00
Chocobozzz 9d9597df42
Add markdown support to video description 2017-10-26 15:01:47 +02:00
Chocobozzz bcd9f81eff
Add channels to upload form 2017-10-26 09:11:38 +02:00
Chocobozzz 404b54e14f
Adapt client with video channels 2017-10-26 09:11:38 +02:00
Adam Magnier 8113a93a0d hide error message in https too (#108) 2017-10-26 07:46:15 +02:00
Chocobozzz 6a84aafd23
Take in account transcoding for video quota 2017-10-19 17:35:41 +02:00
Chocobozzz a10d56bafc
Add ability to forbid user to upload video 2017-10-19 16:43:48 +02:00
Chocobozzz f1013131ce
Fix video not found in watch component 2017-10-19 15:47:56 +02:00
Chocobozzz efee3505f6
Fix bug when quitting NSFW video 2017-10-19 15:39:08 +02:00
Chocobozzz a96aed1518
Add ability to download a video from direct link or torrent file 2017-10-19 14:58:28 +02:00
Chocobozzz 10db166bbe
Upgrade client dependencies and fix error logs 2017-10-19 10:22:07 +02:00
Chocobozzz 8a02bd0433
Add pod list endpoint with pagination, sort... 2017-10-19 09:43:01 +02:00
Chocobozzz 4dd551a066
Fix embed that does not start on firefox 2017-10-18 18:19:35 +02:00
Chocobozzz c6e0bfbf58
Fix share embed iframe link 2017-10-17 16:22:14 +02:00
Chocobozzz 4b5dc9f1e4
Client: explain to user we don't want scheme when making friends 2017-10-16 12:04:18 +02:00
Ronan 8376734ee3 Handle express-validator error on the client side and fix #96 (#98)
* Handle express-validator error on the client side

* More meaningfull error for not supported format
2017-10-16 11:43:40 +02:00
Chocobozzz d8755eed1e
Add oembed endpoint 2017-10-16 10:07:26 +02:00
Ronan 334ddfa471 Fix some inconsistency in link (#97)
Some link could appear with double // in url.
e.g : "POST /api/v1/videos//upload HTTP/1.1"
2017-10-13 08:14:40 +02:00
Chocobozzz f47bf2e142
Client: check user is logged in for some pages 2017-10-10 10:24:02 +02:00
Chocobozzz 35bf0c83c8
Video blacklist refractoring 2017-10-10 10:18:16 +02:00
Chocobozzz 974f7c68f5
Client: Fix blacklist url in dev mode 2017-10-09 19:27:19 +02:00
Chocobozzz 4897fc4197
Fix lint 2017-10-09 19:21:59 +02:00
Chocobozzz db7af09bd8
Client: fix loading server configurations 2017-10-09 19:12:40 +02:00
Chocobozzz ec61fb7e2c
Upgrade client dependencies 2017-10-09 14:49:32 +02:00
Chocobozzz a685e25ca0
Try to optimize frontend 2017-10-09 14:28:44 +02:00
Chocobozzz 2ed6a0aedc
Fix exception when getting 404 in video watch 2017-10-09 11:25:41 +02:00
Chocobozzz aa8b6df4a5
Client: handle multiple file resolutions 2017-10-06 11:03:09 +02:00
Chocobozzz 127d96b969
Fix refresh token expired handling 2017-10-04 09:30:57 +02:00
Green-Star 792dbaf07f Handle blacklist (#84)
* Client: Add list blacklist feature

* Server: Add list blacklist feature

* Client: Add videoId column

* Server: Add some video infos in the REST api

* Client: Add video information in the blacklist list

* Fix sortable columns :)

* Client: Add removeFromBlacklist feature

* Server: Add removeFromBlacklist feature

* Move to TypeScript

* Move to TypeScript and Promises

* Server: Fix blacklist list sort

* Server: Fetch videos informations

* Use common shared interface for client and server

* Add check-params remove blacklisted video tests

* Add check-params list blacklisted videos tests

* Add list blacklist tests

* Add remove from blacklist tests

* Add video blacklist management tests

* Fix rebase onto develop issues

* Server: Add sort on blacklist id column

* Server: Add blacklists library

* Add blacklist id sort test

* Add check-params tests for blacklist list pagination, count and sort

* Fix coding style

* Increase Remote API tests timeout

* Increase Request scheduler API tests timeout

* Fix typo

* Increase video transcoding API tests timeout

* Move tests to Typescript

* Use lodash orderBy method

* Fix typos

* Client: Remove optional tests in blacklist model attributes

* Move blacklist routes from 'blacklists' to 'blacklist'

* CLient: Remove blacklist-list.component.scss

* Rename 'blacklists' files to 'blacklist'

* Use only BlacklistedVideo interface

* Server: Use getFormattedObjects method in listBlacklist method

* Client: Use new coding style

* Server: Use new sort validator methods

* Server: Use new checkParams methods

* Client: Fix sortable columns
2017-09-22 09:13:43 +02:00
Chocobozzz c9d6d155c3 Fix login when there is an error 2017-09-15 12:26:02 +02:00
Chocobozzz b60e5f38da Upgrade express validator to v4 2017-09-15 12:17:08 +02:00
Chocobozzz 315cc0cc18 Add info when server is processing a video at upload 2017-09-14 23:03:43 +02:00
Chocobozzz 3523b64a03 Optimize imports 2017-09-14 22:16:39 +02:00
Chocobozzz bfb3a98fac Remove ng2 file upload module
Unmaintained and we don't need it anymore with httpclient
2017-09-14 17:25:36 +02:00
Chocobozzz d5050d1e09 Fix lint 2017-09-14 12:09:06 +02:00
Chocobozzz 03b40f2487 err.text -> err 2017-09-14 11:58:25 +02:00
Chocobozzz d592e0a9b2 Move to HttpClient and PrimeNG data table 2017-09-14 11:57:49 +02:00
Chocobozzz 6d33593a08 Improve real world script 2017-09-12 13:12:35 +02:00
Chocobozzz 7ca86c864e Client: add guard to admin routes 2017-09-10 09:24:50 +02:00
Chocobozzz 6599f096d5 Fix bad translation in confirm dialog 2017-09-10 09:07:40 +02:00
Chocobozzz e95561cdf1 Upload a video to /videos/upload
This is an action, not a REST endpoint
2017-09-07 21:46:44 +02:00
Chocobozzz aa2e7f1501 urls: makefriends/quitfriends -> make-friends/quit-friends 2017-09-07 21:22:17 +02:00
Chocobozzz 04de542abd Update webpack config 2017-09-06 21:48:15 +02:00
Chocobozzz a8b5de6c67 Add information at video upload if user video quota is reached 2017-09-06 17:45:38 +02:00
Chocobozzz 8094a89802 Add user update for admins 2017-09-05 21:29:39 +02:00