1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-22 20:51:21 +00:00
Commit graph

426 commits

Author SHA1 Message Date
Yusuf Yilmaz
046a213e41
Merge pull request #420 from toptal/convert-hastebin-server-to-typescript
Convert haste-server to typescript
2022-06-09 13:13:14 +02:00
Yusuf Yilmaz
1698bfe0ec fix lint issues of not added packages 2022-06-08 14:26:00 +02:00
Yusuf Yilmaz
f8d61db716 fix types for aws and mongo 2022-06-08 14:11:33 +02:00
Yusuf Yilmaz
26ae41c34c remove store dependencies 2022-06-08 11:39:38 +02:00
Yusuf Yilmaz
350abbdf3b fix code, readme and lint 2022-06-08 11:26:32 +02:00
Yusuf Yilmaz
42c60c64c2 fix readme and packages 2022-06-07 12:22:45 +02:00
Yusuf Yilmaz
cd19fb2e4c fix build 2022-06-07 11:22:50 +02:00
Yusuf Yilmaz
5415482e09 fix tsconfig 2022-06-07 10:53:33 +02:00
Yusuf Yilmaz
6c1a1277ff fix types and build 2022-06-07 10:50:51 +02:00
Yusuf Yilmaz
b920c1f7ad fix pr comments 2022-06-06 21:36:48 +02:00
Yusuf Yilmaz
a5b0a98b3f add prettier 2022-06-06 19:44:11 +02:00
Yusuf Yilmaz
21aa23dd28 add relative paths 2022-06-06 19:38:20 +02:00
Yusuf Yilmaz
ab47249505 fix pr comments 2022-06-03 11:28:41 +02:00
Yusuf Yilmaz
30c1c486f6 fix for server 2022-06-02 12:27:43 +02:00
Yusuf Yilmaz
9c2f1d24ba convert optional fiels to required fields 2022-06-02 10:57:42 +02:00
Yusuf Yilmaz
fa9d3f98e9 remove web app class and fixes 2022-06-02 10:45:20 +02:00
Yusuf Yilmaz
82fd0654e2 Fix redis store 2022-06-01 15:43:10 +02:00
Yusuf Yilmaz
bf6795aa8b Fix dev command 2022-06-01 10:28:48 +02:00
Yusuf Yilmaz
66d547ddb9 Update server.ts 2022-05-27 16:32:33 +02:00
Yusuf Yilmaz
57488eda62 Update server.ts 2022-05-27 16:25:05 +02:00
Yusuf Yilmaz
3f82d0b5f1 Fix eol 2022-05-27 15:25:22 +02:00
Yusuf Yilmaz
54f7b8744d Fix config and redis settings 2022-05-27 15:22:24 +02:00
Yusuf Yilmaz
ced5c3eef4 Fix 2022-05-27 15:12:00 +02:00
Yusuf Yilmaz
49a990802c Remove old js files 2022-05-27 15:05:21 +02:00
Yusuf Yilmaz
f527b13535 Add tests and fix docker files 2022-05-27 15:04:54 +02:00
Yusuf Yilmaz
9f45927593 [SAT-1957] Convert haste-server to Typescript 2022-05-27 11:00:09 +02:00
Leopere
68f6fe2b96
Don't track docker-compose.override.yml (#416)
This allows end users who need to build Hastebin for their deployments as an image in a private registry or any other changes without needing to collide with the ability to upgrade their local cached copy of the hastebin repo.
2022-05-09 12:28:41 +04:00
Filipe Chagas
7286385833 Add GHA workflow to mark and close inactive PRs and Issues 2022-03-08 11:45:42 -03:00
Linus J
3dcc43578b
Parse the expiration time as an INT (#392)
* handle expire time as int

* Removed logging

* Update lib/document_stores/postgres.js
2022-02-14 16:48:23 -03:00
Bryce
1ea6b6e99d
FIXED: Document post failing because expire parameter is string. (#366)
Specifically fixes docker example that uses memcached.

Co-authored-by: Bryce Leo <bryce.leo@trainingvault.us>
2022-02-14 15:19:42 -03:00
Leopere
7c613bc788
Delete superfluous network definition (#404)
No need to define a network when compose files and stackfiles come with their own cross container network defined as `default` superfluous networks add nothing.
2022-02-14 15:04:06 -03:00
Bruno Saboia
cb4809195b
Improve tests (#407)
* Improve tests

This PR adds some necessary tests, fixes the naming on describe
(everything was set to RandomKeyGenerator, perhaps a copy/paste
exception) and fixes the consonant/vowel alternation test, since it was
failing if the keyspace started with a vowel.

* Remove unecessary file
2022-02-14 14:59:14 -03:00
Konstantin Rybakov
00d84614c2
Merge pull request #389 from Lockszmith/Fix-Dockerfile
Fixes #376 + .dockerignore improvement
2022-01-12 18:04:00 +03:00
Konstantin Rybakov
52e7cef7ef
Merge pull request #402 from Sueqkjs/master
fixed spell
2022-01-12 17:08:29 +03:00
Sueqkjs
fbff1bc201
fixed spell
I fixed the spelling because it didn't work~ (crying)
2021-12-27 22:11:12 +09:00
Denis Berezin
7af15cc32d
Merge pull request #384 from brunosaboia/remove-trailing-spaces
Remove trailing whitespaces
2021-11-22 17:44:40 +03:00
Denis Berezin
7f397ce753
Merge pull request #398 from toptal/npm-audit-issues
Fix high severity npm issues
2021-11-22 17:35:14 +03:00
Denis Berezin
8f8b039f65 Fix high severity npm issues 2021-11-22 17:33:31 +03:00
Denis Berezin
eeaf2d7b18
Merge pull request #393 from jmartin84/391
fixed STORAGE_USERNAME typo in dockerfile
2021-11-22 17:20:06 +03:00
Justen Martin
db0b7d6444
fixed STORAGE_USERNAME typo in dockerfile 2021-10-06 22:40:46 -05:00
lksz
db6e7603f9 Fixes #376 + .dockerignore improvement 2021-09-10 01:02:26 -04:00
Bruno Saboia
ad5d7549d7 Remove trailing whitespaces
Dockerfile contained useless trailing whitespaces, which could generate
"ghost" diffs.
2021-07-14 11:00:42 +02:00
John Crepezzi
5d2965ffc5
Merge pull request #350 from seejohnrun/specify-config-on-boot
Allow setting config.js alternative on boot
2020-10-06 22:15:59 -04:00
John Crepezzi
f255928af7 Allow setting config.js alternative on boot
Closes #105
2020-10-06 22:15:13 -04:00
John Crepezzi
a108dbadc5
Merge pull request #349 from seejohnrun/add-head-support
Add support for HEAD requests
2020-10-06 22:07:19 -04:00
John Crepezzi
c409aca080 Add support for HEAD requests
On regular document endpoints, and on raw endpoints
2020-10-06 22:05:22 -04:00
John Crepezzi
219424550b Fix local name 2020-10-06 21:02:16 -04:00
John Crepezzi
f147acb51c Switch to using pg.Pool 2020-10-06 21:01:14 -04:00
John Crepezzi
9a692ed652 Get the client working as expected with pg 8 2020-10-06 21:01:10 -04:00
John Crepezzi
3a17c86a0f Upgrade pg to the most recent version
This isn't going to actually work yet, just getting things in place
2020-10-06 21:01:01 -04:00