5380 Commits (2bcd9471c9b7efcf8f832f2855e2bc2221c75e03)
 

Author SHA1 Message Date
Kim "BKC" Carlbäcker 4bea219128 Status-API (#1332) 7 years ago
Lunny Xiao 52627032bc Add markup package to prepare for org markup format (#1493) 7 years ago
Lunny Xiao f0db3da713 fix go get sub package and add domain on installation to let go get work defaultly (#1518)
* fix go get sub package and add domain on installation to let go get work defaultly

* fix import sequence

* fix .git problem
7 years ago
Lunny Xiao 42072783c9 support health check via / and fix #969 (#1520) 7 years ago
Lauris BH bb14c97d40 Fix empty file download (#1506) 7 years ago
Bo-Yi Wu fa2a513c62 feat: add download count field and unit testing for attachment. (#1512)
* feat: add download count field and unit testing.

* fix: unit testing

* refactor: improve testing.

* fix: update comment

* add default value.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Lunny Xiao a2d365c81f fix #1501 ssh hangs caused by #1461 (#1513) 7 years ago
Jonas f995bcc87a Add repo mirror sync API endpoint (#1508)
* API: Add repo mirror sync

* Correct error message

* Change http status to 200
7 years ago
Lunny Xiao 2eeae84cbd Add internal routes for ssh hook comands (#1471)
* add internal routes for ssh hook comands

* fix lint

* add comment on why package named private not internal but the route name is internal

* add comment above package private why package named private not internal but the route name is internal

* remove exp time on internal access

* move routes from /internal to /api/internal

* add comment and defer on UpdatePublicKeyUpdated
7 years ago
Lauris BH f42ec6120e Better URL validation (#1507)
* Add correct git branch name validation

* Change git refname validation error constant name

* Implement URL validation based on GoLang url.Parse method

* Backward compatibility with older Go compiler

* Add git reference name validation unit tests

* Remove unused variable in unit test

* Implement URL validation based on GoLang url.Parse method

* Backward compatibility with older Go compiler

* Add url validation unit tests
7 years ago
Antoine GIRARD 941281ae12 Use MAINTAINERS file in repository in CONTRIBUTING (#1489)
* Use MAINTAINERS file in repository because teams are not publicly available

* Use relative link
7 years ago
Antoine GIRARD c764a542c0 Adding @sapk to MAINTAINERS (#1497) 7 years ago
Antoine GIRARD cf91cfb993 Migrate WatchInfo struct to api (#1492)
* Remove WatchInfo and link to api struct

* Add vendor temporary update

* Return to gitea vendor source
7 years ago
silverwind 237270ef50 Orgs: fix org page title when full name is not defined (#1495) 7 years ago
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
Michael de Wit 21290d4e80 Optimize and fix autolink function (#1442) (#1444)
* Optimize and fix autolink function (#1442)

* Fix bug in autolink recursive fallback function
7 years ago
Bo-Yi Wu 22295944df refactor: show command help message. (#1486) 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 54f0293f0a Mirror sync interval specified as duration string (#1407)
* Sync interval specifed as duration string

* Changed mirror interval text

* make fmt

* Add MinInterval for mirror sync

* Use duration internally

* Changed min default to 10m

* make fmt

* Incorrect default

* Removed defaults in MustDuration()

* Add Mirror interval migration

* Default values corrected

* Use transaction during migration

* Change http 500 to page with error message

* Cleanup session.commit()
7 years ago
Mura Li edbb9eefd6 Fix race when running commands with timeout (#1465)
Update vendored module code.gitea.io/git
7 years ago
Lunny Xiao 5c0bee9b20 refactor update ssh key use time (#1466) 7 years ago
Antoine GIRARD d9db188274 Fix #1418 (#1456) 7 years ago
Jonas e0df611cbc Autofocus on 2fa passcode fields (#1460)
* Autofocus on 2fa passcode field

* Autofocus on 2fa scratch code field
7 years ago
Lunny Xiao 5acfc7c4bc fix migrate failed and org dashboard failed on MSSQL database (#1448) 7 years ago
Lunny Xiao cf6699fb4f fix gpg API panic when no verification (#1451)
* fix gpg API panic when no verification

* fix if condition
7 years ago
Morlinest cbeeaa1b11 Fix and simplify repo branches UI (#1435) 7 years ago
Sandro Santilli 410af6971b Set VERSION from git once, in a variable (#1447) 7 years ago
Damien Gaignon a78a0266c4 Correct broken unaligned load/store in armv5 (#1355)
Update vendor github.com/boltdb/bolt to take care of the issue #1354.
7 years ago
Patrick G d800305b34 Commit search appearence fixes (#1254)
* Fix button text to be consisstent with rest of UI

* Make all commits checkbox look nicer
7 years ago
Bo-Yi Wu 0cee52e0d3 fix: remove `str2html` from org full name (#1360)
* fix: remove str2html for security issue.

* fix: update
7 years ago
Jonas e7493e953f Corrected Mirror.NextUpdate not set (#1388) 7 years ago
Mura Li 2d1efcc270 Add GOFLAGS and EXTRA_GOFLAGS (#1438) 7 years ago
Mura Li b746757209 Remove unused mutex field (#1440) 7 years ago
Mura Li 93c25c9a35 Fix races in the log module by using syncmap (#1421) 7 years ago
Kuba Tyszko 5d6b71fdbb fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425) 7 years ago
Morlinest 21fd3da6f5 Fix disabled fields in repo settings UI (#1431) 7 years ago
Andrey Nering 37a34c1a28 Merge pull request #1410 from andreynering/notification/issue-watch
[Notifications Step 6] Per issue/PR watch/unwatch
7 years ago
Andrey Nering f6e5ce65b2 Improve tests a little 7 years ago
Andrey Nering e5c56fe30d Code style fixes 7 years ago
agrn 88112a5324 Fix "Error: No issue number specified" when pushing (#1393)
* Fix "Error: No issue number specified"  when pushing

* update pr
7 years ago
Jonas 095e1f5155 Support for custom html meta (#1423)
* Support for custom html meta

* Changed html meta description default
7 years ago
Mura Li 6a39250579 Add length check for the return string (#1420)
* Add length check for the return string

* Differentiate error paths and logging messages

* Rectify error message
7 years ago
Andrey Nering fac7a6fecf Merge pull request #1390 from Morlinest/commit-graph-UI
Use whole button (commit graph) as link
7 years ago
Andrey Nering e6781d5488 Add unit tests for issue_watch 7 years ago
Andrey Nering a90ffffb1a Use variables for times 7 years ago
Andrey Nering 18952c40f8 Add copyright headers 7 years ago
Andrey Nering 4b284f814c UI and translation improvements 7 years ago
Morlinest 4fa691c4dd Make issue in commit graph "clickable" (#1392) 7 years ago
Antoine GIRARD 912b340d0d Simplify settings pages with item list (#1389)
* Remove point column on ssh key setting page

* Remove un-used css

* Some cleaning

* Use octicon-key
7 years ago
Andrey Nering caed86fc6e Fix lint 7 years ago