|
Post by GetRef.com on Mar 23, 2011 0:45:22 GMT -5
This is my TODO list for this week. Feel free to comment, ask questions on the functionality.
1. Snapshot the the bonus parameters that the promoter advertised to the individual transaction. (Finished 03/23/2011)
1a. Transaction gets the bonus information from the snapshotted information, and not from the user program. This creates a record of what the bonus was when the earner joined the program, and will help 'keep the promoter' honest. Finished 03/29/2011)
2. Give promoters reminders that they should process bonus. Finished May 27, 2011
3. Make it so reminders go away if the promoter processes a bonus of 0 credits. (No stars are given for this bonus) Finished 03/29/2011)
4. Set up main page for new functionality.
5. Set up spend for new functionality.
(Don't ask about 4 and 5, they are secret until I finish)
|
|
|
Post by claudio82 on Mar 23, 2011 9:30:27 GMT -5
Strangely....I want to know more about 4. and 5. ;D
|
|
|
Post by jacki14 on Mar 23, 2011 20:28:45 GMT -5
Yeah, me too. I don't care if people HAVE secrets, but if I KNOW they have a secret, I want to know it too!
|
|
|
Post by GetRef.com on Mar 24, 2011 0:07:58 GMT -5
As I go through and iron out the details more little things will spawn from the original things. Number 1 took about 3 times longer than I hoped. In the ironing out of the details, I noticed a few security holes I had to close, also made it take one fewer round trip to the database (should perform better) and I also noticed that I need to get the bonus details from the snapshotted information and not the user program information.
The net result however is that creating a new transaction is more secure, faster, and will snapshot the promoters bonus info within the transaction so that if the promoter changes that bonus info, whatever they had at the time of the transaction opening will be preserved.
|
|
|
Post by jacki14 on Mar 24, 2011 6:57:31 GMT -5
More speed, more security? Win-win!
|
|
|
Post by yousillygoose on Mar 25, 2011 6:14:29 GMT -5
Should be interesting. I do ASP.NET at work so I like seeing what you do and thinking about how I would accomplish it =P
|
|
|
Post by GetRef.com on Mar 25, 2011 10:11:03 GMT -5
Hey Goose, At work the language I have spent the most time in the last 8 years is .Net, C# mostly. Unfortunately I started creating GetRef in 2002, so .Net hadn't really gotten big at that time. And being as GetRef has >> 250,000 lines of code, and works pretty good, I'm not really interested in re-writing it for the sake of upgrading the technology.
|
|
|
Post by yousillygoose on Mar 26, 2011 10:06:12 GMT -5
Yea, that's definitely understood.
I work with VB, but since C# is pretty close to java I can say I know it as well.
I never worked in the predecessor to .Net. My FAVORITE thing about .NET is the split code and design pages. I think it is amazing to have all of your program logic sitting in a separate page. The increased readability of the code is outstanding!
|
|
|
Post by GetRef.com on Mar 29, 2011 10:14:54 GMT -5
|
|
|
Post by jacki14 on Mar 29, 2011 14:46:01 GMT -5
|
|
|
Post by GetRef.com on Mar 30, 2011 0:10:16 GMT -5
Ok guys,
I got a LOT accomplished this evening, I made it so that when a promoter reviews a bonus, they can decide to either give a bonus, (Must be 2 or greater) or they can put a 0 in and update, if the promoter decides to do this, it will show up on your past transaction list as a 'bd' bonus declined, this will tell you that you reviewed the transaction, and decided to not give the user a bonus.
Heres the great part, if you want to review the transaction at a later date, you can always give the user a bonus (even if the transaction is bd), and it will apply the bonus and give the promoter and earner both stars.
It's important for you guys to test this out thoroughly and report bugs, there may be some I changed a lot of code this evening.
Thansks, Jay
|
|
|
Post by claudio82 on Mar 30, 2011 8:38:18 GMT -5
Thanks to you Jay! Nice improvements.
|
|
|
Post by GetRef.com on May 27, 2011 17:24:14 GMT -5
Hi Guys, Ok as of today I added some reminders for promoters to process a bonus that they promised to review. Please try the functionality and see if it works the way it is intended to work. I made quite a few changes to quite a few files today, so there's a chance that a bug was introduced. Thanks, Jay
|
|
|
Post by jacki14 on May 27, 2011 20:08:42 GMT -5
The bonus reminder is great! Processing the zero is easy and fast.
|
|
|
Post by jacki14 on May 27, 2011 22:51:40 GMT -5
Do you know the Bonus reminder prompt is showing for declined transactions as well?
|
|