openware / baseapp Goto Github PK
View Code? Open in Web Editor NEWOpenDAX Trading user interface
Home Page: https://www.openware.com
License: Other
OpenDAX Trading user interface
Home Page: https://www.openware.com
License: Other
(Master)
The landing page automatically routes to the trading page regardless of the config set in env.js
Temporary workaround:
baseapp/src/routes/Layout/index.tsx
{showLanding() && <Route exact={true} path="/" component={LandingScreen} />}
back to <Route exact={true} path="/" component={LandingScreen} />
Idea:
create isolate component for geetest captcha
Hi
I'm running baseapp 2.4.0 and opendax and everything it's ok, but I can see that app throws an errror
wss://domain.com/api/v2/rango/private/?stream=deposit_address&stream=ethusdt.ob-inc&stream=ethusdt.trades&stream=global.tickers&stream=order&stream=trade
401 UNAUTHORIZED
I'm trying to figure out what happends, but I can't find the error
I can sign in ok and when I'm signin, baseapp throws me this error
Any advice to resolve this problem?
peatio: quay.io/openware/peatio:2.4.19
barong: quay.io/openware/barong:2.4.12
frontend: custom/frontend:2.4.0
tower: quay.io/openware/tower:2.4.9
rango: custom/rango:2.4.0
Thanks
I cannot find the option to disable the PIN confirmation with mail when I add new address to withdraw a coin.
Anyone know how can I disable this option to make it easier to add a new addresses to withdraw?
I am getting this error
(171,13): Type 'Channel' is not assignable to type 'Channel<{}>'.
Type 'unknown' is not assignable to type '{}'.
anyone have same issue?
Hello,
Im trying to find the styles sheet to manipulate the font and size and images for the following items:
e.g. page.body.landing.features.features.item1.title in src/translations/en.ts
I have been unable to find the relevant file. Is there any documentation for this? If not can someone who has done this before perhaps point me in the right direction? Thanks.
hi guys
1- in the project where is the main css file to edit ? forexample to change the style to rtl
2- where is the html file ? i wanna change some text but i dont find the html source
thanks for guide
Alex
Hi ,
How can I arrange blocks and resize it ?
In web version, when there are more than one orders opened, when you cancel one of the orders dialog does not refresh.
I have noticed that if you create order and cancel it without leaving the page - everything works good.
But if you visit, for example, a profile page or wallets and then try to cancel the order - the issue appears.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:112:11)
at Object.join (path.js:1039:7)
at noopServiceWorkerMiddleware (/home/iman2/work/lab/baseapp/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:317:13)
at /home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:335:12)
at next (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:275:10)
at launchEditorMiddleware (/home/iman2/work/lab/baseapp/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:317:13)
at /home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:335:12)
at next (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/index.js:275:10)
at handleWebpackInternalMiddleware (/home/iman2/work/lab/baseapp/node_modules/react-dev-utils/evalSourceMapMiddleware.js:42:7)
at Layer.handle [as handle_request] (/home/iman2/work/lab/baseapp/node_modules/express/lib/router/layer.js:95:5)
Hi, am teaching baseapp project and i have a question) is there an easier way to set the order of components than setting coordinates in .../src/helpers/layout.ts, I mean, can I somehow get the configuration after drag and drop or another way? Thank you in advance for your response.
i run yarn install and after run
yarn start-mock
and try to open in browser i see this error please someone help me
TypeError: constants__WEBPACK_IMPORTED_MODULE_12_.colors[colorTheme] is undefined
OrderBookContainer/_this.orderBook
src/containers/OrderBook/index.tsx:138
135 | maxVolume={calcMaxVolume(bids, asks)}
136 | orderBookEntryAsks={accumulateVolume(asks)}
137 | orderBookEntryBids={accumulateVolume(bids)}
138 | rowBackgroundColorAsks={colors[colorTheme].orderBook.asks}
| ^ 139 | rowBackgroundColorBids={colors[colorTheme].orderBook.bids}
140 | dataAsks={this.renderOrderBook(asksData, 'asks', this.props.intl.formatMessage({id: 'page.noDataToShow'}), currentMarket)}
141 | dataBids={this.renderOrderBook(bids, 'bids', this.props.intl.formatMessage({id: 'page.noDataToShow'}), currentMarket)}
render
src/containers/OrderBook/index.tsx:118
115 | <div className={'cr-table-header__content'}>
116 | {this.props.intl.formatMessage({id: 'page.body.trade.orderbook'})}
117 |
118 | {orderBookLoading ?
: this.orderBook(bids, asks)}
| ^ 119 |
120 | );
121 | }
POST /api/v2/peatio/account/withdraws
requires amount parameter as string or integer but baseapp sends amount as float in a request.
{"amount":0.1,"currency":"eth","otp":"12345","beneficiary_id":1}
BigDecimal(0.1) # `BigDecimal': can't omit precision for a Float. (ArgumentError)
{"amount":"0.1","currency":"eth","otp":"12345","beneficiary_id":1}
The regex could be expended to allow number and letters as many countries use a combination of both not just all numbers.
https://github.com/openware/baseapp/blob/master/src/containers/Confirm/Identity/index.tsx#L382-L385
https://github.com/openware/baseapp/blob/master/src/containers/Confirm/Address/index.tsx#L237-L240
I tried changing the regex but didn't seem to make a difference:
const postcodeRegex = new RegExp(`^[0-9]{1,12}$`);
const postcodeRegex = new RegExp(`^[a-zA-Z0-9]{1,12}$`);
Hi guys,
Thanks a lot for sharing. Finally we can take a look into the code legally but we would like to be clear of the type of license included in this repo? is it MIT licensed? please let us know.
This link in the README.md file is not working.
BaseApp version 2.6.24 does not send a pin code to an email address when confirming an account for withdrawal. The post office works for sure and sends other letters. What could be the reason?
Trying to run "docker build" fails with "github.com/openware/sonic invalid version: unknown revision 2c220ea19081" going to their page you can indeed confirm that commit with id 2c220ea19081 doesn't exist. (What's worse is that they even have link to this non existing commit in skel/go.mod)
Line 19 in 214975f
https://github.com/openware/mockserver repository seems to be no longer available, please remove it from readme
Hi,
Peatio: 2.6.29
Barong: 2.6.31
It seems when a new users arrives from a referral link, the referral code is not added to the user->referral_id field.
Thanks
is their any app.js or others file thus it can use for PM2 for run baseapp production?
https://pm2.keymetrics.io/
Installing a fresh new opendax on Debian 9, ruby 2.6.5.
installing docker and docker-compose
installing ruby rvm
clone opendax
install bundler
bundle install
rake service:all[start]
and all services are up, no error
but when opening frontend in browser by typing the domain configured in config/app.yaml, I see the following error in the console and nothing is displayed but a blank page with gray background.
main.d2e6ef35.js:1 Uncaught ReferenceError: data is not defined
at main.d2e6ef35.js:1
at _0x50e05e (main.d2e6ef35.js:1)
at _0x474aea (main.d2e6ef35.js:1)
at main.d2e6ef35.js:1
at main.d2e6ef35.js:1
AS A USER without activity i will get a modal window with message, that my session is expired. I closed a window and again went away from the platform. When i check it again i got again this modal window as a LOGGED OUT user with alerts with errors (because as a logged out user i can't destroy any session)
When I try to login in it gets stuck. I traced and there is no error but when the frontend makes the call to /identity/sessions api it jumps into the next call /users/me without waiting for the login response.
Docker logs for Barong:
{"level":"ERROR","time":"2020-06-07 21:34:41 +0000","message":"Twilio Client Error: [HTTP 400] 21608 : Unable to create record\nThe number is unverified. Trial accounts cannot send messages to unverified numbers; verify at twilio.com/user/account/phone-numbers/verified, or purchase a Twilio number to send messages to unverified numbers.\nhttps://www.twilio.com/docs/errors/21608\n\n"}
{"level":"FATAL","time":"2020-06-07 21:34:41 +0000","message":" "}
{"level":"FATAL","time":"2020-06-07 21:34:41 +0000","message":"TypeError (no implicit conversion of nil into String):"}
{"level":"FATAL","time":"2020-06-07 21:34:41 +0000","message":" "}
{"level":"FATAL","time":"2020-06-07 21:34:41 +0000","message":"app/api/v2/resource/utils.rb:27:in +'\napp/api/v2/resource/utils.rb:27:in
twilio_dictionary_error'\napp/api/v2/resource/phones.rb:8:in `block in class:Phones'"}
I've seen this issue in TradingView github and several posts have indicated to serve build without -s but seems that made no improvement...
I'm using 2.5.5 of baseapp and wondering if anyone has had this problem? It throws this error when I load the trading page and affects just the chart when you change markets. Everything else changes to the proper market except the chart doesn't switch...
Thanks
Currently, it opens/closes with state flag within a component.
Disadvantages:
true
- close the dialog. This hack makes app complicated and increases possibility to get a but.To resolve above need to move opeding/closing to redux action.
Example here - a0a1bae#diff-731b906bcd8593e0a5402f1657db9a50bc9066ce8bbd3b37c7760071098e6fb8R12
how to fix these warnings
warning " > [email protected]" has unmet peer dependency "[email protected] - 3".
warning " > [email protected]" has unmet peer dependency "popper.js@^1.16.0".
warning " > [email protected]" has incorrect peer dependency "react@^15.4.1".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.6.0".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.5.4".
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning " > [email protected]" has incorrect peer dependency "react-scripts@^1.0.14".
warning " > [email protected]" has incorrect peer dependency "jest@>=22 <24".
warning nohoist config is ignored in "@openware/cryptofont" because it is not a private package. If you think nohoist should be allowed in public packages, please submit an issue for your use case.
Opensource live baseapp have a license. GPL/MIT anyone what openware prefer or may be UNLICENSED.
***This is very important.
It has issues with using raw javascript and window object.
I want to report the KYC verification related issue. The third and final document step fails. barong ver. 2.4.1.
Docker logs for barong:
[fog][DEPRECATION] Fog::Storage::AWS is deprecated, please use Fog::AWS::Storage.
[fog][WARNING] Unrecognized arguments: aws_signature_version, aws_access_key_id, aws_secret_access_key, region, endpoint, path_style
[DEPRECATION] Passing a options hash and a block to desc
is deprecated. Move all hash options to block.
[DEPRECATION] Passing a options hash and a block to desc
is deprecated. Move all hash options to block.
[DEPRECATION] Passing a options hash and a block to desc
is deprecated. Move all hash options to block.
[DEPRECATION] Passing a options hash and a block to desc
is deprecated. Move all hash options to block.
Hello from bitzlato team.
We want to use linters at full power and want to keep compatibility with your codebase. And a large number of errors are blocking this.
➜ web git:(master) ✗ yarn lint --no-ignore
yarn run v1.22.10
$ eslint --ext .ts,.tsx src --no-ignore
...
✖ 28175 problems (27624 errors, 551 warnings)
26523 errors and 5 warnings potentially fixable with the `--fix` option.
Do you have any plans to fix ESlint/prettier errors?
I am getting this error
Route not found 404
can anyone help me, how can i fix it.
Hi,
I suppose baseapp has not supported postgresql yet
[Kaigara] 2021/10/18 02:02:06 KAIGARA_REDIS_URL unset, do not connect to redis
[Kaigara] 2021/10/18 02:02:06 Starting command: ./bin/sonic [serve]
[Kaigara] 2021/10/18 02:02:06 Publishing on log.sonic.stdout and log.sonic.stderr
[Kaigara] 2021/10/18 02:02:06 Reached EOF on STDIN
[mysql] 2021/10/18 02:03:06 packets.go:36: unexpected EOF
[mysql] 2021/10/18 02:04:06 packets.go:36: unexpected EOF
[mysql] 2021/10/18 02:05:06 packets.go:36: unexpected EOF
2021/10/18 02:05:06 driver: bad connection
2021/10/18 02:05:06 /go/pkg/mod/github.com/openware/pkg/[email protected]/database.go:37
[error] failed to initialize database, got error driver: bad connection
[Kaigara] 2021/10/18 02:05:06 exit status 1
I use postgres but baseapp displays only mysql
my app.yml images, When I try other images it won't even compile. This works but gives error as below And on the home page it says route not fund.
images:
peatio: quay.io/openware/peatio:2.3.55
barong: quay.io/openware/barong:2.3.47
frontend: 3cf325445575
# frontend: quay.io/openware/baseapp:2.3.26 # Check on quay.io/openware/baseapp for latest tags
tower: quay.io/openware/tower:2.3.137
postmaster: quay.io/openware/postmaster:2.3.5
www.domain.com/:1 Error in event handler: TypeError: Cannot read property 'notice_1' of undefined at parseMessage (chrome-extension://dbfipcjecamggjfabeaclacjoohfjhhn/js/content/content.js:8886:51) /api/v2/barong/identity/configs:1 Failed to load resource: the server responded with a status of 404 () /api/v2/barong/resource/users/me:1 Failed to load resource: the server responded with a status of 401 ()
Following the updates of OpenDax on March 27 2020, this frontend no longer works and instead results in a blank page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.