Commit Graph

33 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
672d4da078 feat: human readable uptime 2020-11-21 23:34:12 -05:00
Barış Soner Uşaklı
a7b6d0dfe5 feat: add free and total mem usage to info 2020-10-22 17:46:12 -04:00
Barış Soner Uşaklı
23a9a334cd feat: short more info 2020-07-21 18:08:53 -04:00
Barış Soner Uşaklı
e80379dc0e feat: display stack trace on winston.error 2020-06-20 23:32:12 -04:00
Julian Lam
ccc6118d30 Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-04-23 21:50:08 -04:00
Barış Soner Uşaklı
5e91a67e78 feat: add user ip to admin/dev/info 2020-03-02 11:18:15 -05:00
Barış Soner Uşaklı
c9250a01a2 refactor: async/await, remove dupe code for homepage routes 2019-08-14 16:27:58 -04:00
Barış Soner Uşaklı
aecdf739fd fix: change user/system cpu usage 2019-03-07 10:52:58 -05:00
Barış Soner Uşaklı
db47753877 feat: add process cpu usage to admin 2019-02-28 14:50:31 -05:00
Barış Soner Uşaklı
9664033b73 add memory usage to info page 2017-05-28 18:40:32 -04:00
Barış Soner Uşaklı
13f5d29cb9 eslint 2017-04-27 19:16:32 -04:00
Barış Soner Uşaklı
af6cde5534 show how many nodes responded 2017-04-27 18:58:21 -04:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
32dc7c23ea ESlint guard-for-in, no-nested-ternary
and operator-linebreak
2017-02-18 13:28:03 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
f30b694545 gitInfo error doesnt block page 2016-11-04 20:02:24 +03:00
Sergii Paryzhskyi
e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
2016-10-25 15:34:47 -04:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
d4055ddaef no need for pubsub in getNodeInfo 2016-08-31 14:25:44 +03:00
barisusakli
97f0d2438f up timeout to 500ms 2016-08-26 12:33:44 +03:00
barisusakli
e3e41e2c65 use object 2016-03-11 12:48:54 +02:00
barisusakli
237ff37db5 300ms 2016-03-10 20:24:48 +02:00
barisusakli
16dec24b6c sort by hostname 2016-03-10 19:55:33 +02:00
barisusakli
f1047cfdbc up to 200ms 2016-03-10 19:35:37 +02:00
barisusakli
0b2f01b8bc info page 2016-03-09 13:19:37 +02:00
barisusakli
4fe4d71604 added port 2015-11-05 17:52:38 -05:00
barisusakli
1be178f2a5 sync ACP stats over pubsub 2015-11-05 17:47:06 -05:00
barisusakli
8d0cb18b74 display git hash/branch 2015-11-02 14:54:43 -05:00
barisusakli
09747251d8 added hostname 2015-10-19 18:46:51 -04:00
barisusakli
e60c1d8736 added process info 2015-10-15 20:29:54 -04:00