Merge branch 'dev-indep' of https://github.com/ytorg/yotter into dev-indep

This commit is contained in:
pluja 2020-09-26 14:40:47 +02:00
commit 55116c3aab
2 changed files with 37 additions and 7 deletions

View File

@ -8,6 +8,26 @@
- Play tweet videos from Parasitter. - Play tweet videos from Parasitter.
- Create following lists. - Create following lists.
## [0.2.7] - 2020.09.26
### How to update:
1. See [UPDATE](https://github.com/ytorg/Yotter/blob/dev-indep/SELF-HOSTING.md#updating-the-server) if you are on a manual installation. Docker can be updated normally.
2. **IMPORTANT** You will need to change the nginx config file (`/etc/nginx/sites-enabled/yotter`) by adding `/a` on the proxy rule so it should look like this:
```
location ~ (/videoplayback|/vi/|/a) {
proxy_buffering off;
resolver 1.1.1.1;
proxy_pass https://$arg_hostname;
proxy_set_header Host $arg_hostname;
add_header Access-Control-Allow-Origin *;
}
```
3. Reload nginx `sudo service nginx reload`
### Fixed
- [x] Channel images were not proxied.
## [0.2.6] - 2020.09.20 ## [0.2.6] - 2020.09.20
### How to update ### How to update
1. See [UPDATE](https://github.com/ytorg/Yotter/blob/dev-indep/SELF-HOSTING.md#updating-the-server) if you are on a manual installation. Docker can be updated normally. 1. See [UPDATE](https://github.com/ytorg/Yotter/blob/dev-indep/SELF-HOSTING.md#updating-the-server) if you are on a manual installation. Docker can be updated normally.
@ -16,11 +36,11 @@
3. Reload nginx `sudo service nginx reload` 3. Reload nginx `sudo service nginx reload`
## Added ### Added
- [x] Admin tools - Delete inactive users. - [x] Admin tools - Delete inactive users.
- [x] Youtube: Play only audio. - [x] Youtube: Play only audio.
## Changed ### Changed
- [x] Database character limits. - [x] Database character limits.
## [0.2.5] - 2020.09.10 ## [0.2.5] - 2020.09.10
@ -46,14 +66,13 @@
7. Edit your `yotter-config.json` file and enable the `nginxVideoStream` option. 7. Edit your `yotter-config.json` file and enable the `nginxVideoStream` option.
8. `sudo service nginx reload` 8. `sudo service nginx reload`
9. `sudo supervisorctl start yotter` 9. `sudo supervisorctl start yotter`
`
#### Added ### Added
- [x] Nginx video streaming for better experience - [See how to activate it]() - [x] Nginx video streaming for better experience - [See how to activate it]()
- [x] New data extractor module for videos. - [x] New data extractor module for videos.
- [x] Show deleted tweets as deleted instead of error. - [x] Show deleted tweets as deleted instead of error.
#### Fixed ### Fixed
- [x] Youtube feed not loading due to datetime not found - [x] Youtube feed not loading due to datetime not found
## [0.2.4] - 2020.09.07 ## [0.2.4] - 2020.09.07

View File

@ -13,7 +13,7 @@ When you self-host you make internet stronger and more censorship resistant. If
* [Manual Installation](#manual-installation) * [Manual Installation](#manual-installation)
* [Nginx and HTTPS](#nginx-set-up-and-HTTPS) * [Nginx and HTTPS](#nginx-set-up-and-HTTPS)
* [Update](#updating-the-server) * [Update](#updating-the-server)
* [Others](#other configurations) * [Others](#other-configurations)
## Pre-Installation ## Pre-Installation
@ -189,7 +189,7 @@ server {
expires 30d; expires 30d;
} }
location ~ (/videoplayback|/vi/) { location ~ (/videoplayback|/vi/|/a) {
proxy_buffering off; proxy_buffering off;
resolver 1.1.1.1; resolver 1.1.1.1;
proxy_pass https://$arg_hostname; proxy_pass https://$arg_hostname;
@ -241,3 +241,14 @@ But you must know that videos and images are proxied through the instance. So we
You can now reload the server and you will see that, without logging in, you can now watch videos. You can now reload the server and you will see that, without logging in, you can now watch videos.
### Increasing the channel name max size on the database (Only installations older than 2020.09.20)
On older versions the character limit for a Youtube suscritpion was 30. This caused some problems with channels that had a longer string for the channel name. Since 2020.09.20 version, this problem was solved, but for older installation the problem persists even if you update to the latest github version.
To solve this, we will need to modify our database and set up new character limits. Don't worry, it's easy.
First you need to open the MySQL prompt. This can be done wiht `mysql -u root -p`. It will prompt you the **mysql database root user password**, note that it is NOT the *sudo* password. Once you're in the MySQL prompt (`mysql>`) you can execute these commands:
1. `connect yotter;` - This will connect you to the yotter database.
2. `ALTER TABLE channel MODIFY COLUMN channelName VARCHAR(100);` - This alters the field `channelName` from the table `channel` and sets its limit to `100` characters.
3. `quit;`