32 Commits
latest ... dev

Author SHA1 Message Date
SuperDev
04c00a157c Update index.php 2023-01-13 11:17:09 -06:00
SuperDev
bca44182fb Update index.php 2023-01-13 11:09:28 -06:00
SuperDev
fad79747bd Update index.php 2023-01-13 11:07:36 -06:00
SuperDev
0a29401e41 Update index.php 2023-01-13 11:06:04 -06:00
SuperDev
d7628753d7 Update index.php 2023-01-13 11:04:03 -06:00
SuperDev
22f2d2b2e2 Update index.php 2023-01-13 11:01:57 -06:00
SuperDev
64b54065cd Update index.php 2023-01-13 10:56:27 -06:00
SuperDev
4df34419ad Update index.php 2023-01-13 10:55:44 -06:00
SuperDev
dc359685c3 Update index.php 2023-01-12 21:37:41 -06:00
SuperDev
3515bd3497 Update index.php 2023-01-12 21:36:16 -06:00
SuperDev
b322c02812 Update index.php 2023-01-12 21:25:29 -06:00
SuperDev
64bcb98017 Update index.php 2023-01-12 21:18:52 -06:00
SuperDev
4fa76dbf3d Update index.php 2023-01-12 21:11:07 -06:00
SuperDev
915c16aaab Update config.php 2023-01-12 21:07:07 -06:00
SuperDev
94d1c97f95 Update index.php 2023-01-12 21:02:29 -06:00
SuperDev
def87c330f Update config.php 2023-01-12 20:52:25 -06:00
SuperDev
b2f0fedce4 Create chatgpt 2023-01-06 15:51:13 +00:00
SuperDev
2b7c9bfe48 Update config.yml 2023-01-04 13:03:16 -06:00
SuperDev
98e624b352 Update config.yml 2023-01-04 13:00:41 -06:00
SuperDev
cd89513274 Create config.yml 2023-01-04 12:58:45 -06:00
SuperDev
5ed191659d Update README.md 2023-01-01 18:18:21 -06:00
SuperDev
02c5d49113 Update issue templates 2023-01-01 14:18:33 -06:00
SuperDev
732fb0a4e6 Update README.md 2023-01-01 14:10:51 -06:00
SuperDev
997b362ea4 Update README.md 2023-01-01 14:05:18 -06:00
SuperDev
006b10aea1 add badges 2023-01-01 14:04:10 -06:00
SuperDev
a6e67d161f Delete newissues.yml 2023-01-01 13:30:29 -06:00
SuperDev
40742df867 Update newissues.yml 2023-01-01 13:27:28 -06:00
SuperDev
321c5da370 Create newissues.yml 2023-01-01 13:23:52 -06:00
SuperDev
b2270b5588 Create spam.yml 2023-01-01 13:17:35 -06:00
SuperDev
19afe45d57 fix 2023-01-01 13:03:06 -06:00
SuperDev
d48eb3db59 Update release.yml 2023-01-01 12:37:04 -06:00
SuperDev
1bf1ffb711 Update release.yml 2023-01-01 12:35:24 -06:00
9 changed files with 52 additions and 18 deletions

View File

@@ -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
View 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.

View File

@@ -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: ''
--- ---

View File

@@ -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 }}

View File

@@ -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
View 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 }}

View File

@@ -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>
--- ---

View File

@@ -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')?>

View File

@@ -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
?> ?>