Commit Graph

1219 Commits

Author SHA1 Message Date
Jorropo a94419a604 Making password change erroring more friendly
If you leave the form but the 2 password is different a big red
boxappears to warn you (no need to click on the button).The submit
buttonis desactivated if the 2 password isn't the same.
2018-09-04 17:11:48 +02:00
Chocobozzz f19982a9e4
Add overview videos to homepage options 2018-09-04 15:28:50 +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
Chocobozzz 5cf84858d4
Add federation to ownership change 2018-09-04 10:49:53 +02:00
Gaëtan Rizio 74d6346935 Users can change ownership of their video [#510] (#888)
* [#510] Create a new route to get the list of user names

To be able to transfer ownership to a user,
we need to be able to select him from the list of users.

Because the list could be too big, we add a autocomplete feature.

This commit does the following:

* Add a API endpoint to get a list of user names by searching its name

* [#510] The user can choose the next owner of the video

To be able to transfer ownership to a user,
we need the owner to be able to select the user.

The server can autocomplete the name of the user to give the ownership.
We add a dialog for the user to actually select it.

This commit does the following:

* Create a modal for the owner to select the next one
* Opens this modal with a button into the menu *more*
* Make the dependency injection

* [#510] When the user choose the next owner, create a request in database

For the change of ownership to happen, we need to store the temporary requests.
When the user make the request, save it to database.

This commit does the following:

* Create the model to persist change ownership requests
* Add an API to manage ownership operations
* Add a route to persist an ownership request

* [#510] A user can fetch its ownership requests sent to him

To be able to accept or refuse a change of ownership,
the user must be able to fetch them.

This commit does the following:

* Add an API to list ownership for a user
* Add the query to database model

* [#510] A user can validate an ownership requests sent to him - server

The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the server part.

This commit does the following:

* Add an API for the user to accept or refuse a video ownership
* Add validators to ensure security access
* Add a query to load a specific video change ownership request

* [#510] A user can validate an ownership requests sent to him - web

The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the web part.

This commit does the following:

* Add a page to list user ownership changes
* Add actions to accept or refuse them
* When accepting, show a modal requiring the channel to send the video

* Correct lint - to squash

* [#510] PR reviews - to squash

This commit does the following:

* Search parameter for user autocompletion is required from middleware directly

* [#510] PR reviews - to squash with creation in database commit

This commit does the following:

* Add the status attribute in model
* Set this attribute on instance creation
* Use AccountModel method `loadLocalByName`

* [#510] PR reviews - to squash with fetch ownership

This commit does the following:

* Add the scope `FULL` for database queries with includes
* Add classic pagination middlewares

* [#510] PR reviews - to squash with ownership validation - server

This commit does the following:

* Add a middleware to validate whether a user can validate an ownership
* Change the ownership status instead of deleting the row

* [#510] PR reviews - to squash with ownership validation - client

This commit does the following:

* Correct indentation of html files with two-spaces indentation
* Use event emitter instead of function for accept event
* Update the sort of ownership change table for a decreasing order by creation date
* Add the status in ownership change table
* Use classic method syntax

* code style - to squash

* Add new user right - to squash

* Move the change to my-account instead of video-watch - to squash

As requested in pull-request, move the action to change ownership into my videos page.

The rest of the logic was not really changed.

This commit does the following:

- Move the modal into my video page
- Create the generic component `button` to keep some styles and logic

* [#510] Add tests for the new feature

To avoid regression, we add tests for all api of ownership change.

This commit does the following:

- Create an end-to-end test for ownership change
- Divide it to one test per request

* [#510] Do not send twice the same request to avoid spam

We can send several time the same request to change ownership.
However, it will spam the user.
To avoid this, we do not save a request already existing in database.

This commit does the following:

- Check whether the request exist in database
- Add tests to verify this new condition

* [#510] Change icons

Change icons so they remains logic with the rest of the application.

This commit does the following:

- Add svg for missing icons
- Add icons in `my-button` component
- Use these new icons

* [#510] Add control about the user quota

The user should be able to accept a new video only if his quota allows it.

This commit does the following:

- Update the middleware to control the quota
- Add tests verifying the control

* Correct merge

- Use new modal system
- Move button to new directory `buttons`

* PR reviews - to squash
2018-09-04 08:57:13 +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
Rigel Kent 769ac6c11f add title ellipsis over two lines to miniatures 2018-09-03 08:49:29 +02:00
Rigel Kent 8542dc33e3 add a hotkey for menu toggling and a secondary hotkey to search 2018-09-03 08:49:29 +02:00
Rigel Kent 61318dd63f add daily quota to the features table information 2018-09-03 08:49:29 +02:00
Rigel Kent 20d2119904 add like, dislike and subscribe button hotkeys 2018-09-03 08:49:29 +02:00
Rigel Kent 9a2f7ea799 fix other video margin-top 2018-09-03 08:49:29 +02:00
Rigel Kent a54991da42 make left menu show the scrollbar on hover/focus
add hotkey to the overview page
2018-09-03 08:49:29 +02:00
Rigel Kent c28beaea83 restore video-bottom margins 2018-09-03 08:49:29 +02:00
Chocobozzz 4b54f1360e
Fix videos overview tags section 2018-08-31 17:43:39 +02:00
Chocobozzz 9a629c6efb
Trending by interval 2018-08-31 17:22:01 +02:00
Brad Johnson 7f5f4152a4 Refactor: Separated "Other Videos" section into a dedicated component/service (#969)
* Separated "Other Videos" section into a dedicated component/service

I'm currently working on some proof-of-concepts for recommendation
providers that could work with PeerTube to provide useful video
suggestions to the user.

As a first step, I want to have great clarity about how PeerTube,
itself, will surface these videos to the user.

With this branch, I'm refactoring the "recommendations" to make it
easier to swap out different recommender implementations quickly.

Stop recommender from including the video that's being watched.

Ensure always 5 recommendations

* Treat recommendations as a stream of values, rather than a single async value.

* Prioritize readability over HTTP response size early-optimization.

* Simplify pipe
2018-08-31 17:19:21 +02:00
Chocobozzz 1a47109144
Add channel avatar to overviews 2018-08-31 14:32:37 +02:00
Chocobozzz 73dc4da09e
Delete highlighted comment too if needed 2018-08-31 13:46:56 +02:00
Chocobozzz d6ca951b3c
Fix user create daily quota component 2018-08-31 10:05:54 +02:00
Chocobozzz 2d3741d6d9 Videos overview page: first version 2018-08-31 09:19:58 +02:00
Josh Morel d9eaee3939 add user account email verificiation (#977)
* add user account email verificiation

includes server and client code to:

* enable verificationRequired via custom config
* send verification email with registration
* ask for verification email
* verify via email
* prevent login if not verified and required
* conditional client links to ask for new verification email

* allow login for verified=null

these are users created when verification not required
should still be able to login when verification is enabled

* refactor email verifcation pr

* change naming from verified to emailVerified
* change naming from askVerifyEmail to askSendVerifyEmail
* undo unrelated automatic prettier formatting on api/config
* use redirectService for home
* remove redundant success notification on email verified

* revert test.yaml smpt host
2018-08-31 09:18:19 +02:00
Rigel Kent 2d9fea161f
watch view visual tweaks and search/comment placeholder dismiss on focus (#983)
- make the placeholder disappear on focus in the search bar
- make the placeholder disappear on focus in the comment textarea
- make the texarea resize automagically
- refactor the watch view to use bootstrap 4's flexgrid
- move action buttons of the watch view to the right of the video info
- responsive tweaks and margin adjustments in the watch view
2018-08-30 11:15:22 +02:00
Rigel Kent 07872fdf74 replacing placeholder and feature table display improvement 2018-08-29 13:58:35 +02:00
Chocobozzz 41a676db39
Add features table on signup 2018-08-28 17:39:29 +02:00
Chocobozzz f0d4e7eb24
Move abuse state column at the end 2018-08-28 16:05:38 +02:00
Chocobozzz 26fabbd6d4
Fix search results 2018-08-28 16:02:02 +02:00
Rigel Kent ee1fc23a87 keyboard shortcuts and key map view (#974) 2018-08-28 09:32:03 +02:00
Felix Ableitner 83b5fe9c55 Display report reason in multiple lines (#957)
* Display report reason in multiple lines

* more adjustments:

- move report reason into dropdown
- allow line wrap in dropdown (also in video blacklist)
- fix colspan in blacklist dropdown
- merge css rules into moderation.component.scss

* use min-width for labels
2018-08-28 09:06:00 +02:00
Felix Ableitner bee0abffff Implement daily upload limit (#956)
* Implement daily upload limit (ref #652)

* remove duplicate code

* review fixes

* fix tests?

* whitespace fixes, finish leftover todo

* fix tests

* added some new tests

* use different config value for tests

* remove todo
2018-08-28 09:01:35 +02:00
Chocobozzz 84b6dbcc6e
Underline links in feed popover when hovering 2018-08-27 16:04:06 +02:00
Chocobozzz 11b8762f9c
Add start at checkbox in share modal 2018-08-27 16:04:06 +02:00
Chocobozzz d77ad72663
Fix deprecated ng-bootstrap methods 2018-08-27 15:09:04 +02:00
Chocobozzz 0bd84f8bde
Add popover autoclose 2018-08-27 11:52:14 +02:00
Chocobozzz a9155ee6dc
Add portuguese and swedish languages 2018-08-27 11:20:06 +02:00
Chocobozzz 687d638c2b Fetch outbox when searching an actor 2018-08-27 09:41:54 +02:00
Chocobozzz f5b0af50c8 Search video channel handle/uri 2018-08-27 09:41:54 +02:00
Chocobozzz aa55a4da42 Infinite scroll to list our subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz f37dc0dd14 Add ability to search video channels 2018-08-27 09:41:54 +02:00
Chocobozzz f6eebcb336 Add ability to search a video with an URL 2018-08-27 09:41:54 +02:00
Chocobozzz 22a16e36f6 Add local user subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz 8a19bee1a1 Add ability to set a name to a channel 2018-08-27 09:41:54 +02:00
Chocobozzz 4bda2e47bb Correctly cache server translations 2018-08-27 09:41:54 +02:00
Chocobozzz c0ffdd0958 Fix dev locale 2018-08-27 09:41:54 +02:00
potedeo ef65dcf5ea [Issue 641] Add shortcut my videos link in menu-wrapper 2018-08-27 09:41:20 +02:00
Jorropo 9e91237655 Fix AutoThread 2018-08-21 14:42:52 +02:00
Josh Morel 970df082c0 correct password reset disabled binding 2018-08-20 10:35:06 +02:00
Chocobozzz 95d5113575
Translate player according to the interface lang 2018-08-16 11:11:20 +02:00
Chocobozzz 3dfa849402
Translate subtitle langs in player 2018-08-16 10:48:35 +02:00
Chocobozzz 8569a870e4
Fix client build 2018-08-14 19:24:56 +02:00
Chocobozzz a76138ff56
Add quota used in users list 2018-08-14 18:01:23 +02:00
Chocobozzz 614d1ae928
Regroup abuse and blacklisted videos inside "moderation" 2018-08-14 18:01:22 +02:00
Chocobozzz 65b247ddc7
Improve follow component routing 2018-08-14 18:01:22 +02:00
Chocobozzz e63dbd426e
Update client according to new model paths 2018-08-14 15:47:56 +02:00
Chocobozzz 191764f30b
Improve blacklist management 2018-08-14 09:27:18 +02:00
Chocobozzz 26b7305a23
Add blacklist reason field 2018-08-14 09:27:18 +02:00
Chocobozzz efc9e8450a
Add ability to delete and update abuse on client 2018-08-14 09:27:17 +02:00
Chocobozzz b04eabb2b0
Fix videos add tabs style 2018-08-09 19:08:54 +02:00
Chocobozzz 141b177db0
Add ability to ban/unban users 2018-08-09 17:55:05 +02:00
Chocobozzz 63347a0ff9
Migrate to bootstrap 4 and ng-bootstrap 2018-08-09 14:55:06 +02:00
Chocobozzz b34a444e29
Upgrade to bootstrap 4 first step 2018-08-09 09:22:10 +02:00
Chocobozzz eacb25c436
Add reason when banning a user 2018-08-08 17:44:22 +02:00
Chocobozzz e69219184b
Implement user blocking on server side 2018-08-08 15:22:58 +02:00
Chocobozzz 92b9d60c00
Add ability to delete our account 2018-08-08 10:55:27 +02:00
Chocobozzz 541006e355 Correct webtorrent download cleanup 2018-08-08 09:30:31 +02:00
Chocobozzz a84b8fa5cf Add import.video.torrent configuration 2018-08-08 09:30:31 +02:00
Chocobozzz 990b6a0b0c Import torrents with webtorrent 2018-08-08 09:30:31 +02:00
Chocobozzz ce33919c24 Import magnets with webtorrent 2018-08-08 09:30:31 +02:00
Chocobozzz 788487140c Move send video components inside a dedicated directory 2018-08-08 09:30:31 +02:00
Chocobozzz 047559af6e video-import -> video-import-url 2018-08-08 09:30:31 +02:00
Chocobozzz 43620009d5 Refractor video upload/import 2018-08-08 09:30:31 +02:00
Chocobozzz 60979b076d Fix tests 2018-08-06 11:19:16 +02:00
Chocobozzz b2977eecb8 Fix fps federation 2018-08-06 11:19:16 +02:00
Chocobozzz 5d08a6a74e Add import http enabled configuration 2018-08-06 11:19:16 +02:00
Chocobozzz 516df59b3b Remove ability to delete video imports
Users should remove the linked video instead
2018-08-06 11:19:16 +02:00
Chocobozzz d7f83948a1 Correctly handle video import errors 2018-08-06 11:19:16 +02:00
Chocobozzz ed31c05985 Add ability to list video imports 2018-08-06 11:19:16 +02:00
Chocobozzz 299474e827 Add ability to remove a video import 2018-08-06 11:19:16 +02:00
Chocobozzz fbad87b047 Add ability to import video with youtube-dl 2018-08-06 11:19:16 +02:00
Rigel Kent 7160878c4a adding tests for audio conversions 2018-08-01 10:57:13 +02:00
Jorropo 991feec9a3 ffmpeg auto thread
Set thread count to 0 and ffmpeg will chose automaticaly
2018-08-01 10:57:13 +02:00
Chocobozzz e80687c458
Upgrade client dependencies 2018-07-31 19:47:14 +02:00
Chocobozzz 040467f5c8
Try to handle truncated markdown links 2018-07-31 15:26:48 +02:00
Chocobozzz c487d3033c
Add aria-labelledby to video thumbnails 2018-07-31 14:25:02 +02:00
Chocobozzz 0933bb4a8a
Fix responsive on videos search 2018-07-31 09:45:57 +02:00
Chocobozzz b7f5b52475
Move subscription helper in the account line 2018-07-30 11:55:58 +02:00
Chocobozzz c6c357ac35
Fix attribute label width in video watch page 2018-07-27 12:03:26 +02:00
Chocobozzz d59cba295b
category parma -> categoryOneOf (videos list) 2018-07-25 17:18:46 +02:00
Chocobozzz ad77475251
Sort video captions 2018-07-25 15:11:25 +02:00
Chocobozzz b4a929accf
Add "agree to the terms" checkbox in registration form 2018-07-25 11:01:53 +02:00
Chocobozzz b2c60abe6e
Disable animation on confirm modal 2018-07-25 10:33:57 +02:00
Chocobozzz 772d5642ba
Improve captions UX (at least I've tried) 2018-07-25 10:28:43 +02:00
Chocobozzz a8981e0b24
Fix UI regressions 2018-07-24 18:03:39 +02:00
Chocobozzz 2c24b9d3cd
Update translations 2018-07-24 18:03:37 +02:00
Chocobozzz 6d8c70aa2d
Fix pagination on rest table 2018-07-24 15:33:18 +02:00
Chocobozzz 4278710d5b Add ability to click on category/licence/language/tags in watch page 2018-07-24 14:04:05 +02:00
Chocobozzz cddf450353 Add ability to sort the search 2018-07-24 14:04:05 +02:00
Chocobozzz 8cd72bd377 Optimize SQL queries 2018-07-24 14:04:05 +02:00
Chocobozzz 6e930af9f8 Responsive advanced search 2018-07-24 14:04:05 +02:00
Chocobozzz 7afea880e5 Handle back/forward page in advanced search 2018-07-24 14:04:05 +02:00
Chocobozzz 0b18f4aa80 Add advanced search in client 2018-07-24 14:04:05 +02:00
Chocobozzz 57c36b277e Begin advanced search 2018-07-24 14:04:05 +02:00
Chocobozzz e032aec9b9
Render CSS/title/description tags on server side 2018-07-18 10:00:37 +02:00
Chocobozzz 3b492bff49
Fix regression in theater mode 2018-07-17 17:06:34 +02:00
Chocobozzz 0f7fedc398
Improve frontend accessibility
In particular checkboxes, likes/dislikes, share button, video thumbnails
and help buttons
2018-07-17 14:56:15 +02:00
Chocobozzz a7dbc7dfc7
Reset confirm component 2018-07-17 11:06:04 +02:00
Chocobozzz 6d88de7253
Correctly handle error when remote instance is down 2018-07-16 19:15:20 +02:00
Chocobozzz 308c427551
Use a resolver when updating the video 2018-07-16 18:09:31 +02:00
Chocobozzz ef4c78da4f
Improve video edit/update/add typings 2018-07-16 17:36:42 +02:00
Chocobozzz 329d908660
Do not display private privacy if the video is not private 2018-07-16 15:24:50 +02:00
Chocobozzz 025c979467
Display username instead of email in menu 2018-07-16 15:20:22 +02:00
Chocobozzz 51d4bcada9
Fix forgot password message regarding email 2018-07-16 15:19:39 +02:00
Chocobozzz f2bbd1e1b1
Fix responsive in my channel/my videos pages 2018-07-16 15:17:50 +02:00
Chocobozzz ac862a8c20
Fix other videos info left margin 2018-07-16 15:05:06 +02:00
Chocobozzz 0d16506cce
Disable comment submit button when sending the comment 2018-07-16 15:01:32 +02:00
Chocobozzz 337ba64efc
Parse log script parse the last updated log 2018-07-16 14:38:11 +02:00
Chocobozzz f4001cf408
Handle .srt subtitles 2018-07-16 14:31:40 +02:00
Chocobozzz 16f7022b06 Handle subtitles in player 2018-07-16 11:50:08 +02:00
Chocobozzz 40e87e9ecc Implement captions/subtitles 2018-07-16 11:50:08 +02:00
DeeJayBro 4503cb2a89 QR Code (#802)
Adding QR-Code to the Share modal.

fixes #683
2018-07-12 19:43:42 +02:00
Chocobozzz b63e428e8b
i18n "More" in menu and regenerate translations 2018-07-11 14:32:21 +02:00
Chocobozzz 18187cb9c4
Update P2P & Privacy paragraph 2018-07-11 14:00:26 +02:00
Chocobozzz 94831479f5 Migrate to bull 2018-07-11 14:00:17 +02:00
Rigel Kent 1062bc0bb0 rewording download option and reorder options
".torrent" is a common name for users familiar with BitTorrent, and less impressive than "metainfo" or no information as opposed to the magnet option, less commonly known but rather just clicked on most sites.
2018-07-11 13:59:40 +02:00
Chocobozzz c7b514157b
Fix account videos URL when scrolling 2018-07-11 10:29:29 +02:00
Chocobozzz a7c9cbb56f
Change friendly reminder about privacy. 2018-07-10 18:36:07 +02:00
Chocobozzz 78e6df5d9c
Fix language modale z-index 2018-07-09 16:36:09 +02:00
Chocobozzz e86e53eaf5
Use uuid for channel link in watch page 2018-07-09 16:31:58 +02:00
Chocobozzz e4f0e92e75
Fix client error logging 2018-07-09 15:56:02 +02:00
Eric Brehault b5c4bfd6ac remove scroll to top, and keep menu fixed on small devices 2018-06-30 09:58:07 +02:00
Chocobozzz 6e1bd7056c
Fix typo in privacy text 2018-06-30 09:56:15 +02:00
Chocobozzz 34b1919290
Increase upload limit to 8GB (test) 2018-06-29 17:10:53 +02:00
Chocobozzz e1807a942f
Fix build 2018-06-29 17:10:52 +02:00
Chocobozzz 84455f2b94
Extract extensions from the button 2018-06-29 17:10:50 +02:00
Chocobozzz 52d9f792b3
Client: Add ability to update video channel avatar 2018-06-29 14:34:04 +02:00
Rigel Kent fc0941cbec clarifying what extensions are accepted for upload 2018-06-29 09:44:14 +02:00
Chocobozzz b889cdb2c6
Avoid 404 title on the first page load 2018-06-28 17:16:22 +02:00
Chocobozzz d3662c1cb2
Update i18n source 2018-06-28 15:53:12 +02:00
Chocobozzz 8afc19a612
Add ability to choose the language 2018-06-28 15:53:12 +02:00
Simounet 9e01e51099 Fix #576 - show 'Others videos' on a <1300px viewport 2018-06-28 14:29:01 +02:00
Chocobozzz 78f912ed57 Improve P2P & Privacy section 2018-06-27 14:59:09 +02:00
PhieF 61b909b9bf Filter by category (#720)
* get videos with specific category (api)

* update api doc with category

* add url parameter to filter by category

* fix lint issues
2018-06-27 14:24:49 +02:00
Rigel Kent 6b684b616e specify Tor Browser instead of just Tor 2018-06-25 08:59:38 +02:00
Rigel Kent 5511da6289 Fix #639 providing magnet URI in player and download modal 2018-06-24 17:42:05 +02:00
Chocobozzz 0c237b19fd
Fix images size limit 2018-06-22 15:42:55 +02:00
Chocobozzz ff644b3066
Reset search on page change 2018-06-22 15:11:03 +02:00
Chocobozzz 575712a5c9
Fix HTTP fallback when having videostream issues on firefox 2018-06-20 08:57:52 +02:00
Chocobozzz 9c2e0dbfa9
Update iso639 translations for french and deutch 2018-06-19 14:02:57 +02:00
Chocobozzz 53055a1124
Handle markdown in account/video channel pages 2018-06-18 11:19:10 +02:00
Chocobozzz 4d089429fe
Remove uneeded rxjs-compat 2018-06-18 11:02:24 +02:00
Chocobozzz a2788c698e
Fix quota precision in users list 2018-06-18 10:50:56 +02:00
Chocobozzz 6304df89d6
Blue links color in comments 2018-06-18 10:46:47 +02:00
Chocobozzz ff33642709
Prevent commenting twice 2018-06-18 10:29:17 +02:00
Chocobozzz e94fc29706
Fix removing scheduled update 2018-06-18 10:26:20 +02:00
Chocobozzz fc11a44ec9
Improve screen cache service 2018-06-18 10:26:20 +02:00
Chocobozzz f5a2dc48eb
Don't send view on private video 2018-06-18 10:26:18 +02:00
Chocobozzz b7f1747dc7
Create webtorrent client on player load
So we don't run Angular change detection every 250ms on webtorrent
import, when https://github.com/mafintosh/speedometer/pull/7 will be
merged
2018-06-18 10:26:18 +02:00
Sankar 77af3a9701 Fixes #574 account link width on video view (#665)
Changed a tag from `flex` to `inline` to avoid misclicks.
2018-06-15 23:34:50 +02:00
Chocobozzz bbe0f0645c
Add ability to schedule video publication 2018-06-15 18:20:56 +02:00
Chocobozzz 2baea0c77c
Add ability for uploaders to schedule video update 2018-06-14 18:06:56 +02:00
Chocobozzz bf079b7bfd
Automatically jump to the highlighted thread 2018-06-14 11:43:19 +02:00
Chocobozzz 91219e66c4
Redirect comment links to the watch page 2018-06-14 10:40:34 +02:00
Chocobozzz 9e9afa455b
Add more space between icons and "load more/less" 2018-06-13 15:59:40 +02:00
Chocobozzz 2186386cca
Add concept of video state, and add ability to wait transcoding before
publishing a video
2018-06-12 20:37:51 +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 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 7cf26f433f
Fix e2e tests 2018-06-08 11:25:12 +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 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 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 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 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 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 230de99e71
Upgrade client dependencies 2018-05-29 12:05:02 +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 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 108a66f0da
Fix history back after a redirect 2018-05-24 09:44:04 +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
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 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 cd4d7a2ca8
Fix peertube with google bot 2018-05-22 09:17: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 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 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 136cce4d67
Use publishedAt by default in videos sort 2018-05-15 08:47:47 +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 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 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 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 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 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
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
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 f37bad639b
Add ability to set a start time 2018-04-05 17:12:22 +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 c448d41242
Fix show more description button on video change 2018-04-04 09:04:34 +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
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 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 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
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 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 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 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 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 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 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
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 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 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 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 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 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 ac81d1a06d
Add ability to set video thumbnail/preview 2018-02-14 16:03:09 +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
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 f6dc2fff48
Fix error with other videos displayed 2018-02-08 10:19:09 +01:00
Chocobozzz 649fb0829a
Fix other videos not displayed in video watch 2018-02-08 09:52:57 +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 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
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
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 fd206f0b2d
Add ability to update some configuration keys 2018-01-17 10:41:27 +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 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 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 24a8e782d8
Add bootstrap analyzer and optimize build 2017-12-20 09:05:16 +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 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 dc595ab7ca
Fix selection buttons in my videos 2017-12-11 10:38:17 +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 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