Kim "BKC" Carlbäcker
d409d3ab57
Sanitation fix from Gogs ( #1461 )
* Santiation fix from Gogs
* Linting
* Fix build-errors
* still not working
* Fix all the things!
* gofmt
* Add code-injection checks
7 years ago
Jonas
be6edaddcb
Repo size in admin panel ( #1482 )
* Implementation of the feature to view repository size in admin panel
* Move GetRepoSize to git module
* Repository.RepoSize -> Repository.Size
* RepoSize -> Size in template
* Redo a few bits and pieces
* Update size when syncing mirror or forking
* Remove GetRepoSize
* Changed fatal errors to error message
* Copy migration code from Gogs
* make fmt
7 years ago
Jonas
095e1f5155
Support for custom html meta ( #1423 )
* Support for custom html meta
* Changed html meta description default
7 years ago
Jonas
f3bf409082
Log config pretty printer ( #1097 )
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
7 years ago
Thomas Boerger
db6777d369
Fixed custom templates for static builds ( #1087 )
7 years ago
Jonas
a201977590
Fix for #828 : Embed build tags ( #1051 )
* Fix for #828
Add build tags to ldflags and print in version output
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Reworked formatBuiltWith function
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Add tags to version information in admin panel
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Added new variable for use on admin page.
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Fixed incorrect indentation
7 years ago
Unknwon
134f3e6e09
Security: prevent XSS attach on wiki page
Reported by Miguel Ángel Jimeno.
7 years ago
Bo-Yi Wu
25663b5816
refactor: Remove unnecessary type conversions ( #772 )
7 years ago
Sl@ny
c22f9114c7
Implementation of Folder Jumping
7 years ago
Thomas Boerger
83ed234472
Integrate templates into bindata optionally ( #314 )
Integrated optional bindata for the templates
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
229ec927b9
Golint fixed for modules/template
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Flare
01c5233b53
Fixed 404 caused by unexpected question mark
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
bc902b8f74
Feature #3492 : Add option to hide footer load times ( #3562 )
* Add option to hide footer load times
* Rename option variable + minor changes
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
13c106af77
label: adjust forecolor boundary
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
Closes #3182
8 years ago
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
8 years ago
Unknwon
f70343660d
Little code refactoring
8 years ago
Unknwon
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
8 years ago
Unknwon
ac53bb593d
#2878 print error of JSON unmarshal and always returns a valid object
8 years ago
Nikko Miu
9a43fcb61c
Changed EscapePound function with string replace function
8 years ago
Unknwon
58f0c68151
Some minor changes
8 years ago
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
8 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
8 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
8 years ago
Andrey Nering
e40d94bb4f
Implementing the "theme-color" meta tag.
Used by Android >= 5.0 to make the top bar colored.
Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
8 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
8 years ago
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
8 years ago
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
9 years ago
Unknwon
44637f03cc
#2282 fast detection of utf-8
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
Unknwon
ea375c0dcc
new template func
9 years ago
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
9 years ago
Adam Strzelecki
e2ca53029e
Render commit msg as header + verbatim description
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
efaf60ba5a
fix #2013
9 years ago
Unknwon
bb1fbe4e70
octicon fix in feeds
9 years ago
Unknwon
679af4ddea
clean up
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
0af035c37e
#1078 not show bin when rename a file
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Matthias Pioch
8b92f9cca6
fix workaround for reverse proxy, ssh, submodule
9 years ago
Matthias Pioch
78a4e71245
workaround for reverse proxy, ssh, submodule
9 years ago