Commit graph

133 commits

Author SHA1 Message Date
Rafael Taranto
1dd8f4ff7e Merge pull request #872 from SiIky/chore/JbtevlHv/log_through_logger
Log through the logger
2021-11-11 18:32:06 +00:00
Rafael Taranto
c16fecf7a0 Merge pull request #866 from ubavic/fix_get-customers-list_sql
Fix: getCustomerList SQL query
2021-11-11 18:27:06 +00:00
André Sá
21bdf5f60a chore: use logger for all important logs 2021-10-11 16:24:24 +01:00
José Oliveira
4d7a252710 feat: compliance and t&c photos displayed on carousel 2021-10-07 13:54:36 +01:00
José Oliveira
5dc82af9ad fix: arguments description 2021-10-07 13:49:44 +01:00
José Oliveira
e729de1410 feat: handle T&C photos and UI photos roll 2021-10-07 13:49:43 +01:00
Nikola Ubavic
04f22d6a81 style: capitalize SQL keywords 2021-10-07 07:13:40 +02:00
Nikola Ubavic
ba0dcf2c8c fix: remove syntax errors in query 2021-10-07 07:13:20 +02:00
Sérgio Salgado
a6eb4b904f feat: implement subscriber info retrieval 2021-10-04 11:42:25 +01:00
Sérgio Salgado
d3c5ef92f1 feat: add list of passable tx error codes for customer volume calculation 2021-10-04 07:31:17 +01:00
Sérgio Salgado
90bae5d7ab fix: make admin customer queries aware of cancelled transactions 2021-10-04 07:31:17 +01:00
Sérgio Salgado
bdbc77ad8b fix: remove log 2021-10-04 07:31:17 +01:00
Sérgio Salgado
b96bff158f refactor: clean code related with removing the _path suffix 2021-10-04 07:31:17 +01:00
Sérgio Salgado
edaedd556b fix: string replace optimization 2021-10-04 07:31:17 +01:00
Sérgio Salgado
796fb3ac88 fix: infinite loop on rejected id photo and front camera photo 2021-10-04 07:31:17 +01:00
Sérgio Salgado
1a9368b290 fix: edge case with suspensions shorter than 1 day 2021-10-04 07:31:17 +01:00
Sérgio Salgado
06b7f8cf8b fix: customer filters not being applied
fix: customer name edge cases
fix: sql uppercasing
2021-07-29 00:05:36 +01:00
Sérgio Salgado
2b93f016ac feat: add search functionality to customer page 2021-07-29 00:05:36 +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
fe665f1e9c fix: edge case with suspensions shorter than 1 day 2021-07-21 14:08:36 +01:00
José Oliveira
2f0ca0ab26 fix: remove logs and change route 2021-07-05 12:25:15 +01:00
José Oliveira
c7d56c8110 fix: change photos path 2021-07-05 12:25:15 +01:00
José Oliveira
c221437618 feat: relay id data photos to server 2021-07-05 12:25:15 +01:00
José Oliveira
ea44478b48 chore: update big number package 2021-07-05 11:10:24 +01:00
Sérgio Salgado
4003d892fd feat: allow customer suspension removal 2021-06-28 16:21:41 +01:00
Sérgio Salgado
eb91d882c7 fix: remove user_tokens from _override_by customer fields 2021-05-03 23:00:41 +01:00
José Oliveira
f394606821 refactor: use flag in graphql objects 2021-03-16 11:09:50 +00:00
José Oliveira
4116069bd5 fix: disallow navigation to and blocking of anonymous customers 2021-03-16 11:09:50 +00:00
csrapr
82912b728a Chore: move catch into queries file 2021-02-15 23:17:19 +00:00
Cesar
c457faab40 Chore: make notification center UI
Chore: fiatBalancesNotify refactor

Chore: removed now-unused code in some files

Feat: change column "detail" in database to use jsonb

Chore: add notification center background and button

Chore: notifications screen scaffolding

Fix: change position of notification UI

Feat: join backend and frontend

Feat: notification icons and machine names

Feat: add clear all button, stripe overlay on invalid notification

Fix: rework notification styles

