Skip to content

Commit e70de9a

Browse files
Merge branch 'main' into main
2 parents f19541c + 4ab37f3 commit e70de9a

132 files changed

Lines changed: 46014 additions & 6628 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- Device: [e.g. PC]
28+
- OS: [e.g. Windows]
29+
- OS Version (if applicable) [e.g. 11]
30+
- Bombsquad Version [e.g. 1.7.37]
31+
- Plugin Manager Version [e.g. 1.1.10]
32+
33+
**Smartphone (please complete the following information):**
34+
- Device: [e.g. Mobile]
35+
- OS: [e.g. Android]
36+
- OS Version (if applicable) [e.g. 11]
37+
- Bombsquad Version [e.g. 1.7.37]
38+
- Plugin Manager Version [e.g. 1.1.10]
39+
40+
**Additional context**
41+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: BombSquad Community Server Discord
4+
url: https://discord.com/invite/ucyaesh
5+
about: Please ask and answer questions here.
6+
- name: BombSquad/Ballistica Official Discord
7+
url: https://ballistica.net/discord
8+
about: Please ask and answer questions here.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Plugin bug report
3+
about: Create a report about a plugin to help us improve
4+
title: '[PLUGIN BUG]'
5+
labels: Plugin Bug
6+
assignees: ''
7+
8+
---
9+
10+
**Plugin name**
11+
The name of the plugin having the bug
12+
13+
**Describe the bug**
14+
A clear and concise description of what the bug is.
15+
16+
**To Reproduce**
17+
Steps to reproduce the behavior:
18+
1. Go to '...'
19+
2. Click on '....'
20+
3. Scroll down to '....'
21+
4. See error
22+
23+
**Expected behavior**
24+
A clear and concise description of what you expected to happen.
25+
26+
**Screenshots**
27+
If applicable, add screenshots to help explain your problem.
28+
29+
**Desktop (please complete the following information):**
30+
- Device: [e.g. PC]
31+
- OS: [e.g. Windows]
32+
- OS Version (if applicable) [e.g. 11]
33+
- Bombsquad Version [e.g. 1.7.37]
34+
- Plugin Manager Version [e.g. 1.1.10]
35+
- Plugin Version [e.g 2.0.1]
36+
37+
**Smartphone (please complete the following information):**
38+
- Device: [e.g. Mobile]
39+
- OS: [e.g. Android]
40+
- OS Version (if applicable) [e.g. 11]
41+
- Bombsquad Version [e.g. 1.7.37]
42+
- Plugin Manager Version [e.g. 1.1.10]
43+
- Plugin Version [e.g 2.0.1]
44+
45+
**Additional context**
46+
Add any other context about the problem here.

.github/workflows/ci.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,46 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.10"]
14+
python-version: ["3.12"]
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
token: ${{ secrets.GITHUB_TOKEN }}
1919
repository: ${{ github.event.pull_request.head.repo.full_name }}
2020
ref: ${{ github.head_ref }}
2121
fetch-depth: 0
22+
2223
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v4
2425
with:
2526
python-version: ${{ matrix.python-version }}
27+
2628
- name: Install Dependencies
2729
run: |
28-
python -m pip install --upgrade pip
29-
pip install autopep8==2.0.0
30-
pip install -r test/pip_reqs.txt
30+
python -m pip install -U pip
31+
python -m pip install -U pycodestyle==2.12.1 autopep8
32+
python -m pip install -U -r test/pip_reqs.txt
33+
3134
- name: Apply AutoPEP8
3235
run: |
3336
autopep8 --in-place --recursive --max-line-length=100 .
37+
3438
- name: Commit AutoPEP8
35-
uses: stefanzweifel/git-auto-commit-action@v4
39+
uses: stefanzweifel/git-auto-commit-action@v5
3640
with:
3741
commit_message: "[ci] auto-format"
3842
branch: ${{ github.head_ref }}
43+
3944
- name: Apply Version Metadata
4045
run: |
4146
python test/auto_apply_version_metadata.py $(git log --pretty=format:'%h' -n 1)
47+
4248
- name: Commit Version Metadata
43-
uses: stefanzweifel/git-auto-commit-action@v4
49+
uses: stefanzweifel/git-auto-commit-action@v5
4450
with:
4551
commit_message: "[ci] apply-version-metadata"
4652
branch: ${{ github.head_ref }}
53+
4754
- name: Execute Tests
4855
run: |
4956
python -m unittest discover -v

