mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-07-15 00:13:11 +02:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04c00a157c | ||
|
|
bca44182fb | ||
|
|
fad79747bd | ||
|
|
0a29401e41 | ||
|
|
d7628753d7 | ||
|
|
22f2d2b2e2 | ||
|
|
64b54065cd | ||
|
|
4df34419ad | ||
|
|
dc359685c3 | ||
|
|
3515bd3497 | ||
|
|
b322c02812 | ||
|
|
64bcb98017 | ||
|
|
4fa76dbf3d | ||
|
|
915c16aaab | ||
|
|
94d1c97f95 | ||
|
|
def87c330f |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: [supernova3339] Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
github: [supernova3339] Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||||
patreon: #
|
patreon: superdevofficial
|
||||||
open_collective: # Replace with a single Open Collective username
|
open_collective: # Replace with a single Open Collective username
|
||||||
ko_fi: # Replace with a single Ko-fi username
|
ko_fi: # Replace with a single Ko-fi username
|
||||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||||
|
|||||||
8
.github/ISSUE_TEMPLATE/bug_report.md
vendored
8
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -7,9 +7,6 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
- [ ] Does this post follow the code of conduct?
|
|
||||||
- [ ] Does this post follow the AnonUpload [terms of service](https://anonupload.us/terms)?
|
|
||||||
|
|
||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
A clear and concise description of what the bug is.
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
@@ -40,10 +37,5 @@ If applicable, add screenshots to help explain your problem.
|
|||||||
** Version**
|
** Version**
|
||||||
Add your AnonUpload version here.
|
Add your AnonUpload version here.
|
||||||
|
|
||||||
**What are you running with?**
|
|
||||||
- OS: [e.g. Debian 11]
|
|
||||||
- TYPE: [e.g. Easypanel]
|
|
||||||
- Channel [e.g. Stable]
|
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
|
|||||||
17
.github/workflows/stale.yml
vendored
17
.github/workflows/stale.yml
vendored
@@ -1,17 +0,0 @@
|
|||||||
name: 'Stale issue handler'
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
stale:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/stale@main
|
|
||||||
with:
|
|
||||||
stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.'
|
|
||||||
close-issue-message: 'Closing issue due to no activity in more than 60 days.'
|
|
||||||
days-before-stale: 30
|
|
||||||
days-before-close: 5
|
|
||||||
exempt-issue-labels: 'blocked,keep'
|
|
||||||
@@ -66,19 +66,8 @@ return $bytes . ' B';
|
|||||||
// get size of folders in a folder
|
// get size of folders in a folder
|
||||||
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
||||||
|
|
||||||
// Update checker
|
|
||||||
$PATCH_URL = 'https://raw.githubusercontent.com/Supernova3339/anonfiles/main/';
|
|
||||||
$version_filename = 'latest.txt?token=GHSAT0AAAAAAB4S7HM4SZGF7VWPABQO3KRSY5FDV4Q'; # REMOVE TOKEN
|
|
||||||
// Get version
|
// Get version
|
||||||
$ch = curl_init($PATCH_URL . $version_filename);
|
// todo: make this work
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_HEADER, 0);
|
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
||||||
|
|
||||||
$str = curl_exec($ch);
|
|
||||||
curl_close($ch);
|
|
||||||
|
|
||||||
$server_version = str_to_version_info($str);
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?=template_admin_header('Dashboard', 'dashboard')?>
|
<?=template_admin_header('Dashboard', 'dashboard')?>
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ define('plausible_embed', $plausibleembed);
|
|||||||
define('plausibleembedtoken', $plausibleembedtoken);
|
define('plausibleembedtoken', $plausibleembedtoken);
|
||||||
/* version */
|
/* version */
|
||||||
define('version', 'v1.0.0'); // DO NOT FORGET TO CHANGE THIS
|
define('version', 'v1.0.0'); // DO NOT FORGET TO CHANGE THIS
|
||||||
|
$github_api_url = "https://api.github.com/repos/Supernova3339/anonupload/releases/latest"; // this is how tag gets pulled for latest version
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user