forgejo-federation/modules/indexer/code
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867)
* Added type sniffer.

* Switched content detection from base to typesniffer.

* Added GuessContentType to Blob.

* Moved image info logic to client.
Added support for SVG images in diff.

* Restore old blocked svg behaviour.

* Added missing image formats.

* Execute image diff only when container is visible.

* add margin to spinner

* improve BIN tag on image diffs

* Default to render view.

* Show image diff on incomplete diff.

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-06-05 15:32:19 +03:00
..
bleve.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
bleve_test.go Support elastic search for code search (#10273) 2020-08-30 19:08:01 +03:00
elastic_search.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
elastic_search_test.go Fix bug on elastic search (#12811) 2020-09-12 20:31:52 +08:00
git.go Reduce calls to git cat-file -s (#14682) 2021-02-17 22:32:25 +01:00
indexer.go Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 2021-05-15 16:22:26 +02:00
indexer_test.go [Feature] add precise search type for Elastic Search (#12869) 2021-01-27 12:00:35 +02:00
search.go [Feature] add precise search type for Elastic Search (#12869) 2021-01-27 12:00:35 +02:00
wrapped.go [Feature] add precise search type for Elastic Search (#12869) 2021-01-27 12:00:35 +02:00