Twitter says portions of source code leaked online