Chocobozzz
dbe6aa698e
Fix trending page
2018-12-03 09:14:56 +01:00
Chocobozzz
1b5e2d7290
Optimize config endpoint
2018-11-23 11:07:00 +01:00
Josh Morel
fc2ec87a8c
enable email verification by admin ( #1348 )
...
* enable email verification by admin
* rename/label to set email as verified
to be more explicit that admin is not sending
another email to confirm
* add update user emailVerified check-params test
* make user.model emailVerified property required
2018-11-21 08:48:29 +01:00
Chocobozzz
04b8c3fba6
Delete invalid or deleted remote videos
2018-11-20 10:44:48 +01:00
Chocobozzz
8d4273463f
Check follow constraints when getting a video
2018-11-16 15:49:16 +01:00
Chocobozzz
030177d246
Don't forward view, send updates instead
...
To avoid inconsistencies in the federation, now the origin server will
tell other instances what is the correct number of views
2018-11-15 16:38:37 +01:00
Chocobozzz
5c6d985fae
Check activities host
2018-11-14 16:32:27 +01:00
Chocobozzz
bb5d90e62f
Merge branch 'feature/webtorrent-disabling' into develop
2018-10-17 10:48:56 +02:00
Chocobozzz
b44164bb56
Add ability to mute a user/instance by server in server api
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
Chocobozzz
7ad9b9846c
Add ability for users to block an account/instance on server side
2018-10-16 16:41:36 +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
1cd3facc3d
Add ability to list all local videos
...
Including private/unlisted for moderators/admins
2018-10-10 11:46:50 +02:00
Chocobozzz
b014b6b9c7
Add ability to search on followers/following
2018-10-10 09:43:53 +02:00
Chocobozzz
24b9417cec
Add users search filter
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
Lucas Declercq
156c50af30
Add downloadingEnabled property to video model
2018-10-06 19:17:39 +02:00
Chocobozzz
6e46de095d
Add user history and resume videos
2018-10-05 11:22:38 +02:00
Chocobozzz
499d901595
Fix config endpoint
2018-10-03 14:36:00 +02:00
Chocobozzz
913f08f2bd
Fix get version
2018-10-02 09:02:47 +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
Chocobozzz
8b917537af
Increase timeout on upload endpoint
2018-10-01 09:14:00 +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
Chocobozzz
4a534352ad
Fix avatar transaction retry
2018-09-26 10:15:50 +02:00
Chocobozzz
f201a74992
Cache user token
2018-09-20 11:45:59 +02:00
Chocobozzz
91411dba92
Limit associations fetch when loading token
2018-09-20 11:45:59 +02:00
Chocobozzz
993cef4b6e
Refractor audit user identifier
2018-09-19 17:02:27 +02:00
Chocobozzz
d9bdd007d7
Put config redundancy strategies in "strategies" subkey
2018-09-19 16:12:07 +02:00
Chocobozzz
e587e0ecee
Optimize activity actor load in AP processors
2018-09-19 15:22:55 +02:00
Chocobozzz
4157cdb137
Refractor videos AP functions
2018-09-19 11:16:23 +02:00
Chocobozzz
627621c1e8
Optimize SQL requests of watch page API endpoints
2018-09-19 09:54:37 +02:00
Chocobozzz
2ff83ae292
Handle actors search beginning with '@'
...
Something like @toto@example.com
2018-09-17 10:13:54 +02:00
Chocobozzz
a2377d15ee
Refractor activities sending
2018-09-14 16:51:35 +02:00
Chocobozzz
4b5384f6e7
Add redundancy stats
2018-09-14 14:57:59 +02:00
Chocobozzz
7348b1fd84
Speed up overviews route
2018-09-14 11:52:23 +02:00
Chocobozzz
c48e82b5e0
Basic video redundancy implementation
2018-09-13 14:05:49 +02:00
Chocobozzz
176e211453
Retry transactions on user endpoints if needed
2018-09-13 10:22:14 +02:00
Chocobozzz
5cf84858d4
Add federation to ownership change
2018-09-04 10:49:53 +02:00
Chocobozzz
558187a72f
Fix overview cache
2018-09-04 08:58:33 +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
Chocobozzz
288fe38590
Use custom rate limiter when asking verif email
2018-08-31 11:44:44 +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
Chocobozzz
6b6168606b
Bufferize videos views in redis
2018-08-30 15:03:18 +02:00
Chocobozzz
41a676db39
Add features table on signup
2018-08-28 17:39:29 +02:00
Chocobozzz
9ee92651f6
Fix tests
2018-08-28 11:32:03 +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
62689b942b
Correctly migrate to fs-extra
2018-08-27 16:23:34 +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
f37dc0dd14
Add ability to search video channels
2018-08-27 09:41:54 +02:00
Chocobozzz
240085d005
Fix tests
2018-08-27 09:41:54 +02:00
Chocobozzz
1297eb5db6
Add refresh video on search
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
99492dbc0d
Add get subscription endpoint
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
06a05d5f47
Add subscriptions endpoints to REST API
2018-08-27 09:41:54 +02:00
Chocobozzz
d03cd8bb20
Split users controller
2018-08-27 09:41:54 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper
2018-08-14 15:28:30 +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
268eebed92
Add state and moderationComment for abuses on server side
2018-08-10 16:54:01 +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
3e17515e29
Add torrent tests
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
b2977eecb8
Fix fps federation
2018-08-06 11:19:16 +02:00
Chocobozzz
590fb50690
Add tests regarding video import
2018-08-06 11:19:16 +02:00
Chocobozzz
5d08a6a74e
Add import http enabled configuration
2018-08-06 11:19:16 +02:00
Chocobozzz
7e5f9f001d
Add audit logs for video import
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
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
Aurélien Bertron
80e36cd9fa
Add audit logs in various modules
...
- Videos
- Videos comments
- Users
- Videos channels
- Videos abuses
- Custom config
2018-07-31 15:40:29 +02:00
Chocobozzz
d525fc399a
Add videos list filters
2018-07-24 14:04:05 +02:00
Chocobozzz
57c36b277e
Begin advanced search
2018-07-24 14:04:05 +02:00
Chocobozzz
7279b45581
Speed up populate database script
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
f4001cf408
Handle .srt subtitles
2018-07-16 14:31:40 +02:00
Chocobozzz
40e87e9ecc
Implement captions/subtitles
2018-07-16 11:50:08 +02:00
Chocobozzz
94831479f5
Migrate to bull
2018-07-11 14:00:17 +02:00
Chocobozzz
3a6f351b25
Handle higher FPS for high resolution (test)
2018-06-29 17:10:54 +02:00
Chocobozzz
4bbfc6c606
API: Add ability to update video channel avatar
2018-06-29 11:29:23 +02:00
William Lahti
12daa83784
move CORS allowance to the REST API router
2018-06-29 09:46:44 +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
Chocobozzz
e94fc29706
Fix removing scheduled update
2018-06-18 10:26:20 +02:00
Chocobozzz
2baea0c77c
Add ability for uploaders to schedule video update
2018-06-14 18:06:56 +02:00
Chocobozzz
90d4bb8125
Refractor retry transaction function
2018-06-13 14:27: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
0c948c1659
Add ability to manually run transcoding job
2018-05-30 10:49:56 +02:00
Chocobozzz
ad9e39fb81
Only use account name in routes
2018-05-25 10:41:07 +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
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
2efd32f697
Fix updating video tags to empty field
2018-05-16 09:42:56 +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
08c1efbe32
Add video channel management
2018-04-26 16:18:01 +02:00
Chocobozzz
ed56ad1193
Add ability to update the user display name/description
2018-04-26 10:03:40 +02:00
Chocobozzz
cc918ac3f4
Update video-channel routes (again)
...
Use /video-channels now, it's more simple for clients
2018-04-25 16:16:21 +02:00
Chocobozzz
6b738c7a31
Video channel API routes refractor
2018-04-25 13:50:48 +02:00
Chocobozzz
48dce1c90d
Update video channel routes
2018-04-24 17:12:57 +02:00
Chocobozzz
0626e7af82
Add account view
2018-04-24 15:13:19 +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
Chocobozzz
5350fd8e5b
Move server follow in the job queue
...
It helps to track follow errors
2018-04-18 15:32:40 +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
94ff4c2335
Add auth documentation
2018-04-16 17:27:00 +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
490b595a01
Prevent brute force login attack
2018-03-29 11:03:30 +02:00
Chocobozzz
e33e7fc89e
Fix views system behind a proxy
2018-03-28 14:51:50 +02:00
Chocobozzz
be1fc4bc50
Fix custom server configuration numbers
2018-03-27 15:46:36 +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
07197db4c5
Try to refractor activities sending
...
There is still a need for work on this part though
2018-03-27 13:33:56 +02:00
Chocobozzz
d5b7d9110d
Fix error logging
2018-03-26 16:04:14 +02: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
901637bb87
Add ability to change the homepage
2018-03-01 13:57:29 +01:00
Chocobozzz
09cababd79
Add stats route
2018-02-28 18:04:55 +01:00
Chocobozzz
2ad429529c
Add indentation in json configuration file generated by the admin
...
interface
2018-02-28 09:55:00 +01:00
Chocobozzz
509cd56aca
Add warning in production.yaml
...
To avoid confusion with the local-production.json file
2018-02-27 17:19:22 +01:00
Chocobozzz
2c29ad4f3b
Fix job panel sorting in administration
2018-02-27 16:57:53 +01:00
Chocobozzz
056aa7f2b4
Fix resolution for portrait videos
2018-02-27 15:57:43 +01:00
Chocobozzz
b5c0e95544
Avoids easy cheating on vidoe views
2018-02-23 16:44:37 +01:00
Chocobozzz
1ee48d1903
Don't follow ourselves
2018-02-23 14:48:30 +01:00
Chocobozzz
00b5556c18
Add ability to add custom css/javascript
2018-02-22 10:22:53 +01:00
Chocobozzz
6de3676898
Add ability to update thumbnail and preview on client
2018-02-16 16:35:32 +01:00
Chocobozzz
2422c46b27
Implement support field in video and video channel
2018-02-15 15:29:07 +01:00
Chocobozzz
82815eb670
Fix concurrency issue on video upload
2018-02-14 18:40:39 +01:00
Chocobozzz
e3a682a877
Handle thumbnail update
2018-02-14 16:03:09 +01:00
Chocobozzz
ac81d1a06d
Add ability to set video thumbnail/preview
2018-02-14 16:03:09 +01:00
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
915c5bbe53
Add version in footer
2018-01-31 10:19:34 +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
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
1569a81894
Basic api documentation #7 ( #220 )
...
* Basic api documentation
* fix styling issue
* fix styling issue
* gitignore unecessary folders
* openApi 2.0 first draft
* solved conflicts
* solved errors in openapi file
* added missing doc on video + deleted apidoc comments
* fix last warnings and errors inopenapi definition
2018-01-24 10:44:52 +01:00
Chocobozzz
f8b8c36b2a
Destroy user token when changing its role
2018-01-23 09:49:57 +01:00
Chocobozzz
f05a1c30c1
Don't show videos of remote instance after unfollow
2018-01-18 15:42:20 +01:00
Chocobozzz
1174a8479a
Set sort refractoring
2018-01-18 15:42:20 +01:00
Chocobozzz
fd206f0b2d
Add ability to update some configuration keys
2018-01-17 10:41:27 +01:00
Chocobozzz
7bc2917145
Add tests to handle down server
2018-01-11 11:47:44 +01:00
Chocobozzz
ce5496d6a3
Support video quota on client
2018-01-08 12:53:09 +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
bb82394c0d
Fix avatar update
2018-01-04 14:53:25 +01:00
Chocobozzz
a5625b4167
Refresh remote accounts
2018-01-04 14:04:02 +01:00
Chocobozzz
4cb6d45788
Add ability to delete comments
2018-01-04 11:19:16 +01:00
Chocobozzz
265ba139eb
Send account activitypub update events
2018-01-03 16:38:50 +01:00
Chocobozzz
4e8c872874
Circle avatar
2018-01-03 11:54:42 +01:00
Chocobozzz
e8e122002d
Automatically resize avatars
2018-01-03 11:36:03 +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
da854ddd50
Propagate old comment on new follow
2017-12-28 11:16:08 +01:00
Chocobozzz
4635f59d7c
Add video comment components
2017-12-27 16:11:53 +01:00
Chocobozzz
ea44f375f5
Send video comment comments to followers/origin
2017-12-27 10:39:31 +01:00
Chocobozzz
d3ea897591
Begin unit tests
2017-12-22 12:12:33 +01:00
Chocobozzz
bf1f650817
Add comments controller
2017-12-22 11:29:12 +01:00
Chocobozzz
6d85247028
Create comment on replied mastodon statutes
2017-12-22 09:14:50 +01:00
Chocobozzz
225a89c2af
Sanitize url to not end with implicit ports
2017-12-21 09:56:59 +01:00
Chocobozzz
ce33ee01cd
Use RsaSignature2017
2017-12-19 10:53:16 +01:00
Chocobozzz
a7d647c440
Add dirty migration :/
2017-12-19 10:53:16 +01:00
Chocobozzz
50d6de9c28
Begin moving video channel to actor
2017-12-19 10:53:16 +01:00
Chocobozzz
fadf619ad6
Save
2017-12-19 10:51:09 +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
3fd3ab2d34
Move models to typescript-sequelize
2017-12-13 16:50:33 +01:00
Chocobozzz
f595d39477
Finish admin design
2017-12-08 17:31:21 +01:00
Chocobozzz
e11f68a356
Optimise transaction for video upload
2017-12-08 10:08:36 +01:00
Chocobozzz
cadb46d832
Design second video upload step
2017-12-08 09:57:29 +01:00
Chocobozzz
f3aaa9a95c
Fix client search
2017-12-05 18:25:29 +01:00
Chocobozzz
25ed141c7c
Put activity pub sends inside transactions
2017-11-30 11:31:15 +01:00
Chocobozzz
5cd8054542
Add ability to list jobs
2017-11-30 10:55:06 +01:00
Chocobozzz
1f3e9feca2
Better view counter
2017-11-30 09:21:11 +01:00
Chocobozzz
86d13ec2aa
Users list only available when use is authenticated
...
And has a special right
2017-11-29 13:18:05 +01:00
Chocobozzz
a2431b7dcb
Refractor validators
2017-11-27 19:43:01 +01:00
Chocobozzz
0032ebe94a
Federate likes/dislikes
2017-11-27 19:40:53 +01:00
Chocobozzz
40ff57078e
Federate video views
2017-11-27 19:40:53 +01:00
Chocobozzz
c46edbc2f6
Fetch outbox to grab old activities tests
2017-11-27 19:40:53 +01:00
Chocobozzz
c986175d68
Fetch outbox to grab old activities
2017-11-27 19:40:53 +01:00
Chocobozzz
0f91ae62df
Add follow tests
2017-11-27 19:40:52 +01:00
Chocobozzz
892211e849
Move activitypub functions from helpers/ to lib/
2017-11-27 19:40:52 +01:00
Chocobozzz
5414139835
Refractor activity pub lib/helpers
2017-11-27 19:40:52 +01:00
Chocobozzz
572f8d3dba
Fix public video we set to public or unlisted
2017-11-27 19:40:52 +01:00
Chocobozzz
9a27cdc27c
Optimize signature verification
2017-11-27 19:40:52 +01:00
Chocobozzz
47e0652b4a
Optimize account creation
2017-11-27 19:40:52 +01:00
Chocobozzz
4610bc5b12
ApplicationFollow -> SeverFollow
2017-11-27 19:40:52 +01:00
Chocobozzz
21e0727a84
Federate video abuses
2017-11-27 19:40:52 +01:00
Chocobozzz
20494f1221
Server shares user videos
2017-11-27 19:40:52 +01:00
Chocobozzz
efc32059d9
Send server announce when users upload a video
2017-11-27 19:40:52 +01:00
Chocobozzz
8e10cf1a5a
Fix video upload and videos list
2017-11-27 19:40:52 +01:00
Chocobozzz
8e13fa7d09
Add video abuse to activity pub
2017-11-27 19:40:52 +01:00
Chocobozzz
6086242524
Rename Pod -> Server
2017-11-27 19:40:51 +01:00
Chocobozzz
51548b3181
Add follow tabs
...
Following
Follow
Followers
2017-11-27 19:40:51 +01:00
Chocobozzz
350e31d6b6
Follow works
2017-11-27 19:40:51 +01:00
Chocobozzz
8e69648749
Add MANAGE_PEERTUBE_FOLLOW right
2017-11-27 19:40:51 +01:00
Chocobozzz
ce548a10db
Send follow/accept
2017-11-27 19:40:51 +01:00
Chocobozzz
7a7724e66e
Handle follow/accept
2017-11-27 19:40:51 +01:00
Chocobozzz
571389d43b
Make it compile at least
2017-11-27 19:40:51 +01:00
Chocobozzz
38fa206583
Remove references to author
2017-11-27 19:40:51 +01:00
Chocobozzz
0d0e8dd090
Continue activitypub
2017-11-27 19:40:51 +01:00
Chocobozzz
e4f97babf7
Begin activitypub
2017-11-27 19:40:51 +01:00
Chocobozzz
53abc4c272
Upgrade server packages
2017-10-31 16:31:24 +01:00
Chocobozzz
11474c3cd9
Add tests and fix bugs for video privacy
2017-10-31 15:32:10 +01:00
Chocobozzz
fd45e8f43c
Add video privacy setting
2017-10-31 11:53:13 +01:00
Chocobozzz
9567011bf0
Add lazy description on server
2017-10-30 10:16:27 +01:00
Chocobozzz
954605a804
Support roles with rights and add moderator role
2017-10-27 16:55:03 +02:00
Chocobozzz
a041b17147
Reset video fields when remote update fails
2017-10-26 11:26:35 +02:00
Chocobozzz
faab3a8453
Add migration script for channels
2017-10-26 09:11:38 +02:00
Chocobozzz
d412e80e5f
Fix lint
2017-10-26 09:11:38 +02:00
Chocobozzz
eb08047657
Use async/await in controllers
2017-10-26 09:11:38 +02:00
Chocobozzz
72c7248b6f
Add video channels
2017-10-26 09:11:38 +02:00
Chocobozzz
6a84aafd23
Take in account transcoding for video quota
2017-10-19 17:35:41 +02:00
Chocobozzz
bda65bdc9f
Fix pod removal when it is down
2017-10-19 10:43:54 +02:00
Chocobozzz
8a02bd0433
Add pod list endpoint with pagination, sort...
2017-10-19 09:43:01 +02:00
Chocobozzz
35bf0c83c8
Video blacklist refractoring
2017-10-10 10:18:16 +02:00
Chocobozzz
14d3270f36
Change how we handle resolution
...
It was an enum before, now we just use video height
2017-10-09 11:17:36 +02:00
Chocobozzz
40298b0254
Implement video transcoding on server side
2017-10-03 15:31:26 +02:00
Green-Star
792dbaf07f
Handle blacklist ( #84 )
...
* Client: Add list blacklist feature
* Server: Add list blacklist feature
* Client: Add videoId column
* Server: Add some video infos in the REST api
* Client: Add video information in the blacklist list
* Fix sortable columns :)
* Client: Add removeFromBlacklist feature
* Server: Add removeFromBlacklist feature
* Move to TypeScript
* Move to TypeScript and Promises
* Server: Fix blacklist list sort
* Server: Fetch videos informations
* Use common shared interface for client and server
* Add check-params remove blacklisted video tests
* Add check-params list blacklisted videos tests
* Add list blacklist tests
* Add remove from blacklist tests
* Add video blacklist management tests
* Fix rebase onto develop issues
* Server: Add sort on blacklist id column
* Server: Add blacklists library
* Add blacklist id sort test
* Add check-params tests for blacklist list pagination, count and sort
* Fix coding style
* Increase Remote API tests timeout
* Increase Request scheduler API tests timeout
* Fix typo
* Increase video transcoding API tests timeout
* Move tests to Typescript
* Use lodash orderBy method
* Fix typos
* Client: Remove optional tests in blacklist model attributes
* Move blacklist routes from 'blacklists' to 'blacklist'
* CLient: Remove blacklist-list.component.scss
* Rename 'blacklists' files to 'blacklist'
* Use only BlacklistedVideo interface
* Server: Use getFormattedObjects method in listBlacklist method
* Client: Use new coding style
* Server: Use new sort validator methods
* Server: Use new checkParams methods
* Client: Fix sortable columns
2017-09-22 09:13:43 +02:00
Chocobozzz
91f6f169b1
Fix concurrency error when deleting a video
2017-09-12 14:17:46 +02:00
Chocobozzz
6d33593a08
Improve real world script
2017-09-12 13:12:35 +02:00
Chocobozzz
096641566f
Convert real world script to typescript
2017-09-08 17:11:32 +02:00
Chocobozzz
e95561cdf1
Upload a video to /videos/upload
...
This is an action, not a REST endpoint
2017-09-07 21:46:44 +02:00
Chocobozzz
aa2e7f1501
urls: makefriends/quitfriends -> make-friends/quit-friends
2017-09-07 21:22:17 +02:00
Chocobozzz
77a5501f64
Fix tests and user quota
2017-09-06 17:28:20 +02:00
Chocobozzz
8094a89802
Add user update for admins
2017-09-05 21:29:39 +02:00
Chocobozzz
980246ea8f
Make tslint happy
2017-09-04 21:45:05 +02:00
Chocobozzz
b0f9f39ed7
Begin user quota
2017-09-04 20:07:54 +02:00
Chocobozzz
556ddc3192
Upgrade common server dependencies
2017-08-25 18:36:49 +02:00
Chocobozzz
0aef76c479
Formated -> Formatted
2017-08-25 11:45:31 +02:00
Chocobozzz
93e1258c7c
Move video file metadata in their own table
...
Will be used for user video quotas and multiple video resolutions
2017-08-25 11:36:23 +02:00
Green-Star
d5f5a670fc
Remove one pod ( #76 )
...
* Client: Fix typo
* Client: Add removeFriend feature
* Server: Add removeFriend feature
* Server: Update method name
* Fix rebase onto develop issues
* Server: Fix error message
* Server: Remove useless methods in removeFriend method
* Server: Finish remove on pod feature after rebase
* Server: Type pod parameter
* Fix Travis build
* Add friend-basic test for the remove one pod feature
* Add check-params tests for the remove one pod feature
* Fix typos
* Add friend-advanced test for the remove one pod feature
* Client: Trailing new line
* Move to promises
* Add undefined id test
* Use find method instead of a for loop to find the friend to remove
* Remove setTimeout method
* Server: Remove requestScheduler operations
* Server: Fix logging messages
* Server: Remove sign request parameter
2017-08-02 21:50:42 +02:00
Chocobozzz
291e8d3eed
Add ability to limit user registrations
2017-07-25 20:17:28 +02:00
Chocobozzz
075f16caac
Remove "function" in favor of () => {}
2017-07-11 17:05:55 +02:00
Chocobozzz
0a6658fdcb
Use global uuid instead of remoteId for videos
2017-07-11 16:01:56 +02:00
Chocobozzz
e6d4b0ff24
Remove any typing from server
2017-07-11 10:59:13 +02:00
Chocobozzz
4771e0008d
Better typescript typing for a better world
2017-07-10 19:43:21 +02:00
Chocobozzz
ad0997adfb
Fix error logging
2017-07-07 18:26:12 +02:00
Chocobozzz
709756b8e1
Async signature and various fixes
2017-07-07 18:23:18 +02:00
Chocobozzz
6fcd19ba73
Move to promises
...
Closes https://github.com/Chocobozzz/PeerTube/issues/74
2017-07-05 14:14:16 +02:00
Chocobozzz
ba44fa1953
Move ensureRegistrationEnabled to middlewares
2017-06-25 17:48:51 +02:00
Chocobozzz
0a381679e0
ClientLocal -> OAuthClientLocal
2017-06-25 17:44:19 +02:00
Chocobozzz
e636eb8810
Requests -> RequestSchedulers
2017-06-25 17:19:46 +02:00
Chocobozzz
154898b0b7
Share models between server and client
2017-06-17 11:28:11 +02:00
Chocobozzz
ee9e7b61f5
Create types for model enums
2017-06-16 10:36:18 +02:00
Chocobozzz
15a302943d
BaseRequestScheduler -> AbstractRequestScheduler
2017-06-16 09:14:41 +02:00
Chocobozzz
c3d19a4907
Fix video update test
2017-06-12 21:37:56 +02:00
Chocobozzz
1840c2f7c9
Update webpack stack
2017-06-11 15:19:43 +02:00
Chocobozzz
69818c9394
Type functions
2017-06-10 22:15:25 +02:00
Chocobozzz
4d4e5cd4dc
require -> import
2017-06-05 21:53:49 +02:00
Chocobozzz
e02643f32e
Type models
2017-05-25 17:32:16 +02:00
Chocobozzz
65fcc3119c
First typescript iteration
2017-05-20 09:57:40 +02:00
Chocobozzz
d33242b047
Server: split videos controller
2017-05-05 16:53:35 +02:00
Chocobozzz
c24ac1c18e
Fix unset video language on video update
2017-05-05 14:29:58 +02:00
Chocobozzz
62326afb15
Server: Fix video propagation with transcoding enabled
2017-05-05 12:15:16 +02:00
Chocobozzz
ab683a8e0d
Format video blacklist
2017-04-26 21:42:36 +02:00
Green-Star
198b205c10
Add ability for an administrator to remove any video ( #61 )
...
* Add ability for an admin to remove every video on the pod.
* Server: add BlacklistedVideos relation.
* Server: Insert in BlacklistedVideos relation upon deletion of a video.
* Server: Modify BlacklistedVideos schema to add Pod id information.
* Server: Moving insertion of a blacklisted video from the `afterDestroy` hook into the process of deletion of a video.
To avoid inserting a video when it is removed on its origin pod.
When a video is removed on its origin pod, the `afterDestroy` hook is fire, but no request is made on the delete('/:videoId') interface.
Hence, we insert into `BlacklistedVideos` only on request on delete('/:videoId') (if requirements for insertion are met).
* Server: Add removeVideoFromBlacklist hook on deletion of a video.
We are going to proceed in another way :).
We will add a new route : /:videoId/blacklist to blacklist a video.
We do not blacklist a video upon its deletion now (to distinguish a video blacklist from a regular video delete)
When we blacklist a video, the video remains in the DB, so we don't have any concern about its update. It just doesn't appear in the video list.
When we remove a video, we then have to remove it from the blacklist too.
We could also remove a video from the blacklist to 'unremove' it and make it appear again in the video list (will be another feature).
* Server: Add handler for new route post(/:videoId/blacklist)
* Client: Add isBlacklistable method
* Client: Update isRemovableBy method.
* Client: Move 'Delete video' feature from the video-list to the video-watch module.
* Server: Exclude blacklisted videos from the video list
* Server: Use findAll() in BlacklistedVideos.list() method
* Server: Fix addVideoToBlacklist function.
* Client: Add blacklist feature.
* Server: Use JavaScript Standard Style.
* Server: In checkUserCanDeleteVideo, move the callback call inside the db callback function
* Server: Modify BlacklistVideo relation
* Server: Modifiy Videos methods.
* Server: Add checkVideoIsBlacklistable method
* Server: Rewrite addVideoToBlacklist method
* Server: Fix checkVideoIsBlacklistable method
* Server: Add return to addVideoToBlacklist method
2017-04-26 21:22:10 +02:00
Chocobozzz
2c2e909216
Server: add ability to register new user
2017-04-09 12:08:36 +02:00
Chocobozzz
3092476e64
Server: add video language attribute
2017-04-07 12:13:37 +02:00
Chocobozzz
1d49e1e27d
Server: Add NSFW in user profile
2017-04-03 21:24:36 +02:00
Chocobozzz
31b59b4774
Server: add nsfw attribute
2017-03-28 21:19:46 +02:00
Chocobozzz
6f0c39e2de
Server: add licence video attribute
2017-03-27 20:53:11 +02:00
Chocobozzz
6e07c3de88
Add video category support
2017-03-22 21:25:24 +01:00
Chocobozzz
34831b4843
Server: move pod remove to remote path
2017-03-19 18:56:10 +01:00
Chocobozzz
f148e5edb6
Better real world test
2017-03-19 09:16:33 +01:00
Chocobozzz
e22528aca6
Server: add config endpoint
2017-03-10 11:32:39 +01:00
Chocobozzz
d38b828106
Add like/dislike system for videos
2017-03-08 21:35:43 +01:00
Chocobozzz
e3d156b341
Server: add views attribute when sending videos to friends
2017-03-04 11:00:59 +01:00
Chocobozzz
72329aaa28
Update bittorrent-tracker and standard to v9
2017-03-03 18:45:40 +01:00
Chocobozzz
99fdec4648
Fix request schedulers stats
2017-02-27 21:56:55 +01:00
Chocobozzz
e4c87ec269
Server: implement video views
2017-02-26 20:01:26 +01:00
Chocobozzz
9e167724f7
Server: make a basic "quick and dirty update" for videos
...
This system will be useful to to update some int video attributes
(likes, dislikes, views...)
The classic system is not used because we need some optimization for
scaling
2017-02-26 20:01:26 +01:00
Chocobozzz
ad4a8a1cca
Add email to users
2017-02-18 09:29:59 +01:00
Chocobozzz
4793c343fd
Add email to pods
2017-02-16 19:19:56 +01:00
Chocobozzz
cddadde81f
Server: assert remoteId and host pair is unique
2017-01-27 12:14:53 +01:00
Chocobozzz
b09ce6455f
Server: error if we add a pod that already exists
2017-01-27 11:55:31 +01:00
Chocobozzz
872a4c7cea
Adapt requests controller/front to new informations
2017-01-19 22:38:34 +01:00
Chocobozzz
15103f11ec
Server: paths refractoring
2017-01-17 21:42:47 +01:00
Chocobozzz
da691c46df
Server: remote video validators refractoring
2017-01-17 20:59:16 +01:00
Chocobozzz
62f4ef413c
Server: remote request process refractoring
2017-01-17 20:50:45 +01:00
Chocobozzz
4145c1c689
Server: transaction refractoring
2017-01-17 20:50:45 +01:00
Chocobozzz
fbc22d7936
Server: fix update remote video
2017-01-15 22:22:41 +01:00
Chocobozzz
4df023f2d4
Server: create transaction refractoring
2017-01-15 19:53:11 +01:00
Chocobozzz
d6a5b018b8
Server: retryer transaction wrapper refractoring
2017-01-15 19:13:16 +01:00
Chocobozzz
7f4e7c3637
Server: fix update remote video infohash
2017-01-12 09:47:21 +01:00
Chocobozzz
edc5e86006
Server: transaction serializable for videos
2017-01-11 18:41:40 +01:00
Chocobozzz
d8cc063e97
Server: do not break remote videos processing on error
2017-01-11 18:06:51 +01:00
Chocobozzz
dea32aacde
Server: always check commit result
2017-01-11 16:22:50 +01:00
Chocobozzz
bf4ff8fe0b
Server: retry video abuse requests too
2017-01-10 22:33:00 +01:00
Chocobozzz
ed04d94f6d
Server: try to have a better video integrity
2017-01-06 23:46:36 +01:00
Chocobozzz
55fa55a9be
Server: add video abuse support
2017-01-04 21:05:13 +01:00
Chocobozzz
a6fd2b30bf
Server: move remote routes in their own directory
2016-12-30 12:53:41 +01:00
Chocobozzz
efe923bcda
Server: split check params tests
2016-12-30 12:23:53 +01:00
Chocobozzz
818f7987eb
Server: optimization for videoGet and videoRemove
2016-12-30 11:51:08 +01:00
Chocobozzz
79066fdf33
Server: add updatedAt attribute to videos
2016-12-30 11:45:00 +01:00
Chocobozzz
3d118fb501
Server: propagate video update to other pods
2016-12-30 11:27:42 +01:00
Chocobozzz
7b1f49de22
Server: add ability to update a video
2016-12-29 19:07:05 +01:00
Chocobozzz
4ff0d86208
Server: little refractoring
2016-12-29 18:02:03 +01:00
Chocobozzz
4d32448895
Server: use binary data instead of base64 to send thumbnails
2016-12-29 12:13:19 +01:00
Chocobozzz
98ac898a03
Server: use video hook to send information to other pods when a video is
...
deleted
2016-12-29 11:17:11 +01:00
Chocobozzz
4712081f2a
Server: add association between author and user
2016-12-29 10:56:07 +01:00
Chocobozzz
124648d7fc
Server: add createdAt from remote video in database
2016-12-25 12:06:08 +01:00
Chocobozzz
7920c273a2
Move tags in another table
2016-12-24 16:59:17 +01:00
Chocobozzz
3897209f46
Server: rename Pods -> Pod
2016-12-19 21:50:20 +01:00
Chocobozzz
feb4bdfd9b
First version with PostgreSQL
2016-12-19 21:22:28 +01:00
Chocobozzz
38d78e5b82
Server: remove encryption when seending requests to other pods
...
We don't need it anymore since HTTPS is mandatory now
2016-11-27 18:25:35 +01:00
Chocobozzz
437cf8b531
Server: set manually the post host of a remote video throught the
...
signature
2016-11-27 11:09:05 +01:00
Chocobozzz
a078c1556f
Server: fix logs when adding a remote video
2016-11-22 22:41:50 +01:00
Chocobozzz
c77fa067a1
Server: fix thumbnail in remote videos
2016-11-16 21:16:41 +01:00
Chocobozzz
49abbbbedc
Pod URL -> pod host. HTTPS is required to make friends.
...
Reason: in a network with mix http/https pods, https pods won't be able
to play videos from http pod (insecure requests).
2016-11-16 20:29:26 +01:00
Chocobozzz
f285faa04e
Server: generate magnet uri on the fly
2016-11-16 20:29:26 +01:00
Chocobozzz
558d7c2385
Server: use _id for image and video files. Add remoteId field
2016-11-16 20:29:26 +01:00
Chocobozzz
b1233aa856
Server: add log messages if the server refuses to serve local clients tokens
2016-11-01 19:14:33 +01:00
Chocobozzz
3737bbafb1
Server: host -> hostname (host = hostname + port)
2016-10-26 20:28:34 +02:00
Chocobozzz
f253b1c1f1
Server: remove v1 directory, we don't really need it
2016-10-21 12:16:28 +02:00
Chocobozzz
b3d9251015
Server: Uploads -> Videos
2016-10-21 11:33:31 +02:00
Chocobozzz
80a6c9e76f
Server: pod removing refractoring
2016-10-21 11:20:45 +02:00
Chocobozzz
792b893ed4
Server: add npm run check to check CORS, bittorrent tracker...
2016-10-21 11:20:14 +02:00
Chocobozzz
82221ac920
Update clean script
2016-10-13 21:45:23 +02:00
Chocobozzz
32e574750a
Add "max requests number" information for requests iterations
2016-10-01 15:45:15 +02:00
Chocobozzz
5abeec313f
Server: fix remaining milli seconds before the next requests feature
2016-10-01 15:33:27 +02:00
Chocobozzz
1ab844d859
Server: add port when making friends if it is not specified
2016-10-01 14:23:50 +02:00
Chocobozzz
0eb78d5303
Server: do not forget to check the signature when another pod wants to
...
quit us
2016-10-01 09:09:07 +02:00
Chocobozzz
eb4f957eca
Client: add requests stats page
2016-09-23 17:09:38 +02:00
Chocobozzz
d3cd34be2f
Server: add requests stats endpoint
2016-09-19 21:33:46 +02:00
Chocobozzz
535724234a
Server: add pod created date and score to the list controller
2016-08-26 18:55:10 +02:00
Chocobozzz
9ab1071c8d
Do not wait the make friends process ends to send a response to the
...
request
2016-08-23 14:48:59 +02:00
Chocobozzz
1e2564d392
Server: make friends urls come from the request instead of the
...
configuration file
2016-08-20 17:11:38 +02:00
Chocobozzz
e861452fb2
Server: put config in constants
2016-08-19 21:34:51 +02:00
Chocobozzz
5c39adb731
Server: add user list sort/pagination
2016-08-16 22:31:45 +02:00
Chocobozzz
0ff21c1c08
Server: video.list -> video.listForApi (with pagination, sort...)
2016-08-16 21:51:04 +02:00
Chocobozzz
68a3b9f2aa
Server: delete user with the id and not the username
2016-08-09 21:44:45 +02:00
Chocobozzz
10431358b2
Server: fix status code when updating/removing a user
2016-08-05 18:08:55 +02:00
Chocobozzz
99a64bfed2
Server: allow user to get its informations (/users/me)
2016-08-05 17:19:08 +02:00
Chocobozzz
6606150c49
Server: move clients in its own file
2016-08-05 16:09:39 +02:00
Chocobozzz
9bd2662976
Implement user API (create, update, remove, list)
2016-08-04 22:33:38 +02:00
Chocobozzz
2f372a8654
Server: implement refresh token
2016-07-20 16:23:58 +02:00
Chocobozzz
f9f5478ca0
Server: Don't make the host url check for client credentials if this is a test instance
2016-07-19 16:44:15 +02:00
Chocobozzz
1a42c9e2c0
Server: udpate async to 2.0.0
2016-07-18 17:17:52 +02:00
Chocobozzz
6666aad459
Fix requests ordering between pods
2016-07-05 21:36:01 +02:00
Chocobozzz
fc51fde048
reqValidators --> validators
2016-07-01 16:16:40 +02:00
Chocobozzz
69b0a27cbb
OAuth/User models refractoring -> use mongoose api
2016-07-01 16:03:53 +02:00
Chocobozzz
a3ee6fa22d
Pod model refractoring -> use mongoose api
2016-06-30 22:39:08 +02:00
Chocobozzz
5189d08aac
Video model: namePath -> filename
2016-06-28 20:19:41 +02:00
Chocobozzz
aaf61f3810
Video model refractoring -> use mongoose api
2016-06-24 17:42:51 +02:00
Chocobozzz
528a9efa82
Try to make a better communication (between pods) module
2016-06-18 16:13:54 +02:00
Chocobozzz
be587647f9
Add tags support to server
2016-06-06 14:15:03 +02:00
Chocobozzz
46246b5f19
Extends the search feature by customizing the search field (name,
...
podUrl...)
2016-05-22 09:15:00 +02:00
Chocobozzz
68ce3ae021
Add total results field and wrap videos in data field when listing
...
videos
2016-05-21 19:30:22 +02:00
Chocobozzz
9e379c835c
Don't send the "http(s)" for the podUrl
2016-05-21 15:05:29 +02:00
Chocobozzz
6e56eb63ac
Return with callback with an error
2016-05-19 20:28:17 +02:00
Chocobozzz
a877d5acc5
Add ability to sort videos list
2016-05-17 21:03:00 +02:00
Chocobozzz
67100f1f97
Add a check for the duration of videos
2016-05-16 19:49:10 +02:00
Chocobozzz
1cad0f395f
Use async waterfall in pods controller for better readability
2016-05-13 21:34:36 +02:00
Chocobozzz
807df9e668
Use async waterfall in videos controller for better readability
2016-05-13 21:14:14 +02:00
Chocobozzz
57a56079fe
getVideoThumbnail -> createVideoThumbnail
2016-05-13 20:45:53 +02:00
Chocobozzz
bb10240ee1
Add createdDate to videos
2016-05-13 20:42:11 +02:00
Chocobozzz
fbf1134e3e
Introduce paginations in videos listing
2016-05-13 18:10:46 +02:00
Chocobozzz
b3b9264742
Authenticate before make/quit friends (server + tests)
2016-05-13 16:31:14 +02:00
Chocobozzz
5dda52c924
Remove the cache middleware
2016-05-13 16:13:00 +02:00
Chocobozzz
bc503c2a62
Update to standard 7. Goodbye snake_case, I used to love you
2016-05-13 14:23:11 +02:00
Chocobozzz
36d560246f
thumbnail_path -> thumbnailPath
2016-05-10 22:24:04 +02:00
Chocobozzz
cbe2f7c348
Refractoring and add thumbnails support (without tests)
2016-05-10 21:19:24 +02:00
Chocobozzz
0ae6a09d40
Move video duration logic in lib/
2016-05-06 14:44:09 +02:00
Chocobozzz
3a8a8b5122
Video duration support (server)
2016-05-03 22:41:46 +02:00
Chocobozzz
23a5a916db
Make angular client load dynamically the generated client id/secret
2016-04-27 22:11:48 +02:00
Chocobozzz
35f1c54e32
Fix lodash map require
2016-04-26 21:56:46 +02:00
Chocobozzz
0c1cbbfe29
Add authentications for routes that need it and adapts the tests
2016-04-14 22:06:11 +02:00
Chocobozzz
9457bf8807
OAuth server: first draft
2016-03-21 11:56:33 +01:00
Chocobozzz
8c9c1942f6
Change name of fields for add video api
2016-03-18 16:44:54 +01:00
Chocobozzz
a4c1575197
Use map instead of pluck (lodash)
2016-03-18 16:34:50 +01:00
Chocobozzz
2df82d42cb
Change api output for videos
2016-03-18 16:28:09 +01:00
Chocobozzz
f0f5567b69
Use const/let now we use node 4.2
2016-03-16 22:29:27 +01:00
Chocobozzz
98b01bac2c
Angular 2 : draft 2
2016-03-14 22:16:43 +01:00
Chocobozzz
dc8bc31be5
Angular application :first draft
2016-03-14 13:50:19 +01:00
Chocobozzz
3d446a26ad
Fix tests
2016-03-07 18:53:03 +01:00
Chocobozzz
b9a3e09ad5
Prepare folders structure for angular app
2016-03-07 11:33:59 +01:00