~sircmpwn/paste.sr.ht

Alpine: upgrade to 3.12
pastesrht-initdb: import webhooks
setup.py: use importlib.resources from python 3.7 to find core.sr.ht Makefile

importlib.resources will guarantee to find any importable module, and
check that the resource ('Makefile') can be found within it.

This lets us get rid of the current getsitepackages() hack and
environment variable fallback, which is both verbose and badly handles
some edge cases when installing modules, and instead use the recommended
way to find data files shipped with a python module.
Add pastesrht-initdb
Responsiveness improvements
7c883560 — George Craggs 5 months ago 0.10.1
Flush paste after validation

Flush paste after the validation has taken place to prevent 404's after
an invalid submission.

https://todo.sr.ht/~sircmpwn/paste.sr.ht/26
Add <title> to paste pages
Add new and move existing paste visibility indicators
Update Makefile to use python 3.8
alpine.yml: switch to alpine 3.11
Improve config.example.ini
Add user information to profile pages

Change user profile pages to display the user's bio, URL, location, etc.
as per other sr.ht services. (Previously, all user pages displayed the
"Welcome back, username!" text from the front page.)

Signed-off-by: Benjamin Lowry <ben@ben.gmbh>
public.py: Fix None dereference
Add a build manifest for Debian packaging
Updates for single-sign-on support
Display number of files in "view paste" button

Changes the "view paste" button at the top of a paste to display
the number of files in the paste, e.g. "view paste (3 files)".
Addresses https://todo.sr.ht/~sircmpwn/paste.sr.ht/21

Signed-off-by: Benjamin Lowry <ben@ben.gmbh>
Make unlisted pastes actually unlisted for logged-out users

As requested at https://todo.sr.ht/~sircmpwn/paste.sr.ht/23

Signed-off-by: Benjamin Lowry <ben@ben.gmbh>
Fix typo in previous commit
Mix the paste ID into paste sha
Paste deletion webhook
Next