.github/workflows/release.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- index.json
9+
10+
jobs:
11+
build:
12+
name: Create Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.12'
20+
21+
- name: 'Get Previous tag'
22+
uses: oprypin/find-latest-tag@v1.1.2
23+
with:
24+
repository: ${{ github.repository }}
25+
releases-only: true # We know that all relevant tags have a GitHub release for them.
26+
id: previoustag
27+
28+
- name: set_variables
29+
run: |
30+
output1=$(python3 test/get_latest.py get_latest_version)
31+
{
32+
echo "changelog<<EOF"
33+
python3 test/get_changes.py "$(python3 test/get_latest.py get_latest_version)"
34+
echo EOF
35+
} >> "$GITHUB_OUTPUT"
36+
output2=$(python3 test/get_latest.py get_latest_api)
37+
output3=$(python3 test/version_is_lower.py ${{ steps.previoustag.outputs.tag }})
38+
echo "latestVersion=$output1" >> $GITHUB_OUTPUT
39+
echo "latestAPI=$output2" >> $GITHUB_OUTPUT
40+
echo "shouldRun=$output3" >> $GITHUB_OUTPUT
41+
id: set_variables
42+
43+
44+
45+
- name: Bump version and push tag
46+
if: ${{ steps.set_variables.outputs.shouldRun == '1' }}
47+
id: tag_version
48+
uses: mathieudutour/github-tag-action@v6.2
49+
with:
50+
github_token: ${{ secrets.GITHUB_TOKEN }}
51+
custom_tag: |
52+
${{ steps.set_variables.outputs.latestVersion }}
53+
54+
- name: Create release
55+
if: ${{ steps.tag_version.outputs.new_tag }}
56+
uses: ncipollo/release-action@v1
57+
with:
58+
tag: ${{ steps.tag_version.outputs.new_tag }}
59+
name: ${{ steps.tag_version.outputs.new_tag }} (api ${{ steps.set_variables.outputs.latestAPI }})
60+
artifacts: "plugin_manager.py"
61+
body: |
62+
## Changelog
63+
${{ steps.set_variables.outputs.changelog }}
64+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
reference.py
22
__pycache__
33
*.pyc
4+
.history

CHANGELOG.md

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,145 @@
11
## Plugin Manager (dd-mm-yyyy)
22

