Comments (9)
(188 rows)
from gratipay.com.
I mean, I skimmed it for UPDATE
DELETE
and INSERT
. :P
from gratipay.com.
We require a credit card to set up a gift initially, right?
from gratipay.com.
No! There's just a gentle reminder. We should make this a hard rule, because otherwise what's the point?
I'd also go so far (once this is fixed) as to email everyone who is giving but doesn't have a card set up to tell them that they aren't actually giving and need to set a card up.
from gratipay.com.
@whit537 can you query how many ~users are giving but don't have a credit card set up?
from gratipay.com.
I think it would be something like
SELECT username
, balance
, (SELECT SUM(amount) FROM payment_instructions WHERE participant_id = p.id) AS giving
, (SELECT COUNT(*) FROM payment_instructions WHERE participant_id = p.id AND amount > 0) AS ngiving_to
FROM participants p
WHERE ( -- They do not have a credit card set up
SELECT COUNT(*)
FROM exchange_routes r
WHERE r.participant = p.id
AND r.network = 'balanced-cc'
) = 0
AND giving > 0
AND NOT is_closed
ORDER BY claimed_time
Modified from
gratipay.com/www/dashboard/index.spt
Line 10 in 992bf1b
from gratipay.com.
Was my query right?
from gratipay.com.
I didn't dig that deep, I just ran it. 🐭
from gratipay.com.
Are you feeling okay? Is now the time for me to submit PRs without tests? ;-)
from gratipay.com.
Related Issues (20)
- Add to /stats: On average, ~users own n projects and receive money for n of them
- Paging links broken on browse HOT 1
- Promote use of Shields in application tickets HOT 3
- Title bar overflow HOT 2
- Measure how many times /on/npm/ give has been used
- Unclaimed packages overwhelm search results HOT 3
- Style the CC form like the rest of the form
- Campaign banner broken on Firefox HOT 6
- Weird float at small widths
- Simplify mailing list opt-in even further HOT 1
- Clean up error handling on cc form HOT 1
- Policy set on plaintext port
- npm module says it's receiving money but has never had any come in HOT 6
- Is "estimated payment for next week" correct? HOT 1
- tried to add the pythonnet project - got an error HOT 2
- Suggestion - Add a "language" filter and/or show language in the title on the browse page. HOT 2
- Sign in button moves down on smaller screens HOT 4
- Renew TLS certificates at Let's Encrypt HOT 3
- Turn off project applications (/new)
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 gratipay.com.