I am sorry to learn of this situation and the lack of upkeep by your landlord.
Unfortunately, the issues that you have identified deal more with the quality of the unit as opposed to habitability or safety of the property.
A landlord's duty to maintain a habitable property (running water, hot water, no leaks in the exterior envelope (roof, windows, doors, floor, etc.), no infestation, working heat), is something that is much more easily enforced - see: http://www.dca.ca.gov/publications/legal_guides/lt-8.shtml
Repair and upkeep of other things (paint, flooring, working cabinets, cleaning exterior windows, etc.) are dealt with through "breach of contract" law - meaning you can sue the landlord in small claims court to require them to repair the unit to the same condition or better than when you rented it (the landlord has an obligation to keep the unit in the same repair as it was at the time it was rented). This places all of the burden on you as a tenant to bring such a suit, but the California Courts have a very helpful self help website that walks you through the process and has all of the forms you require: http://www.courts.ca.gov/selfhelp-smallclaims.htm
Short of filing a lawsuit, you can try to mediate the dispute with them - contact your local bar association and request referrals to mediators, a third party neutral can often help you reach a mutually agreeable resolution. Use the bar association's referrals to contact a mediator or two, the mediator will then contact the other party to set up a mediation session, and you can go from there - hopefully resulting in a formal or written settlement agreement, and save yourself the time and expense of litigation.
There are many mediation services and tenant's rights/unions in Oakland and San Francisco that can assist you.