1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

1118 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
6d3b3543b4 #33 fix formatting package.json 2020-02-20 08:30:20 +01:00
Ivar Conradi Østhus
6819b7a1e0 When the user enters his username in to the field
a username cookie is updated and will be available
in all subsequent requests.

THIS IS NOT AUTHENTICATION! it is not safe and is
only implemented as a first edition. It does how ever
solve the issue where we are not able to see who
canged what.
2020-02-20 08:30:20 +01:00
Jari Bakken
c15b72666b Improve date formatting in log view. 2020-02-20 08:30:20 +01:00
Jari Bakken
12710a6d04 log views: show event diffs by default, toggle to show the full event. 2020-02-20 08:30:20 +01:00
andsandv
1aa36aca34 Bump some package deps that nodesecurity recomends 2020-02-20 08:30:20 +01:00
Gard Rimestad
388cdb755a Refactoring pg-virtualenv-test 2020-02-20 08:30:19 +01:00
Gard Rimestad
05af00db5f Create test database with pg_virtualenv and run tests against it with npm run pg-virtualenv-test 2020-02-20 08:30:19 +01:00
Gard Rimestad
5b95f0cfc2 Run tests with database in docker #64 2020-02-20 08:30:19 +01:00
Jari Bakken
642c06f6ba Begin work on running tests against the database:
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
  through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
  something  better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
  clear data from the currently configured database.
2020-02-20 08:30:18 +01:00
ivaosthu
6bfde35de0 Fixed presentation and formatting of toggles and log-entries 2020-02-20 08:30:18 +01:00
andsandv
be701f5bc3 Add shrinkwrap 2020-02-20 08:30:18 +01:00
ivaosthu
fc42827641 Introduce jest as test-framework for gui code (react).
jest is somewhat documented here:
https://facebook.github.io/jest/

related to #61
2020-02-20 08:30:18 +01:00
Jari Bakken
412067c42f Use knex for DB access. Closes #46. 2020-02-20 08:30:16 +01:00
Gard Rimestad
91466c1ec8 Run tests on port 4243, no need to stop local server when running tests. 2020-02-20 08:30:16 +01:00
Jari Bakken
079ef631df Bump mocha timeout on Travis 2020-02-20 08:30:15 +01:00
Ivar Østhus
ca78acd25e Modified configuration to make it run on heroku.
Please note that scripts and webpack is moved from
devDependences to dependencies. This is due to heroku
running the build process in production mode.
2020-02-20 08:30:14 +01:00
andsandv
3b26930773 Add pre-commit hook #26 2020-02-20 08:30:14 +01:00
Jari Bakken
f06a4a8a51 Move unleash-server to top level. 2020-02-20 08:30:13 +01:00