Commit Graph

1502 Commits (4d09cfba7820544e72f04bf83c680bc24b775358)

Author SHA1 Message Date
Chocobozzz 92ea70a782 Fix code typos 2018-10-16 16:41:36 +02:00
Chocobozzz 65b21c961c Add ability to mute a user/instance by server in client 2018-10-16 16:41:36 +02:00
Chocobozzz af5767ffae Add user/instance block by users in the client 2018-10-16 16:41:36 +02:00
BO41 dffd5d127f update tslint config and fix member ordering (#1279) 2018-10-16 01:04:50 +02:00
Rigel Kent 6ca76832fd
improve description of the HTTP video import feature 2018-10-15 18:53:06 +02:00
BO41 5b3f86dd80 add alwaysStrict flag to client/tsconfig.json (#1280) 2018-10-15 14:35:18 +02:00
Rigel Kent ed638e5325
move to boolean switch 2018-10-13 11:53:48 +02:00
Rigel Kent 64cc5e8575
add webtorrent opt-out settings
- add a key in localstorage to remember the opt-out
- add a user setting
2018-10-13 11:53:42 +02:00
Chocobozzz 71e318b4fe
Merge branch 'release/v1.0.0' into develop 2018-10-11 09:52:16 +02:00
Chocobozzz 333210d862
Bumped to version v1.0.0 2018-10-11 09:06:16 +02:00
Chocobozzz cc1903ad2a
Fix angular build 2018-10-10 15:09:16 +02:00
Chocobozzz 017c3dcadf
Add ability to list all local videos on client 2018-10-10 14:35:55 +02:00
Chocobozzz b014b6b9c7
Add ability to search on followers/following 2018-10-10 09:43:53 +02:00
Lucas Declercq 9ccff23877 Add explicit error message that changing video ownership only works with local accounts (#1214)
* Add explicit error message that changing video ownership only works with local accounts

* Remove superfluous logger

* Remove unneeded end() to error responses

* Add a message on client side to prevent transfering ownership to a remote account
2018-10-10 08:57:00 +02:00
Lucas Declercq 8ea1597fdb Fix too big line length 2018-10-08 16:33:02 +02:00
Chocobozzz 2cae5f1307
Add checkbox to check every rows 2018-10-08 16:15:10 +02:00
Chocobozzz 24b9417cec
Add users search filter 2018-10-08 15:55:32 +02:00
Chocobozzz 791645e620
Add bulk actions in users table 2018-10-08 15:55:32 +02:00
Lucas Declercq 7f2cfe3a79 Rename downloadingEnabled property to downloadEnabled 2018-10-08 14:45:22 +02:00
Lucas Declercq 4ffdcfc63b Fix some defaults values + indentation 2018-10-08 14:42:55 +02:00
Micah Elizabeth Scott 211239ed94 remove confirm modal for asset injection in edit-custom-config (#1219) 2018-10-07 22:07:14 +02:00
Lucas Declercq e0d827e29a Only show download button if downloadingEnabled is set to true 2018-10-06 19:18:00 +02:00
Lucas Declercq 156c50af30 Add downloadingEnabled property to video model 2018-10-06 19:17:39 +02:00
Chocobozzz 35d50b7dd2
Fix videos list when page is empty 2018-10-05 17:07:13 +02:00
Chocobozzz 79bd2632d6
Add user moderation in the account page 2018-10-05 17:02:10 +02:00
Chocobozzz e724fa93c7
Move user moderation tool in a separate component 2018-10-05 17:02:09 +02:00
Chocobozzz 6e46de095d
Add user history and resume videos 2018-10-05 11:22:38 +02:00
BO41 a585824160 add resize listener (#1182)
* add resize listener

* respect user decision

* change listener to rxjs

* review changes
2018-10-05 11:22:24 +02:00
Chocobozzz 4232d092bb
Remove unused variable 2018-10-05 11:20:08 +02:00
Rigel Kent 6fbae8788f
fix account URI in remote comment modal (partial rollback) 2018-10-05 10:48:21 +02:00
Rigel Kent 040a506bcf
fix account URI in remote comment modal (cleanup) 2018-10-05 10:20:26 +02:00
Rigel Kent 6d5973fa0e
fix account URI in remote comment modal 2018-10-04 14:13:17 +02:00
Chocobozzz 25378bc866
Delete correctly redundancy files 2018-10-03 16:43:57 +02:00
Chocobozzz 5bc8745ef9
Bumped to version v1.0.0-rc.2 2018-10-03 14:52:35 +02:00
Rigel Kent 6a6951ec10
Bumped to version v1.0.0-rc.1 2018-10-03 13:24:10 +02:00
Chocobozzz e33f888b86
Fix hotkey translations 2018-10-03 10:11:26 +02:00
Chocobozzz 60709df536
Fix Delete title button 2018-10-03 10:02:55 +02:00
Chocobozzz 53877968a6
Add comments feeds popover in watch page 2018-10-02 11:19:12 +02:00
Chocobozzz 4787966900
Don't throw an error on empty search 2018-10-01 17:39:09 +02:00
Rigel Kent c5d04b4f35
add allow advancedSearch with empty search
a.k.a. filters on all videos

also added a badge showing the rough number of active filters
2018-10-01 17:23:06 +02:00
Chocobozzz 601527d795
Check video channel name is unique on our instance 2018-10-01 15:20:14 +02:00
Rigel Kent abb2c7927c show last commit hash alongside server version in footer 2018-10-01 14:31:01 +02:00
Rigel Kent 9e3e248109
add protractor profile for local tests 2018-10-01 13:40:28 +02:00
Chocobozzz 8c202ae8d4
Bumped to version v1.0.0-beta.16 2018-10-01 12:16:00 +02:00
Chocobozzz 2a27c451f7
Update changelog 2018-10-01 11:24:41 +02:00
Chocobozzz 5e77a5de40
Include https://github.com/webtorrent/webtorrent/pull/1513 in our
webtorrent client dependency
2018-10-01 10:03:17 +02:00
Chocobozzz 59c9c5d9bb
Fix error when clicking on the disabled publish button 2018-10-01 09:04:43 +02:00
Chocobozzz 75f1d36218
Fix my account subtitles 2018-10-01 09:02:27 +02:00
Chocobozzz ed4c3c0910
Update captions in sequence to avoid concurrence issues 2018-10-01 08:54:58 +02:00
Rigel Kent 0f40d69a0f
adding shortcuts to videojs, adding frame-by-frame support 2018-09-30 15:18:03 +02:00
Rigel Kent 8b183196cb
fix primeng border color on all themes 2018-09-29 17:36:19 +02:00
Rigel Kent f5d9558f66
various display improvements 2018-09-29 13:42:17 +02:00
Rigel Kent 8c2b9756f9
fix message space on video upload cancel 2018-09-29 02:42:45 +02:00
Chocobozzz 8eaa6d62c6
Fix advanced options in upload form 2018-09-28 16:17:10 +02:00
Chocobozzz e182430ac7
Update translations 2018-09-28 16:07:27 +02:00
Chocobozzz 3e04f12909
Re generate angular translations 2018-09-28 15:13:57 +02:00
Chocobozzz baf0a8c98e
Fix some i18n tags 2018-09-28 15:13:01 +02:00
Chocobozzz 01fe5bd721
Fix no other videos displayed on some videos 2018-09-28 14:51:30 +02:00
Chocobozzz 19f2205516
Display other videos on xl screens on the right 2018-09-28 14:37:04 +02:00
Chocobozzz 287918da17
Hide useless error when destroying fake renderer 2018-09-28 14:22:43 +02:00
Rigel Kent 8be9f43aed
correct local subscribe in the subscription menu 2018-09-28 13:42:33 +02:00
Chocobozzz 07524e229f
Enable more angular options 2018-09-28 10:36:46 +02:00
Chocobozzz 161b061d4e
Remove duplicated videos on unfollow/delete redundancy 2018-09-28 10:07:05 +02:00
Chocobozzz a890d1e0d3
Check current password on server side 2018-09-26 16:28:27 +02:00
BO41 be1206bb93
fix lint errors 2018-09-26 16:28:26 +02:00
BO41 3805ce3f43
check old password before change 2018-09-26 16:28:25 +02:00
Chocobozzz cc68049424
Fix video import of some youtube videos 2018-09-26 15:55:45 +02:00
Chocobozzz 9ffdd52a95
Improve overview section titles 2018-09-26 15:03:04 +02:00
Chocobozzz 28da43cf66
Regenerate translations 2018-09-26 14:55:20 +02:00
Chocobozzz 3827c3b348
Fix quota translations 2018-09-26 14:50:39 +02:00
Rigel Kent 4a216666e7
add shortcuts icon in menu 2018-09-26 14:23:19 +02:00
Chocobozzz 60e74f80d8
Bumped to version v1.0.0-beta.15 2018-09-26 11:59:14 +02:00
Chocobozzz 9c91b521bc
Update translations 2018-09-26 10:38:26 +02:00
Chocobozzz 39ba2e8e3a
Add RSS feed to subscribe button 2018-09-26 09:39:41 +02:00
Rigel Kent 7bdd917a6a
fix link to the list of open instances due to joinpeertube.org update 2018-09-25 21:43:14 +02:00
Rigel Kent 660d11e91e
refactor subscribe button and comment-add for visitor-interact UX (#1100)
* refactor subscribe button for visitor-subscribe UX
* refactor comment-add for visitor-interact UX
2018-09-25 15:42:58 +02:00
Chocobozzz 4ebf25fda0
Bumped to version v1.0.0-beta.14 2018-09-25 09:21:35 +02:00
Chocobozzz b2e2cdc516
Update translations 2018-09-24 18:14:02 +02:00
Chocobozzz b9fcfb1d2a
Fix weird CSS bug with production build and CSS var 2018-09-24 18:05:57 +02:00
Chocobozzz a7f9fae9ab
Improve download modal input style 2018-09-24 17:48:34 +02:00
Chocobozzz 5363a766d9
Fix playback rate hotkey 2018-09-24 17:44:50 +02:00
Chocobozzz d1a63fc7ac
Fix videos list user NSFW policy 2018-09-24 13:38:38 +02:00
Chocobozzz 0b4e5fe327
Merge branch 'develop' into unused-imports 2018-09-24 10:40:27 +02:00
Rigel Kent 0144862299
revert f845c683 partial: "fix SEO tags and attributes" 2018-09-24 09:50:38 +02:00
Rigel Kent 9ca1e3a02c
fix link to the list of open instances 2018-09-24 00:55:12 +02:00
Rigel Kent bb5d74289b
add url field to download modal 2018-09-23 19:43:41 +02:00
Rigel Kent bc144e16ce
append my-help popover to body instead of parent object 2018-09-23 18:33:53 +02:00
BO41 ec769c89fd add redirect after login (#1110) 2018-09-23 16:37:48 +02:00
BO41 23db998f07 remove unused imports 2018-09-22 20:11:16 +02:00
Rigel Kent 52b1ba03f4
add chevron hotkeys to change playback rate 2018-09-22 19:01:59 +02:00
Rigel Kent 9fe4406794
autofocus first field on login 2018-09-22 14:14:32 +02:00
Rigel Kent cc3d1dce1f
i18n in video-edit 2018-09-21 16:48:42 +02:00
Chocobozzz f2659ae0b0
Upgrade tslint rules 2018-09-21 09:26:53 +02:00
Chocobozzz ae04a0ce12
Upgrade client dependencies 2018-09-21 09:26:52 +02:00
Rigel Kent 1fd3ef3fb4
fix nav tab and tag color in dark theme 2018-09-20 20:57:18 +02:00
Rigel Kent f845c68305
fix SEO tags and attributes 2018-09-20 16:48:21 +02:00
Chocobozzz a893681058
Add a message if the user don't have any subscriptions 2018-09-20 16:24:59 +02:00
Chocobozzz 2860e62e23
Fix my account width on mobile 2018-09-20 16:24:58 +02:00
Chocobozzz 0491173a61
Merge branch 'develop' into cli-wrapper 2018-09-20 16:24:31 +02:00
Chocobozzz 6247b2057b
Fix client e2e tests 2018-09-20 15:45:11 +02:00
Chocobozzz 93ea9c47d9
Improve responsive on small screens 2018-09-20 14:59:19 +02:00
Chocobozzz 89724816ae
Improve videos list client performance 2018-09-20 14:21:57 +02:00
Chocobozzz d466dece0a
Improve message when removing a user 2018-09-20 11:55:00 +02:00
BO41 fcc7c06037 rename manifest 2018-09-20 08:22:29 +02:00
Chocobozzz ad76628b17
Fix admin access to moderators 2018-09-19 09:54:38 +02:00
Chocobozzz e972e046db
Don't get recommended videos twice 2018-09-19 09:54:36 +02:00
Chocobozzz d5931e6233
Fix client build 2018-09-18 08:21:04 +02:00
Chocobozzz a8ecc6f670
Try to improve infinite pagination 2018-09-17 17:45:55 +02:00
Rigel Kent 8c72543a4a
adding missing i18n for schedule option 2018-09-17 16:44:41 +02:00
Chocobozzz e452d2e2b8
Fix description/comments max width 2018-09-17 15:28:32 +02:00
Chocobozzz b335ccec49
Fix ios player playback/subtitles menu 2018-09-17 15:01:04 +02:00
Chocobozzz 860cfb31e3
Fix "no results" on overview page 2018-09-17 10:28:38 +02:00
Chocobozzz cfc16a6db8
Fix tag search on overview page 2018-09-14 14:36:12 +02:00
Rigel Kent 1d9d9cfdcf
add css custom properties for the left menu 2018-09-13 14:33:17 +02:00
Chocobozzz c48e82b5e0 Basic video redundancy implementation 2018-09-13 14:05:49 +02:00
Chocobozzz a651038487
Bumped to version v1.0.0-beta.13 2018-09-13 11:07:53 +02:00
Chocobozzz 9431cabf8a
Fix video views increment 2018-09-13 10:13:25 +02:00
Chocobozzz 4035d2b6e9
Fix video channel deletion 2018-09-13 09:31:04 +02:00
Chocobozzz dcce142d33
Update translations 2018-09-13 09:19:24 +02:00
Chocobozzz bcb0c8958f
Fix client build 2018-09-12 09:52:08 +02:00
Rigel Kent c13e2bf340
update hotkeys to include user-specific routes
also fix left-menu width
2018-09-11 22:02:58 +02:00
Rigel Kent 7aba23d13f
wrap the hotkeys component to allow templating 🎨 2018-09-11 21:33:22 +02:00
Rigel Kent a157b3a322
specify shift in keyboard shortcuts cheatsheet 2018-09-11 14:18:59 +02:00
Rigel Kent e3f7f600e8
remember theme in localStorage 2018-09-11 11:41:18 +02:00
Rigel Kent e78980ebd1 use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Chocobozzz b8aca3bfe2
Bumped to version v1.0.0-beta.12 2018-09-11 08:15:06 +02:00
Chocobozzz 14f93fd616
Upgrade translations 2018-09-10 09:51:35 +02:00
Rigel Kent 20c3a59e2c
add input color to cope with browser themes 2018-09-09 14:43:30 +02:00
Rigel Kent ed19bb9a32
use css class for loading bar color 2018-09-07 22:46:11 +02:00
Chocobozzz d972dc7f66
Update translations 2018-09-07 17:40:45 +02:00
Rigel Kent 4e554c4a2d
move .sass-lint.yml to client/ 2018-09-07 10:51:42 +02:00
Rigel Kent 35c2930776
move theme toggle icon to the right 2018-09-06 13:47:48 +02:00
Chocobozzz 21131ac172
Fix video channel url in watch page 2018-09-06 13:42:00 +02:00
Rigel Kent 1a00c5619f
refactor theme toggle into a service 2018-09-06 12:00:53 +02:00
Chocobozzz 1c66c35c55
Align other videos block on small screens 2018-09-06 09:00:59 +02:00
Chocobozzz d7639f66af
Unsubscribe from the router 2018-09-06 09:00:58 +02:00
Chocobozzz 432e7ddcc8
Fix video player theatre mode 2018-09-06 09:00:58 +02:00
Rigel Kent 66467298e6
fix comment and top-menu placement regressions 2018-09-05 20:00:47 +02:00
Chocobozzz db6d617dd2
Fix occitan label 2018-09-05 15:59:43 +02:00
Chocobozzz 1d6587aa42
Dislike bar in the same color as the button 2018-09-05 15:40:45 +02:00
Chocobozzz dcbc29d5c8
Put "start at" at the top of the modal 2018-09-05 15:32:15 +02:00
Chocobozzz b0ee41df7d
Clean up change password validation 2018-09-05 15:00:25 +02:00
Chocobozzz 4c8e4e04d1
Use dropdown in my account -> "my library" 2018-09-05 14:42:59 +02:00
Chocobozzz c182527a6c
Fix channels search on mobile 2018-09-05 11:42:13 +02:00
Chocobozzz d77433a8a6
Fix video add background color 2018-09-05 11:24:43 +02:00
Chocobozzz 8ff3f88347
Fix watch page responsive 2018-09-05 11:20:44 +02:00
Chocobozzz 46ae6f6724
Fix menu on mobile 2018-09-05 10:19:45 +02:00
Rigel Kent 8c985ef5ce hotkey to toggle dark theme 2018-09-04 23:24:34 +02:00
Rigel Kent 9a0fc8409c add theming via css custom properties
and a bonus dark color theme toggle
2018-09-04 23:24:34 +02:00
Rigel Kent 3b766e181c
fixing grid readjustment with expand and screens < 1150px 2018-09-04 18:35:39 +02:00
Chocobozzz 6aff854c0e
Fix overview page on mobile 2018-09-04 17:31:30 +02:00
Chocobozzz b1ee8526d3
Fix search results on mobile 2018-09-04 17:31:28 +02:00
Chocobozzz 8cd7faaa33
Better label for video privacies 2018-09-04 17:31:28 +02:00
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 f2e05ffea7
Try to fix embed webpack build 2018-09-03 11:26:19 +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
Glandos 4ccb6c0830 Add more playback speed (0.75 and 1.25)
Those speeds are much more closer to the normal speed. They are useful for listening to human speeches.
2018-08-31 17:19:38 +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
Chocobozzz b224ddd88b
Fix player playback (video never ends) 2018-08-28 10:23:21 +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 52831c6fef
Upgrade client dependencies 2018-08-27 11:45:58 +02:00
Chocobozzz a9155ee6dc
Add portuguese and swedish languages 2018-08-27 11:20:06 +02:00
Chocobozzz b18d4b9f36
Upgrade translations 2018-08-27 10:04:07 +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
Chocobozzz 5d128505dc Cache player translations 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
Chocobozzz 3711d5a2ff
Bumped to version v1.0.0-beta.11 2018-08-21 08:59:06 +02:00
Josh Morel 970df082c0 correct password reset disabled binding 2018-08-20 10:35:06 +02:00
Jorropo 52e679ac35 Change npm repo to git+https 2018-08-20 10:33:45 +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 59c76ffa8f
Flat shared module directory 2018-08-14 15:00:01 +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 a6ce68673a
Support occitan 2018-08-08 16:00:06 +02:00
Chocobozzz e69219184b
Implement user blocking on server side 2018-08-08 15:22:58 +02:00
Chocobozzz 6b09aba90d
Push/Pull translations 2018-08-08 11:16:16 +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 9a12f169c1
Merge branch 'release/beta-10' into develop 2018-08-07 16:12:31 +02:00
Chocobozzz 59549436ef
Bumped to version v1.0.0-beta.10 2018-08-07 15:43:50 +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 4a03da5fa5
Update translations 2018-07-31 18:04:24 +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 9484e1f6fc
Bumped to version v1.0.0-beta.10.pre.3 2018-07-31 12:47:28 +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 646cfe74ee
Bumped to version v1.0.0-beta.10.pre.2 2018-07-27 13:54:23 +02:00
Chocobozzz f771466891
Fix captions freeze on production 2018-07-27 12:03:27 +02:00
Chocobozzz c6c357ac35
Fix attribute label width in video watch page 2018-07-27 12:03:26 +02:00
Chocobozzz a2018aefae
Bumped to version v1.0.0-beta.10.pre.1 2018-07-26 11:28:51 +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
Jorropo 05ae00984d [ImgBot] optimizes images
*Total -- 289.13kb -> 211.82kb
(26.74%)/support/doc/development/server/upload-video.png -- 56.19kb ->
33.83kb (39.8%)/support/doc/development/client/components-tree.png --
31.81kb -> 19.82kb
(37.68%)/client/src/assets/images/icons/icon-512x512.png -- 14.24kb ->
9.97kb (30.03%)/server/tests/fixtures/avatar-resized.png -- 1.69kb ->
1.19kb (29.24%)/server/tests/fixtures/avatar2-resized.png -- 1.68kb ->
1.21kb (28.41%)/client/src/assets/images/default-avatar.png -- 1.63kb ->
1.24kb (23.89%)/server/tests/fixtures/avatar.png -- 1.63kb -> 1.24kb
(23.89%)/server/tests/fixtures/avatar-big.png -- 143.15kb -> 111.56kb
(22.06%)/client/src/assets/images/icons/icon-192x192.png -- 3.58kb ->
2.86kb (20.21%)/server/tests/fixtures/video_short1.webm.jpg -- 2.83kb ->
2.36kb (16.75%)/client/src/assets/images/icons/icon-144x144.png --
2.34kb -> 1.95kb (16.53%)/client/src/assets/images/icons/icon-96x96.png
-- 1.91kb -> 1.62kb
(11.93%)/client/src/assets/images/icons/icon-72x72.png -- 1.72kb ->
1.53kb (11.1%)/client/src/assets/images/icons/icon-48x48.png -- 1.18kb
-> 1.17kb (1%)
2018-07-24 18:03:27 +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 8ea021ef48
Upgrade mp4-box-encoding 2018-07-18 10:09:01 +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 20e6c7c941
Upgrade client dependencies 2018-07-17 10:25:09 +02:00
Chocobozzz 6d88de7253
Correctly handle error when remote instance is down 2018-07-16 19:15:20 +02:00
Chocobozzz 30eac84e71
Display table next/prev/first/last icons 2018-07-16 18:42:10 +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 1f6824c958
Improve start time param
Can handle 2m42s for example
2018-07-16 16:13:35 +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