This is from an advance version of the 'Report of the United Nations High Commissioner for Human Rights' on the conflict in Gaza last November. The paragraphs I excerpt are the report's summary findings [pdf]:
47. The IDF, the DFA and Palestinian armed groups, in relation to numerous incidents that took place during the crisis as described above, failed in many instances to respect international law. In some cases, more information would be required to make a more specific assessment. Based on the information available to OHCHR, the IDF did not consistently uphold the basic principles of conduct of hostilities, namely, the principles [of] distinction, proportionality and precautions. Further, the effectiveness, sufficiency and adequacy of precautions taken remains questionable in several cases.
48. Palestinian armed groups continuously violated international humanitarian law, by launching indiscriminate attacks on Israel and by attacking civilians, thereby disregarding the principle of distinction. The armed groups failed to take all feasible precautions in attacks, in particular by launching rockets from populated areas, which put the population at grave risk. Furthermore, several Palestinians were killed by rockets launched by the armed groups that fell short and landed in the Gaza Strip. In addition, seven alleged collaborators held in DFA detention facilities were summarily executed, constituting a violation of their right to life and of international humanitarian law.
Whether or not these paragraphs are an attempt to show the two sides as on all fours in failing to respect international law I do not know. There is a notable difference, however. With respect to the IDF, it is: 'did not consistently uphold' and the adequacy of its precautions 'remains questionable'. For the Palestinian armed groups, on the other hand, there is both more consistency and less questionableness; here the findings are - just head-on - 'continuously violated international humanitarian law', 'indiscriminate attacks' targeting civilians, 'launching rockets from populated areas', and summary executions.
This is definitely going to shock Hamas's Western supporters: out-and-out criminality, who knew? Or, then again, perhaps not. As I have observed before, Hamas has a different terminology for describing war crimes and crimes against humanity. They call them resistance, and doubtless so do their 'humanitarian' supporters.