Home
last modified time | relevance | path

Searched refs:TypeExternalWiki (Results 1 – 10 of 10) sorted by relevance

/dports/www/gitea/gitea-1.16.5/models/unit/
H A Dunit.go27 TypeExternalWiki // 6 ExternalWiki const
49 case TypeExternalWiki:
74 TypeExternalWiki,
91 TypeExternalWiki,
190 …TypeExternalTracker || u.Type == TypeExternalWiki) && unit.Type != TypeExternalTracker && unit.Typ…
198 if u.Type == TypeExternalTracker || u.Type == TypeExternalWiki {
261 TypeExternalWiki,
286 TypeExternalWiki: UnitExternalWiki,
333 if t == TypeExternalTracker || t == TypeExternalWiki {
/dports/www/gitea/gitea-1.16.5/routers/api/v1/repo/
H A Drepo.go807 …if *opts.HasWiki && opts.ExternalWiki != nil && !unit_model.TypeExternalWiki.UnitGlobalDisabled() {
817 Type: unit_model.TypeExternalWiki,
830 deleteUnitTypes = append(deleteUnitTypes, unit_model.TypeExternalWiki)
832 if !unit_model.TypeExternalWiki.UnitGlobalDisabled() {
833 deleteUnitTypes = append(deleteUnitTypes, unit_model.TypeExternalWiki)
/dports/www/gitea/gitea-1.16.5/routers/web/repo/
H A Dwiki.go46 !ctx.Repo.CanRead(unit.TypeExternalWiki) {
52 unit.TypeExternalWiki,
60 unit, err := ctx.Repo.Repository.GetUnit(unit.TypeExternalWiki)
H A Dsetting.go382 …if form.EnableWiki && form.EnableExternalWiki && !unit_model.TypeExternalWiki.UnitGlobalDisabled()…
391 Type: unit_model.TypeExternalWiki,
403 deleteUnitTypes = append(deleteUnitTypes, unit_model.TypeExternalWiki)
405 if !unit_model.TypeExternalWiki.UnitGlobalDisabled() {
406 deleteUnitTypes = append(deleteUnitTypes, unit_model.TypeExternalWiki)
/dports/www/gitea/gitea-1.16.5/models/repo/
H A Drepo_unit.go175 case unit.TypeExternalWiki:
H A Drepo.go293 if tp == unit.TypeExternalWiki {
/dports/www/gitea/gitea-1.16.5/modules/doctor/
H A Dfix16961.go225 case unit.TypeExternalWiki:
/dports/www/gitea/gitea-1.16.5/modules/convert/
H A Drepository.go68 } else if unit, err := repo.GetUnit(unit_model.TypeExternalWiki); err == nil {
/dports/www/gitea/gitea-1.16.5/integrations/
H A Dapi_repo_edit_test.go52 } else if unit, err := repo.GetUnit(unit_model.TypeExternalWiki); err == nil {
/dports/www/gitea/gitea-1.16.5/modules/context/
H A Drepo.go983 ctx.Data["UnitTypeExternalWiki"] = unit_model.TypeExternalWiki