1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00
Commit Graph

84 Commits

Author SHA1 Message Date
Lukas Schulte Pelkum
b11d4eb478
Show a notification on encryption toggle 2021-09-09 18:20:00 +02:00
Marcel
f931627c77
Fix typos (#20) 2021-07-31 12:58:26 +02:00
Lukas Schulte Pelkum
63a0a3d840
Add API change notice 2021-07-30 22:07:57 +02:00
Lukas Schulte Pelkum
1818fac196
Remove the paste-specific autoDelete field 2021-07-30 21:51:33 +02:00
Lukas Schulte Pelkum
4f3b5b193b
Implement clientside paste encryption 2021-07-30 21:24:08 +02:00
Lukas Schulte Pelkum
d4e3430feb
Implement live line number rendering 2021-07-28 13:21:08 +02:00
Lukas Schulte Pelkum
6172ad463b
Update paste report webhook request 2021-07-24 17:03:40 +02:00
Lukas Schulte Pelkum
e8f7fa239e
Add option to define ID and modification token generation characters (#17) 2021-07-24 17:00:29 +02:00
Lukas Schulte Pelkum
7af1f9431b
Fix trailing slash 2021-07-23 23:50:01 +02:00
Lukas Schulte Pelkum
70c4392390
Improve the frontend (API v2 functionalities) (#18)
* Fix line number height issue

* Fix notification container position

* Remove line wrapping

* Switch to the new API

* Rework JS & implement paste editing

* Implement paste reports

* Document the report webhook
2021-07-23 23:39:37 +02:00
Lukas Schulte Pelkum
149abf77f1
Fix paste saving SQL query 2021-07-22 23:33:19 +02:00
Lukas Schulte Pelkum
9eaf9c3053
Fix postgres migration 2021-07-22 22:44:00 +02:00
Lukas Schulte Pelkum
99504e0bba
Implement API v2 (#13)
* Add documentation notice

* Rename the deletion token to modification token

* Implement API basics

* Implement paste modification endpoint (#10)

* Implement paste metadata

* Implement report webhook support

* Document API

* Document paste entity

* Update syntax highlighting types (js -> jsonc)

* Update migrator
2021-07-22 22:26:21 +02:00
Lukas Schulte Pelkum
4c392b4b52
Implement raw paste endpoint 2021-06-21 20:09:40 +02:00
Lukas Schulte Pelkum
185f1511a6
Update readme 2021-06-20 16:26:26 +02:00
Lukas Schulte Pelkum
90f25ec220
Improve the web frontend (#9)
* Fix line flowing out of div

* Revert line highlighting

* Fix tab key behaviour

* Move links and version information to a footer

* Fix footer hiding last code line

* Calculate line number offset based on line overflow

* Refactor some code
2021-06-20 15:58:36 +02:00
Ringo Hoffmann
8cbb62070e
Add content length cap for paste creation endpoint (#8)
* add content length cap

* add development docker compose stack

* Fix paste creation error notification data

* Add length cap to hastebin endpoint as well

* Mention length cap in Readme

Co-authored-by: Lukas Schulte Pelkum <kbrt@protonmail.com>
2021-05-23 20:55:16 +02:00
Lukas Schulte Pelkum
ef364db0e5
Update credits URL 2021-05-08 14:02:41 +02:00
Lukas Schulte Pelkum
f772643d20
Add credits 2021-05-08 13:58:19 +02:00
Lukas Schulte Pelkum
71e51d2b29
Change GitHub repo URL 2021-05-08 13:43:07 +02:00
Lukas Schulte Pelkum
5f7df183b4
Force specific Content-Type value for JS (#6) 2021-04-29 14:57:08 +02:00
Lukas Schulte Pelkum
542bb5b17d
Implement deletion token toggle & master 2021-04-20 16:38:00 +02:00
Lukas Schulte Pelkum
f9fc232afe
Fix Docker workflow 2021-04-18 22:13:45 +02:00
Lukas Schulte Pelkum
b5524f2b7e
Fix Docker workflow 2021-04-18 22:10:15 +02:00
Lukas Schulte Pelkum
86522b63df
Fix file system driver ID listing 2021-04-18 22:05:48 +02:00
Lukas Schulte Pelkum
239ad901dd
Implement GitHub actions CI 2021-04-18 21:31:07 +02:00
Lukas Schulte Pelkum
e6f0d0948b
Update documentation 2021-04-18 21:25:17 +02:00
Lukas Schulte Pelkum
a1d037801c
Implement working postgres driver 2021-04-15 21:30:37 +02:00
Lukas Schulte Pelkum
ce9794b2c6
Restructure drivers 2021-04-15 21:03:26 +02:00
Lukas Schulte Pelkum
681ee9f1d0
Fix some stuff 2021-04-15 20:59:32 +02:00
Lukas Schulte Pelkum
1792ef1c38
Rework project structure 2021-04-15 20:15:42 +02:00
Lukas Schulte Pelkum
de2add44ec
Bump to Go 1.16 2021-04-15 19:26:17 +02:00
Lukas SP
078d9895a2 Prevent from sending deletion token hash 2020-10-02 18:25:39 +02:00
Lukas SP
87450098cb Fix readme 2020-09-19 16:53:14 +02:00
Lukas SP
4048edbabb Implement automatic paste deletion 2020-09-19 01:56:50 +02:00
Lukas SP
17d2fa91c5 Fix readme 2020-09-19 01:14:39 +02:00
Lukas SP
386e878f07 Fix copy behaviour 2020-09-16 20:17:40 +02:00
Lukas SP
bd92974182 Implement line highlighting [SHITCODE] 2020-09-16 20:06:01 +02:00
Lukas SP
1731fb8924 Change highlight.js theme 2020-09-11 18:02:44 +02:00
Lukas SP
6b4563c7c9 Implement S3 missing object error handling 2020-09-02 19:13:49 +02:00
Lukas SP
71e6baad95 Add GCC to Dockerfile (cgo) 2020-08-28 19:56:26 +02:00
Lukas SP
bf96209d99 Implement SQL storage driver 2020-08-28 19:55:10 +02:00
Lukas SP
f97531e765 Implement transfer tool 2020-08-26 22:12:36 +02:00
Lukas SP
5a9a5a8885 Implement ID listing method in storage driver implementations 2020-08-26 21:59:22 +02:00
Lukas SP
f63b94f8c1 Open the deletion token copy prompt when creating a paste 2020-08-26 20:47:15 +02:00
Lukas SP
76515c0108 Implement basic frontend notification system 2020-08-26 20:34:43 +02:00
Lukas SP
98cf1b396e Improve some frontend stuff 2020-08-24 21:53:23 +02:00
Lukas SP
55e65f5ecf Encode IDs in file storage driver to prevent unallowed file access 2020-08-24 21:40:18 +02:00
Lukas SP
7d0c25fb2f Seed random generator 2020-08-24 20:28:09 +02:00
Lukas SP
5585a26ab0 Switch from snowflake to random string ID system 2020-08-24 20:22:53 +02:00