Chocobozzz [Wed, 19 Sep 2018 08:16:44 +0000 (10:16 +0200)]
Optimize SQL requests of videos AP endpoints
Chocobozzz [Wed, 19 Sep 2018 07:53:49 +0000 (09:53 +0200)]
Fix admin access to moderators
Chocobozzz [Tue, 18 Sep 2018 10:00:49 +0000 (12:00 +0200)]
Optimize SQL requests of watch page API endpoints
Chocobozzz [Tue, 18 Sep 2018 09:59:05 +0000 (11:59 +0200)]
Don't get recommended videos twice
Chocobozzz [Tue, 18 Sep 2018 09:02:51 +0000 (11:02 +0200)]
Reduce video.ts file size by moving some methods in other files
Rigel Kent [Tue, 18 Sep 2018 09:18:51 +0000 (11:18 +0200)]
normalize robot.txt and specify test servers as scope of security audits
Chocobozzz [Tue, 18 Sep 2018 06:21:04 +0000 (08:21 +0200)]
Fix client build
Chocobozzz [Mon, 17 Sep 2018 15:50:51 +0000 (17:50 +0200)]
Improve webtorrent import error message when the torrent has multiple
files
Chocobozzz [Mon, 17 Sep 2018 15:36:46 +0000 (17:36 +0200)]
Try to improve infinite pagination
Chocobozzz [Mon, 17 Sep 2018 13:45:17 +0000 (15:45 +0200)]
Add comments in nginx regarding blocks that can be safely removed
Rigel Kent [Mon, 17 Sep 2018 14:44:41 +0000 (16:44 +0200)]
adding missing i18n for schedule option
Chocobozzz [Mon, 17 Sep 2018 13:28:32 +0000 (15:28 +0200)]
Fix description/comments max width
Chocobozzz [Mon, 17 Sep 2018 13:00:46 +0000 (15:00 +0200)]
Fix ios player playback/subtitles menu
Chocobozzz [Mon, 17 Sep 2018 09:28:08 +0000 (11:28 +0200)]
Fix checker if we don't have redundancy strategies
Chocobozzz [Mon, 17 Sep 2018 08:28:38 +0000 (10:28 +0200)]
Fix "no results" on overview page
Chocobozzz [Mon, 17 Sep 2018 08:12:30 +0000 (10:12 +0200)]
Handle actors search beginning with '@'
Something like @toto@example.com
Chocobozzz [Mon, 17 Sep 2018 07:39:08 +0000 (09:39 +0200)]
Fix overviews tests
victor héry [Sun, 16 Sep 2018 15:53:57 +0000 (17:53 +0200)]
Add possibility to manage trust_proxy list in docker image
Chocobozzz [Fri, 14 Sep 2018 14:51:35 +0000 (16:51 +0200)]
Refractor activities sending
Chocobozzz [Fri, 14 Sep 2018 14:47:15 +0000 (16:47 +0200)]
Process inbox activities in a queue
Chocobozzz [Fri, 14 Sep 2018 12:57:59 +0000 (14:57 +0200)]
Add redundancy stats
Chocobozzz [Fri, 14 Sep 2018 12:36:12 +0000 (14:36 +0200)]
Fix tag search on overview page
Chocobozzz [Fri, 14 Sep 2018 09:52:23 +0000 (11:52 +0200)]
Speed up overviews route
Chocobozzz [Fri, 14 Sep 2018 09:09:34 +0000 (11:09 +0200)]
Raw query to get video ids
Chocobozzz [Fri, 14 Sep 2018 09:05:38 +0000 (11:05 +0200)]
Add recently added redundancy strategy
Chocobozzz [Fri, 14 Sep 2018 08:07:33 +0000 (10:07 +0200)]
Speaup clean script
Chocobozzz [Fri, 14 Sep 2018 07:58:49 +0000 (09:58 +0200)]
Test to remove delay in tests when running multiple servers
Chocobozzz [Fri, 14 Sep 2018 07:57:21 +0000 (09:57 +0200)]
Add trending videos strategy
Chocobozzz [Thu, 13 Sep 2018 11:59:41 +0000 (13:59 +0200)]
Process last hour views instead of current hour
Chocobozzz [Tue, 11 Sep 2018 14:27:07 +0000 (16:27 +0200)]
Basic video redundancy implementation
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