Commit Graph

87 Commits

Author SHA1 Message Date
Stanislav Nikitin 2b44a60ee7
The Great Linting Fixes, Drone configuration fix (again) and flatfile changes.
Great linting fixes has been applied, thanks to golangci-lint for
extensive reporting.

Fixed Drone configuration to use array for when-branch statement in
Docker plugin.

Flatfile storage from now will write files with 0600 permission for
greater security.
2021-11-20 22:19:58 +05:00
Stanislav Nikitin 218e0bf667
Remove -mod=vendor from golangci-lint GOFLAGS. 2021-11-20 22:00:52 +05:00
Stanislav Nikitin 006eb6e72a
Use newer golang with Drone and update badge in README. 2021-11-20 22:00:02 +05:00
Stanislav Nikitin 5eae5595e9
Drone fixes. 2021-11-20 02:23:47 +05:00
Stanislav Nikitin 0f47434f60
Move from fileb0x to embed.FS. Fixes #22.
Also removed unused fontawesome JS.
2021-06-16 06:22:33 +05:00
Stanislav Nikitin 383233202e
Fix registry logging in by CI when uploading Docker image. 2021-06-15 00:16:44 +05:00
Stanislav Nikitin 968d945205
More Greater Linting. 2021-06-15 00:11:58 +05:00
Stanislav Nikitin 6ea6e2e144
The Great Sources Linting. 2021-06-14 23:48:34 +05:00
Stanislav Nikitin 3265c5a4b2
Proper image-alias for DIND service in CI. 2021-06-14 23:10:35 +05:00
Stanislav Nikitin 1210ecb510
Fix CI config. 2021-06-14 23:08:54 +05:00
Stanislav Nikitin dec022e460
Update CI configuration. 2021-06-14 23:05:59 +05:00
Stanislav Nikitin 79791ef228
Update golang versions everywhere, use alpine 3.13 for image, remove vendor dir. 2021-06-14 22:59:21 +05:00
Stanislav Nikitin a0f896dc53
CI config update. 2021-01-09 06:23:28 +05:00
Stanislav Nikitin fa7a79310d
Assets update. 2021-01-09 06:15:38 +05:00
Stanislav Nikitin ce962ddd00
Version bump. 2021-01-09 06:14:16 +05:00
Stanislav Nikitin 164a37d41f
A pretty basic pastes cleanup procedure.
Fixes #16.
2021-01-09 06:09:26 +05:00
Stanislav Nikitin 3ebff29113
Linting fixes about struct alignment. 2021-01-08 12:01:53 +05:00
Stanislav Nikitin 7f04a9a7bb
Typo fix and missed dependencies files. 2021-01-08 12:00:38 +05:00
Stanislav Nikitin a2a21482e2
Dependencies update and fix for line linking.
Fixes #20.
2021-01-08 11:56:35 +05:00
Stanislav Nikitin ffb42f43eb
README update. 2020-02-29 23:51:23 +05:00
Stanislav Nikitin 3f9801b1bd
Update chroma and make line numbers linkable.
Yet no links will be generated.

Related to #20.
2020-02-29 23:39:09 +05:00
Stanislav Nikitin 825fd724ff
Some logging refactoring.
Fixes #14.
2020-02-29 23:30:44 +05:00
Stanislav Nikitin 5f58741159
Added maximum request body size limiting.
Fixes #19.
2020-02-29 22:49:44 +05:00
Stanislav Nikitin 47672c586d
Linter configuration fixes and linting issues fixes.
Fixes #17.
2020-02-29 22:41:06 +05:00
Stanislav Nikitin 11897d0e1a
Drone CI recipe fix. 2019-12-22 01:24:13 +05:00
Stanislav Nikitin 02cea49fc4 Merge branch 'linting' of fastpastebin/fastpastebin into master 2019-12-21 20:19:21 +00:00
Stanislav Nikitin a52b18ffe4
Linting. 2019-12-22 01:17:18 +05:00
Stanislav Nikitin da4bc379d8
Typo in commend and switching to discordrone for notifications. 2019-12-22 00:56:43 +05:00
Stanislav Nikitin 9c9f0c1f68 Merge branch 'linting' of fastpastebin/fastpastebin into master 2019-10-13 11:28:15 +00:00
Stanislav Nikitin 6a787e7e23
Linting things. 2019-10-13 16:26:52 +05:00
Stanislav Nikitin cdc8ecf49b Merge branch 'readme-update' of fastpastebin/fastpastebin into master 2019-10-13 09:52:06 +00:00
Stanislav Nikitin bd981023da
README update. 2019-10-13 14:50:11 +05:00
Stanislav Nikitin a982e07faf Fixed improper tooltip (popups) rendering. Fixes #8. (#11) 2019-10-13 09:25:29 +00:00
Stanislav Nikitin 0bbb415852
Drone pipelines update. 2019-10-13 14:02:33 +05:00
Vladimir Hodakov 6207229e9b Move to Go modules (#10) 2019-10-13 08:55:38 +00:00
Stanislav Nikitin 2159aadfcb
Fixed Safari stuck when clicking on dropdowns by updating Bulma.
Fixes #4.
2019-10-12 15:10:13 +05:00
Stanislav Nikitin 3ebf9b653e
Put docker image into approriate repo. Related to #6. 2019-10-12 14:30:20 +05:00
Stanislav Nikitin 4d60a9b1b6
Switching to Drone CI and giredore. 2019-10-12 14:26:46 +05:00
Stanislav Nikitin e042c4414f
Moved from gitlab.com to Gitea with giredore. 2019-10-12 14:18:35 +05:00
Stanislav Nikitin 333fc1d12a
CI configuration. 2019-09-25 18:47:51 +05:00
Stanislav Nikitin 7f2174a33e
Moved Dockerfile and docker-compose.yml to top directory. 2019-09-25 18:45:50 +05:00
Stanislav Nikitin e26a466efc Merge branch 'feature/docker' into 'master'
Dockerize the app

See merge request pztrn/fastpastebin!1
2019-07-23 04:30:22 +00:00
Timur Demin d9a46aa5b3
Make changes proposed by @pztrn 2019-07-20 14:16:06 +05:00
Timur Demin dbf82e213b
Dockerize the app 2019-07-08 08:41:03 +05:00
Stanislav Nikitin 4f01e2f5ce
Logger refactoring, part 1. 2019-04-13 00:05:22 +05:00
Stanislav Nikitin 7281b9be65
Refactoring for pastes domain for code reusing and better structuring. 2019-04-12 23:29:42 +05:00
Stanislav Nikitin 19b5ef3d9f
Fastfix for previous two commits (sorry) and chroma update.
Well, doing "git add ." not from repository's root is a bad idea.

Updated chroma dependency, added more languages to syntax highlighting.
2019-03-07 08:43:28 +05:00
Stanislav Nikitin 3fe51fc6c5
Dependencies update and database not available crash fix.
Added forgotten dependencies update.

Fixed fastpastebin crash when database isn't available and added cute
error screen for informing users about such condition (both HTML and raw).
2019-03-07 08:39:12 +05:00
Stanislav Nikitin 19a3a5004c
The Huge Refactoring. 2019-03-07 07:56:50 +05:00
Stanislav Nikitin 0bf20cd2c9
Assets update. 2018-12-01 04:46:27 +05:00