Chocobozzz [Thu, 13 Sep 2018 09:07:53 +0000 (11:07 +0200)]
Bumped to version v1.0.0-beta.13
Chocobozzz [Thu, 13 Sep 2018 08:22:14 +0000 (10:22 +0200)]
Retry transactions on user endpoints if needed
Chocobozzz [Thu, 13 Sep 2018 08:15:29 +0000 (10:15 +0200)]
Changelog beta 13
Chocobozzz [Thu, 13 Sep 2018 08:13:25 +0000 (10:13 +0200)]
Fix video views increment
Chocobozzz [Thu, 13 Sep 2018 07:48:34 +0000 (09:48 +0200)]
Fix feeds with channel filter
Chocobozzz [Thu, 13 Sep 2018 07:31:04 +0000 (09:31 +0200)]
Fix video channel deletion
Chocobozzz [Thu, 13 Sep 2018 07:20:06 +0000 (09:20 +0200)]
Try to fix bcrypt on node 8.12
Chocobozzz [Thu, 13 Sep 2018 07:19:24 +0000 (09:19 +0200)]
Update translations
Chocobozzz [Wed, 12 Sep 2018 07:52:08 +0000 (09:52 +0200)]
Fix client build
Rigel Kent [Sat, 8 Sep 2018 15:54:38 +0000 (17:54 +0200)]
update hotkeys to include user-specific routes
also fix left-menu width
Rigel Kent [Tue, 11 Sep 2018 13:07:31 +0000 (15:07 +0200)]
wrap the hotkeys component to allow templating :art:
Felix Ableitner [Tue, 11 Sep 2018 18:04:49 +0000 (13:04 -0500)]
Don't include `preload` flag in sample HSTS header
This goes against the recommendations (preloading should be opt-in). Putting it in the example makes it likely that people enable it without knowing what it means.
https://hstspreload.org/?domain=peertube.social#opt-in
Rigel Kent [Tue, 11 Sep 2018 12:13:02 +0000 (14:13 +0200)]
specify shift in keyboard shortcuts cheatsheet
Rigel Kent [Tue, 11 Sep 2018 09:41:10 +0000 (11:41 +0200)]
remember theme in localStorage
Rigel Kent [Sat, 8 Sep 2018 12:34:32 +0000 (14:34 +0200)]
use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
Josh Morel [Mon, 10 Sep 2018 11:37:06 +0000 (07:37 -0400)]
further enhance tools install explanation
Chocobozzz [Tue, 11 Sep 2018 06:15:06 +0000 (08:15 +0200)]
Bumped to version v1.0.0-beta.12
Chocobozzz [Mon, 10 Sep 2018 09:39:45 +0000 (11:39 +0200)]
Add beta 12 changelog
Chocobozzz [Mon, 10 Sep 2018 09:32:26 +0000 (11:32 +0200)]
Update CREDITS
Chocobozzz [Mon, 10 Sep 2018 07:51:35 +0000 (09:51 +0200)]
Upgrade translations
Rigel Kent [Sun, 9 Sep 2018 20:10:38 +0000 (22:10 +0200)]
make HSTS opt-in and leave it to the reverse-proxy
Rigel Kent [Sun, 9 Sep 2018 12:43:30 +0000 (14:43 +0200)]
add input color to cope with browser themes
Rigel Kent [Fri, 7 Sep 2018 20:46:11 +0000 (22:46 +0200)]
use css class for loading bar color
Chocobozzz [Fri, 7 Sep 2018 15:40:45 +0000 (17:40 +0200)]
Update translations
Rigel Kent [Fri, 7 Sep 2018 08:51:42 +0000 (10:51 +0200)]
move .sass-lint.yml to client/
Rigel Kent [Thu, 6 Sep 2018 12:07:10 +0000 (14:07 +0200)]
add vulnerability disclosure policy
Austin Heap [Thu, 6 Sep 2018 12:23:46 +0000 (05:23 -0700)]
draft "security.txt" spec integration (#1020)
Rigel Kent [Thu, 6 Sep 2018 11:47:20 +0000 (13:47 +0200)]
move theme toggle icon to the right
Chocobozzz [Thu, 6 Sep 2018 11:41:23 +0000 (13:41 +0200)]
Fix video channel url in watch page
Rigel Kent [Thu, 6 Sep 2018 10:00:53 +0000 (12:00 +0200)]
refactor theme toggle into a service
Chocobozzz [Thu, 6 Sep 2018 06:59:46 +0000 (08:59 +0200)]
Align other videos block on small screens
Chocobozzz [Wed, 5 Sep 2018 15:18:13 +0000 (17:18 +0200)]
Unsubscribe from the router
Chocobozzz [Wed, 5 Sep 2018 14:10:03 +0000 (16:10 +0200)]
Fix video player theatre mode
Rigel Kent [Wed, 5 Sep 2018 18:00:47 +0000 (20:00 +0200)]
fix comment and top-menu placement regressions
Chocobozzz [Wed, 5 Sep 2018 13:59:43 +0000 (15:59 +0200)]
Fix occitan label
Chocobozzz [Wed, 5 Sep 2018 13:40:45 +0000 (15:40 +0200)]
Dislike bar in the same color as the button
Chocobozzz [Wed, 5 Sep 2018 13:32:15 +0000 (15:32 +0200)]
Put "start at" at the top of the modal
Chocobozzz [Wed, 5 Sep 2018 12:59:15 +0000 (14:59 +0200)]
Clean up change password validation
Chocobozzz [Wed, 5 Sep 2018 12:42:59 +0000 (14:42 +0200)]
Use dropdown in my account -> "my library"
Chocobozzz [Wed, 5 Sep 2018 09:42:13 +0000 (11:42 +0200)]
Fix channels search on mobile
Chocobozzz [Wed, 5 Sep 2018 09:24:43 +0000 (11:24 +0200)]
Fix video add background color
Chocobozzz [Wed, 5 Sep 2018 09:20:44 +0000 (11:20 +0200)]
Fix watch page responsive
Chocobozzz [Wed, 5 Sep 2018 08:19:45 +0000 (10:19 +0200)]
Fix menu on mobile
Rigel Kent [Tue, 4 Sep 2018 21:14:31 +0000 (23:14 +0200)]
hotkey to toggle dark theme
Rigel Kent [Mon, 3 Sep 2018 23:28:04 +0000 (01:28 +0200)]
add theming via css custom properties
and a bonus dark color theme toggle
Rigel Kent [Tue, 4 Sep 2018 16:35:39 +0000 (18:35 +0200)]
fixing grid readjustment with expand and screens < 1150px
Chocobozzz [Tue, 4 Sep 2018 15:30:57 +0000 (17:30 +0200)]
Fix overview page on mobile
Chocobozzz [Tue, 4 Sep 2018 15:14:11 +0000 (17:14 +0200)]
Try to improve remote tools explanation
Chocobozzz [Tue, 4 Sep 2018 14:58:21 +0000 (16:58 +0200)]
Fix search results on mobile
Chocobozzz [Tue, 4 Sep 2018 14:21:07 +0000 (16:21 +0200)]
Better label for video privacies
Jorropo [Tue, 4 Sep 2018 14:34:01 +0000 (16:34 +0200)]
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.
Chocobozzz [Tue, 4 Sep 2018 13:34:11 +0000 (15:34 +0200)]
Move nodeinfo model in shared/
Chocobozzz [Tue, 4 Sep 2018 13:31:13 +0000 (15:31 +0200)]
check 'trending.videos.interval_days' config key
Chocobozzz [Tue, 4 Sep 2018 13:28:50 +0000 (15:28 +0200)]
Add overview videos to homepage options
Chocobozzz [Tue, 4 Sep 2018 13:25:02 +0000 (15:25 +0200)]
Add index to startDate in video view table
Chocobozzz [Tue, 4 Sep 2018 09:55:43 +0000 (11:55 +0200)]
Do not import live streaming
Chocobozzz [Tue, 4 Sep 2018 09:34:46 +0000 (11:34 +0200)]
Fix video import with URL with small titles
Chocobozzz [Tue, 4 Sep 2018 09:25:40 +0000 (11:25 +0200)]
Fix import videos duplicate detection
Chocobozzz [Tue, 4 Sep 2018 09:19:19 +0000 (11:19 +0200)]
Fix nsfw filter
Jorropo [Tue, 4 Sep 2018 09:01:54 +0000 (11:01 +0200)]
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
Chocobozzz [Tue, 4 Sep 2018 08:22:10 +0000 (10:22 +0200)]
Add federation to ownership change
Chocobozzz [Tue, 4 Sep 2018 06:58:23 +0000 (08:58 +0200)]
Add trending sort tests
Chocobozzz [Mon, 3 Sep 2018 16:14:05 +0000 (18:14 +0200)]
Fix overview cache
Chocobozzz [Mon, 3 Sep 2018 16:05:12 +0000 (18:05 +0200)]
Fix trending videos count
Gaëtan Rizio [Tue, 4 Sep 2018 06:57:13 +0000 (08:57 +0200)]
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
Rigel Kent [Mon, 3 Sep 2018 13:01:52 +0000 (15:01 +0200)]
fix likes bar, grid adjustment and menu width
Chocobozzz [Mon, 3 Sep 2018 09:26:19 +0000 (11:26 +0200)]
Try to fix embed webpack build
Chocobozzz [Mon, 3 Sep 2018 09:12:53 +0000 (11:12 +0200)]
Fix thumbnail/preview in upload script
Chocobozzz [Mon, 3 Sep 2018 07:30:13 +0000 (09:30 +0200)]
Don't get quota twice
Rigel Kent [Sun, 2 Sep 2018 21:36:22 +0000 (23:36 +0200)]
add title ellipsis over two lines to miniatures
Rigel Kent [Sun, 2 Sep 2018 19:46:43 +0000 (21:46 +0200)]
add a hotkey for menu toggling and a secondary hotkey to search
Rigel Kent [Sun, 2 Sep 2018 19:35:52 +0000 (21:35 +0200)]
add daily quota to the features table information
Rigel Kent [Sun, 2 Sep 2018 18:54:23 +0000 (20:54 +0200)]
add like, dislike and subscribe button hotkeys
Rigel Kent [Sun, 2 Sep 2018 17:34:36 +0000 (19:34 +0200)]
fix other video margin-top
Rigel Kent [Sun, 2 Sep 2018 17:22:34 +0000 (19:22 +0200)]
make left menu show the scrollbar on hover/focus
add hotkey to the overview page
Rigel Kent [Sun, 2 Sep 2018 14:08:39 +0000 (16:08 +0200)]
restore video-bottom margins
Jorropo [Sun, 2 Sep 2018 09:28:09 +0000 (11:28 +0200)]
optimize size of the README schemas (#1002)
```
/support/doc/user/watch-p2p.png -- 21.87kb -> 16.44kb (24.8%)
/support/doc/user/watch-video.png -- 27.89kb -> 21.04kb (24.56%)
/support/doc/user/decentralized.png -- 21.88kb -> 17.75kb (18.87%)
```
Chocobozzz [Fri, 31 Aug 2018 15:32:35 +0000 (17:32 +0200)]
Fix videos overview tags section
Chocobozzz [Fri, 31 Aug 2018 15:18:13 +0000 (17:18 +0200)]
Trending by interval
Glandos [Fri, 31 Aug 2018 15:10:01 +0000 (17:10 +0200)]
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.
Brad Johnson [Fri, 31 Aug 2018 15:19:21 +0000 (09:19 -0600)]
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
Chocobozzz [Fri, 31 Aug 2018 12:26:51 +0000 (14:26 +0200)]
Add channel avatar to overviews
Chocobozzz [Fri, 31 Aug 2018 11:46:56 +0000 (13:46 +0200)]
Delete highlighted comment too if needed
Chocobozzz [Fri, 31 Aug 2018 09:44:48 +0000 (11:44 +0200)]
Cleanup video API SQL requests
Chocobozzz [Fri, 31 Aug 2018 09:44:07 +0000 (11:44 +0200)]
Use custom rate limiter when asking verif email
Chocobozzz [Fri, 31 Aug 2018 09:43:46 +0000 (11:43 +0200)]
Add sql trace in error log on sequelize error
Chocobozzz [Fri, 31 Aug 2018 08:05:54 +0000 (10:05 +0200)]
Fix user create daily quota component
Chocobozzz [Fri, 31 Aug 2018 07:53:07 +0000 (09:53 +0200)]
Try to improve sql videos list query
Split the complex query in 2 different queries
Chocobozzz [Thu, 30 Aug 2018 12:58:00 +0000 (14:58 +0200)]
Videos overview page: first version
Josh Morel [Fri, 31 Aug 2018 07:18:19 +0000 (03:18 -0400)]
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
Chocobozzz [Wed, 29 Aug 2018 14:52:17 +0000 (16:52 +0200)]
Fix job tests
Chocobozzz [Wed, 29 Aug 2018 14:26:25 +0000 (16:26 +0200)]
Bufferize videos views in redis
Rigel Kent [Thu, 30 Aug 2018 09:15:22 +0000 (11:15 +0200)]
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
Edouard SCHWEISGUTH [Thu, 30 Aug 2018 06:33:05 +0000 (08:33 +0200)]
Changes the README schemas (#984)
* Change readme schema & add their sources
* Add titles
Rigel Kent [Tue, 28 Aug 2018 20:58:13 +0000 (22:58 +0200)]
replacing placeholder and feature table display improvement
Chocobozzz [Tue, 28 Aug 2018 16:29:29 +0000 (18:29 +0200)]
Refractor user quota SQL queries
Chocobozzz [Tue, 28 Aug 2018 15:39:29 +0000 (17:39 +0200)]
Add features table on signup
Chocobozzz [Tue, 28 Aug 2018 14:05:38 +0000 (16:05 +0200)]
Move abuse state column at the end
Chocobozzz [Tue, 28 Aug 2018 14:02:02 +0000 (16:02 +0200)]
Fix search results
Chocobozzz [Tue, 28 Aug 2018 13:16:04 +0000 (15:16 +0200)]
Optimize channel search query