Commit graph

25 commits

Author SHA1 Message Date
Sérgio Salgado
2a85bfce2b fix: check for date validity before conversion 2022-07-11 17:16:53 +01:00
Sérgio Salgado
ca2274a8a2 fix: use date-fns functional programming module 2021-11-24 23:02:24 +00:00
Sérgio Salgado
973040f409 feat: remove all instances of moment usage 2021-11-24 23:02:23 +00:00
Sérgio Salgado
7d6fb17158 feat: convert from using dst offsets to use timezone code
feat: select timezones from current selected country
2021-11-24 23:02:22 +00:00
José Oliveira
89740b2443 feat: prune server logs table 2021-10-04 07:31:17 +01:00
Taranto
ba4117173e chore: undo $ prepend on queries 2021-07-22 12:15:45 +01:00
csrapr
e6059be8d2 Chore: refactor to use new schema changing queries 2021-07-22 12:15:45 +01:00
Sérgio Salgado
b5e35b82c2 refactor: move up dateFormat method 2021-06-28 16:39:54 +01:00
Liordino Neto
f641e605a4 fix: added timestamp parameters for a date range on the gql queries for
machineLogs, serverLogs and transactions

feat: added optional limit and offset variables for the logs queries,
for filtering and pagination

feat: adapted the LogsDownloaderPopper to download the logs by whats set
on the filters

fix: improved code readability

fix: avoid errors when the range option is selected and no range is
actually selected
2020-07-31 00:37:00 +02:00
Rafael Taranto
b8e0c2175b feat: add graphql support (#349)
* fix: eslint warnings

* refactor: use ramda + sanctuary instead of lodash

* refactor: use prettier-standard for formatting

* feat: enable security

* feat: add graphql

* chore: remove trailing commas from linter

* docs: new scripts on react and new-admin-server

* feat: handle authentication on graphql

* fix: perf improvement to date picker

* chore: add insecure-dev script to run servers
2019-12-24 15:36:41 +01:00
Rafael Taranto
67919892e8 Truncate/trim server tables 2019-05-12 13:46:56 +01:00
Josh Harvey
fe45967274 fix support log bug 2018-07-17 18:02:42 +03:00
Josh Harvey
5d9533b7b4 display logs with latest first 2018-05-18 18:19:19 +03:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Josh Harvey
beb2a2136d add serials to machine logging 2018-01-03 13:01:02 +00:00
Josh Harvey
4425b21b3d tweak log update 2017-12-18 03:08:32 +02:00
Josh Harvey
783b85ed72 give lamassu support 2 full days of logs; log sharing last for 1 week 2017-12-15 02:21:59 +02:00
goga-m
39f9848ca1 Promisify admin-support 2017-12-13 16:31:07 +02:00
goga-m
e998e84cca Logs insert: on conflict do nothing 2017-12-13 16:31:07 +02:00
goga-m
d901a36f29 Add Lamassu support microsite 2017-12-13 16:31:07 +02:00
goga-m
4f9cc88a5e Provide machine name on logs snapshots batch 2017-12-13 16:31:07 +02:00
goga-m
62d606cc80 Create support_logs (db & api) 2017-12-13 16:31:07 +02:00
goga-m
b7d6f3f419 Map logLevel to info or error 2017-12-13 16:31:07 +02:00
goga-m
8ce22eca95 Create /logs/ api endpoint 2017-12-13 16:31:07 +02:00
goga-m
43f578d311 Add logs 2017-12-13 16:31:07 +02:00