We had a Republican president when the Patriot act was passed to take away all our rights. But to be fair, the Democrats certainly deserve a fair share of the blame. It's not just one party doing it.
However, keep in mind that in reality, President Obama never met an invasive secret domestic spying program he didn't like. As well, he was exceptionally vicious in pursuing heavy criminal penalties for whistle blowers. I find it difficult to believe he was seriously interested in repealing the Patriot Act, except for "public relations" with his constituency of Democrats like me.