Commit graph

53 commits

Author SHA1 Message Date
ComputerTech312 b1b7c59229 Renamed everything ElitePaste to TechPaste 2024-04-11 01:00:41 +02:00
Colby 32fb8fff29
Update README.md 2024-04-10 23:34:50 +02:00
ComputerTech312 80003b532c Made the API work other than web based usage. 2024-04-10 23:28:11 +02:00
ComputerTech312 33eeeb7f0e Added requirements.txt 2024-04-10 14:22:07 +02:00
Colby cd6a062d5f
Update README.md 2024-03-28 02:31:00 +01:00
Colby 88db91fd5c
Enhanced error handling and refactored the code for PEP 8 compliance. 2024-03-28 02:26:41 +01:00
Colby f41faf6090
Update README.md 2024-03-27 20:01:38 +01:00
ComputerTech312 4260244e2b Merge branch 'main' of github.com:ComputerTech312/ElitePaste 2024-03-27 19:41:33 +01:00
ComputerTech312 3a870816b8 Added Classes and a YAML config to make it easier for users to configure the pastebin 2024-03-27 19:40:43 +01:00
Colby d35d5ec5d3
Update README.md 2024-03-27 19:30:43 +01:00
ComputerTech312 f22a79429a Applied PEP 8 style. | Added number lines on view_paste. | Improved some of the code and fixed some bugs. 2024-03-27 19:20:58 +01:00
ComputerTech312 577fa4683c Added a char limit to prevent abuse. 2023-12-13 03:24:42 +00:00
ComputerTech312 e4892fb37d cleaned up some stuff 2023-12-12 23:51:13 +00:00
Colby 62db654c20
Delete test 2023-11-16 17:33:38 +00:00
computertech312 b66af329de test 2023-10-08 17:39:39 +00:00
Colby bbd3a0d5d9
Merge pull request #7 from Juliaria08/htmlsafechars
Escape HTML before showing to the user
2023-09-25 06:34:11 +01:00
Julian Marcos 26e6cfd0fe
Escape HTML before showing to the user
ComputerTech had issues with some characters being treated as HTML
characters when they really shouldn't be treated as such.
So I made this fix.
2023-09-25 06:08:49 +02:00
Colby ce5ac94616
Update .gitignore 2023-09-22 21:01:40 +01:00
Colby bcdac58388
Delete pastes.db 2023-09-22 21:01:19 +01:00
computertech312 206aa61a51 Merge branch 'main' of github.com:ComputerTech312/ElitePaste 2023-09-22 21:00:07 +01:00
computertech312 fde5c911b5 Replaced storage method from memory to sqlite3 2023-09-22 20:59:17 +01:00
Colby 0fd5340c7e
Delete cert.pem 2023-09-22 20:45:11 +01:00
Colby f5a6853fa1
Delete key.pem 2023-09-22 20:44:50 +01:00
Colby 3d99028c6d
Delete nohup.out 2023-09-22 20:29:53 +01:00
Colby 6fff64c10c
Merge pull request #5 from Juliaria08/clientleak
Fix multiple issues, Add notice to Non Javascript Users, Make client not send the secret to the server when viewing pastes
2023-09-22 18:00:47 +01:00
Julian Marcos c24d073635
Revert "Make use of jinja templates"
This reverts commit b0879a7f0a.
2023-09-22 06:59:45 +02:00
Colby f932535c83
Merge pull request #6 from Juliaria08/nossldebug
Allow to debug without SSL
2023-09-21 19:59:02 +01:00
Julian Marcos 300d9a0610
Allow to debug without SSL
I'd rather not temporarily allow a public facing certificate to be able
to authenticate to a website, and do fake SSL, if I do it I'd do it with
a internally valid and private certificate.

This commit checks if "DEBUG_NOSSL" exists and if exists, it binds to
the older port without SSL configuration
2023-09-21 20:35:09 +02:00
Julian Marcos adb3059f39
Also show secret in paste creation page
The secret is in the url and that's more of a developement like page but
it's good to show the data.
2023-09-21 19:51:15 +02:00
Julian Marcos 601bdb6a10
Make client not send the secret to the server
The client was accidentally sending the secret to the server when
reading messages, this commit makes it so that doesn't happen.
2023-09-21 02:14:01 +02:00
Julian Marcos b0879a7f0a
Make use of jinja templates
We are using django which has jinja capabilities so make use of them
2023-09-21 02:14:01 +02:00
Julian Marcos 6bc53306b8
Add a notice for non javascript users
This commit adds a notice for users that use browsers which don't
contain javascript or have javascript disabled in their browsers to
inform them that ElitePaste won't work without javascript.
2023-09-21 02:14:01 +02:00
computertech312 b72d9e05eb Readded ssl code 2023-09-20 22:45:11 +00:00
Julian Marcos afc253081d
Merge remote-tracking branch 'examknow/e2ee' 2023-09-21 00:03:29 +02:00
computertech312 53b05aa9ee Removed files 2023-09-20 20:24:35 +01:00
launchd 32a0b60458 overhaul backend logic, introduce e2ee
All backend operations now occur via a RESTful API via AJAX requests.
All content is encrypted at rest and in transit to the client and is
encrypted/decrypted on the client's browser.
2023-09-19 23:44:55 -05:00
Colby 59de7c8f7e
Merge pull request #2 from examknow/header-div
add header div
2023-09-20 03:01:30 +01:00
launchd 14b6e89ebd add header div 2023-09-19 19:30:27 -05:00
Colby f06028ec19
Merge pull request #1 from examknow/auto-dark-mode
rework dark mode handling for efficiency
2023-09-20 01:13:22 +01:00
launchd 9d82e2c147 rework dark mode handling for efficiency 2023-09-19 19:10:48 -05:00
Colby b845ed5cfe
Delete key.pem 2023-09-19 05:07:17 +01:00
Colby 7d746c9b57
Delete cert.pem 2023-09-19 05:07:05 +01:00
computertech312 db1a72fb29 Added feature to auto set theme to what the OS has. 2023-09-19 05:06:40 +01:00
computertech312 48f4980809 Merge branch 'main' of github.com:ComputerTech312/ElitePaste 2023-09-17 21:45:43 +01:00
computertech312 d8811af4ef The fix involves adding two CSS properties to the pre tag in the HTML code: white-space: pre-wrap; and overflow-wrap: break-word;. This ensures that the text does not appear sideways or go past the normal screen. 2023-09-17 21:45:15 +01:00
Colby eba5707c6f
Delete cert.pem 2023-09-16 21:39:52 +01:00
Colby 909867db7d
Delete key.pem 2023-09-16 21:38:57 +01:00
computertech312 183436e17f Added a page for 404 and fixed dark theme toggle colours 2023-09-16 21:38:28 +01:00
computertech312 c039be7691 <commit_message> 2023-09-16 03:23:58 +01:00
Colby 35fc5376c1
Add files via upload 2023-09-16 01:26:53 +01:00