aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/installer.ts
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup models directory organizationChocobozzz2021-05-111-1/+1
|
* Resumable video uploads (#3933)kontrollanten2021-05-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: resumable video uploads relates to #324 * fix review comments * video upload: error handling * fix audio upload * fixes after self review * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/middlewares/validators/videos/videos.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * update after code review * refactor upload route - restore multipart upload route - move resumable to dedicated upload-resumable route - move checks to middleware - do not leak internal fs structure in response * fix yarn.lock upon rebase * factorize addVideo for reuse in both endpoints * add resumable upload API to openapi spec * add initial test and test helper for resumable upload * typings for videoAddResumable middleware * avoid including aws and google packages via node-uploadx, by only including uploadx/core * rename ex-isAudioBg to more explicit name mentioning it is a preview file for audio * add video-upload-tmp-folder-cleaner job * stronger typing of video upload middleware * reduce dependency to @uploadx/core * add audio upload test * refactor resumable uploads cleanup from job to scheduler * refactor resumable uploads scheduler to compare to last execution time * make resumable upload validator to always cleanup on failure * move legacy upload request building outside of uploadVideo test helper * filter upload-resumable middlewares down to POST, PUT, DELETE also begin to type metadata * merge add duration functions * stronger typings and documentation for uploadx behaviour, move init validator up * refactor(client/video-edit): options > uploadxOptions * refactor(client/video-edit): remove obsolete else * scheduler/remove-dangling-resum: rename tag * refactor(server/video): add UploadVideoFiles type * refactor(mw/validators): restructure eslint disable * refactor(mw/validators/videos): rename import * refactor(client/vid-upload): rename html elem id * refactor(sched/remove-dangl): move fn to method * refactor(mw/async): add method typing * refactor(mw/vali/video): double quote > single * refactor(server/upload-resum): express use > all * proper http methud enum server/middlewares/async.ts * properly type http methods * factorize common video upload validation steps * add check for maximum partially uploaded file size * fix audioBg use * fix extname(filename) in addVideo * document parameters for uploadx's resumable protocol * clear META files in scheduler * last audio refactor before cramming preview in the initial POST form data * refactor as mulitpart/form-data initial post request this allows preview/thumbnail uploads alongside the initial request, and cleans up the upload form * Add more tests for resumable uploads * Refactor remove dangling resumable uploads * Prepare changelog * Add more resumable upload tests * Remove user quota check for resumable uploads * Fix upload error handler * Update nginx template for upload-resumable * Cleanup comment * Remove unused express methods * Prefer to use got instead of raw http * Don't retry on error 500 Co-authored-by: Rigel Kent <par@rigelk.eu> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu> Co-authored-by: Chocobozzz <me@florianbigard.com>
* Improve registrationChocobozzz2019-06-071-1/+1
| | | | | | | * Add ability to set the user display name * Use display name to guess the username/channel name * Add explanations about what is the purpose of a username/channel name * Add a loader at the "done" step
* Add ability to specify channel on registrationChocobozzz2019-05-281-1/+1
|
* Add way to set root password by environment.Axel Viala2019-05-161-0/+2
| | | | | Add a condition test to pass by environment a predetermined root password for setting up.
* Move config in its own fileChocobozzz2019-04-111-2/+3
|
* Limit user tokens cacheChocobozzz2019-03-191-5/+5
|
* Cleanup tmp directory at startupChocobozzz2019-03-191-2/+4
|
* Rename streaming playlists routes/directoriesChocobozzz2019-03-181-2/+2
|
* Add playlist rest testsChocobozzz2019-03-181-2/+2
|
* Add hls support on serverChocobozzz2019-02-111-1/+4
|
* Speedup peertube startupChocobozzz2018-11-191-6/+15
|
* Improve redundancy: add 'min_lifetime' configurationChocobozzz2018-09-241-1/+1
|
* add user account email verificiation (#977)Josh Morel2018-08-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Implement daily upload limit (#956)Felix Ableitner2018-08-281-1/+2
| | | | | | | | | | | | | | | | | | | | * 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
* Correctly migrate to fs-extraChocobozzz2018-08-271-5/+5
|
* expliciting type checks and predicates (server only)Rigel Kent2018-07-251-1/+1
|
* Handle .srt subtitlesChocobozzz2018-07-161-2/+4
|
* Add ability to choose what policy we have for NSFW videosChocobozzz2018-04-191-0/+1
| | | | There is a global instance setting and a per user setting
* Upgrade changelogChocobozzz2018-03-291-2/+0
|
* Prevent brute force login attackChocobozzz2018-03-291-1/+1
|
* Fix error loggingChocobozzz2018-03-261-1/+1
|
* Fetch remote AP objectsChocobozzz2018-01-101-1/+1
|
* Propagate old comment on new followChocobozzz2017-12-281-1/+2
|
* Begin moving video channel to actorChocobozzz2017-12-191-10/+7
|
* Move models to typescript-sequelizeChocobozzz2017-12-131-12/+13
|
* Generate application keys tooChocobozzz2017-11-271-1/+8
|
* Optimize account creationChocobozzz2017-11-271-3/+3
|
* Send server announce when users upload a videoChocobozzz2017-11-271-1/+1
|
* Follow worksChocobozzz2017-11-271-3/+7
|
* Fix issues on server startChocobozzz2017-11-271-8/+12
|
* Make it compile at leastChocobozzz2017-11-271-9/+15
|
* Remove references to authorChocobozzz2017-11-271-2/+2
|
* Support roles with rights and add moderator roleChocobozzz2017-10-271-2/+3
|
* Use async/await in lib and initializersChocobozzz2017-10-261-73/+68
|
* Add video channelsChocobozzz2017-10-261-8/+11
|
* Begin user quotaChocobozzz2017-09-041-4/+5
|
* Fix config checkerChocobozzz2017-08-261-2/+2
|
* Fix lintChocobozzz2017-07-121-3/+1
|
* Add previews cache system between podsChocobozzz2017-07-121-4/+26
|
* Move to promisesChocobozzz2017-07-051-49/+26
| | | | Closes https://github.com/Chocobozzz/PeerTube/issues/74
* Type functionsChocobozzz2017-06-101-4/+4
|
* require -> importChocobozzz2017-06-051-3/+3
|
* Type modelsChocobozzz2017-05-251-4/+5
|
* First typescript iterationChocobozzz2017-05-201-0/+128