Commit Graph

2915 Commits

Author SHA1 Message Date
Chocobozzz dc13348070 Add import finished and video published notifs 2019-01-09 11:15:15 +01:00
Chocobozzz 6e7e63b83f Fix notification icon position 2019-01-09 11:15:15 +01:00
Chocobozzz e8d246d526 Add notification settings migration 2019-01-09 11:15:15 +01:00
Chocobozzz cef534ed53 Add user notification base code 2019-01-09 11:15:15 +01:00
Josh Morel 1de1d05f4c increase waitJobs pendingJobs timeout to 2000 2019-01-08 11:51:50 +01:00
Rigel Kent e76d578414
(doc) update API spec to include user subscription routes 2019-01-03 18:00:29 +01:00
Chocobozzz 439b1744f5
Optimize index sizes 2018-12-20 15:25:49 +01:00
Chocobozzz 2f5c6b2fc6
Optimize actor follow scores modifications 2018-12-20 14:31:11 +01:00
Chocobozzz 4707f410ae
Fix notification with large message 2018-12-20 11:18:29 +01:00
Chocobozzz f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz e0e665f0ef
Don't call watching endpoint if history is disabled 2018-12-19 13:45:43 +01:00
Chocobozzz 56b13bd193
Fix federation of some videos
If we don't transcode additional resolutions, and user decided to wait
transcoding before publishing the video
2018-12-19 13:41:47 +01:00
Chocobozzz 1a12adcd1e
Fix users update me param validation 2018-12-18 17:18:25 +01:00
Chocobozzz afa4374ab4
Fix video sort 2018-12-18 11:52:20 +01:00
Chocobozzz 276d965295
Add ability to disable and clear history 2018-12-18 11:35:51 +01:00
Chocobozzz 80bfd33c0b
Add history page on client 2018-12-18 11:35:51 +01:00
Chocobozzz 8b9a525a18
Add history on server side
Add ability to disable, clear and list user videos history
2018-12-18 11:35:50 +01:00
Acid Chicken (硫酸鶏) 583cd0d212 Add WebFinger support (#1498)
* Add WebFinger support

* Fix TS7006

* Follow lint

* Fix TS7006
2018-12-18 10:42:39 +01:00
Chocobozzz 1b04f19c48
Add ability to set subtitle in URL in watch page 2018-12-17 14:22:59 +01:00
Chocobozzz 3b019808ef
Set last subtitle or subtitle in URL 2018-12-17 14:15:30 +01:00
Chocobozzz 259dd796e6
Fix adding captions to a video 2018-12-17 14:15:29 +01:00
Josh Morel af37210c0b throw error if MailDev doesn't run
also allow calling in multiple file
2018-12-17 10:59:07 +01:00
Chocobozzz 8fc58cb580
Fix CSP on dev mode 2018-12-17 09:42:28 +01:00
Chocobozzz 9aac44236c
Add video title/description when rendering html 2018-12-17 09:13:22 +01:00
Michael Koppmann a46934c825 more systemd service hardening (#1488) 2018-12-15 17:04:23 +01:00
HesioZ ab4dbe3657 Remove the eventual trailing '/' at the end of urls (see #1453) (#1480)
remove eventual trailing '/' at the end of urls in import script (see #1453)
2018-12-15 01:43:04 +01:00
Gérald Niel 7f3d712d5e (fix) FreeBSD startup script (#1484)
This PR fixes #1477 introduced by #1474
2018-12-13 20:53:36 +01:00
Chocobozzz 34515397d0
Update README.md 2018-12-13 17:12:39 +01:00
Chocobozzz 9f7a195363
Keep old channel/user name constraints
In order to avoid compatibility issues
2018-12-13 16:26:47 +01:00
Chocobozzz 16c07398f2
Fix followers search 2018-12-13 15:00:42 +01:00
Rigel Kent 5e755fff9d add Content Security Policy (#1252)
* add Content Security Policy

* remove reflect-metadata on production builds to get rid of unsafe-eval

* fix baseCSP usage

* add SRI to CSP

* add blob: to media-src

* remove SRI

* CSP set to reportOnly

* adding data: to connect-src CSP

* remove block-all-mixed-content

* add report-uri support
2018-12-13 09:49:45 +01:00
Chocobozzz 9ecac97be0
Fix crash regarding video stream issue 2018-12-12 08:55:56 +01:00
Chocobozzz 64e3e27053
Fix broken audio with transcoding 2018-12-11 17:48:14 +01:00
Chocobozzz 44848a51dc
Overwrite video caption 2018-12-11 15:56:35 +01:00
Chocobozzz dae5ca24b1
Redirect to the last url on login 2018-12-11 15:27:46 +01:00
Chocobozzz f481c4f9f3
Use move instead rename
To avoid EXDEV errors
2018-12-11 15:12:38 +01:00
Chocobozzz 14e2014acc Support additional video extensions 2018-12-11 15:11:09 +01:00
Chocobozzz 8923187455
Add test regarding tmp directory 2018-12-11 09:18:02 +01:00
Chocobozzz 9f8ca79284
Don't quit on queue error 2018-12-11 09:18:01 +01:00
Gérald Niel 2cf9a4626f Update FreeBSD startup script (#1474) 2018-12-10 10:51:28 +01:00
Chocobozzz e2a095bc96
Fix default homepage in web application 2018-12-10 10:47:29 +01:00
Chocobozzz 4523bf1132
dots are allowed in actor names 2018-12-10 10:26:00 +01:00
Rigel Kent f50ab1c289
(doc) fix syntax in openapi spec for watching progress 2018-12-08 18:56:12 +01:00
Josh Morel 851c5cddc1 rename ask-email link to ask-send-email 2018-12-08 14:46:34 +01:00
Chocobozzz 2a8c5d0af1
Merge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared 2018-12-07 16:25:29 +01:00
Micah Elizabeth Scott 4b49385892 Remove hard-coded 8GB upload limit in client (#1293)
* Remove hard-coded 8GB upload limit in client

Ideally we'd know what the specific server's configured upload limit
is before starting, but this 8GB limit is not useful if an administrator
has changed the nginx post limit on the server.

* Better docs for admins about client_max_body_size

Seems like some admins already tweak this value up or down to allow
for different maximum video upload sizes. The current codebase has no
other server-side limits that I'm aware of, and I've been routinely
uploading quite large videos to my instance.

This patch replaces the somewhat incorrect (or outdated?) 'hard limit'
comment with some advice about allocating enough space for nginx and
communicating the limit with your users.

Of course it would be better if this configuration could be unified with
PeerTube's config somehow. I'm not sure whether the best option there is
to turn off nginx's buffering here and let PeerTube handle the entire upload
(can we do this only for the video upload API endpoint?) or whether we want
PeerTube to generate nginx configs in a more automated way layer. In any case,
this patch is intended as an incremental improvement.
2018-12-07 14:58:17 +01:00
Chocobozzz 6ebfaf6764
Remove dashes from actor names 2018-12-07 14:56:56 +01:00
BRAINS YUM d0ce42c1c1 username/display_name/video_channel_name min length 1 and max length 50 (#1265)
* make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263);
    ! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine;
allow for usernames to start with a number;
fix test, since username can be 1 char now make test check empty;
fix test, Should fail with a too long username;
fix test, Should fail with a too small username;
fix regular expression for username and videoChannel;
change username, videoChannel to be lowercase and fix message;

* change 1 characters to 1 character
2018-12-07 14:54:33 +01:00
Chocobozzz f3e4d59408
Fix AP tests 2018-12-07 14:23:05 +01:00
Rigel Kent 3114c2c2cc hardening systemd unit 2018-12-07 14:14:24 +01:00