From 7aea081da27387dc52271e2d900653ecb8fe01b2 Mon Sep 17 00:00:00 2001
From: Floorb <132411956+Neetpone@users.noreply.github.com>
Date: Thu, 4 Nov 2021 11:04:22 -0400
Subject: [PATCH] Move some stuff around.
---
.gitignore | 3 +-
admin/admin.php | 7 +-
api/ajax_pastes.php | 1 +
api/public.pastes.php | 390 ------------------
api/tags_autocomplete.php | 1 -
assets/bundle.min.js.map | 1 -
.../index.php => assets/bundle/.gitkeep | 0
assets/{ => bundle}/bundle.js | 0
assets/{ => bundle}/bundle.min.js | 0
assets/bundle/bundle.min.js.map | 1 +
.../fonts/LMS Pretty Pony.ttf | Bin
.../fonts/PonyvilleMedium0.4.ttf | Bin
{includes => assets}/fonts/SigmarOne.ttf | Bin
{includes => assets}/fonts/captcha_code.otf | Bin
.../fonts/times_new_yorker.ttf | Bin
.../img/captcha}/text1.png | Bin
.../img/captcha}/text2.png | Bin
.../img/captcha}/text3.png | Bin
doc/nginx.conf | 76 ++++
includes/captcha.php | 4 +-
includes/fonts/index.php | 0
includes/functions.php | 3 -
rollup.config.js | 4 +-
rules.php | 1 -
tmp/.htaccess | 1 -
25 files changed, 85 insertions(+), 408 deletions(-)
delete mode 100644 api/public.pastes.php
delete mode 100644 assets/bundle.min.js.map
rename includes/captchabg/index.php => assets/bundle/.gitkeep (100%)
rename assets/{ => bundle}/bundle.js (100%)
rename assets/{ => bundle}/bundle.min.js (100%)
create mode 100644 assets/bundle/bundle.min.js.map
rename {includes => assets}/fonts/LMS Pretty Pony.ttf (100%)
rename {includes => assets}/fonts/PonyvilleMedium0.4.ttf (100%)
rename {includes => assets}/fonts/SigmarOne.ttf (100%)
rename {includes => assets}/fonts/captcha_code.otf (100%)
rename {includes => assets}/fonts/times_new_yorker.ttf (100%)
rename {includes/captchabg => assets/img/captcha}/text1.png (100%)
rename {includes/captchabg => assets/img/captcha}/text2.png (100%)
rename {includes/captchabg => assets/img/captcha}/text3.png (100%)
create mode 100644 doc/nginx.conf
delete mode 100644 includes/fonts/index.php
delete mode 100644 tmp/.htaccess
diff --git a/.gitignore b/.gitignore
index 253937d..d26e73a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
-tmp/temp.tdata
sitemap.xml
node_modules/
npm-debug.log
@@ -8,3 +7,5 @@ yarn-error.log
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
+assets/bundle/*
+!assets/bundle/.gitkeep
\ No newline at end of file
diff --git a/admin/admin.php b/admin/admin.php
index 856ba63..c75b667 100644
--- a/admin/admin.php
+++ b/admin/admin.php
@@ -142,9 +142,4 @@ $admin_logs = AdminLog::with('user')