Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

[pull] main from TeamUltroid:main #1

Open
wants to merge 130 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
18474c8
fixes
xditya Feb 26, 2021
104d428
check for verified users
xditya Feb 26, 2021
34db188
some more fixes
xditya Feb 26, 2021
bfe741a
back buttons for assistant
xditya Feb 26, 2021
066275a
fixes, new plugins
xditya Feb 26, 2021
339d0d8
formatting
xditya Feb 26, 2021
0ab8008
Typo
New-dev0 Feb 26, 2021
63b7dcb
Update bot.py
FarhanArt Feb 27, 2021
7883a47
Ha
sppidy Feb 27, 2021
5723179
I think This Design Will Be Good
sppidy Feb 27, 2021
275d9ee
Typing mistake
Atul-Kumar-Jena Feb 28, 2021
b0f6d58
Ultroid - v0.0.3
xditya Mar 4, 2021
02f1bb3
Ultroid - v0.0.3 = Added Help Menu
sppidy Mar 4, 2021
68d651e
Update gdrive.py
buddhhu Mar 4, 2021
21c6136
Update requirements.txt
1Danish-00 Mar 5, 2021
a104e40
Typos
1Danish-00 Mar 8, 2021
cb317c5
Ultroid - v0.0.4
xditya Mar 13, 2021
8931530
fixes
New-dev0 Mar 13, 2021
ba44cd5
Fixes
1Danish-00 Mar 15, 2021
80e664e
Update en.yml
1Danish-00 Mar 21, 2021
97146a9
Update en.yml
1Danish-00 Mar 21, 2021
4e8b054
Ultroid 0.0.5 - 06/04/21
New-dev0 Apr 6, 2021
bef7479
Bug fixes V0.0.5
1Danish-00 Apr 15, 2021
13af61d
Fixes
1Danish-00 Apr 15, 2021
b7f8cd5
Fixed afk
buddhhu Apr 15, 2021
31390ec
_
New-dev0 Apr 15, 2021
a862dce
Fixes
1Danish-00 Apr 15, 2021
adb2e3e
Fixes
buddhhu Apr 16, 2021
7eb5e58
Release v0.0.6
iAkashPattnaik May 8, 2021
702dfab
already there .
1Danish-00 May 8, 2021
427b6f5
Fixes v0.0.6 2021/05/09
1Danish-00 May 8, 2021
68839e9
Ultroid v0.0.7 2021/05/22
1Danish-00 May 22, 2021
e01a584
Fixes v0.0.7 2021/05/23
TechiError May 23, 2021
6cc2e19
Ultroid v0.0.7 Fixes 24/05
1Danish-00 May 24, 2021
4f0cb66
small fixes
1Danish-00 May 25, 2021
4e65f21
Ultroid v0.0.8 | 17-6-21
New-dev0 Jun 17, 2021
2ee7b99
Fixes v0.0.8.1
1Danish-00 Jun 18, 2021
7d73852
Fixed Pmpermit
1Danish-00 Jun 20, 2021
9fd07ca
Issue Templates
xditya Jun 29, 2021
71fddc8
Fixes.
xditya Jul 2, 2021
386eff6
v0.0.9 18/07/2021
1Danish-00 Jul 18, 2021
9b282fd
Fixes. v0.0.9
xditya Jul 19, 2021
273ac6a
Fixing some Minor Bugs [ #118 ]
TheShubhendra Jul 28, 2021
5b4e83f
Add UltroidCli as a deploy method (#128)
iAkashPattnaik Aug 13, 2021
db48d5c
Replace new bypass link
New-dev0 Aug 21, 2021
d1ff40b
add support for deploys to railway.app
xditya Aug 26, 2021
6fe68dc
railway support
xditya Aug 27, 2021
1b1eb1d
railway support
1Danish-00 Aug 27, 2021
6c7af44
Ultroid v0.1 Updates 13.09.2021
New-dev0 Sep 12, 2021
09ae507
Add CodeQL Analysis
aleks-ivanov Sep 13, 2021
c88a4ca
Re-Fixes v0.1.1
1Danish-00 Sep 14, 2021
8f1a5d8
small fix (.packkang)
New-dev0 Sep 14, 2021
3de56f2
remove railway support, for now.
xditya Sep 15, 2021
0265012
v0.1.2
1Danish-00 Sep 16, 2021
50bd127
v0.1.3 (#164)
1Danish-00 Sep 18, 2021
8f28387
Small Fixes.
New-dev0 Sep 19, 2021
6f44b38
v0.2 11/10/2021
1Danish-00 Oct 10, 2021
83ce616
Ultroid v0.2.1 [Fixes]
1Danish-00 Oct 11, 2021
622569d
Fixes in [ ru strings ].
Oct 21, 2021
cd5cf96
Minor Fixes and Update deploy link
New-dev0 Nov 17, 2021
95e0eb2
Update to [Layer 133] and [Other Minor Fixes].
New-dev0 Dec 3, 2021
d780cd1
Update [Deploy Link]
aviskumar Dec 30, 2021
0df53ca
Ultroid v0.3 Updates
New-dev0 Dec 31, 2021
d82cc7d
Ultroid v0.3 fixes
New-dev0 Jan 1, 2022
52a2819
remove deploy to railway button until further notice
xditya Jan 13, 2022
d6d84c9
Update Japanese translation (#246)
Achu2234 Feb 6, 2022
d553f53
Updated Arabic translation (#250)
MMETMA Jan 8, 2022
b9f9c54
added Indonesian translation
mrismanaziz Jan 13, 2022
8ad7073
Ultroid v0.4 updates
New-dev0 Feb 9, 2022
138ee18
Finished the Arabic Translation (#267)
MMETMA Feb 10, 2022
70a3a11
Ultroid v0.4.1
New-dev0 Feb 10, 2022
0dfd8e6
Fix packkang
New-dev0 Feb 12, 2022
06ee0bb
Fix creating new video stickers pack and other minor fixes.
New-dev0 Feb 13, 2022
c2086ea
Update Bengali Translation (#277)
shado-hackers Mar 3, 2022
ca2ddd8
Update Spanish Translation (#284)
nmayorga092 Mar 10, 2022
e9cbd92
add group to NOSPAM_CHAT (#278)
mrismanaziz Mar 7, 2022
0df6f2f
Add custom option to getlink command (#288)
smartmanru Mar 17, 2022
f106c48
Update to ytdlp not ytdl (#287)
Pranav-Saraswat Mar 16, 2022
90ad564
Ultroid v0.5 Updates
New-dev0 Mar 19, 2022
67de9ba
Update Readme "Version"
Ryoishin Mar 30, 2022
d408591
[NEW] [ADD] French Translation (FR) (#307)
grm34 Jun 6, 2022
4d30dd7
[Update] Ultroid v0.6
New-dev0 Jun 6, 2022
08ab744
update runner pipeline
iAkashPattnaik Jun 7, 2022
d130865
[Fix] Dockerfile
New-dev0 Jun 8, 2022
aa552b8
[LANG] Update Portuguese translation (#323)
igorzbr Jun 12, 2022
a561e76
Update pt-br.yml
igorzbr Jun 12, 2022
c33e291
[LANG] [UPDATE] pt-br
xditya Jun 12, 2022
afe0bba
[Add] Uzbek Language
Jun 19, 2022
483fd47
Fix Uzbek Language
New-dev0 Jun 20, 2022
29da059
Fix Docker Deploy and other minor fixes
New-dev0 Jul 21, 2022
f029a2c
[PT-BR]: Fix strings. (#349)
SH4ND Aug 4, 2022
20c7145
Fix requirements Installation Issue
New-dev0 Aug 7, 2022
7af1de1
fix strings pt-br [again] (#359)
SH4ND Aug 21, 2022
60c6df5
[DEP]: Update PyTgCalls's version
Blackxin Aug 28, 2022
d8bd901
Ultroid v0.7 Updates
New-dev0 Aug 30, 2022
72fd39b
[DEP]: Add missing dependencies.
xditya Aug 30, 2022
f8d9429
Minor Fixes
New-dev0 Aug 30, 2022
2df22b3
Minor Fix
TechiError Sep 10, 2022
adcb304
Try
TechiError Sep 11, 2022
0671f37
Update Ultroid v0.7.1
New-dev0 Oct 2, 2022
2049995
Update fontgen.py
Ashutosh1478 Oct 3, 2022
d7a0910
updated hindi string
e3ris Oct 10, 2022
dab5e7b
Merge pull request #380 from e3ris/patch-3
Ashutosh1478 Oct 10, 2022
a86ed7d
chore: remove dead clone link from termux installer
xditya Oct 15, 2022
fbfde04
chore: update sessiongen to work with pyrogram 2.0
xditya Dec 7, 2022
47bedbc
chore: fix chatbot and other minor issues.
New-dev0 Dec 18, 2022
9746b48
feat: fix up session gen
xditya Dec 21, 2022
09971ca
Update Ultroid v0.8
New-dev0 Feb 20, 2023
cb7889e
AttributeError: no attribute '_bot'
buddhhu Apr 18, 2023
24e7379
Exits on using LocalDB
buddhhu May 14, 2023
d2351e5
Update variables from .env
buddhhu May 15, 2023
bba9fbe
Update
buddhhu May 15, 2023
b19a496
Pass if no .env found
buddhhu May 16, 2023
d768b04
Update Carbonara API url (#414)
Anekashastrahasta Jun 15, 2023
41fb5b5
chore: update license year
xditya Jul 9, 2023
b905532
FIX: Rayso
New-dev0 Dec 10, 2023
7b7cb6d
Fix echo and setpic
New-dev0 Dec 11, 2023
7f5d75a
Fix: qrcode while using user's profile
New-dev0 Jan 22, 2024
d9838a0
Update API url
buddhhu Jan 31, 2024
4264383
Update CodeQL workflow to use latest CLI binaries and cache database …
Dev-Yoko May 13, 2024
f81b418
fix: logo command
New-dev0 May 17, 2024
2d95dfb
feat: use telethonpatch to patch changes
New-dev0 May 17, 2024
86fb9b7
fix: _bot attribute for vcClient
New-dev0 May 17, 2024
e04e084
Revert: to older later (fork)
New-dev0 May 29, 2024
b1b4432
Update requirements.txt
New-dev0 Jul 9, 2024
01f5fcc
fix chatbot ai (#450)
hybridvamp Jul 14, 2024
778ef54
fix: Akinator game (#452)
ufoptg Jul 28, 2024
8d9418e
Akinator improve logging (#453)
ufoptg Aug 1, 2024
c8d2cdf
fix: time_int in ban_time remove whitespace
Qurbonsaid Oct 25, 2024
d145554
Merge pull request #460 from Qurbonsaid/patch-1
Atul-Kumar-Jena Oct 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
# Don't use quotes( " and ' )
# e.g : HNDLR=.
# Leave ENV as it is.
# Don't use quotes( " and ' )

ENV=True
API_ID=
API_HASH=abcdefgh
API_HASH=
SESSION=
HNDLR=
BOT_USERNAME=
BOT_TOKEN=
LOG_CHANNEL=
REDIS_URI=
REDIS_PASSWORD=
HEROKU_API=
HEROKU_APP_NAME=
SUDO=True
MSG_FRWD=True
I_DEV=False

# [OPTIONAL]

LOG_CHANNEL=
BOT_TOKEN=
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-reports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Bug Report
description: File a bug report
title: "[BUG REPORT]"
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: contact
attributes:
label: Contact Details
description: Your telegram username or email ID.
placeholder: ex. @username or [email protected]
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: dropdown
id: version
attributes:
label: Version
description: What version of Ultroid are you running?
options:
- "0.5"
- "0.6"
- "0.7"
- "> 0.7"

validations:
required: true
- type: dropdown
id: hosted
attributes:
label: Hosted On
description: You are hosting Ultroid on Which Platform?
options:
- Vps
- Heroku
- Railway
- Qovery
- Termux
- Other
- Didn't Deployed Yet
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant logs output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Acknowledgement
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
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Ultroid Support
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.
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Title

### Detailed Description [Optional] :
detailed_description_here

### Issue Number [Optional] :
Issue Number here if your pull request close any issue or is linked to.

----
13 changes: 13 additions & 0 deletions .github/stalebot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 50
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Label to use when marking an issue as stale
staleLabel: inactive
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
any recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
35 changes: 35 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CodeQL Analysis

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches: [ '**' ]
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Cache CodeQL database
uses: actions/cache@v2
with:
path: ~/.codeql
key: ${{ runner.os }}-codeql-${{ hashFiles('**/qlpack.yml') }}
restore-keys: ${{ runner.os }}-codeql-

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'python'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
45 changes: 45 additions & 0 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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
cache: "pip"
- 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: [email protected]
commit_author: Amit Sharma <[email protected]>

33 changes: 33 additions & 0 deletions .github/workflows/stringanalysis.yml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
commit_author: Amit Sharma <[email protected]>
47 changes: 40 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,46 @@
.env
venv/
__pycache__
BOT_TOKEN.session-journal
BOT_TOKEN.session
*.session-journal
*.session
build
test*
*.mp3
*.webm
*.webp
*.mp4
*.tgs
logs-ultroid.txt
.vscode/*
ultroid-log.txt
*.txt
/*.jpg
/*.png
/*.mp4
*.log
target/npmlist.json
package-lock.json
ultroid.json
resources/extras/thumbnail.jpg

# Directories
addons/
vcbot/
__pycache__/
venv/
node_modules/
glitch_me/
src/glitch-me
.idea/
.vscode/
temp/
bin-debug/
bin-release/
[Oo]bj/
[Bb]in/
.settings/
*.swf
*.air
*.ipa
*.apk

# temporary files
*.raw

# fly.io configs
fly.toml
Loading