Commit Graph

445 Commits

Author SHA1 Message Date
Chocobozzz 8323c435c1
Remove oc locale support
It does not work since many releases, and nobody created an issue so we
don't consider it much use

It does not work because Angular does not know this locale: https://github.com/angular/angular/tree/master/packages/common/locales
2020-04-06 14:37:26 +02:00
Chocobozzz b6e0e6a31b
Update credits 2020-02-28 14:01:13 +01:00
Chocobozzz 99ae9d3a9e
Fix npm run dev 2020-02-19 09:14:28 +01:00
Chocobozzz 302cb3f92e
Use bash to run build scripts too 2020-02-19 08:57:32 +01:00
Chocobozzz 0e4338fd1d
Use bash to run scripts 2020-02-19 08:56:24 +01:00
Average Dude 170cd639a7 Create template dirs for openapi clients and provide README templates
The definitions are now also in the template dirs because they will be ignored by the generator.
Generators only use overrides and don't do anything with new files.
2020-02-18 14:49:11 +01:00
Chocobozzz 1d17d86349
Merge branch 'open-api-clients' into develop 2020-02-17 09:03:49 +01:00
Average Dude 002df3813d OpenAPI clients generation 2020-02-14 14:14:14 +01:00
ICabaleiro 5a208b004a Extend build commands 2020-02-13 14:13:48 +01:00
Chocobozzz 2779f29a66
Keep our current build system for now 2020-02-12 14:09:55 +01:00
Chocobozzz 8cc56c7fdd
Only use basehref
Will allow us to use the localize option
2020-02-12 14:09:55 +01:00
Chocobozzz 30ff193a60
Update code contributors 2020-02-11 15:18:25 +01:00
Chocobozzz 0e9c3b2810 Fix client dev mode 2020-02-10 16:39:28 +01:00
Chocobozzz 361dcebc75 Support i18n build 2020-02-10 16:39:28 +01:00
Chocobozzz 0df21c799f
Add hu and th locales 2020-02-04 16:48:54 +01:00
Chocobozzz a15871560f
Move to eslint 2020-02-03 08:31:02 +01:00
Chocobozzz 144c6559ed
Relax travis build 2020-01-28 11:37:09 +01:00
Chocobozzz b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz 44d4ee4fcb
Fix e2e tests 2020-01-23 14:59:44 +01:00
Chocobozzz 36619ac8f5
Reduce dev commands RAM usage 2020-01-22 10:18:57 +01:00
Chocobozzz 6848b9f4b2
Use a filtered proxy without variables 2020-01-22 09:36:03 +01:00
Chocobozzz c76130067c
Fix travis regex 2020-01-21 17:02:01 +01:00
Chocobozzz be7ca0c6b9
Use a proxy for youtube-dl to avoid travis errors 2020-01-21 16:46:59 +01:00
Chocobozzz a3705089fa
Remove husky 2020-01-21 14:28:28 +01:00
Chocobozzz c4a1811ea8
Use lower instead of ilike to login users 2020-01-09 14:00:34 +01:00
Chocobozzz 41ee83423c
Rebuild credits
Had to update the script now we use weblate
2020-01-09 12:00:47 +01:00
Chocobozzz 9b7668f527
Fix npm run dev script 2020-01-07 16:53:55 +01:00
Rigel Kent 9650937374
(fix) npm run dev invocation 2019-12-18 20:41:44 +01:00
Chocobozzz e43ed96ef4
Fix build script 2019-12-18 15:40:59 +01:00
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Chocobozzz 9f0327aeb3
Fix build 2019-12-18 11:01:59 +01:00
Chocobozzz 03d641a0d7
Add embed api build 2019-12-18 10:14:25 +01:00
Chocobozzz c026a2e673
Remove watch scripts 2019-12-18 10:14:24 +01:00
Chocobozzz 3f9c4955af
Speedup embed first paint 2019-12-18 10:14:22 +01:00
Chocobozzz 907b8f9347
Use a migration script to generate HLS torrent files 2019-12-12 10:56:34 +01:00
Chocobozzz 47f6cb31d7
Fix email to field 2019-11-29 13:36:40 +01:00
Chocobozzz 20146df217
Fix update host 2019-11-27 11:38:40 +01:00
Chocobozzz dee6fe1e4f
Add ability to generate HLS in CLI 2019-11-25 10:59:47 +01:00
Chocobozzz 66fb2aa39b
Don't always replace actor avatar 2019-11-25 10:59:44 +01:00
Chocobozzz d7a25329f9
Add ability to disable webtorrent
In favour of HLS
2019-11-25 10:59:43 +01:00
Chocobozzz df0fd9043c
Try to improve server watch script 2019-11-18 10:34:23 +01:00
Chocobozzz cd1d6c23da
Remove unused files 2019-11-13 10:04:16 +01:00
Chocobozzz 350131cbaf
Make build works 2019-11-13 10:04:16 +01:00
Chocobozzz 24b1c65abd
Remove html tags 2019-11-07 14:12:57 +01:00
Chocobozzz ad912c3de6
Update server and player 2019-11-07 12:00:09 +01:00
Chocobozzz 3aea8eb2e7
Try new worflow with french 2019-11-07 09:45:14 +01:00
Chocobozzz 41eac41b05
Fix typings 2019-11-05 09:21:04 +01:00
Chocobozzz ebd316d142
Fix duplicated in CREDITS 2019-11-05 08:56:27 +01:00
Chocobozzz 8ed11b89b8
Try to update version of nightly builds 2019-10-23 11:46:57 +02:00
Chocobozzz a0e6d26759
Fix tsconfig with CLI tools 2019-10-23 10:53:20 +02:00
Chocobozzz 1cd4fe501d
Fix i18n generation script 2019-10-22 10:30:09 +02:00
Chocobozzz 009d581e2d
Fix french translations in signup page 2019-10-22 09:48:37 +02:00
Chocobozzz 28cfbf8b79
Fix i18n generation 2019-10-22 09:00:28 +02:00
Chocobozzz 02e51e2d75
Fix dev mode 2019-10-22 08:55:05 +02:00
Chocobozzz 2aaa1a3fdc
Use typescript paths in cli scripts too 2019-10-21 17:13:22 +02:00
Chocobozzz 4c8ef0ec68
Add tsconfig-paths registration to mocha 2019-10-21 16:24:06 +02:00
Chocobozzz 464687bb96
Fix bug with tsconfig paths 2019-10-21 16:02:15 +02:00
Chocobozzz fff2183df6
Fix audio uploading without preview 2019-10-18 12:03:32 +02:00
Chocobozzz 1eb23e12f7
Add contributors in about peertube page 2019-09-05 15:40:09 +02:00
Chocobozzz 711260bbc8
Fix client report script 2019-08-26 11:56:08 +02:00
Chocobozzz 820546916c
Add fi_FI support 2019-08-22 14:45:16 +02:00
Chocobozzz 40b8906957
Fix prune storage script with some configs 2019-08-15 11:56:54 +02:00
Chocobozzz 2a068a15f7
Fix release script 2019-08-14 11:45:29 +02:00
Chocobozzz 21289872ec
Update changelog 2019-08-13 15:08:00 +02:00
Chocobozzz fb1b0ed9f7
Update translations and support gd 2019-08-13 09:40:31 +02:00
Chocobozzz e2600d8b26
Add avatar to prune script 2019-08-09 15:04:36 +02:00
Chocobozzz 2284f20207
Add gitlab ci support 2019-07-29 13:40:39 +02:00
Chocobozzz ae8b8faf20
Update translations and support Greek language 2019-07-25 12:06:11 +02:00
Chocobozzz 51326912d6 Fix optimize old videos script 2019-07-24 10:58:16 +02:00
Chocobozzz 5b77537ce5 Correctly notify on auto blacklist 2019-07-24 10:58:16 +02:00
Chocobozzz 9b474844e8 Add CLI plugins tests 2019-07-24 10:58:16 +02:00
Chocobozzz b5f919ac8e WIP plugins: update plugin 2019-07-24 10:58:16 +02:00
Chocobozzz 8d2be0ed7b WIP plugins: move plugin CLI in peertube script
Install/uninstall/list plugins remotely
2019-07-24 10:58:16 +02:00
Chocobozzz 2c0539420d WIP plugins: static files 2019-07-24 10:58:16 +02:00
Chocobozzz f023a19c3e WIP plugins: install/uninstall 2019-07-24 10:58:16 +02:00
tomamplius e6fdfdc292 Check pg_dump before backup (#1950)
* Check pg_dump before backup

When the database is not on the same host pg_dump can't be not present

* Update upgrade.sh
2019-07-02 19:05:23 +02:00
Chocobozzz 1a12f66d63
Add more CLI tests 2019-06-13 11:09:38 +02:00
Chocobozzz 57cfff7885
Remove unused actor uuid field 2019-05-31 14:49:31 +02:00
Chocobozzz 46b2cec73c Remove summon install 2019-05-27 14:56:06 +02:00
Chocobozzz 7e9d3f259d Move CLI dependencies in their own package.json 2019-05-27 14:56:06 +02:00
Chocobozzz 536598cfaf
Add audio support in upload 2019-05-16 17:16:47 +02:00
Chocobozzz f88392cf68
Decrease max parallel tests for travis 2019-05-15 15:37:31 +02:00
Chocobozzz 48f07b4a40
All API tests in parallel 2019-05-15 15:14:21 +02:00
Chocobozzz da3a3ab682
Try parallel check params tests 2019-05-14 15:37:42 +02:00
Chocobozzz 02ba613049
Update translations 2019-05-14 09:50:36 +02:00
Chocobozzz a8fec4e749
Fix zh-Hant-TW build 2019-05-13 17:12:58 +02:00
Chocobozzz b59f12b095
Fix client build 2019-05-13 14:26:00 +02:00
Chocobozzz 19041ac885
Update credits 2019-05-13 10:03:57 +02:00
Chocobozzz 210feb6cc4
Cleanup tests 2019-04-24 16:26:23 +02:00
Jan Keromnes 0cfcbae818 Add automated dev setup using Gitpod 2019-04-12 09:25:43 +02:00
Chocobozzz cda03765fe
Add ability to delete old remote views 2019-04-12 08:31:06 +02:00
Chocobozzz 74dc3bca2b
Don't expose constants directly in initializers/ 2019-04-11 14:26:41 +02:00
Chocobozzz fd8710b897
Add logs endpoint 2019-04-10 16:38:32 +02:00
Chocobozzz a0327eedb0
Rename video-file job to video-transcoding 2019-03-19 17:00:08 +01:00
Chocobozzz d0e1e32589 Remove jest tests
I don't have time to maintain them
2019-03-18 11:17:59 +01:00
Chocobozzz 830b4faff1 Add/update/delete/list my playlists 2019-03-18 11:17:59 +01:00
Chocobozzz 84c7cde6e8
Update E2E tests 2019-02-21 14:04:44 +01:00
Luc Didry cd1a488981 Add reminder to restart PeerTube in upgrade script 2019-02-15 11:47:45 +01:00
Chocobozzz 37c6bb3623
Translate copy magnet URI 2019-02-15 10:57:59 +01:00
Chocobozzz 285e04f6dd
Error on invalid password in reset password script 2019-02-15 09:43:36 +01:00
Chocobozzz 4c280004ce Use a single file instead of segments for HLS 2019-02-11 09:13:02 +01:00
Chocobozzz 0920929696 Add hls support on server 2019-02-11 09:13:02 +01:00
Chocobozzz 2adfc7ea9a Refractor videojs player
Add fake p2p-media-loader plugin
2019-02-11 09:13:02 +01:00
Chocobozzz ad3fa0c567
Add missing translations in embed template 2019-01-14 17:45:02 +01:00
Chocobozzz 93f85e90ff
Update credits 2019-01-10 12:07:34 +01:00
Chocobozzz d3e56c0c4b
Implement contact form in the client 2019-01-10 11:32:38 +01:00
Chocobozzz 2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
Chocobozzz be9727bd32
Add base dir to prune storage script 2018-12-06 09:46:22 +01:00
Chocobozzz 3ba862daec
Add tmp and redundancy directories to prune script 2018-12-06 09:42:45 +01:00
Chocobozzz 7089e7b4e5
Improve information regarding prune storage script 2018-12-05 17:44:36 +01:00
Chocobozzz 2feebf3e6a
Add sitemap 2018-12-05 17:44:34 +01:00
Chocobozzz d7aea77bdb
Add ru pl and it translations 2018-12-05 10:35:44 +01:00
Felix Ableitner 5c94c38d18 Check if awk and sed are executable 2018-12-04 09:31:36 +01:00
Felix Ableitner 7593929170 Check free storage before upgrading 2018-12-04 09:31:36 +01:00
Chocobozzz b73ddc8a57
Fix release script 2018-12-03 10:35:50 +01:00
Chocobozzz 6cc98dfff3
Add open api bump version in release script 2018-11-22 15:04:14 +01:00
Chocobozzz 57b9726982
Fix some zanata translations 2018-11-22 14:06:11 +01:00
Chocobozzz d175a6f7ab
Cleanup tests imports 2018-11-19 17:08:18 +01:00
Rigel Kent 3e9e6f2f14
migrate Swagger 2.0 spec to OpenAPI 3.0.0 2018-11-15 14:10:16 +01:00
Chocobozzz 2fbe7f1933
Fix new Angular 7 issues 2018-11-15 09:25:32 +01:00
Chocobozzz 5c6d985fae
Check activities host 2018-11-14 16:32:27 +01:00
Chocobozzz df66d81583
Add compatibility with other Linked Signature algorithms 2018-11-14 16:32:27 +01:00
Rigel Kent 1d859b5afa
sync API version with PeerTube version and auto-update it via git hooks 2018-11-13 14:31:48 +01:00
Felix Ableitner 5e10e8d73a Make backups of files in optimize-old-videos.ts (#1304) 2018-10-23 09:25:09 +02:00
Rigel Kent 7cf3e57376 (doc) add manpage to peertube cli 2018-10-20 19:16:56 +02:00
Chocobozzz 74cd011b6c
Fix optimize old videos script 2018-10-18 16:54:26 +02:00
Chocobozzz 225553a021
Improve release script 2018-10-17 08:42:54 +02:00
Chocobozzz 26370ce469 Move redundancy in its own travis container 2018-10-16 16:41:36 +02:00
BRAINS YUM 0e5ff97f6f add parseBytes utility function and tests (#1239)
* add parseBytes utility function and tests
make it parse TB MB
fix parseBytes; * 1024
test bytes too, and make parseByte to parse quotas
add test in travis.sh in misc

* fix parseBytes and test to pass linting
2018-10-13 08:43:55 +02:00
Luc Didry d9d1989b62 Use DB informations from config/production.yaml in upgrade script
Avoid hardcoded values in upgrade script.
Avoid asking for DB password.
Uses python (usually installed on your system, even with minimal
installations) and some of its standard lib modules.
2018-10-11 13:31:57 +02:00
Chocobozzz 71e318b4fe
Merge branch 'release/v1.0.0' into develop 2018-10-11 09:52:16 +02:00
Chocobozzz 107c5fcda4
Fix release script 2018-10-11 08:47:59 +02:00
Chocobozzz 9f1ddd2496
Change a little bit optimize-old-videos logic 2018-10-08 16:50:56 +02:00
Felix Ableitner edb4ffc7e0 Set bitrate limits for transcoding (fixes #638) (#1135)
* Set bitrate limits for transcoding (fixes #638)

* added optimization script and test, changed stuff

* fix test, improve docs

* re-add optimize-old-videos script

* added documentation

* Don't optimize videos without valid UUID, or redundancy videos

* move getUUIDFromFilename

* fix tests?

* update torrent and file size, some more fixes/improvements

* use higher bitrate for high fps video, adjust bitrates

* add test video

* don't throw error if resolution is undefined

* generate test fixture on the fly

* use random noise video for bitrate test, add promise

* shorten test video to avoid timeout

* use existing function to optimize video

* various fixes

* increase test timeout

* limit test fixture size, add link

* test fixes

* add await

* more test fixes, add -b:v parameter

* replace ffmpeg wiki link

* fix ffmpeg params

* fix unit test

* add test fixture to .gitgnore

* add video transcoding fps model

* add missing file
2018-10-08 16:26:04 +02:00
Rigel Kent f6dd7f7d18
parametrize gpg key in release script 2018-10-03 11:51:55 +02:00
John Livingston 38d937002a fix diff order 2018-10-03 09:53:03 +02:00
John Livingston bebae342f3 using "diff -u", for a clearer display 2018-10-03 09:53:03 +02:00
Chocobozzz c2ad546df9
Add tests regarding well known/static text endpoints 2018-10-01 17:29:11 +02:00
Chocobozzz d1105b97ef
Fix dnt route 2018-10-01 15:20:13 +02:00
Rigel Kent 9e3e248109
add protractor profile for local tests 2018-10-01 13:40:28 +02:00
Chocobozzz 65be133b90
Fix 404 on manifest 2018-09-28 13:56:19 +02:00
Chocobozzz 5ce1208a0a
Improve prune script 2018-09-28 10:56:13 +02:00
Felix Ableitner cee43cf11c Added else 2018-09-28 10:35:59 +02:00
Felix Ableitner 4cd7a103da Add prompt to upgrade.sh to install pre-release version 2018-09-28 10:35:59 +02:00
SerCom_KC ba6a98b8fa Add zh-Hans-CN to client.sh 2018-09-25 14:46:02 +02:00
Chocobozzz aac0118dc3
Fix dnt route 2018-09-25 11:13:34 +02:00
Chocobozzz f2659ae0b0
Upgrade tslint rules 2018-09-21 09:26:53 +02:00
Chocobozzz 627621c1e8
Optimize SQL requests of watch page API endpoints 2018-09-19 09:54:37 +02:00
Chocobozzz 780daa7e91
Speaup clean script 2018-09-14 10:07:33 +02:00
Chocobozzz b36f41ca09
Add trending videos strategy 2018-09-14 09:57:21 +02:00