1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-12-27 22:50:11 +01:00
Commit graph

355 commits

Author SHA1 Message Date
niekcandaele
801bb8046c Dont install storage dependencies separately 2020-10-21 10:29:30 +02:00
niekcandaele
2deac0c101 Sync docker ignore with gitignore 2020-10-21 10:29:20 +02:00
Niek Candaele
0f01dc4d55 Add basic Docker image 2020-09-22 20:18:02 +02:00
zneix
d2c5641886
0.2.5 2020-09-20 18:22:15 +02:00
zneix
509971c5ac
Switched to proper babel-minify lib
I Decided to remove static asset compression from actual code to make runtime faster and moved it to package.json script which only builds application once on installation.\nAfter this commit, after every update that changed static/application.js, you also need to run npm run-script build after git pull
2020-09-20 18:18:38 +02:00
zneix
45b4ce87a8
Updated config documentation, changed env vars
Removed HASTE_ prefix as it would not work on evironments like Heroku, relevant comment: https://github.com/zneix/haste-server/pull/7#issuecomment-695790378
2020-09-20 16:39:49 +02:00
zneix
58c37bf677
Copying example config in case config doesn't exist & env vars
This change makes it possible to start haste server with no further configuration, supporting "out-of-box" solutions for Heroku / Dokku and preferrably other platforms
2020-09-20 12:42:46 +02:00
dependabot[bot]
63d2568f91
Bump eslint from 7.8.1 to 7.9.0 (#5)
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.1...v7.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 16:54:38 +02:00
twiclo
f8c3a58b3a
Updated highlightjs to support many more languages (#6)
We updated highlight.min.js library to newer version (v9.12.0 -> 10.2.0) and added support for many languages. Updated extensionMap accordingly and also removed from it some unnecessary aliases, like 'json' since they are already natively supported by highlight.min.js library.
There also a new documentation page under docs/languages.md which lists all supported aliases.
2020-09-18 16:19:34 +02:00
zneix
3d501c980f
Made app.js proper Class, added support for non-absolute path
Something that would solve relevant upstream issues/prs: seejohnrun/haste-server#53 seejohnrun/haste-server#140
2020-09-05 18:13:49 +02:00
zneix
7c7fd10c29
Updated haste-client information 2020-09-05 18:06:43 +02:00
zneix
7d476a668e
Rewritten postgresql document store
This is experimental as there are couple issues with attemting to set duplicate keys and connecting on startup, but it's working regardless of those issues.\nMaybe I can look into solving those later if needed
2020-09-03 19:24:34 +02:00
dependabot[bot]
e3e45bee3c
Bump mocha from 8.1.2 to 8.1.3 (#2)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.2 to 8.1.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.1.2...v8.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-02 16:23:04 +02:00
dependabot[bot]
7171809d20
Bump eslint from 7.7.0 to 7.8.1 (#4)
Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.7.0...v7.8.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-02 16:21:45 +02:00
zneix
04e1f09fed
Patched POST API bug
It is no longer possible to make a POST request with no body content and make a "ghost key" - which upon requesting returns 404, but it considered as a taken key
2020-09-02 16:18:47 +02:00
zneix
7de68695fe
Replaced all callbacks with promises in document stores 2020-09-02 16:16:54 +02:00
zneix
c165781b18
Rewrote redis storage handler
also removed unnecessary newline in file storage handler
2020-09-01 23:43:54 +02:00
zneix
a4cf027900
Switched to promises in file document store 2020-08-30 03:27:38 +02:00
zneix
b4f42219e5
Added proper documentation 2020-08-29 05:29:39 +02:00
zneix
1efc62a8c5 Rewrote (and fixed) dictionary key generator 2020-08-29 00:40:36 +02:00
zneix
2e2b69c43c Rewrote phonetic key generator 2020-08-29 00:39:07 +02:00
zneix
15b8899629 rewrote file document storage 2020-08-29 00:06:49 +02:00
zneix
d303416dba fixed eslint formatting 2020-08-28 23:57:50 +02:00
Paweł
9255094ec4
Fixed dependabot's file
Maybe long spacing is wrong in general
2020-08-28 04:51:54 +02:00
Paweł
6edab93976
Fixed dependabot's file
I guess it doesn't like tabs, had to switch to Spaces: 4 indent
2020-08-28 04:50:00 +02:00
zneix
daabcf7dcd Config rewrite 2020-08-28 04:46:48 +02:00
zneix
e4eeec3d27 Updated eslint rules 2020-08-28 04:39:03 +02:00
zneix
4a583a52ce Enabled dependabot 2020-08-28 04:31:58 +02:00
zneix
bd5c7f9261 Added mongodb as document store adapter 2020-08-27 00:42:48 +02:00
zneix
f3288c4e39 Made server run async 2020-08-27 00:39:06 +02:00
zneix
78aabf90bb Refactored static files compression 2020-08-26 16:04:20 +02:00
zneix
c585e3b815 Huge refactor, switched to express 2020-08-26 04:54:58 +02:00
zneix
06315a91a8 security and deprecation fixes 2020-08-25 22:57:13 +02:00
John Crepezzi
9b0a5ff0a3
Merge pull request #291 from j3parker/s3-document-store
Add an Amazon S3 document store
2020-02-27 11:39:12 -05:00
Jacob Parker
1fff48568f Document the IAM permissions 2019-07-08 16:59:04 +01:00
Jacob Parker
b4c666fbcf Add an Amazon S3 document store 2019-06-28 19:25:49 +01:00
John Crepezzi
b866c33c93
Merge pull request #173 from sebastiansterk/master
removed padding for #box for correct view
2019-04-05 17:30:42 -04:00
John Crepezzi
f3838ab4a8
Merge pull request #251 from seejohnrun/handle-redis-disconnect
Handle redis error and re-establish connection
2018-09-19 10:38:34 -04:00
John Crepezzi
bf2b1c957a Handle redis error and re-establish connection 2018-09-19 10:37:34 -04:00
John Crepezzi
ee1c1c0856
Merge pull request #231 from seejohnrun/ensure-raw-utf8
Added charset to raw content type
2018-07-12 14:26:05 -04:00
John Crepezzi
b087ac8dd1 Added charset to raw content type
Closes #230
2018-07-12 14:25:27 -04:00
John Crepezzi
d922667f56
Merge pull request #221 from PassTheMayo/patch-1
Fixed unnecessary logging when document not found
2018-04-30 19:45:16 -04:00
Jacob Gunther
5f6fefa7a6
Fixed unnecessary logging when document not found 2018-04-30 16:40:28 -05:00
John Crepezzi
faa7e679ca
Merge pull request #216 from PassTheMayo/master
Fixed RethinkDB document store
2018-04-16 11:53:28 -04:00
Jacob Gunther
cd3bf26dbe
Use local method for md5 2018-04-16 10:52:53 -05:00
Jacob Gunther
830dc1bc43 Use uploads table 2018-04-15 23:16:39 -05:00
Jacob Gunther
dc0f151a7f Fixed bug in RethinkDB document store and use classes 2018-04-15 23:16:08 -05:00
John Crepezzi
7f625e22f7
Merge pull request #203 from seejohnrun/rewrite_memcached
Rewrite the memcached client
2018-04-13 16:10:42 -04:00
John Crepezzi
528b7b07a8
Merge pull request #215 from Razzeee/patch-1
Update docs to real defaults
2018-04-09 13:08:36 -04:00
Razzeee
2b81e67ce7
Update docs to real defaults 2018-04-09 19:05:21 +02:00