Closed
Bug 581496
Opened 16 years ago
Closed 16 years ago
Prevent excessive contributions
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P5)
Tracking
(Not tracked)
VERIFIED
FIXED
5.12.1
People
(Reporter: jbalogh, Assigned: chenba)
References
(
URL
)
Details
(Whiteboard: [z][patch])
Attachments
(2 files)
GET:<QueryDict: {u'comment': [u''], u'source': [u'developers-pledge-83'], u'onetime-amount': [u'20000000000'], u'type': [u'onetime'], u'monthly-amount': [u'']}>,
Proposed fix: alert("Don't be a jackass");
Comment 1•16 years ago
|
||
(In reply to comment #0)
> Proposed fix: alert("Don't be a jackass");
Or rather "seriously, Bill, you're using Firefox?"
Comment 3•16 years ago
|
||
Please explain this bug in English
Comment 4•16 years ago
|
||
Our code complains when someone tries to make a monthly subscription donation of $9999999999999999999999999[1]. We'd like to limit it.
[1] not made up
Comment 5•16 years ago
|
||
Let's set a limit of 1000
Updated•16 years ago
|
Target Milestone: 5.11.8 → 5.12
Updated•16 years ago
|
Assignee: nobody → chenba
Priority: -- → P5
Updated•16 years ago
|
Target Milestone: 5.12 → 5.12.1
| Assignee | ||
Comment 6•16 years ago
|
||
http://github.com/chenba/zamboni/commit/35db92a9c27d82d26c6b9b76d4732a2c2a11073d
Very simple client side check. jbalogh's description showed a onetime contribution, while clouserw and fligtar's comments talked about monthly contributions, so the limit is being applied to both. The limit is currently set to fligtar's suggested 1000.
| Assignee | ||
Comment 7•16 years ago
|
||
http://github.com/chenba/zamboni/commit/948388b7fc0d019a34413ce14b2824daa8df739c
The contribution limit is now in the settings.
Updated•16 years ago
|
Whiteboard: [z] → [z][patch]
Comment 8•16 years ago
|
||
http://github.com/jbalogh/zamboni/commit/6f11f1229802a3650503ff01e3705d0a72396a69
This'll still email us with a traceback if someone tampers with it, but we'll see if it continues. If it does, we need a try/except around that chunk of code which is easy enough.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 9•16 years ago
|
||
There is an error message-'The maximum contribution amount is 1 000,00 $US.' whenever user tries to make one-time/monthly contribution of more than 1000$.
User cannot proceed with contributions if amt > 1000
checked in en-US,de,fr,he and ja locales.
Status: RESOLVED → VERIFIED
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•