Chocobozzz
0cbcaccb83
Increase test timeouts
2022-09-12 08:29:01 +02:00
Chocobozzz
e5a781ec25
Bypass rate limits for admins and moderators
2022-05-30 11:39:44 +02:00
Chocobozzz
b211106695
Support video views/viewers stats in server
...
* Add "currentTime" and "event" body params to view endpoint
* Merge watching and view endpoints
* Introduce WatchAction AP activity
* Add tables to store viewer information of local videos
* Add endpoints to fetch video views/viewers stats of local videos
* Refactor views/viewers handlers
* Support "views" and "viewers" counters for both VOD and live videos
2022-04-15 09:49:35 +02:00
Chocobozzz
c55e3d7227
Move test functions outside extra-utils
2021-12-17 12:24:03 +01:00
Chocobozzz
bf54587a3e
shared/ typescript types dir server-commands
2021-12-17 09:29:23 +01:00
Chocobozzz
4c7e60bc17
Reorganize imports
2021-07-20 15:27:19 +02:00
Chocobozzz
c0e8b12e7f
Refactor requests
2021-07-20 15:27:18 +02:00
Chocobozzz
254d3579f5
Use an object to represent a server
2021-07-20 15:27:18 +02:00
Chocobozzz
89d241a79c
Shorter server command names
2021-07-20 15:27:18 +02:00
Chocobozzz
d23dd9fbfc
Introduce videos command
2021-07-20 15:27:18 +02:00
Chocobozzz
7926c5f9b3
Introduce user command
2021-07-20 15:27:18 +02:00
Chocobozzz
41d1d07501
Introduce login command
2021-07-20 15:27:18 +02:00
Rigel Kent
f2eb23cd87
emit more specific status codes on video upload ( #3423 )
...
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz
a15871560f
Move to eslint
2020-02-03 08:31:02 +01:00
Chocobozzz
2fa9c40e20
Fix tests
2019-11-27 10:29:27 +01:00
Chocobozzz
c1e5bd23d5
Try to fix tests
2019-09-24 10:19:55 +02:00
Chocobozzz
c1340a6ac3
Add rate limit to registration and API endpoints
2019-07-04 16:42:40 +02:00
Chocobozzz
7c3b79768b
Use test wrapper exit function
2019-04-24 16:26:25 +02:00
Chocobozzz
210feb6cc4
Cleanup tests
2019-04-24 16:26:23 +02:00
Chocobozzz
94565d52bb
Shared utils -> extra-utils
...
Because they need dev dependencies
2019-04-24 16:25:52 +02:00
Chocobozzz
e79d0ba56c
Fix reverse proxy test
2019-02-11 11:01:50 +01:00
buoyantair
9639bd1757
Move utils to /shared
...
Move utils used by /server/tools/* & /server/tests/**/* into
/shared folder.
Issue: #1336
2018-10-29 22:18:31 +05:30
Chocobozzz
6b6168606b
Bufferize videos views in redis
2018-08-30 15:03:18 +02:00
Chocobozzz
3cd0734fd9
Improve tests when waiting pending jobs
2018-06-13 10:22:53 +02:00
Chocobozzz
09becad8e8
Add reverse proxy test in travis
2018-03-29 11:39:53 +02:00
Chocobozzz
490b595a01
Prevent brute force login attack
2018-03-29 11:03:30 +02:00