Feat: use popper to render notifications

Feat: make notification center UI

Fix: fix css on notification center

Fix: fix invalidateNotification

Chore: apply PR requested changes

Fix: PR fixes

Fix: make toggleable body/root styles be handled by react

Chore: delete old notifier file

Fix: undo variable name changes for cryptobalance notifs
2021-02-04 15:48:23 +00:00
Cesar
2a9e8dadba Feat: user compliance saving to DB 2021-02-04 15:48:23 +00:00
Sérgio Salgado
5d868af9e7 fix: move raw data parsing to machine 2021-02-02 19:03:40 +00:00
Sérgio Salgado
3d011ec079 fix: remove log 2021-02-02 19:03:40 +00:00
Sérgio Salgado
d5272f6cf5 fix: save raw data 2021-02-02 19:03:40 +00:00
Sérgio Salgado
8bf6225b58 fix: console log 2021-02-02 19:03:40 +00:00
Sérgio Salgado
309d9ff95b feat: store id card raw data 2021-02-02 19:03:40 +00:00
Sérgio Salgado
a432d913be fix: override fields update 2020-12-16 17:18:38 +00:00
Liordino Neto
15618df4ef fix: inverted name and phone positions on the customers list
fix: use the correct variables for getting the customers status

fix: customer name was showing as 'undefined undefined' when not present

fix: use the phone number as a fallback for the customer name when it's
not present

fix: removed phone number compliance card

fix: set a fixed size for the popup photos
2020-10-26 16:04:15 +00:00
Liordino Neto
f53a934092 feat: change customer screen transaction list part to the new design
feat: created the compliance details component (no data for now)

fix: added missing properties into the gql schema and the compliance
details component

feat: added another chip type for a neutral situation

style: change the property card style for the v1 specs

fix: added front facing camera override to schema and components

feat: added authorized override (status) column to the customers list
table

fix: moved name to the front of the phone on the customers list table

fix: added sanctions description text on it's card

fix: added id icon to the right of the customer name

feat: created subpage button component and use it in the customer
profile

feat: created an image popper component and use it in the customer
compliance page

fix: added varying sizes to the customer details and id data cards fields

refactor: simplify the compliance subpage code
2020-10-26 16:04:15 +00:00
Taranto
c5b2c2daaa fix: overrides stuck on infinite loop if blocked 2020-10-25 20:22:21 +00:00
Taranto
5887a301fb feat: us ssn 2020-10-09 18:01:02 +02:00
Taranto
b853f366f1 fix: soft rework Customers pages 2020-09-11 14:11:59 +01:00
Taranto
5dd8501a17 fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
Liordino Neto
c808ca3be9 feat: added the compliance/customers route
feat: added customers list page

feat: created the Customer type on the gql server and consume it

Currently only with the 'name' property

feat: added query on gql to get the customers list with the needed props

feat: added the currently available props to the front end table

fix: consider only sent txs for the aggregations on the customers list

fix: replace ExpTable with a non-expandable one

fix: remove unused properties from gql and front-end

fix: fixed the customers list columns width

fix: the last active table column was reading the wrong property

chore: remove debug logging

fix: use the correct table columns to check for txs that should be
considered on the customers list page

fix: use the international format for phone numbers

feat: added the search box

fix: remove ordering from the gql customers list query and moved it to
the front-end)

fix: removed the search box

chore: refactor the customers list table into a new component

chore: cleanup code

fix: fixed styles from customer list page header

feat: created customer profile page and started a transition feature
from the customer list

refactor: make components out of customers list table and profile page

feat: selecting a customer now transitions to its profile page

feat: added the customer transactions list table

fix: fix tx class button margins

fix: fix tx class icon margins on the customer list

fix: fixed crypto value

style: fixed the table column widths

feat: added the requirements column (no data yet, though)

feat: added the header with the customer details (no image yet, though)

feat: created the skeleton for the properties cards

feat: create the breadcrumb on the customer profile page (no link yet)

feat: added the children container in the property card

feat: added block customer action button

feat: added action buttons to the property cards

feat: added a children prop to the property card component

feat: added extra properties to the customer gql query

