1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-17 08:22:06 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Lauris BH
3c45cf8494
Add detected file language to code search ()
Move langauge detection to separate module to be more reusable

Add option to disable vendored file exclusion from file search

Allways show all language stats for search
2020-02-20 16:53:55 -03:00
Gerben
2dc6f15eca Don't warn users about *every* dirty form ()
The choice regarding which forms should or should not trigger a warning
is subjective. I tried to be consistent and not warn about forms that:
 - run an action, rather than edit data: search, send an email.
 - delete data: a warning about losing data would be confusing

Note that forms on sign-in pages were already ignored (using a selector,
rather than an explicit class on the form element).

Fixes .
2018-03-23 22:10:42 +08:00
Jonas Franz
2cb4649acf Escape search query ()
Signed-off-by: Jonas Franz <info@jonasfranz.de>
2018-02-11 15:42:28 +02:00
Ethan Koenig
5866eb2321 Code/repo search ()
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00