Commit Graph

507 Commits (5ac64497351d92077b03c13b840933161b96ec19)

Author SHA1 Message Date
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
Brad Johnson 7f5f4152a4 Refactor: Separated "Other Videos" section into a dedicated component/service (#969)
* Separated "Other Videos" section into a dedicated component/service

I'm currently working on some proof-of-concepts for recommendation
providers that could work with PeerTube to provide useful video
suggestions to the user.

As a first step, I want to have great clarity about how PeerTube,
itself, will surface these videos to the user.

With this branch, I'm refactoring the "recommendations" to make it
easier to swap out different recommender implementations quickly.

Stop recommender from including the video that's being watched.

Ensure always 5 recommendations

* Treat recommendations as a stream of values, rather than a single async value.

* Prioritize readability over HTTP response size early-optimization.

* Simplify pipe
2018-08-31 17:19:21 +02:00
Chocobozzz 2db85d6b6e
Upgrade server dependencies 2018-08-27 16:35:26 +02:00
Chocobozzz 62689b942b
Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
Rigel Kent c9d5c64f98 replace fs by fs-extra to prevent EMFILE error 2018-08-27 16:03:57 +02:00
Chocobozzz 3bacf66164
Don't compile all languages in travis 2018-08-27 11:34:43 +02:00
Chocobozzz a9155ee6dc
Add portuguese and swedish languages 2018-08-27 11:20:06 +02:00
Chocobozzz b18d4b9f36
Upgrade translations 2018-08-27 10:04:07 +02:00
Chocobozzz 1297eb5db6 Add refresh video on search 2018-08-27 09:41:54 +02:00
Chocobozzz fc96e83d1c
Fix release script 2018-08-21 09:37:11 +02:00
Chocobozzz 95d5113575
Translate player according to the interface lang 2018-08-16 11:11:20 +02:00
Chocobozzz 3dfa849402
Translate subtitle langs in player 2018-08-16 10:48:35 +02:00
Chocobozzz a6ce68673a
Support occitan 2018-08-08 16:00:06 +02:00
Chocobozzz 7e5f9f001d Add audit logs for video import 2018-08-06 11:19:16 +02:00
Chocobozzz 5e319fb789
Upgrade release script to support release branch 2018-08-01 11:13:33 +02:00
Chocobozzz fb9e6cb075
Add german, spanish and chinese (traditional, taiwan) languages 2018-07-31 18:04:54 +02:00
Chocobozzz 365b546c9f
Try to fix travis (again) 2018-07-31 10:26:13 +02:00
Chocobozzz e20015d744
Fiw winston meta log 2018-07-30 11:34:34 +02:00
Chocobozzz 87bec1051b
Handle pre releases in release script 2018-07-25 17:05:15 +02:00
Chocobozzz d73c98884e
Hack 459 regarding Angular & i18n 2018-07-25 09:57:52 +02:00
Chocobozzz 57c36b277e Begin advanced search 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 b54431049b
Add populate database script 2018-07-17 18:17:50 +02:00
Chocobozzz 337ba64efc
Parse log script parse the last updated log 2018-07-16 14:38:11 +02:00
Chocobozzz 16f7022b06 Handle subtitles in player 2018-07-16 11:50:08 +02:00
Chocobozzz 94831479f5 Migrate to bull 2018-07-11 14:00:17 +02:00
Chocobozzz a55e5579bc
Update translations from zanata and add cs and eo 2018-07-09 15:04:17 +02:00
Chocobozzz 8244c85ad6
Fix npm run dev:server 2018-06-29 09:33:36 +02:00
Chocobozzz 10e63b6850
Add Basque and Catalan languages 2018-06-28 15:53:13 +02:00
Chocobozzz 85b4d9c52e
Upgrade dependencies 2018-06-26 18:05:47 +02:00
Chocobozzz 92d83c6a78
Fix git credits 2018-06-22 17:08:44 +02:00
Chocobozzz cd080b1a6b
Update credits 2018-06-22 16:20:44 +02:00
Chocobozzz 23687332e6
Improve update host script and add warning if AP urls are invalid 2018-06-21 18:36:08 +02:00
Chocobozzz 9c2e0dbfa9
Update iso639 translations for french and deutch 2018-06-19 14:02:57 +02:00
Chocobozzz 3aa5cea8fe
Upgrade dependencies 2018-06-19 10:45:33 +02:00
Florent F 05623b9030 Add resolution to create-transcoding-job script (#654)
* Add resolution to create-transcoding-job script

* Requested changes
2018-06-15 18:27:35 +02:00
Chocobozzz 850c1bf7cc
Move iso639 strings in its own translation file 2018-06-13 15:55:13 +02:00
Chocobozzz fe3a55b071
Add video comments RSS 2018-06-08 20:34:37 +02:00
Chocobozzz c0f713ce05
Fix npm run dev 2018-06-08 11:36:50 +02:00
Chocobozzz 379acb21bc
Rename "my settings" to "my account" in menu 2018-06-07 17:05:57 +02:00
Chocobozzz 6cca7360eb
Reduce bundle sizes 2018-06-07 16:50:33 +02:00
Chocobozzz 28be89161a
Improve create import file job
Fix federation of .ogv videos
2018-06-07 09:43:18 +02:00
Florent Fayolle 0138af9237 Add create-import-video-file-job command 2018-06-07 08:57:48 +02:00
Chocobozzz 96bb360d9f
Update build with i18n 2018-06-06 18:17:24 +02:00
Chocobozzz 74b7c6d48e
Little i18n refractoring 2018-06-06 17:37:13 +02:00
Chocobozzz 7ce44a74a3
Add server localization 2018-06-06 16:48:41 +02:00
Chocobozzz f07d6385b4
Rename messages locale to angular 2018-06-06 16:48:41 +02:00
Chocobozzz e945b184a0
Localize player 2018-06-06 16:48:40 +02:00
Chocobozzz 510fefb194
Add french 2018-06-05 08:43:02 +02:00
Chocobozzz 989e526abf
Prepare i18n files 2018-06-05 08:43:01 +02:00
Chocobozzz 7491e2c54c
Add missing scripts in npm run help 2018-05-30 11:22:04 +02:00
Chocobozzz 0c948c1659
Add ability to manually run transcoding job 2018-05-30 10:49:56 +02:00
Chocobozzz a9729e21d1
Add script that prunes storage files 2018-05-29 11:11:52 +02:00
Chocobozzz d1bd87e066
Make it works with new autoplay policy 2018-05-22 16:02:29 +02:00
Chocobozzz 0b33c52060
Improve e2e tests 2018-05-22 09:17:21 +02:00
Jocelyn Jaubert b4e5942ca7 Make it possible to change path used by upgrade.sh on command line 2018-05-22 08:08:40 +02:00
Jocelyn Jaubert ee1219d83d Move /var/www/peertube to $PEERTUBE_PATH in upgrade.sh 2018-05-22 08:08:40 +02:00
Chocobozzz 5f92c4dc5f
Add videos e2e tests 2018-05-17 15:20:21 +02:00
Chocobozzz 74af5a8361
Client E2E tests first step 2018-05-17 10:55:50 +02:00
Chocobozzz db400f447a
Upgrade to rxjs 6 2018-05-16 09:42:54 +02:00
SVNET Libre ed9118bad0 Fixe Quotation marks on database backup files 2018-05-16 09:26:25 +02:00
Chocobozzz e82afde946
Fix release script 2018-05-07 13:02:03 +02:00
Chocobozzz 3e5ff4320a
Update CREDITS 2018-04-23 14:50:00 +02:00
Chocobozzz cc1561f9f7
Simplify client syndications 2018-04-17 10:35:08 +02:00
Chocobozzz fc9e66242a
Upgrade to webpack 4 2018-04-06 16:06:43 +02:00
Chocobozzz a9ab599e53
Try to improve the contributing guide for tests 2018-04-04 08:57:37 +02:00
Rigel d788291d2a refactoring archive creation step to reduce code duplication and be less error-prone 2018-03-30 17:13:24 +02:00
Rigel 6c42d96e46 modified scripts/release.sh to add tar.xz and provide archive signatures 2018-03-30 17:13:24 +02:00
Léo Andrès 0e4ffb4b67 Clean shell scripts (#398) 2018-03-27 10:35:12 +02:00
Chocobozzz c91de74372
Improve update host script 2018-03-20 09:19:05 +01:00
Gérald Niel f8087a5476 Update shebang and date format for working on FreeBSD (fix typo)
(not tested on Linux)
2018-03-19 22:13:29 +01:00
Gérald Niel 1069d3a4dc Update shebang and date to POSIX format for working on FreeBSD (not
tested on Linux)
2018-03-19 22:06:21 +01:00
Chocobozzz 0647f472bc
Fix logging timestamp 2018-03-08 18:16:15 +01:00
Chocobozzz dfecb90036
Fix lint momory issues 2018-03-08 17:31:11 +01:00
Chocobozzz c710f90a36
Increase mocha default timeout 2018-02-28 09:52:13 +01:00
SVNET Libre 34333925d2 Upgrade.sh : Add diff command for config update (#308)
* Add diff command for config update

* Add Context Information

"Updating Configuration File..."

* Modify context information for the config file
2018-02-21 17:16:52 +01:00
Chocobozzz 5a8eac36a7
Mkae upgrade.sh executable 2018-02-21 16:47:40 +01:00
Chocobozzz 61b3e146e1
Add ability to import videos from all supported youtube-dl sites 2018-02-20 18:16:13 +01:00
Chocobozzz 01bc6ac6f0
Fix travis tests 2018-02-16 19:00:31 +01:00
Chocobozzz e79c65723b
Upgrade server dependencies 2018-02-16 18:42:02 +01:00
Chocobozzz 44e98cca5e
Add \n in changelog 2018-02-16 08:33:19 +01:00
Chocobozzz 86acad02aa
Update code contributors list 2018-02-15 19:33:20 +01:00
Chocobozzz e33b53abb3
Handle changelog in release 2018-02-15 15:59:48 +01:00
Chocobozzz a8b5ce95f5
Better upgrade script consistency 2018-02-14 16:03:09 +01:00
SVNET Libre 64586951de Upgrade.sh (#281)
* Upgrade.sh

Bash script for upgrading Instance

* add bash strict mode

* move to "scripts" folder and other fix

* Rename scirpts/upgrade.sh to scripts/upgrade.sh

* Fix SQL BACKUP path

* Fix symbolic link update
2018-02-12 09:43:16 +01:00
Chocobozzz ecb4e35f4e
Add ability to reset our password 2018-01-30 13:27:07 +01:00
Chocobozzz 4805cff179
Fix migrations 2018-01-29 11:58: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
Jan Keromnes 42f1923430 Add --disable-host-check to development watch script to support proxies.
See also https://github.com/webpack/webpack-dev-server/issues/882
2018-01-25 14:48:06 +01:00
Benjamin Bouvier a585af352c Fixes #205: Fix Janitor configuration; 2018-01-25 11:13:07 +01:00
Chocobozzz 5e1c08eb94
Add api doc in html 2018-01-24 11:54:32 +01:00
Chocobozzz a28f353a64
Fix lint 2018-01-24 10:33:50 +01:00
Chocobozzz c7b1b92b11
Use json for schema.org instead of tags 2018-01-24 09:21:45 +01:00
Chocobozzz 451ce9642c
Add commander in dependencies instead of dev dep 2018-01-22 09:42:42 +01:00
Chocobozzz 23e27dd535
Add ability to configure log level 2018-01-19 13:58:13 +01:00
Chocobozzz 0edf0581a9
Add http tracker in torrent too 2018-01-19 08:49:04 +01:00
Chocobozzz fe452e0cab
Fix release script 2018-01-18 18:40:12 +01:00
Chocobozzz f05a1c30c1
Don't show videos of remote instance after unfollow 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 2d13b29965
Remove npm run upgrade
Use command from production.md instead
2018-01-15 18:23:17 +01:00
Chocobozzz 9a05ef50be
Bumped to version v0.0.9-alpha 2018-01-15 18:07:07 +01:00
Chocobozzz 1e5c707b08
Add github release to release script 2018-01-15 16:43:37 +01:00
Chocobozzz 519b8df5f8
Bumped to version 0.0.7-alpha 2018-01-15 11:55:27 +01:00
Chocobozzz f8c79a4194
Bumped to version 0.0.2-alpha 2018-01-15 11:31:21 +01:00
Chocobozzz 6b2ef589ed
Prepare production workflow 2018-01-15 11:28:41 +01:00
Chocobozzz 63bfad7ec9
Try to improve documentations/readme 2018-01-12 18:07:41 +01:00
Benjamin Bouvier cbca00dfc1 Fix client development so that it uses the local ng binary; (#177) 2018-01-06 18:10:51 +01:00
Chocobozzz da854ddd50
Propagate old comment on new follow 2017-12-28 11:16:08 +01:00
Chocobozzz 24a8e782d8
Add bootstrap analyzer and optimize build 2017-12-20 09:05:16 +01:00
Chocobozzz 50d6de9c28
Begin moving video channel to actor 2017-12-19 10:53:16 +01:00
Chocobozzz 6f045b5791
Fix tests 2017-12-14 10:20:05 +01:00
Chocobozzz 94edfc3b2a
Fix upgrade script 2017-12-13 17:51:32 +01:00
Chocobozzz 91fea9fc48
Add migration 2017-12-13 17:46:23 +01:00
Chocobozzz 3fd3ab2d34
Move models to typescript-sequelize 2017-12-13 16:50:33 +01:00
Chocobozzz 77d07d6909
Add hmr 2017-12-12 14:45:42 +01:00
Chocobozzz b682782093
Upgrade to angular 5 2017-12-12 13:58:03 +01:00
Chocobozzz 7bfd1b1edb
Upgrade scripts and embed webpack config 2017-12-12 11:42:48 +01:00
Chocobozzz 98ec8b8e73
Fix lint 2017-11-30 13:16:23 +01:00
Chocobozzz c46edbc2f6
Fetch outbox to grab old activities tests 2017-11-27 19:40:53 +01:00
Chocobozzz eb8b27c93e
Fix update host script 2017-11-27 19:40:52 +01:00
Chocobozzz afffe98839
Speed up activity pub http requests 2017-11-27 19:40:52 +01:00
Chocobozzz 47e0652b4a
Optimize account creation 2017-11-27 19:40:52 +01:00
Chocobozzz 41dbdb8acf
Add script to parse log files 2017-11-27 19:40:52 +01:00
Chocobozzz 51548b3181
Add follow tabs
Following
Follow
Followers
2017-11-27 19:40:51 +01:00
Chocobozzz 571389d43b
Make it compile at least 2017-11-27 19:40:51 +01:00
Chocobozzz 08535e56aa
Prepare release script 2017-10-31 18:57:32 +01:00
Chocobozzz 15f25480dd
Split slow and fast api tests for travis 2017-10-31 17:50:28 +01:00
Chocobozzz 1b6b475772
Build server files before test the api 2017-10-31 17:33:23 +01:00
Chocobozzz 18530063fe
Try matrix to speed up travis builds 2017-10-31 17:23:57 +01:00
Chocobozzz d8755eed1e
Add oembed endpoint 2017-10-16 10:07:26 +02:00
Chocobozzz bcd1c9e194
Server: upgrade packages 2017-10-09 15:18:41 +02:00
Chocobozzz fdbda9e3d6 Add tests for npm run scripts 2017-09-07 15:54:34 +02:00
Chocobozzz 04de542abd Update webpack config 2017-09-06 21:48:15 +02:00
Chocobozzz 0e1dc3e7c6 Convert tests to typescript 2017-09-04 21:30:18 +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
Chocobozzz 407c4473ad Fix upgrade script \n 2017-07-23 09:43:44 +02:00
Chocobozzz 4771e0008d Better typescript typing for a better world 2017-07-10 19:43:21 +02:00
Chocobozzz 7a214f746b Fix upgrade peertube script (bad semver comparison) 2017-07-10 15:01:05 +02:00
Chocobozzz 18c8e94508 Video search -> case insensitive 2017-07-06 18:01:02 +02:00
Chocobozzz 8062415498 Update videojs -> 6 2017-07-06 14:39:39 +02:00
Chocobozzz 6fcd19ba73 Move to promises
Closes https://github.com/Chocobozzz/PeerTube/issues/74
2017-07-05 14:14:16 +02:00
Chocobozzz 4f13304181 Rename 'npm run upgrade' to 'npm run upgrade-peertube'
It was confusing with the command 'npm run update'
2017-06-25 16:30:45 +02:00
Chocobozzz ba0f8806bc Return to sequelize@4.0.0-2 (makes tests fail) 2017-06-25 13:51:19 +02:00
Chocobozzz 19452347a1 Fix play script 2017-06-25 11:36:57 +02:00
Chocobozzz 743cb5e5c4 Stop mocha tests after a failure 2017-06-24 10:37:43 +02:00
Chocobozzz 62be8e11e2 Don't generate yarn lockfile on upgrade 2017-06-24 10:17:44 +02:00
Chocobozzz df98563e21 Use typescript standard and lint all files 2017-06-16 14:32:15 +02:00
Chocobozzz 75d612ce3c Convert scripts to typescript 2017-06-12 21:06:32 +02:00
Chocobozzz 7593a21d13 Fix prod clean script 2017-06-12 20:34:50 +02:00
Chocobozzz 1840c2f7c9 Update webpack stack 2017-06-11 15:19:43 +02:00
Chocobozzz 66dd264f7b Better build/dev scripts 2017-06-11 11:36:05 +02:00
Chocobozzz 75fb0c0b2e Adapt scripts to typescript 2017-06-10 22:57:31 +02:00
Bigard Florian 339f0c8062 Fix upgrade script (again...) 2017-04-27 16:00:10 +02:00
Bigard Florian aa77e1c2ac Fix upgrade script 2017-04-27 15:36:35 +02:00
Bigard Florian 94f12771f5 Add yarn to npm run upgrade 2017-04-27 11:38:42 +02:00
Chocobozzz ea893004aa Remove unnecessary script 2017-04-26 22:33:31 +02:00
Chocobozzz 85ec3eb7f3 Remove Node 4 support 2017-04-26 22:32:33 +02:00
Chocobozzz 165c8d2558 Fix travis lint tests 2017-04-26 21:52:49 +02:00
Chocobozzz d61e81538b Client: fix compilation 2017-04-26 21:48:54 +02:00
Chocobozzz a7449e74f9 Server: kill all if e process exits in npm run dev 2017-03-04 11:02:33 +01:00
Chocobozzz 01a07456e4 Document update host script 2017-02-08 20:36:57 +01:00
Chocobozzz 9cc99d7b56 Fix update host script 2017-02-08 20:34:01 +01:00
Chocobozzz 9a5d2a3f54 Admin password stuff 2017-01-27 11:18:53 +01:00
Chocobozzz c129e2a167 Do not let admin put password on cli argument when reseting password 2017-01-23 22:50:29 +01:00
Chocobozzz be3bac3afb Fix check script 2017-01-19 21:46:31 +01:00
Chocobozzz 4df023f2d4 Server: create transaction refractoring 2017-01-15 19:53:11 +01:00
Chocobozzz 7df5e5e4b1 Server: add script that reset the password of a user 2017-01-15 10:05:53 +01:00
Chocobozzz acf0ae9c73 Server: fix mongo to postgresql script 2017-01-12 17:35:17 +01:00
Chocobozzz 00d6a41e46 Add script to migrate from mongodb to postgresql
Usage: NODE_ENV=production ./scripts/mongo-to-postgre.js --mongo-database peertube-prod
2016-12-27 18:34:47 +01:00
Chocobozzz 56ac84d0a3 Fix real world script 2016-12-25 12:05:47 +01:00
Chocobozzz dd6019932e Update scripts with postgresql 2016-12-25 09:44:13 +01:00
Chocobozzz feb4bdfd9b First version with PostgreSQL 2016-12-19 21:22:28 +01:00
Chocobozzz 93d4a3b551 Add script when the host/port of a pod change 2016-11-22 22:12:13 +01:00
Chocobozzz c92372d0aa Server: fix db clean for clean script 2016-11-16 20:29:26 +01:00
Chocobozzz 7fc4cc8881 Server: fix db clean for clean script 2016-11-16 20:29:26 +01:00
Chocobozzz d16a0ad851 Fix upgrade script 2016-10-21 14:46:17 +02:00
Chocobozzz 068bfc0ad5 Fix check script 2016-10-21 14:39:43 +02:00
Chocobozzz 9f540774b1 Add upgrade script 2016-10-21 14:23:20 +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 0a80f41f45 There are no typings anymore 2016-10-10 21:34:10 +02:00
Chocobozzz ad22074a78 Client: fix prod build process 2016-09-19 22:27:17 +02:00
Chocobozzz d56ec0d412 Remove livereload module (role of webpack now) 2016-07-18 16:52:54 +02:00
Chocobozzz b20b5fed40 Add production webpack, big thanks to @AngularClass 2016-06-03 22:47:55 +02:00
Chocobozzz fc76359be1 Adapt npm scripts 2016-06-03 22:34:39 +02:00
Chocobozzz 41a2aee38c Follow the angular styleguide for the directories structure 2016-05-27 16:23:10 +02:00
Chocobozzz cd0e4b1acf Move livereload to an external script and remove from express.
Developers have to use the livereload plugin in their web browser now.
2016-05-21 15:21:15 +02:00
Chocobozzz 401b079d6b Use bash for danger scripts instead of env sh 2016-05-19 20:37:43 +02:00
Chocobozzz f03996dad6 Fix some typescript compilations issues 2016-05-13 14:42:14 +02:00
Chocobozzz 230809efa1 Update to Angular RC 1 2016-05-13 14:23:11 +02:00
Chocobozzz 9353449515 Use scripty instead of writing shell commands in package.json 2016-04-30 12:56:36 +02:00
Chocobozzz 6a1e67b30a Fix clean_test script 2016-03-07 18:22:13 +01:00
Chocobozzz ecef65b605 Add checks to the scripts (they has to be executed at the root of the
project)
2015-11-24 09:53:27 +01:00
Chocobozzz 3bcb78b3af Make the network auto sufficient (eject bad pods with scores) 2015-11-24 08:33:59 +01:00
Chocobozzz d148f3b9b1 Replace PeopleTube/PeTube by the new name PeerTube 2015-10-29 23:29:42 +01:00
Chocobozzz 8c308c2bf7 Spawn 2015-10-29 23:14:54 +01:00