forgejo-federation/web_src/js
Alexander Scheel 4497db96e0
Auto-init repo on license, .gitignore select (#12202)
* Auto-init repo on license, .gitignore select

When a .gitignore or LICENSE file is added, the user is expecting the
repository to be auto-initialized. However, nothing sets the auto_init
value, so it remains at its default. We should set it to checked when
a .gitignore or LICENSE file is added, matching user expectations. If
the user clears .gitignore or LICENSE, it will leave repository creation
enabled. If the user changes the value again, it will re-check the box
if the user has since de-checked it. This behavior is at least
consistent.

Resolves: #11071

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-07-23 13:46:41 +03:00
..
components Insert ui divider directly in templates instead of from inside heatmap vue component (#11508) 2020-05-19 21:24:14 +01:00
features Direct SVG rendering (#12157) 2020-07-12 12:10:56 +03:00
markdown Direct SVG rendering (#12157) 2020-07-12 12:10:56 +03:00
standalone Reorganize frontend files and tooling (#10168) 2020-02-07 18:09:30 +01:00
vendor Rewrite GitGraph.js (#12137) 2020-07-05 02:04:24 +01:00
index.js Auto-init repo on license, .gitignore select (#12202) 2020-07-23 13:46:41 +03:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
publicpath.js Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) 2020-05-20 23:33:31 +01:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
utils.js Direct SVG rendering (#12157) 2020-07-12 12:10:56 +03:00