Comments (9)
Here's a dump of the current url map for the existing dashboard. The vast majority of these routes will need to exist in the new dashboard.
Map([<URIRule '/settings/password/reset' (HEAD, GET) -> reset.index>,
<URIRule '/settings/password/reset' (POST) -> reset.create>,
<URIRule '/marketplaces/apply' (HEAD, GET) -> apply.index>,
<URIRule '/marketplaces/apply' (POST) -> apply.create>,
<URIRule '/marketplaces/start' (HEAD, GET) -> start.index>,
<URIRule '/settings/api_keys' (HEAD, GET) -> api_keys.index>,
<URIRule '/settings/api_keys' (POST) -> api_keys.create>,
<URIRule '/settings/password' (HEAD, GET) -> password.index>,
<URIRule '/settings/password' (POST) -> password.create>,
<URIRule '/admin/marketplaces' (HEAD, GET) -> admin_marketplaces.index>,
<URIRule '/admin/marketplaces' (POST) -> admin_marketplaces.create>,
<URIRule '/admin/identity' (HEAD, GET) -> admin_precog_identity.index>,
<Rule '/docs/payouts' (HEAD, OPTIONS, GET) -> index>,
<URIRule '/test/timeout' (HEAD, GET) -> timeout.index>,
<URIRule '/logs/timing' (POST) -> timing.create>,
<URIRule '/help/search' (HEAD, GET) -> help_search.index>,
<URIRule '/v1/events' (HEAD, GET) -> events.index>,
<URIRule '/community_avatar' (HEAD, GET) -> community_avatar.index>,
<URIRule '/bank_accounts' (HEAD, GET) -> bank_accounts.index>,
<URIRule '/bank_accounts' (POST) -> bank_accounts.create>,
<URIRule '/marketplaces' (HEAD, GET) -> marketplaces.index>,
<URIRule '/marketplaces' (POST) -> marketplaces.create>,
<URIRule '/community' (HEAD, GET) -> community.index>,
<URIRule '/addresses' (HEAD, GET) -> addresses.index>,
<URIRule '/dashboard' (HEAD, GET) -> dashboard.index>,
<URIRule '/settings' (HEAD, GET) -> settings.index>,
<URIRule '/pricing' (HEAD, GET) -> pricing.index>,
<URIRule '/privacy' (HEAD, GET) -> privacy.index>,
<URIRule '/logout' (HEAD, GET) -> logout.index>,
<URIRule '/about' (HEAD, GET) -> about.index>,
<URIRule '/start' (HEAD, GET) -> .index>,
<URIRule '/terms' (HEAD, GET) -> terms.index>,
<URIRule '/login' (HEAD, GET) -> login.index>,
<URIRule '/login' (POST) -> login.create>,
<URIRule '/flow' (HEAD, GET) -> flow.index>,
<URIRule '/docs' (HEAD, GET) -> docs.index>,
<URIRule '/logs' (POST) -> logs.create>,
<URIRule '/help' (HEAD, GET) -> help.index>,
<URIRule '/new' (HEAD, GET) -> new.index>,
<URIRule '/new' (POST) -> new.create>,
<URIRule '/' (HEAD, GET) -> .index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>bank_accounts/<bank_account>/verification/<verification>' (PUT, POST) -> bank_account_verify.update>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>bank_accounts/<bank_account>/verification' (POST) -> bank_account_verify.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>bank_accounts/<bank_account>/credit' (POST) -> bank_account_credit.create>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>/verification/<verification>' (PUT, POST) -> bank_account_verify.update>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/bank_accounts/<bank_account>' (HEAD, GET) -> bank_accounts.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/bank_accounts/<bank_account>' (PUT, POST) -> bank_accounts.update>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/bank_accounts/<bank_account>' (DELETE) -> bank_accounts.delete>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/credits/<credit>' (HEAD, GET) -> credits.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/credits/<credit>' (PUT, POST) -> credits.update>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/refunds/<refund>' (HEAD, GET) -> refunds.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/refunds/<refund>' (PUT, POST) -> refunds.update>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/debits/<debit>' (HEAD, GET) -> debits.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/debits/<debit>' (PUT, POST) -> debits.update>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/cards/<account_cards>' (DELETE) -> account_cards.delete>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/cards/<card>' (HEAD, GET) -> cards.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/holds/<hold>' (HEAD, GET) -> holds.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/holds/<hold>' (PUT, POST) -> holds.update>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/refunds/<refund>' (HEAD, GET) -> refunds.show>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/refunds/<refund>' (PUT, POST) -> refunds.update>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/holds/<hold>' (HEAD, GET) -> holds.show>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/holds/<hold>' (PUT, POST) -> holds.update>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>/verification' (POST) -> bank_account_verify.create>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>/transactions' (HEAD, GET) -> transactions.index>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>/transactions' (POST) -> transactions.create>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>/credit' (POST) -> bank_account_credit.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/bank_accounts' (HEAD, GET) -> bank_accounts.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/bank_accounts' (POST) -> bank_accounts.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/transactions' (HEAD, GET) -> transactions.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/transactions' (POST) -> transactions.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/credits' (HEAD, GET) -> credits.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/credits' (POST) -> credits.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/refunds' (HEAD, GET) -> refunds.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/refunds' (POST) -> refunds.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/debits' (HEAD, GET) -> debits.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/debits' (POST) -> debits.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/cards' (POST) -> account_cards.create>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/cards' (HEAD, GET) -> cards.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/holds' (HEAD, GET) -> holds.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>/holds' (POST) -> holds.create>,
<URIRule '/marketplaces/<marketplace>/invoices/<invoice>/<transaction>' (HEAD, GET) -> invoice_transactions.show>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/refunds' (HEAD, GET) -> refunds.index>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/refunds' (POST) -> refunds.create>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/holds' (HEAD, GET) -> holds.index>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>/holds' (POST) -> holds.create>,
<URIRule '/v1/invoices/<invoice>/events/<event>' (HEAD, GET) -> events.show>,
<URIRule '/v1/credits/<credit>/events/<event>' (HEAD, GET) -> events.show>,
<URIRule '/v1/refunds/<refund>/events/<event>' (HEAD, GET) -> events.show>,
<URIRule '/v1/events/<event>/callbacks/<callback>' (HEAD, GET) -> event_callbacks.show>,
<URIRule '/v1/events/<event>/callbacks/<callback>' (PUT, POST) -> event_callbacks.update>,
<URIRule '/v1/debits/<debit>/events/<event>' (HEAD, GET) -> events.show>,
<URIRule '/v1/holds/<hold>/events/<event>' (HEAD, GET) -> events.show>,
<URIRule '/bank_accounts/<bank_account>/verification/<verification>' (PUT, POST) -> bank_account_verify.update>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>' (HEAD, GET) -> bank_accounts.show>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>' (PUT, POST) -> bank_accounts.update>,
<URIRule '/marketplaces/<marketplace>/bank_accounts/<bank_account>' (DELETE) -> bank_accounts.delete>,
<URIRule '/marketplaces/<marketplace>/chargebacks/<chargeback>' (HEAD, GET) -> chargebacks.show>,
<URIRule '/marketplaces/<marketplace>/callbacks/<callback>' (HEAD, GET) -> callbacks.show>,
<URIRule '/marketplaces/<marketplace>/callbacks/<callback>' (PUT, POST) -> callbacks.update>,
<URIRule '/marketplaces/<marketplace>/callbacks/<callback>' (DELETE) -> callbacks.delete>,
<URIRule '/marketplaces/<marketplace>/merchants/<merchant>' (PUT, POST) -> merchants.update>,
<URIRule '/marketplaces/<marketplace>/accounts/new' (HEAD, GET) -> account_create.index>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>' (HEAD, GET) -> accounts.show>,
<URIRule '/marketplaces/<marketplace>/accounts/<account>' (PUT, POST) -> accounts.update>,
<URIRule '/marketplaces/<marketplace>/invoices/<invoice>' (HEAD, GET) -> invoices.show>,
<URIRule '/marketplaces/<marketplace>/invoices/<invoice>' (PUT, POST) -> invoices.update>,
<URIRule '/marketplaces/<marketplace>/credits/<credit>' (HEAD, GET) -> credits.show>,
<URIRule '/marketplaces/<marketplace>/credits/<credit>' (PUT, POST) -> credits.update>,
<URIRule '/marketplaces/<marketplace>/refunds/<refund>' (HEAD, GET) -> refunds.show>,
<URIRule '/marketplaces/<marketplace>/refunds/<refund>' (PUT, POST) -> refunds.update>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>' (HEAD, GET) -> debits.show>,
<URIRule '/marketplaces/<marketplace>/debits/<debit>' (PUT, POST) -> debits.update>,
<URIRule '/marketplaces/<marketplace>/cards/<card>' (HEAD, GET) -> cards.show>,
<URIRule '/marketplaces/<marketplace>/holds/<hold>' (HEAD, GET) -> holds.show>,
<URIRule '/marketplaces/<marketplace>/holds/<hold>' (PUT, POST) -> holds.update>,
<URIRule '/marketplaces/<marketplace>/logs/<ohm>' (HEAD, GET) -> marketplace_logs.show>,
<URIRule '/settings/password/reset/<token>' (HEAD, GET) -> reset.show>,
<URIRule '/settings/password/reset/<token>' (PUT, POST) -> reset.update>,
<URIRule '/v1/invoices/<invoice>/events' (HEAD, GET) -> events.index>,
<URIRule '/v1/credits/<credit>/events' (HEAD, GET) -> events.index>,
<URIRule '/v1/refunds/<refund>/events' (HEAD, GET) -> events.index>,
<URIRule '/v1/debits/<debit>/events' (HEAD, GET) -> events.index>,
<URIRule '/v1/holds/<hold>/events' (HEAD, GET) -> events.index>,
<URIRule '/bank_accounts/routing_number/<bank_code>' (HEAD, GET) -> routing_number.show>,
<URIRule '/bank_accounts/<bank_account>/verification' (POST) -> bank_account_verify.create>,
<URIRule '/bank_accounts/<bank_account>/credit' (POST) -> bank_account_credit.create>,
<URIRule '/marketplaces/<marketplace>/initial_deposit' (HEAD, GET) -> initial_deposit.index>,
<URIRule '/marketplaces/<marketplace>/initial_deposit' (POST) -> initial_deposit.create>,
<URIRule '/marketplaces/<marketplace>/bank_accounts' (HEAD, GET) -> bank_accounts.index>,
<URIRule '/marketplaces/<marketplace>/bank_accounts' (POST) -> bank_accounts.create>,
<URIRule '/marketplaces/<marketplace>/transactions' (HEAD, GET) -> transactions.index>,
<URIRule '/marketplaces/<marketplace>/transactions' (POST) -> transactions.create>,
<URIRule '/marketplaces/<marketplace>/chargebacks' (HEAD, GET) -> chargebacks.index>,
<URIRule '/marketplaces/<marketplace>/callbacks' (HEAD, GET) -> callbacks.index>,
<URIRule '/marketplaces/<marketplace>/callbacks' (POST) -> callbacks.create>,
<URIRule '/marketplaces/<marketplace>/accounts' (HEAD, GET) -> accounts.index>,
<URIRule '/marketplaces/<marketplace>/accounts' (POST) -> accounts.create>,
<URIRule '/marketplaces/<marketplace>/invoices' (HEAD, GET) -> invoices.index>,
<URIRule '/marketplaces/<marketplace>/credits' (HEAD, GET) -> credits.index>,
<URIRule '/marketplaces/<marketplace>/credits' (POST) -> credits.create>,
<URIRule '/marketplaces/<marketplace>/refunds' (HEAD, GET) -> refunds.index>,
<URIRule '/marketplaces/<marketplace>/refunds' (POST) -> refunds.create>,
<URIRule '/marketplaces/<marketplace>/debits' (HEAD, GET) -> debits.index>,
<URIRule '/marketplaces/<marketplace>/debits' (POST) -> debits.create>,
<URIRule '/marketplaces/<marketplace>/search' (HEAD, GET) -> search.index>,
<URIRule '/marketplaces/<marketplace>/cards' (HEAD, GET) -> cards.index>,
<URIRule '/marketplaces/<marketplace>/holds' (HEAD, GET) -> holds.index>,
<URIRule '/marketplaces/<marketplace>/holds' (POST) -> holds.create>,
<URIRule '/marketplaces/<marketplace>/logs' (HEAD, GET) -> marketplace_logs.index>,
<URIRule '/docs/<language>/<page>' (HEAD, GET) -> language_docs.show>,
<URIRule '/v1/events/<event>' (HEAD, GET) -> events.show>,
<URIRule '/bank_accounts/<bank_account>' (HEAD, GET) -> bank_accounts.show>,
<URIRule '/bank_accounts/<bank_account>' (PUT, POST) -> bank_accounts.update>,
<URIRule '/bank_accounts/<bank_account>' (DELETE) -> bank_accounts.delete>,
<URIRule '/marketplaces/<marketplace>' (HEAD, GET) -> marketplaces.show>,
<URIRule '/marketplaces/<marketplace>' (PUT, POST) -> marketplaces.update>,
<URIRule '/marketplaces/<marketplace>' (DELETE) -> marketplaces.delete>,
<URIRule '/gravatar/<email>' (HEAD, GET) -> gravatar.show>,
<URIRule '/terms/<page>' (HEAD, GET) -> terms.show>,
<URIRule '/docs/<page>' (HEAD, GET) -> docs.show>,
<URIRule '/logs/<error_type>' (PUT, POST) -> logs.update>,
<Rule '/<filename>' (HEAD, OPTIONS, GET) -> static>])
from balanced-dashboard.
For the first pass I think we could do:
/marketplaces/<marketplace>
- PUT SHOW/marketplaces/<marketplace>/accounts
POST INDEX/marketplaces/<marketplace>/accounts/<account>
PUT SHOW/marketplaces/<marketplace>/transactions
POST INDEX/marketplaces/<marketplace>/transactions/<transaction>
PUT SHOW/marketplaces/<marketplace>/logs
POST INDEX/marketplaces/<marketplace>/logs/<log>
PUT SHOW/marketplaces/<marketplace>/invoices
POST INDEX/marketplaces/<marketplace>/invoices/<invoice>
PUT SHOW
These should be enough to get us started and allow us to navigate around the site.
from balanced-dashboard.
Was just doing a quick look around to get an idea about how tough this is before sending over an estimate. Couple of questions:
- What's the plan for the chrome around the UI? Is there something I can put in the URL for the old system that removes that chrome?
- How are we handling authentication? I'm assuming the cookie we're using for authentication is the same cookie that's used for the dashboard right now. Are we going to check that the user has this cookie and it's valid before displaying any iframe content (handling auth in the new code)? Since we're probably only going to do this check once, there could be strange cases where the cookie expires or gets cleared after the new code has checked it. Since the old code checks with every request, it's going to throw up an auth error within the iframe. A rare edge case, but possible, which leads me to my next question...
- Are we going to try to detect errors (auth or otherwise) from within the iframe and handle them within the new code? If errors are going to be extremely rare, then it's probably not worth worrying about, since (hopefully) this iframe will only be around for a month or so. If they're a common occurrence, it might be a good idea to try to handle them within the new code.
from balanced-dashboard.
?embedded=1
on the end of the url will make the parent app remove all the chrome- that's the idea, that the auth cookie just works. keep going on that assumption and i'll make sure that it does. just let me know if it's broken for you.
- i think we'd at least want to handle the authentication redirect and show a new login UI but i don't believe this has been specced out yet so don't worry about this for now.
from balanced-dashboard.
Is the embedded URL live on the site now? I'm trying it (
https://www.balancedpayments.com/marketplaces/TEST-MP5m04ORxNlNDm1bB7nkcgSY?embedded=1)
and still seeing the chrome.
On Thu, Apr 18, 2013 at 11:17 AM, Marshall Jones
[email protected]:
- ?embedded=1 on the end of the url will make the parent app remove
all the chrome- that's the idea, that the auth cookie just works. keep going on
that assumption and i'll make sure that it does. just let me know if it's
broken for you.- i think we'd at least want to handle the authentication redirect
and show a new login UI but i don't believe this has been specced out yet
so don't worry about this for now.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-16593920
.
Nick Kleinschmidt
[email protected]
http://www.rasslingcats.com
http://kleinsch.com
from balanced-dashboard.
That was a style sheet caching issue which is now resolved. Try again.
from balanced-dashboard.
That looks much better. I'm happy to see that it puts the embedded query
param on all links, that was my next worry. I think this looks good to get
started.
On Thu, Apr 18, 2013 at 1:38 PM, Marshall Jones [email protected]:
That was a style sheet caching issue which is now resolved. Try again.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-16606518
.
Nick Kleinschmidt
[email protected]
http://www.rasslingcats.com
http://kleinsch.com
from balanced-dashboard.
It probably won't work if there's a server side redirect, just make a note
here of anything that's not working and I'll make sure they get fixed.
On Thu, Apr 18, 2013 at 1:41 PM, Nick Kleinschmidt <[email protected]
wrote:
That looks much better. I'm happy to see that it puts the embedded query
param on all links, that was my next worry. I think this looks good to get
started.On Thu, Apr 18, 2013 at 1:38 PM, Marshall Jones [email protected]:
That was a style sheet caching issue which is now resolved. Try again.
—
Reply to this email directly or view it on GitHub<
https://github.com/balanced/balanced-dashboard/issues/45#issuecomment-16606518>.
Nick Kleinschmidt
[email protected]
http://www.rasslingcats.com
http://kleinsch.com—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-16607027
.
from balanced-dashboard.
Server side redirects now include the embed param when it was specified on the original URL
from balanced-dashboard.
Related Issues (20)
- Labeling on invoices is inconsistent
- Invoice page is displaying dollar amount of credit invoice as the count
- Funding instruments not showing up for customer
- ACH Debit/Credit cancellation button
- Bank account removal reasons not displayed anymore HOT 4
- Let's add name of customer to the CSV export rather than just Guid HOT 3
- Date filter in the search modal is broken HOT 1
- When disputes go into arbitration, we should find a way to present information about it
- It might be useful to see AVS/CVV results on a Card page on the dashboard
- Use new invoicing schema to get invoice charges
- Failed refunds are not shown for Debits
- Dashboard should make using orders the default HOT 1
- Add debit id to refund entry in CSV export HOT 2
- "Appears on statement as" --> "Billing descriptor"? HOT 2
- Can't view bank account verification events from the dashboard
- Disputes should include more detailed information
- Dashboard should make it clear that dispute evidence is provided to the card brand, not Balanced
- Error when adding user to test marketplace
- Notifications stacking and not responding to events
- XSS potential on bank account read screen HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from balanced-dashboard.