Ultroid v0.7 Updates
Date: 30-8-2022 Co-Authored-By: Aditya <me@xditya.me> Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-Authored-By: CyrusXD <79554993+Ashutosh1478@users.noreply.github.com> Co-Authored-By: Danish <danish@ultroid.tech> Co-Authored-By: TechiError <error@notavailable.live> Co-Authored-By: Arnab Paryali <arnabxd@pm.me>
This commit is contained in:
14
.github/ISSUE_TEMPLATE/bug-reports.yml
vendored
14
.github/ISSUE_TEMPLATE/bug-reports.yml
vendored
@@ -30,18 +30,18 @@ body:
|
||||
label: Version
|
||||
description: What version of Ultroid are you running?
|
||||
options:
|
||||
- 0.3
|
||||
- 0.2
|
||||
- 0.1
|
||||
- 0.0.9
|
||||
- 0.0.8 (or lesser)
|
||||
- "0.5"
|
||||
- "0.6"
|
||||
- "0.7"
|
||||
- "> 0.7"
|
||||
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: hosted
|
||||
attributes:
|
||||
label: Hosted On
|
||||
description: You Hosted Ultroid In Which Platform?
|
||||
description: You are hosting Ultroid on Which Platform?
|
||||
options:
|
||||
- Vps
|
||||
- Heroku
|
||||
@@ -65,4 +65,4 @@ body:
|
||||
description: By submitting this issue, you agree that you have read the [docs](https://ultroid.tech) and gone through the [deploy tutorial](https://www.youtube.com/watch?v=9wF7k9qA0Q4) at first.
|
||||
options:
|
||||
- label: I have followed all of the above steps.
|
||||
required: true
|
||||
required: true
|
||||
|
||||
4
.github/ISSUE_TEMPLATE/config.yml
vendored
4
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,8 +1,8 @@
|
||||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: Ultroid Support
|
||||
url: https://t.me/UltroidSupport
|
||||
url: https://t.me/UltroidSupportChat
|
||||
about: Please drop your doubts or queries there for an immediate response.
|
||||
- name: Documentation
|
||||
url: https://ultroid.tech/
|
||||
about: Basic documentation for setting up.
|
||||
about: Basic documentation for setting up.
|
||||
|
||||
33
.github/workflows/autotranslate.yml
vendored
Normal file
33
.github/workflows/autotranslate.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Strings Translation
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ dev ]
|
||||
paths:
|
||||
- strings/strings/en.yml
|
||||
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Checkout Strings
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9.x
|
||||
- name: Update Translations
|
||||
run: |
|
||||
git config --global user.email "newdev0@outlook.com"
|
||||
git config --global user.name "New-Dev0"
|
||||
git branch translation && git checkout translation
|
||||
pip install pyyaml requests telethon
|
||||
wget -O run.py https://gist.githubusercontent.com/New-dev0/c7d0d1eb514d311e8e3b687ae5cbe5f3/raw/350cc6d451a02a4b07d0f9bbc27b0e7c9465d3d4/updater.py
|
||||
python3 run.py
|
||||
rm run.py
|
||||
git add . && git commit -m "[Auto] Translate" && git push --set-upstream origin translation
|
||||
gh pr create --title "[Auto] Translation" -B dev --body "Update Translation"
|
||||
44
.github/workflows/pylint.yaml
vendored
Normal file
44
.github/workflows/pylint.yaml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
name: PyLint
|
||||
on:
|
||||
push:
|
||||
branches: [ dev ]
|
||||
paths:
|
||||
- "**.py"
|
||||
jobs:
|
||||
PEP8:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install Python lint libraries
|
||||
run: pip install autopep8 autoflake isort black
|
||||
- name: Check for showstoppers
|
||||
run: |
|
||||
autopep8 --verbose --in-place --recursive --aggressive --aggressive assistant/*.py
|
||||
autopep8 --verbose --in-place --recursive --aggressive --aggressive assistant/manager/*.py
|
||||
autopep8 --verbose --in-place --recursive --aggressive --aggressive plugins/*.py
|
||||
- name: Remove unused imports and variables
|
||||
run: |
|
||||
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports assistant/*.py
|
||||
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports assistant/manager/*.py
|
||||
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports plugins/*.py
|
||||
- name: lint with isort and black
|
||||
run: |
|
||||
isort assistant/*.py
|
||||
isort assistant/manager/*.py
|
||||
black --fast assistant/*.py
|
||||
black assistant/manager/*.py
|
||||
isort plugins/*.py
|
||||
black --fast plugins/*.py
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: 'pylint: auto fixes'
|
||||
commit_options: '--no-verify'
|
||||
repository: .
|
||||
commit_user_name: buddhhu
|
||||
commit_user_email: 48654350+buddhhu@users.noreply.github.com
|
||||
commit_author: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
|
||||
|
||||
33
.github/workflows/stringanalysis.yml
vendored
Normal file
33
.github/workflows/stringanalysis.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Strings Analysis
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: dev
|
||||
paths: strings/strings/*
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Checkout Strings
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9.x
|
||||
- name: Install Stuff
|
||||
run: pip install pyyaml
|
||||
- name: dl stuff
|
||||
run: wget -O stringizer.py https://gist.githubusercontent.com/New-dev0/6dfc8a177418565a776167764b2fe0e4/raw/f515e9892a331110c1565eb109eb712eb64423bd/stringzer.py
|
||||
- name: do stuff
|
||||
run: python stringizer.py && rm stringizer.py
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: 'Strings: Auto Count'
|
||||
commit_options: '--no-verify'
|
||||
repository: .
|
||||
commit_user_name: TeamUltroid
|
||||
commit_user_email: 48654350+buddhhu@users.noreply.github.com
|
||||
commit_author: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
|
||||
Reference in New Issue
Block a user