0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 11:24:35 +01:00
gitea/modules
Mario Lubenka a37236314c Adds side-by-side diff for images (#6784)
* Adds side-by-side diff for images

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Explain blank imports

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use complete word for width and height labels on image compare

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update index.css from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves ImageInfo to git commit file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Assign ImageInfo function for template and sets correct target for BeforeSourcePath

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return error if ImageInfo failed

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Avoid template panic when ImageInfo failed for some reason

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show file size on image diff

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes unused helper function

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Reverts copyright year change

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Close file reader

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update commit.go

Sets correct data key

* Moves reader.Close() up a few lines

* Updates index.css

* Updates CSS file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers adjustments for image compare to compare.go file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts variable name

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Apply lesshint recommendations

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Do not show old image on image compare if it is not in index of base commit

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Change file size text

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-09-16 17:03:22 +08:00
..
auth migrate gplus to google oauth2 provider (#7885) 2019-09-14 12:02:39 +02:00
avatar
base Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
charset Make encoding tests independent of LOCALE settings (#8018) 2019-09-02 19:08:07 -04:00
context Fix Go 1.13 private repository go get issue (#8112) 2019-09-06 21:44:59 +08:00
cron
generate
git Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
gzip Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
highlight
httplib
indexer Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
lfs Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
log
mailer
markup Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
metrics
migrations
minwinsvc
notification
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pprof
private
process
public Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pull Fix pull merge 500 error caused by git-fetch breaking behaviors (#8161) 2019-09-15 23:03:08 -04:00
recaptcha
repofiles Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
search
secret
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
ssh Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
structs Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
sync Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
templates Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
test Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload
user
util
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00