Files @ f0851f37d6be
Branch filter:

Location: kallithea/rhodecode/templates/changeset/raw_changeset.html - annotation

Marcin Kuzminski
Implementes #509 require SSL flag now works for both git and mercurial.
- check is done at earlies possible stage
- if detected protocol is not https and flag require is there RhodeCode will
return HTTP Error 406: Not Acceptable, before even checking credentials
- removed push_ssl flag from mercurial UI objects since that would duplicate logic
1
2
3
4
5
6
7
8
9
%if h.is_hg(c.scm_type):
# ${c.scm_type.upper()} changeset patch
# User ${c.changeset.author|n}
# Date ${c.changeset.date}
# Node ID ${c.changeset.raw_id}
${c.parent_tmpl}
${c.changeset.message}
%endif
${c.diffs|n}