mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-07-14 15:53:41 +02:00
Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04c00a157c | ||
|
|
bca44182fb | ||
|
|
fad79747bd | ||
|
|
0a29401e41 | ||
|
|
d7628753d7 | ||
|
|
22f2d2b2e2 | ||
|
|
64b54065cd | ||
|
|
4df34419ad | ||
|
|
dc359685c3 | ||
|
|
3515bd3497 | ||
|
|
b322c02812 | ||
|
|
64bcb98017 | ||
|
|
4fa76dbf3d | ||
|
|
915c16aaab | ||
|
|
94d1c97f95 | ||
|
|
def87c330f | ||
|
|
b2f0fedce4 | ||
|
|
2b7c9bfe48 | ||
|
|
98e624b352 | ||
|
|
cd89513274 | ||
|
|
5ed191659d | ||
|
|
02c5d49113 | ||
|
|
732fb0a4e6 | ||
|
|
997b362ea4 | ||
|
|
006b10aea1 | ||
|
|
a6e67d161f | ||
|
|
40742df867 | ||
|
|
321c5da370 | ||
|
|
b2270b5588 | ||
|
|
19afe45d57 | ||
|
|
d48eb3db59 | ||
|
|
1bf1ffb711 |
5
.github/ISSUE_TEMPLATE/bug_report.md
vendored
5
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -2,7 +2,7 @@
|
|||||||
name: Bug report
|
name: Bug report
|
||||||
about: Create a report to help us improve
|
about: Create a report to help us improve
|
||||||
title: ''
|
title: ''
|
||||||
labels: ''
|
labels: bug
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -34,5 +34,8 @@ If applicable, add screenshots to help explain your problem.
|
|||||||
- Browser [e.g. stock browser, safari]
|
- Browser [e.g. stock browser, safari]
|
||||||
- Version [e.g. 22]
|
- Version [e.g. 22]
|
||||||
|
|
||||||
|
** Version**
|
||||||
|
Add your AnonUpload version here.
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
|
|||||||
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: Community Forum
|
||||||
|
url: https://anonupload.us/discuss
|
||||||
|
about: Ask a question, get answers. Anything not related to a feature request OR bug report should go here.
|
||||||
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -2,7 +2,7 @@
|
|||||||
name: Feature request
|
name: Feature request
|
||||||
about: Suggest an idea for this project
|
about: Suggest an idea for this project
|
||||||
title: ''
|
title: ''
|
||||||
labels: ''
|
labels: enhancement
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
name: ChatGPT CodeReview
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
chatgpt_comment:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Let chatgpt comment on your PR.
|
||||||
|
steps:
|
||||||
|
- name: ChatGPT comment
|
||||||
|
uses: kxxt/chatgpt-action@v0.3
|
||||||
|
id: chatgpt
|
||||||
|
with:
|
||||||
|
number: ${{ github.event.pull_request.number }}
|
||||||
|
sessionToken: ${{ secrets.CHATGPT_SESSION_TOKEN }}
|
||||||
|
split: 'yolo' # Use true to enable the unstable split feature.
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
name: Release to Github Packages. # https://ghcr.io
|
name: Release to Github Packages. # https://ghcr.io
|
||||||
|
|
||||||
on: # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
|
on: # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
tags: # This builds for all branches with semantically versioned tags (v0.12.3).
|
tags: # This builds for all branches with semantically versioned tags (v0.12.3).
|
||||||
- v* # https://semver.org will fail, if there are any other tags
|
- v* # https://semver.org will fail, if there are any other tags
|
||||||
@@ -11,9 +11,8 @@ on: # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-ac
|
|||||||
#pull_request: # Run 'tests' for any PRs. Default is to not run for first-time contributors: see /settings/actions
|
#pull_request: # Run 'tests' for any PRs. Default is to not run for first-time contributors: see /settings/actions
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TAG_LATEST: false # Encourage users to use a major version (foobar:1) instead of :latest.
|
TAG_LATEST: true # Encourage users to use a major version (foobar:1) instead of :latest.
|
||||||
# By semantic versioning standards, major changes are changes 'backwards incompatible'. Major upgrades are often rare and prehaps, need attention from the user.
|
# By semantic versioning standards, major changes are changes 'backwards incompatible'. Major upgrades are often rare and prehaps, need attention from the user.
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Push image to GitHub Packages.
|
# Push image to GitHub Packages.
|
||||||
push:
|
push:
|
||||||
|
|||||||
12
.github/workflows/spam.yml
vendored
Normal file
12
.github/workflows/spam.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
name: Spam
|
||||||
|
|
||||||
|
on: issue_comment
|
||||||
|
jobs:
|
||||||
|
mark-as-spam:
|
||||||
|
name: mark as spam
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: close issue
|
||||||
|
uses: balevine/mark-as-spam@production
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -1,6 +1,13 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img width="auto" height="200" src="/favicon.png"><br><br>
|
<img width="auto" height="200" src="/favicon.png"><br><br>
|
||||||
Secure and anonymous file sharing without a database
|
Secure and anonymous file sharing without a database<br><br>
|
||||||
|
<img src="https://img.shields.io/github/v/release/supernova3339/anonupload?style=for-the-badge" alt="latest version">
|
||||||
|
<img src="https://img.shields.io/github/stars/supernova3339/anonupload?style=for-the-badge" alt="repo stars">
|
||||||
|
<img src="https://img.shields.io/github/license/supernova3339/anonfiles?style=for-the-badge" alt="github">
|
||||||
|
<img src="https://img.shields.io/github/sponsors/supernova3339?style=for-the-badge" alt="github sponsors">
|
||||||
|
<img src="https://img.shields.io/github/issues-pr-raw/supernova3339/anonupload?style=for-the-badge" alt="github pull requests">
|
||||||
|
<!--<a href="https://gitter.im/supernova3339/anonupload"><img src="https://img.shields.io/gitter/room/supernova3339/anonupload?style=for-the-badge" alt="chat on gitter"></a>-->
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -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