feat: added override fields to the customers gql query

style: added conditional styles to the property card component

feat: added children to the customer property cards

feat: create the edit button function on the property card

feat: add error properties to the txs (from gql)

style: fix action left editing action button and right property card
margins

feat: created a mutation to update a customer

feat: added the customer auth override state to the gql query

feat: fix the routing to the individual customer profile pages

feat: made the 'Customers' label on the breadcrumb work as a link

style: fixed the breadcrumb separator

style: fixed the customer name style

feat: made the action to block and authorize a customer as a toggle

feat: removed the 'Super user' switch (left for v2)

style: added the crossed camera icon on the photo

style: fixed the rejected icons

refactor: refactored some styles that were repetitive

refactor: created constants for the override possible states

feat: created functions for the authorization and blocking of overrides

refactor: renamed setOverride to updateCustomer

fix: remove current unused features

feat: make the property cards fields read-only

feat: setup id card photo and front camera photo image servers

feat: add id card photo on the corresponding property card

feat: add front camera photo on the customer profile header

feat: added gql cache to update the front-end after any mutation

style: added the crossed camera icon when there's no id card photo

refactor: extracted the PropertyCard component to another file

fix: deactivated the cache for the transactions (no need for it)

refactor: removed unused styles

fix: fixed front-camera-photo img path

fix: changed gql local data updates from cache to query refetch

refactor: move override status constants to the property card class

refactor: make the image servers URI a const dependent on the build

fix: remove requirements column from customer tx table (left for future
version)

fix: add aliases to gql query to correctly show errors on tx table

style: fix the transaction errors styles

feat: add terms and conditions page

feat: add modal preview

feat: remove preview

fix: increase space between switch and fields

feat: added the compliance/customers route

feat: added customers list page

feat: created the Customer type on the gql server and consume it

Currently only with the 'name' property

feat: added query on gql to get the customers list with the needed props

feat: added the currently available props to the front end table

fix: consider only sent txs for the aggregations on the customers list

fix: replace ExpTable with a non-expandable one

fix: remove unused properties from gql and front-end

fix: fixed the customers list columns width

fix: the last active table column was reading the wrong property

chore: remove debug logging

fix: use the correct table columns to check for txs that should be
considered on the customers list page

fix: use the international format for phone numbers

feat: added the search box

fix: remove ordering from the gql customers list query and moved it to
the front-end)

fix: removed the search box

chore: refactor the customers list table into a new component

chore: cleanup code

fix: fixed styles from customer list page header

fix: removed unused code

refactor: move transactions to a custom resolver in the customer's query

refactor: break the CustomerProfile component into several smaller ones

style: changed the table row error color from red to no change and the
error text from tomato to comet

fix: removed repeated function (wrong merge)

fix: make the updateCustomer function updates only what's explicitly
told so

style: return with the table row error style

refactor: create a function to test if a value is null prior to passing
it through another function

fix: make t&c changes backwards compatible

chore: bump eslint import library to activate rule

fix: stop showing object on empty column

fix: get machine logs page up-to-date

fix: small admin fixes

feat: add terms and conditions page

feat: add modal preview

feat: remove preview

fix: increase space between switch and fields

feat: added the compliance/customers route

feat: added customers list page

feat: created the Customer type on the gql server and consume it

Currently only with the 'name' property

feat: added query on gql to get the customers list with the needed props

feat: added the currently available props to the front end table

fix: consider only sent txs for the aggregations on the customers list

fix: replace ExpTable with a non-expandable one

fix: remove unused properties from gql and front-end

fix: fixed the customers list columns width

fix: the last active table column was reading the wrong property

chore: remove debug logging

fix: use the correct table columns to check for txs that should be
considered on the customers list page

fix: use the international format for phone numbers

feat: added the search box

fix: remove ordering from the gql customers list query and moved it to
the front-end)

fix: removed the search box

chore: refactor the customers list table into a new component

chore: cleanup code

fix: fixed styles from customer list page header

fix: make t&c changes backwards compatible

fix: stop showing object on empty column

fix: get machine logs page up-to-date

feat: add terms and conditions page

