1
0
Fork 0
forgejo/models
guillep2k 72f6d5c882 Restrict repository indexing by glob match (#7767)
* Restrict repository indexing by file extension

* Use REPO_EXTENSIONS_LIST_INCLUDE instead of REPO_EXTENSIONS_LIST_EXCLUDE and have a more flexible extension pattern

* Corrected to pass lint gosimple

* Add wildcard support to REPO_INDEXER_EXTENSIONS

* This reverts commit 72a650c8e4.

* Add wildcard support to REPO_INDEXER_EXTENSIONS (no make vendor)

* Simplify isIndexable() for better clarity

* Add gobwas/glob to vendors

* manually set appengine new release

* Implement better REPO_INDEXER_INCLUDE and REPO_INDEXER_EXCLUDE

* Add unit and integration tests

* Update app.ini.sample and reword config-cheat-sheet

* Add doc page and correct app.ini.sample

* Some polish on the doc

* Simplify code as suggested by @lafriks
2019-09-11 20:26:28 +03:00
..
fixtures Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
migrations Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
access.go
access_test.go
action.go feat: highlight issue references with : (#8101) 2019-09-05 20:39:54 -04:00
action_list.go
action_test.go feat: highlight issue references with : (#8101) 2019-09-05 20:39:54 -04:00
admin.go
admin_test.go
attachment.go
attachment_test.go
branches.go
branches_test.go
commit_status.go
commit_status_test.go
consistency.go
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
error.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
error_oauth2.go
external_login_user.go
gpg_key.go
gpg_key_test.go
graph.go
graph_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go Add reviewrs as participants (#8121) 2019-09-07 22:53:35 +08:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
issue_label_test.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_mail.go Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
issue_milestone.go
issue_milestone_test.go
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
lfs.go
lfs_lock.go
log.go
login_source.go
mail.go
mail_test.go
main_test.go
migrate.go
models.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
models_test.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
notification.go
notification_test.go
oauth2.go
oauth2_application.go
oauth2_application_test.go
org.go Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) 2019-08-24 15:28:59 +03:00
org_team.go
org_team_test.go
org_test.go Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) 2019-08-24 15:28:59 +03:00
pull.go
pull_test.go
release.go
release_test.go
repo.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
repo_activity.go
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_indexer.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
repo_issue.go
repo_list.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
repo_list_test.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
repo_mirror.go
repo_permission.go
repo_permission_test.go
repo_redirect.go
repo_redirect_test.go
repo_tag.go
repo_test.go
repo_unit.go
repo_watch.go
repo_watch_test.go
review.go
review_test.go
ssh_key.go
ssh_key_test.go
star.go
star_test.go
test_fixtures.go
token.go
token_test.go
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
topic_test.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
twofactor.go
u2f.go
u2f_test.go
unit.go
unit_tests.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
update.go
update_test.go
upload.go
user.go Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
user_follow.go
user_follow_test.go
user_heatmap.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
user_heatmap_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go Add Ability for User to Customize Email Notification Frequency (#7813) 2019-08-29 17:05:42 +03:00
userlist.go
userlist_test.go
webhook.go Fix webhooks to use proxy from environment (#8116) 2019-09-10 00:21:07 +08:00
webhook_dingtalk.go
webhook_discord.go
webhook_msteams.go
webhook_slack.go
webhook_telegram.go
webhook_test.go Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
wiki.go
wiki_test.go