Commit Graph

1018 Commits

Author SHA1 Message Date
a24a9cd6dd Resolved merge conflicts 2022-08-20 17:37:45 +02:00
148cacb8d5 Merge branch 'master' into fix/tests-lint-and-src-folder 2022-08-20 17:24:24 +02:00
1815a429b0 Fix: Linter warnings (#137)
* Automaticly fixable eslint issues, mostly 3 -> 2 space indentation

* fix: updated plex_userid to camelcase

* Linted and some consistency refactor on middleware

* eslint uses ecmaversion 2020 & allow empty catch rule

* Started linting source files

* Fixed eslint errors & improved a lot of error handling

* Set 2 eslint rules as warning temporarly
2022-08-20 17:21:25 +02:00
705b6cbc1c Prevent assert error when checking request status, returns success 200 2022-08-20 17:18:36 +02:00
ff410194ed Updated authentication middleware to handle checks consitenctly 2022-08-20 17:17:31 +02:00
22919b3060 Pass error from tmdb api back to client as errorMessage 2022-08-20 17:08:00 +02:00
098ee95f40 Replaced all fetch alternatives from source code and package.json 2022-08-20 17:00:40 +02:00
16469ee2eb Fixed redis expire & mock implmentation 2022-08-20 16:58:41 +02:00
0bbd10c24b Use chaiHttp in asAUserIWantToRequestAMovie. 2022-08-20 16:57:55 +02:00
7e1f89e1ad Re-enable tests/system 2022-08-20 16:56:44 +02:00
3e069ea1a1 Disabled test asADeveloperIWantTheServerToStart 2022-08-20 16:56:22 +02:00
39e335423b Tests should use redis (mock) cache, not tmdb sqlite cache 2022-08-20 16:55:03 +02:00
b4758040ee All api calls from tests use same chaiHttp implementation
Removes a list of fetch alternatives after being replaced by chaiHttp:
 - request
 - request-promise
 - supertest
 - supertest-as-promised
2022-08-20 16:52:34 +02:00
104b5e09fd Dockerfile copies development.example -> production.json. Simplified commands 2022-08-20 14:13:49 +02:00
cacff37df3 Chai modules defined in package.json & resolved linting errors 2022-08-20 14:01:21 +02:00
d58f9751f4 Updated test configuration w/ missing keys 2022-08-20 13:56:37 +02:00
7b8ca68fc8 Updated test commands to omit system tests, no exit code 2022-08-20 13:56:11 +02:00
03de831d13 Updated mocha & nyc. Removed production config. Updated gitignore 2022-08-20 13:08:57 +02:00
a6d808daa6 Updated mocha & nyc, resolved all lint issues in tests/ 2022-08-20 13:05:24 +02:00
9708a6cff9 Updated all import statements to be relative 2022-08-20 13:01:02 +02:00
f1eaf3e019 Set 2 eslint rules as warning temporarly 2022-08-19 16:05:16 +02:00
c533d8868a Fixed eslint errors & improved a lot of error handling 2022-08-19 16:03:49 +02:00
b1d959389d Started linting source files 2022-08-19 13:47:08 +02:00
64dbec1f14 eslint uses ecmaversion 2020 & allow empty catch rule 2022-08-19 13:45:50 +02:00
a98797088a Linted and some consistency refactor on middleware 2022-08-19 11:22:29 +02:00
e8ad9367c9 fix: updated plex_userid to camelcase 2022-08-19 10:49:58 +02:00
2aace85418 Automaticly fixable eslint issues, mostly 3 -> 2 space indentation 2022-08-19 10:41:44 +02:00
cfbd4965db Merge pull request #136 from KevinMidboe/feat/emoji-from-codepoint
Feat: Emoji from code point
2022-08-19 10:18:35 +02:00
31c4b8b7df Replaced travis CI badge with Drone CI 2022-08-19 10:18:16 +02:00
a4b2e8f51c Instead of having a list of emojis, generate from code point 2022-08-19 10:08:34 +02:00
11fb803838 Removed seasoned_api folder 2022-08-19 10:06:18 +02:00
b2d2b0025c Merge pull request #134 from KevinMidboe/chore/seasoned_api-src-files
Chore: Seasoned api src files
2022-08-19 10:05:00 +02:00
ae9f3044bc Removed vue reference in prettierc (#135) 2022-08-19 10:04:01 +02:00
0eab680527 Include yarn lock into docker container build 2022-08-19 01:28:40 +02:00
4204515e91 Updated COPY and RUN commands for new project dir structure 2022-08-19 01:24:55 +02:00
19e99e8c43 Updated eslint config & prepared ts config 2022-08-19 01:14:18 +02:00
007d34f994 Updated dockerfile with new config dir in root 2022-08-19 01:10:16 +02:00
5a1e18b839 All entrypoints updated after moving seasoned_api contents to root dir 2022-08-19 01:04:45 +02:00
56262a45c8 Moved contents of seasoned_api up to root folder 2022-08-19 01:03:27 +02:00
0efc109992 Moved old webpage, app & client into .archive folder 2022-08-19 00:44:25 +02:00
851af204ab Remove python submodules 2022-08-19 00:43:41 +02:00
ccebf0d7b0 Merge pull request #132 from KevinMidboe/feat/drone-ci
Feat Drone CI & dockerize
2022-08-18 20:44:35 +02:00
76fe986f39 Merge branch 'feat/drone-ci' of github.com:KevinMidboe/seasonedShows into feat/drone-ci 2022-08-17 01:00:33 +02:00
fbf1ae8dec Moved github files to .github/ 2022-08-17 01:00:09 +02:00
9164b592bd Copy folder seasoned_api not just contents, matches project structure 2022-08-17 00:59:34 +02:00
d77b427c3c Copy folder seasoned_api not just contents, matches project structure 2022-08-17 00:40:58 +02:00
b56b1f6c0c Environment variables now take presedence over local config 2022-08-17 00:20:17 +02:00
c8477fabaa If redis fails to connect use a mock client to not crash 2022-08-17 00:19:22 +02:00
014cac8b06 Remove installing redis-server from apt on build 2022-08-17 00:18:34 +02:00
20d74cafb9 gchr repo name all lowercase 2022-08-16 01:22:35 +02:00