feat: add modal preview

feat: remove preview

fix: increase space between switch and fields

feat: added the compliance/customers route

feat: added customers list page

feat: created the Customer type on the gql server and consume it

Currently only with the 'name' property

feat: added query on gql to get the customers list with the needed props

feat: added the currently available props to the front end table

fix: consider only sent txs for the aggregations on the customers list

fix: replace ExpTable with a non-expandable one

fix: remove unused properties from gql and front-end

fix: fixed the customers list columns width

fix: the last active table column was reading the wrong property

chore: remove debug logging

fix: use the correct table columns to check for txs that should be
considered on the customers list page

fix: use the international format for phone numbers

feat: added the search box

fix: remove ordering from the gql customers list query and moved it to
the front-end)

fix: removed the search box

chore: refactor the customers list table into a new component

chore: cleanup code

fix: fixed styles from customer list page header

fix: make t&c changes backwards compatible

fix: stop showing object on empty column

fix: get machine logs page up-to-date

fix: small admin fixes

feat: create add machine page

feat: add terms and conditions page

feat: add modal preview

feat: remove preview

fix: increase space between switch and fields

feat: added the compliance/customers route

feat: added customers list page

feat: created the Customer type on the gql server and consume it

Currently only with the 'name' property

feat: added query on gql to get the customers list with the needed props

feat: added the currently available props to the front end table

fix: consider only sent txs for the aggregations on the customers list

fix: replace ExpTable with a non-expandable one

fix: remove unused properties from gql and front-end

fix: fixed the customers list columns width

fix: the last active table column was reading the wrong property

chore: remove debug logging

fix: use the correct table columns to check for txs that should be
considered on the customers list page

fix: use the international format for phone numbers

feat: added the search box

fix: remove ordering from the gql customers list query and moved it to
the front-end)

fix: removed the search box

chore: refactor the customers list table into a new component

chore: cleanup code

fix: fixed styles from customer list page header

fix: make t&c changes backwards compatible

fix: stop showing object on empty column

fix: get machine logs page up-to-date

feat: create add machine page

fix: fixed wrong merging

fix: more fixes from last merge

fix: export needed functions that wasn't exported from the customers
module

fix: removed the customer profile route from the header

fix: replaced old dataTable with new component

feat: added onClick event to new DataTable
2020-05-09 18:19:20 +01:00
Liordino Neto
2a1356d192 fix: customers without transactions are now returned on the gql query
style: added stripes as bg to table rows

feat: created the stripped lines pattern for null values in tables

style: center objects vertically in the tables

fix: removed the vertical alignment on the Td component (broke some
tables)

fix: coalesce the last_active customer property to it's own creation
when there's no tx associated

fix: check for null values in the customer properties

fix: fix the ordering of the customers table

style: centered td contents vertically
2020-05-04 13:04:03 +02:00
Liordino Neto
507027cdee feat: added the compliance/customers route
feat: added customers list page

feat: created the Customer type on the gql server and consume it

Currently only with the 'name' property

feat: added query on gql to get the customers list with the needed props

feat: added the currently available props to the front end table

fix: consider only sent txs for the aggregations on the customers list

fix: replace ExpTable with a non-expandable one

fix: remove unused properties from gql and front-end

fix: fixed the customers list columns width

fix: the last active table column was reading the wrong property

chore: remove debug logging

fix: use the correct table columns to check for txs that should be
considered on the customers list page

fix: use the international format for phone numbers

feat: added the search box

fix: remove ordering from the gql customers list query and moved it to
the front-end)

fix: removed the search box

chore: refactor the customers list table into a new component

chore: cleanup code

fix: fixed styles from customer list page header
2020-02-17 22:47:39 +01:00
Rafael Taranto
00c4187081 Front facing camera (#289)
* Front facing camera

* Adding in configuration and update script
2019-07-05 19:17:59 +03:00
Rafael Taranto
abf4dd5c32 Splitting up daily volume queries 2019-05-31 17:59:10 +03:00
Rafael Taranto
18bbfc6def Prevent compliance from triggering prematurely 2019-05-31 17:59:10 +03:00