-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Amaimersion/1.1.0
1.1.0
- Loading branch information
Showing
99 changed files
with
2,450 additions
and
1,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
# Flask secret key. | ||
# You must generate it like this in order to use cryptography package: | ||
# Single secret key | ||
# You must generate it like this as follows | ||
# in order to use `cryptography` package: | ||
# ``` | ||
# from cryptography.fernet import Fernet | ||
# key = Fernet.generate_key().decode() | ||
# print(key) | ||
# ``` | ||
FLASK_SECRET_KEY= | ||
|
||
# Address of database. PostgreSQL is expected in production, but not required | ||
# Address of database. | ||
# PostgreSQL is expected in production, but not required | ||
DATABASE_URL=postgresql+psycopg2://<user>:<password>@<host>:<port>/<db_name> | ||
|
||
# API token of Telegram bot from @BotFather | ||
# API token received from @BotFather for Telegram bot | ||
TELEGRAM_API_BOT_TOKEN= | ||
|
||
# ID of app registerd in Yandex to access Yandex API | ||
# ID of app registerd in Yandex to access Yandex OAuth API | ||
YANDEX_OAUTH_API_APP_ID= | ||
|
||
# Password of app registerd in Yandex to access Yandex API | ||
# Password of app registerd in Yandex to access Yandex OAuth API | ||
YANDEX_OAUTH_API_APP_PASSWORD= | ||
|
||
# Your UA for Google Analytics. Optional | ||
GOOGLE_ANALYTICS_UA=UA-XXXX-X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,7 @@ exclude = | |
# Folders | ||
__pycache__ | ||
venv | ||
migrations | ||
|
||
# Files | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug Report | ||
about: Did something not work as expected? | ||
--- | ||
|
||
|
||
<!-- | ||
Thank you very much for contributing by creating an issue! | ||
As an open source project with busy owner, it can sometimes take a long time to response. Please be patient if needed :). Thanks! | ||
--> | ||
|
||
|
||
# Bug Report | ||
|
||
<!-- Please provide a general summary of the issue in the title field. --> | ||
|
||
|
||
## Expected Behavior | ||
|
||
<!-- What you expected to happen. --> | ||
|
||
|
||
## Actual Behavior | ||
|
||
<!-- What actually happened. If you seeing an error, please include the full error message and description of your actions. --> | ||
|
||
|
||
## Additional Information | ||
|
||
<!-- Any other additional information. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Feature Request | ||
about: Want to add or change something in the project? | ||
--- | ||
|
||
|
||
<!-- | ||
Thank you very much for contributing by creating an issue! | ||
As an open source project with busy owner, it can sometimes take a long time to response. Please be patient if needed :). Thanks! | ||
--> | ||
|
||
|
||
# Feature Request | ||
|
||
<!-- Please provide a general summary of the issue in the title field. --> | ||
|
||
|
||
## Summary | ||
|
||
<!-- Clear and concise description of your idea. --> | ||
|
||
|
||
## Implementation | ||
|
||
<!-- How should your idea be implemented in your opinion? --> | ||
|
||
|
||
## Description | ||
|
||
<!-- Optional, but preferable. Detailed description of your idea. --> | ||
|
||
|
||
## Examples | ||
|
||
<!-- Optional, but preferable. Examples of your idea. --> | ||
|
||
|
||
## Additional Information | ||
|
||
<!-- Any other additional information. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Question | ||
about: Have any questions regarding the project? | ||
--- | ||
|
||
|
||
<!-- | ||
Thank you very much for contributing by creating an issue! | ||
As an open source project with busy owner, it can sometimes take a long time to response. Please be patient if needed :). Thanks! | ||
--> | ||
|
||
|
||
# Question | ||
|
||
<!-- Please provide a general summary of the issue in the title field. --> | ||
|
||
|
||
## Summary | ||
|
||
<!-- Write your question here. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- | ||
Thank you very much for contributing by creating a pull request! Your contribution is appreciated! | ||
As an open source project with busy owner, it can sometimes take a long time to review. Please be patient if needed :). Thanks! | ||
--> | ||
|
||
|
||
# Pull Request | ||
|
||
<!-- Provide a general summary of the pull request in the title field. --> | ||
|
||
|
||
## Type | ||
|
||
<!-- What kind of change does this PR introduce? e.g. a bugfix, feature, refactoring, new version, etc. --> | ||
|
||
|
||
## Description | ||
|
||
<!-- Clear description of your changes. Please look for any issues that this PR resolves and tag them in the PR. If this PR introduces a breaking changes, please describe the impact and a migration path for existing projects. --> | ||
|
||
|
||
## Checklist | ||
|
||
<!-- Fill this checklist. Do not remove item if it not applied. For completed items, change [ ] to [x]. --> | ||
|
||
- [ ] this PR contains breaking changes | ||
- [ ] `flake8` passes | ||
- [ ] changelog is changed | ||
- [ ] documentation is changed | ||
- [ ] tests are changed or added | ||
|
||
|
||
## Additional Information | ||
|
||
<!-- Any other additional information. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Files | ||
.editorconfig | ||
.env.example | ||
.flake8 | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
|
||
# Folders | ||
.vscode | ||
info | ||
.github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
# 1.1.0 (May 9, 2020) | ||
|
||
## Telegram Bot | ||
|
||
### Improved | ||
|
||
- Text of most bot responses. | ||
- Text of authorization HTML pages. | ||
- Style of authorization HTML pages. | ||
- When uploading, bot will update single message instead of sending new one every time with operation status. | ||
|
||
### Added | ||
|
||
- `/upload_url`: uploading of file using direct URL. | ||
- Privacy Policy and Terms & Conditions. | ||
- Favicons for different platforms. | ||
- Buttons with useful links in `/help` command. | ||
- "Report a problem" link in error authorization HTML page. | ||
|
||
### Changed | ||
|
||
- Title. | ||
- Description. | ||
- Logo. | ||
- Favicon. | ||
- Button with URL instead of plain text with URL in `/grant_access` command. | ||
|
||
### Fixed | ||
|
||
- A bug when sometimes "I can't track operation status of this anymore. Perform manual checking." message could appear even if operation was completed. | ||
- A bug when empty `/create_folder` was successfully handled. | ||
|
||
## Project | ||
|
||
### Improved | ||
|
||
- Big refactoring of everything. | ||
- File structure. | ||
- Upgrade `gevent` to 1.5.0. | ||
|
||
### Added | ||
|
||
- `SERVER_NAME` environment variable. | ||
- Google Analytics in authorization pages. | ||
- Templates for issues and pull requests. | ||
- `robots.txt`. | ||
|
||
### Changed | ||
|
||
- Decreased size of slug on Heroku by removing unused files and folders. | ||
- Decreased number of seconds for Yandex.OAuth request timeout. | ||
- Redirects and generated URL's always will be absolute URL's with `PREFERRED_URL_SCHEME + SERVER_NAME`. | ||
- If user refused to grant the access to Yandex.Disk, then user `insert_token` will be cleared after redirect. | ||
|
||
|
||
# 1.0.0 (April 15, 2020) | ||
|
||
Initial release! |
Oops, something went wrong.