3+
### 1.1.1 (09-02-2025)
4+
5+
- Added bomb spinner widget for loading animation.
6+
7+
### 1.1.0 (23-01-2025)
8+
9+
- Updated to bombsquad api 9.
10+
11+
### 1.0.23 (13-01-2025)
12+
13+
- Fixed a bug which wasn't letting older versions run Plugin Manager.
14+
15+
### 1.0.22 (07-08-2024)
16+
17+
- Fixed a few Errors and UI Bugs.
18+
19+
### 1.0.21 (20-05-2024)
20+
21+
- Fixed an error related with notification of new plugins.
22+
23+
### 1.0.20 (13-05-2024)
24+
25+
- Now compatible with BS version 1.7.35+.
26+
- Updated build_number and version attributes to latest.
27+
- FIX: Changelog for all version was shown after refreshing.
28+
29+
### 1.0.19 (05-05-2024)
30+
31+
- Fixed an issue where changelogs were not displayed.
32+
- Changed the Authors text color to be seen more easily.
33+
34+
### 1.0.18 (28-04-2024)
35+
36+
- Fixed errors which were caused due to no internet connection.
37+
38+
### 1.0.17 (22-04-2024)
39+
40+
- Added ChangeLog Window to view latest changes.
41+
42+
### 1.0.16 (22-04-2024)
43+
44+
- Fix for error caused when disable button was missing
45+
46+
### 1.0.15 (22-04-2024)
47+
48+
- Plugins can now be viewed in A-Z and Z-A order.
49+
- Added 'Installed' category to show Installed plugins.
50+
51+
### 1.0.14 (21-04-2024)
52+
53+
- Displaying All Author Names and their Info for plugins.
54+
55+
### 1.0.13 (20-04-2024)
56+
57+
- Improvements to the new plugins notification.
58+
59+
### 1.0.12 (20-04-2024)
60+
61+
- Limited the "x new plugins are available" screen message to only show maximum 2 plugins.
62+
63+
### 1.0.11 (20-04-2024)
64+
65+
- Fixed positions of a few buttons.
66+
67+
### 1.0.10 (19-04-2024)
68+
69+
- Fixed up a bug in Refreshing Plugins button.
70+
71+
### 1.0.9 (19-04-2024)
72+
73+
- Made the Plugin names look a little cleaner.
74+
75+
### 1.0.8 (11-04-2024)
76+
77+
- Avoid making app-mode related calls while `SceneAppMode` isn't set.
78+
79+
### 1.0.7 (22-02-2024)
80+
81+
- Fix searching in plugin manager with capital letters.
82+
83+
### 1.0.6 (26-12-2023)
84+
85+
- Fixed plugin manager throwing errors on older builds.
86+
87+
### 1.0.5 (11-12-2023)
88+
89+
- Fix a typo.
90+
91+
### 1.0.4 (08-12-2023)
92+
93+
- Fix a few UI warnings related to 1.7.30.
94+
- Fix a memory leak.
95+
96+
### 1.0.3 (06-10-2023)
97+
98+
- Add a compatibility layer for older builds for API deprecation changes that occured in https://github.com/efroemling/ballistica/blob/master/CHANGELOG.md#1727-build-21282-api-8-2023-08-30
99+
100+
### 1.0.2 (01-10-2023)
101+
102+
- Rename deprecated `babase.app.api_version` -> `babase.app.env.api_version`.
103+
104+
### 1.0.1 (30-06-2023)
105+
106+
- Allow specifying branch names in custom sources.
107+
108+
### 1.0.0 (20-06-2023)
109+
110+
- Migrate plugin manager's source code to API 8.
111+
112+
### 0.3.5 (16-06-2023)
113+
114+
- Replace the "Loading..." text with the exception message in case something goes wrong.
115+
116+
### 0.3.4 (14-05-2023)
117+
118+
- Optimize new plugin detection mechanism.
119+
120+
### 0.3.3 (13-05-2023)
121+
122+
- Print the number and names of the client supported plugins which are newly added to the plugin manager.
123+
124+
### 0.3.2 (30-04-2023)
125+
126+
- Fix sometimes same sound would repeat twice when pressing a button.
127+
- Low key attempt to experiment with staging branch by changing current tag in `plugin_manager.py`.
128+
- Assume underscores as spaces when searching for plugins in game.
129+
130+
### 0.3.1 (04-03-2023)
131+
132+
- Resize the plugin window to limit the overlapping of plugin description.
133+
134+
### 0.3.0 (12-02-2023)
135+
136+
- Displays a tutorial button in the plugin window, whenever there is a supported url present in the plugin data.
137+
138+
### 0.2.2 (18-01-2023)
139+
140+
- Auto add new line breaks in long plugin descriptions.
141+
- Fixed an issue where pressing back on the main plugin manager window would play the sound twice.
142+
3143
### 0.2.1 (17-12-2022)
4144

5145
- Add Google DNS as a fallback for Jio ISP DNS blocking resolution of raw.githubusercontent.com domain.
@@ -35,3 +175,7 @@
35175
### 0.1.5 (08-09-2022)
36176

37177
- Plugin files that export classes besides plugin or game, now work.
178+
179+
### 0.1.4 (05-09-2022)
180+
181+
- First public release of plugin manager. 🎉

0 commit comments

Comments
 (0)