Commit Graph

91 Commits

Author SHA1 Message Date
Daniel Legt 3b137c5ed6 * Fixed invisible edit button on Light Mode 2022-06-07 00:28:53 +03:00
Daniel Legt c4f6496e0e * Restyled the Pad title 2022-06-07 00:27:51 +03:00
Daniel Legt ee9516a109 * Fixed annoying alignment of edit/view 2022-06-07 00:20:26 +03:00
Daniel Legt 7dcad9dc31 * Archive Fix 2022-06-07 00:16:27 +03:00
Daniel Legt 1b1fe59877 * Fixed preview not updating 2022-06-07 00:04:49 +03:00
Daniel Legt 6cc1628e77 Real time WebSocket pasting
+ Pad update moved to sockets
+ Pad status updates instantly update
TODO: Fix live text highlight
2022-06-07 00:02:31 +03:00
Daniel Legt bf144c6ecb * Fixed possible bug 2022-06-06 22:50:20 +03:00
Daniel Legt 1d3383c8c6 * Removed deprecated variable 2022-06-06 22:49:55 +03:00
Daniel Legt 4138386fb3 * Some code notes 2022-06-04 16:36:30 +03:00
Daniel Legt cfe2c06dac WebSockets Work started
+ Implemented Gorilla Sockets
+ Implemented a javascript class
+ Golang Struct introduced
+ JSON parsing from the websocket
+ Fail handlers
2022-06-04 16:32:53 +03:00
Daniel Legt 400fd23b3e
Merge pull request #15 from JustKato/feature/admin-interface
Everything seems stable! Been tested just by myself, so if some other people could do some security testing, it'd be awesome!
2022-06-04 13:24:19 +03:00
Daniel Legt bf1d032e68 + Deletion implemented 2022-06-03 23:15:20 +03:00
Daniel Legt faff1ab527 + Deletion Confirmation 2022-06-03 22:59:44 +03:00
Daniel Legt d056a4d429 * Removed debug line 2022-06-03 22:56:53 +03:00
Daniel Legt b710d24a2d * Previous commit 2022-06-03 22:56:25 +03:00
Daniel Legt c3c9aacac3 + Admin interface
+ Pad Listing
@TODO: Add pagination
2022-06-03 22:56:19 +03:00
Daniel Legt d949b3decb Working on the admin interface
+ Implemented login token
+ Routing
+ Admin controller
+ Login Page
* Updated `.env` example
2022-06-02 23:53:32 +03:00
Daniel Legt 662dad90b7
Merge pull request #13 from JustKato/feature/dockerFileBuild
Dockerfile Build Improvements
2022-06-01 21:30:04 +03:00
Daniel Legt 1585d3b158 * Replaced alpine with Scratch
* Changed comments
* Used /src instead of /app twice
2022-06-01 21:28:57 +03:00
Daniel Legt 1d50efe3c6 Dockerfile Build Improvements 2022-06-01 21:24:03 +03:00
Daniel Legt 0f5a352fc6 * Docker Compose example updated 2022-06-01 18:43:35 +03:00
Daniel Legt 6a8f4f81e5 * Corrected view button position 2022-06-01 18:31:59 +03:00
Daniel Legt 781b4bcf80
Merge pull request #12 from JustKato/feature/syntax_highlight
Feature/syntax highlight
2022-06-01 18:29:48 +03:00
Daniel Legt f748adf132 * Version Bumb 2022-06-01 18:29:24 +03:00
Daniel Legt 4bfad3ef40 Changelog and Version bump 2022-06-01 18:29:17 +03:00
Daniel Legt 11658b4b5e Extra Text
+ Added extra text to the home
2022-06-01 18:28:17 +03:00
Daniel Legt 685c6ae15f * Optimization ( Thanks Tecchie088 ) 2022-06-01 18:10:10 +03:00
Daniel Legt 97102b98b3 * Fixed Security flaw ( Thanks @SleepingProcess ) 2022-06-01 18:08:17 +03:00
Daniel Legt 22657cc111 * Fixed Sanitization 2022-06-01 18:07:33 +03:00
Daniel Legt 3dc09cae64 # Updated Looks, Syntax Highlights and more
* Moved all CDN libraries into /static/vendor
+ Implemented syntax highlight with hljs
* Updated the sanitization to include `.`
2022-06-01 17:43:05 +03:00
Daniel Legt 70b671c0be + Pad Types::Downloads 2022-06-01 17:00:23 +03:00
Daniel Legt 6177dcecb8 Appearance updates
+ Improved scroll bar look
+ Implemented a preview mode
2022-06-01 16:58:09 +03:00
Daniel Legt aea10baffd * Changelog
* Version
2022-06-01 13:28:36 +03:00
Daniel Legt 42eb5add65 * Changed the frequency of the views save to one minute 2022-06-01 13:27:25 +03:00
Daniel Legt 53066025f0 Implemented a views counter
+ Implemented views for the post struct
+ Views functions
+ Views storage file
2022-06-01 13:26:54 +03:00
Daniel Legt 23dd69e060 + Added some comments 2022-06-01 11:32:12 +03:00
Daniel Legt 0bc4942924 QR Codes
+ QR Code generation
+ Added micromodal
* Bumped version by 0.0.8
* Updated DockerFile
* Updated Changelog
2022-05-22 20:42:19 +03:00
Daniel Legt 23fa17b840 * Updated Versioning 2022-05-22 20:15:51 +03:00
Daniel Legt 5414dab201 + FreePad version in ContentHeaders 2022-05-22 20:15:11 +03:00
Daniel Legt 8735837cb4 + Implemented Changelog
+ Started mentioning versioning in Dockerfile
2022-05-22 19:58:47 +03:00
Daniel Legt 7552cd7cd3 * Updated the license 2022-05-22 19:42:49 +03:00
Kato 74af4d1554
Merge pull request #7 from JustKato/rate-limiting
Working on the API Rate limiting
2022-05-22 19:41:32 +03:00
Daniel Legt 916bcae961 + Working on the API Rate limiting 2022-05-22 19:38:12 +03:00
Daniel Legt 53b35745cd * Readme visual changes 2022-05-21 17:45:34 +03:00
Daniel Legt 725bc4222b Updated visuals
+ New banner
* fixed .env missing variable
* Build script now builds to all platforms
+ ReadMe instructions for running
2022-05-21 17:41:43 +03:00
Kato 73b3286e33
Merge pull request #2 from JustKato/docker
Dockerized!
2022-05-21 16:46:27 +03:00
Daniel Legt b74836e779 + Build Script
+ DockerFile
+ Docker-Compose Example
2022-05-21 16:45:56 +03:00
Daniel Legt b3220abdad * Quick archives fix 2022-05-21 16:19:24 +03:00
Daniel Legt e781daec89 + Maximum pad length
+ Configurable maximum pad length
+ Refresh pad
+ Archive pad
+ Archives in local client storage
+ Download pad
2022-05-21 16:17:25 +03:00
Daniel Legt b079c0f637 * Verbose 2022-05-21 14:34:46 +03:00