Commit Graph

146 Commits

Author SHA1 Message Date
Xymorot 237ae2079c doc: add a "license" file 2019-11-26 22:51:55 +01:00
Xymorot cfc14ef1a3 config: add database-backup and store-backup folders to forge ignore list 2019-11-26 22:51:55 +01:00
Xymorot 442174e462 refactor: remove @Entity annotation from abstract entities 2019-11-26 22:51:55 +01:00
Xymorot 0ac84df449 refactor: remove options from one-to-many relations because it is not necessary 2019-11-26 22:51:54 +01:00
Xymorot 34bd46d376 feat: add indexable multi-name entities, add check constraints to rateable and multi-named entity mixin
BREAKING CHANGE: delete old migrations for a new initial_migration
2019-11-26 22:51:54 +01:00
Xymorot b73e14f0ab test: add test setup files for backing up store and database folders before tests 2019-11-26 22:51:54 +01:00
Xymorot 7c2aaacf13 doc: clarify mocks documentation 2019-11-26 22:51:54 +01:00
Xymorot 2006815b2b feat: refactor entity classes to use mixins, add rateable mixin to book and copy 2019-11-26 22:51:53 +01:00
Xymorot 8bfaba185b config: refactor and add some lint scripts 2019-11-26 22:51:53 +01:00
Xymorot 4f28d63136 update: run npm update 2019-11-26 22:51:53 +01:00
Xymorot 0b5906e757 meta: add schema folder in workspace with draw.io and pdf file 2019-11-26 22:51:52 +01:00
Xymorot 96deb54d1a config: add mocks folder to eslint 2019-11-26 22:51:52 +01:00
Xymorot b19be09303 meta: add workspace folder with application icon files 2019-11-26 22:51:32 +01:00
Xymorot 0101e02345 doc: display commit types in a table with some better explanations 2019-11-20 23:35:50 +01:00
Xymorot e79a94191e fix: reformat forge config and add an escape \ before a dot in a regex 2019-11-20 23:21:36 +01:00
Xymorot 550e65dedb test: implement tests for 100% coverage of store service 2019-11-20 23:21:36 +01:00
Xymorot 423df953fb config: add build script to pre-commit script to test for typescript errors 2019-11-20 23:21:35 +01:00
Xymorot 69f06b2e0c fix: fix typescript errors (coming from update) 2019-11-20 23:21:35 +01:00
Xymorot c02046817e doc: put update commit type above test commit type 2019-11-20 23:21:35 +01:00
Xymorot c2179ac580 update: run npm update 2019-11-20 23:21:35 +01:00
Xymorot fce8e95a0e feat: install and use fs-extra instead of fs, implement groundwork for more sophisticated error reporting
also add tests and mocking framework
2019-11-20 23:21:34 +01:00
Xymorot 1392532b7e config: extract nyc into own npm scripts because it makes debugging impossible 2019-11-20 23:21:34 +01:00
Xymorot 1b2157f031 test: use before and after instead of beforeEach and afterEach in main.spec.ts (also move @slow tag to suite) 2019-11-20 23:21:34 +01:00
Xymorot a6c9890c70 config: turn off per-file coverage checking in nyc 2019-11-20 23:21:34 +01:00
Xymorot a7d125bfaf refactor: use handlebars template engine to render the index html conditionally 2019-11-20 23:21:33 +01:00
Xymorot 5237efb88c config: add only-arrow-functions rule to tslint 2019-11-20 23:21:33 +01:00
Xymorot 88f17f43ea doc: add paragraph about code coverage 2019-11-20 23:21:33 +01:00
Xymorot 934b3eea64 config: use exec instead of gulp-typescript to compile typescript with the standard tsc compiler
The main reason for this is to fix nyc html coverage reporting which had some weird problems with the generated source-maps.
2019-11-20 23:21:33 +01:00
Xymorot e3a732b37c config: add rules to eslint concerning arrow functions 2019-11-20 23:21:32 +01:00
Xymorot bc1a3ce1e6 config: remove baseUrl from tsconfig because it is meant to be used with additional tooling 2019-11-20 23:21:32 +01:00
Xymorot 3b306e5895 test: add test suite for uuid service 2019-11-20 23:21:32 +01:00
Xymorot b72e608280 doc: add comment to uuid function 2019-11-20 23:21:32 +01:00
Xymorot 93c0570bc4 test: increase timeout for application test 2019-11-20 23:21:31 +01:00
Xymorot 1e3391a993 test: implement tests for renderer util service 2019-11-20 23:21:31 +01:00
Xymorot 47a164169d config: adjust pre-commit script to run prettier and not prettier:write since the written changes are not staged 2019-11-20 23:21:31 +01:00
Xymorot 0bec8a8a76 fix: make style util function work when a style only has true as value 2019-11-20 23:21:31 +01:00
Xymorot b71a15536d config: install fast-check for property based testing 2019-11-20 23:21:30 +01:00
Xymorot bf1cd72f7c doc: add list of testing packages together with their usage 2019-11-20 23:21:30 +01:00
Xymorot 5acc27c6d9 config: disable typedef tslint rule in tests 2019-11-20 23:21:30 +01:00
Xymorot bdaab7f5bd config: fix include array to only include relevant directories 2019-11-20 23:21:30 +01:00
Xymorot 5889e828f6 config: add html coverage reporter and only report summary in console 2019-11-20 23:21:29 +01:00
Xymorot caf1460139 fix: do not filter style properties in style object with value 0 2019-11-20 23:21:29 +01:00
Xymorot 17eddcf157 config: configure quoteProps to consistent in prettier 2019-11-20 23:21:29 +01:00
Xymorot f28cd79e26 test: move main.spec on folder up 2019-11-20 23:21:29 +01:00
Xymorot 3c27fcf8a0 config: exclude entities from nyc coverage 2019-11-20 23:21:28 +01:00
Xymorot d2c40cee18 config: add specific tslint file for tests, adjust eslint/tslint to fail on broken rule (error severity) 2019-11-20 23:21:28 +01:00
Xymorot dd3fd42fea config: add prefer-template to eslint and tslint 2019-11-20 23:21:28 +01:00
Xymorot 946fe6f487 config: add instanbuljs/nyc for code coverage 2019-11-20 23:21:28 +01:00
Xymorot 3ea82c9848 doc: clarify usage of the 'test' commit type 2019-11-20 23:21:27 +01:00
Xymorot 33c2f9de6f test: remove split between integration and unit tests, use tags instead 2019-11-20 23:21:27 +01:00