\r
#### fixes \r
\r
+- Disallow browser autocomplete on add/edit user/team/repository pages\r
- Fixed username case-sensitivity issues (issue 43)\r
- Disregard searching a subfolder if Gitblit does not have filesystem permissions (Github/lemval issue 51)\r
\r
import java.util.Set;\r
\r
import org.apache.wicket.PageParameters;\r
+import org.apache.wicket.behavior.SimpleAttributeModifier;\r
import org.apache.wicket.extensions.markup.html.form.palette.Palette;\r
import org.apache.wicket.markup.html.form.Button;\r
import org.apache.wicket.markup.html.form.CheckBox;\r
}\r
};\r
\r
+ // do not let the browser pre-populate these fields\r
+ form.add(new SimpleAttributeModifier("autocomplete", "off"));\r
+\r
// field names reflective match RepositoryModel fields\r
form.add(new TextField<String>("name").setEnabled(isCreate || isAdmin));\r
form.add(new TextField<String>("description"));\r
import java.util.Set;\r
\r
import org.apache.wicket.PageParameters;\r
+import org.apache.wicket.behavior.SimpleAttributeModifier;\r
import org.apache.wicket.extensions.markup.html.form.palette.Palette;\r
import org.apache.wicket.markup.html.form.Button;\r
import org.apache.wicket.markup.html.form.ChoiceRenderer;\r
}\r
};\r
\r
+ // do not let the browser pre-populate these fields\r
+ form.add(new SimpleAttributeModifier("autocomplete", "off"));\r
+\r
// field names reflective match TeamModel fields\r
form.add(new TextField<String>("name"));\r
form.add(users);\r
import java.util.List;\r
\r
import org.apache.wicket.PageParameters;\r
+import org.apache.wicket.behavior.SimpleAttributeModifier;\r
import org.apache.wicket.extensions.markup.html.form.palette.Palette;\r
import org.apache.wicket.markup.html.form.Button;\r
import org.apache.wicket.markup.html.form.CheckBox;\r
}\r
}\r
};\r
+ \r
+ // do not let the browser pre-populate these fields\r
+ form.add(new SimpleAttributeModifier("autocomplete", "off"));\r
\r
// field names reflective match UserModel fields\r
form.add(new TextField<String>("username"));\r