Commit Graph

106 Commits (68179dc67695def5fd7400bed1231e4bc0d2cc09)

Author SHA1 Message Date
Duncan Ogilvie 551f3cbe42 Memory usage improvements ()
* govendor update code.gitea.io/git

Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>

* Greatly improve memory usage

Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
Vlad Temian 6ad4990a65 Add fingerprint to ssh key endpoints. ()
* Add fingerprint to ssh key endpoints.

* Update gitea sdk vendor
Ethan Koenig b7ebaf6d20 Various wiki bug fixes ()
* Update macaron

* Various wiki bug fixes
Lunny Xiao 10b54df2b2 Add dingtalk webhook ()
* add dingtalk webhook type

* add vendor

* some fixes

* fix name check

* fix name check & improvment
Lauris BH b23cf16981 Fix govendor for x/crupto curve25519 ()
Lauris BH 3138417c63
Update golang x/crypto dependencies ()
Lauris BH a6f337046f Update go-ini dependency and remove semicolon hack in translations ()
Ethan Koenig f26f4a7e01 Update swagger documentation ()
* Update swagger documentation

Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation

* Restore delete comments
Ethan Koenig 5866eb2321 Code/repo search ()
Indexed search of repository contents (for default branch only)
Jonas Bröms e86a0bf3fe Add support for extra sendmail arguments ()
* Add support for extra sendmail arguments

* Sendmail args to exec.command should be a list

* Add go-shellquote package

* Use go-shellquote lib for parsing Sendmail args

* Only parse if sendmail is configured
Lauris BH 9ba7898911 Update vendor git ()
Antoine GIRARD 2112eb8741 Update vendor github.com/lib/pq ()
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs ()
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
Lunny Xiao 0d80af649a Add init support of orgmode document type on file view and readme ()
* add init support of orgmode document type on file view and readme

* fix imports

* fix imports and readmeExist

* fix imports order

* fix format

* remove unnecessary convert
Lauris BH 23645fe05f Sort repository tree entries in natural way ()
* Sort repository tree entries in natural way

* Fix sort for different length strings with first parts equal

* Improve test case

* Refactor return statements

* Update gitea/git dependency
Ethan Koenig b0f7457d9e Improve issue search ()
* Improve issue indexer

* Fix new issue sqlite bug

* Different test indexer paths for each db

* Add integration indexer paths to make clean
Lunny Xiao 0f9e20b3d7 fix updated update on public key ()
* fix updated update on public key

* update vendor.json

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix root path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate ()
* use created & updated instead BeforeInsert & BeforeUpdate

* fix vendor checksum

* only show generated SQL when development mode

* remove extra update column updated_unix

* remove trace config
Lunny Xiao 2c6a0fdca8 update latest xorm version to vendor ()
Antoine GIRARD fd8e8a421a Improve swagger doc ()
* Add swagger comment for adminCreateOrg

* Add swagger comment for admin route

* add hook swagger doc

* Add tags

* Add auth

* Fix name of responses

* Edit name method

* Update vendor

* make generate-swagger
Ethan Koenig c76ee5688b Revert to upstream ini dependency ()
Ethan Koenig 27798c3efc Temporarily patch go-ini/ini with fork ()
Lauris BH a4ca54425f update code.gitea.io/git in vendor to fix ()
Lauris BH 7d61834dc9 Update code.gitea.io/git dependency ()
Andrey Nering 2ef33b5338 vendor: update sqlite to fix "database is locked" errors ()
closes 

upstream commit: acfa601240
Bo-Yi Wu 678fec3f6a upgrade git source code. ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Jonas Östanbäck 1f4d84b7b2 Update git module ()
Lauris BH c259c436d7 update git module ()
Ethan Koenig 75f166b6b9 Update code.gitea.io/git ()
Ethan Koenig 6e452c4da7 Update code.gitea.io/git ()
Antoine GIRARD 274149dd14 Switch to keybase go-crypto (for some elliptic curve key) + test ()
* Switch to keybase go-crypto (for some elliptic curve key) + test

* Use assert.NoError 

and add a little more context to failing test description

* Use assert.(No)Error everywhere 🌈

and assert.Error in place of .Nil/.NotNil
Antoine GIRARD 0cf89a83c1
Update code.gitea.io/git
Ethan Koenig abb19eff39 Update code.gitea.io/git ()
Ethan Koenig 474d636794 Update code.gitea.io/git ()
* Update code.gitea.io/git

* Update function calls

* govendor fetch
Ethan Koenig cf02cd7ba0 Fix and test for delete user ()
* Fix and test for delete user

* Run updates in batches

* Unit test
guyzmo 397474ecb1 Added Parent property to the repo API ()
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Lauris BH 79494047b0 Show commit status icon in commits table ()
* Show commit status icon in commits table

* Add comments

* Fix icons

* Few more places where commit table is displayed

* Change integration test to use goquery for parsing html

* Add integration tests for commit table and status icons

* Fix status to return lates status correctly on all databases

* Rewrote lates commit status selects
guyzmo 98460a8d9d Exposes in API the Repo entity's Size and IsBare property ()
* Exposes in API the Repo entity's IsBare property as IsEmpty

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>

* Exposes in API the Repo entity's Size property

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Bo-Yi Wu 75f1afd1fd fix: tag contain character ) will http 500 on release page ()
Antoine GIRARD 3edb0c5894 Generate swagger json ()
- Generate swagger.json into public/
- Add swagger-ui auto-installation
- Add footer link to local swagger-ui
- Add /swagger url for using app url.
- Fix Swagger-UI version via git tag
Antoine GIRARD bb5f694fc5 Improve govendor testing ()
- Use `govendor list +outside +unused` for finding missing or unused deps and govendor status for catching modified vendor.  
- Remove appengine import
Lauris BH 3792867955 Update xorm to latest version ()
* Update xorm to latest version

* Update xorm/builder
Willem van Dreumel 950f2e2074 Additional OAuth2 providers ()
* add google+

* sort signin oauth2 providers based on the name so order is always the same

* update auth tip for google+

* add gitlab provider

* add bitbucket provider (and some go fmt)

* add twitter provider

* add facebook provider

* add dropbox provider

* add openid connect provider incl. new format of tips section in "Add New Source"

* lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow)

* imports according to goimport and code style

* make it possible to set custom urls to gitlab and github provider (only these could have a different host)

* split up oauth2 into multiple files

* small typo in comment

* fix indention

* fix indentation

* fix new line before external import

* fix layout of signin part

* update "broken" dependency
Lunny Xiao 91d64656a4 update git which fixes ()
Lunny Xiao e3c2963222 remove unused vendor packages ()
Jonas Östanbäck e4a0a04829 Add create_at and updated_at in PR json ()
* Move new fields to object creation (use reference)
 * Vendor: Update SDK
Antoine GIRARD eb1075dd4c Check if missing/modified/unused deps in vendor and fix errors ()
* Check if missing deps in vendor

This will catch import from other repos. (maybe by auto-import)

* Remove github.com/smartystreets unused deps

* Remove github.com/boltdb/bolt unused dep

* Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go

* Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb

* Update go-xorm/xorm to a5cb21 in vendor.json

* Use a custom repo for implementing change to bolt dep.

* Switching bolt to github.com/go-gitea/bolt

* Switching bolt to github.com/go-gitea/bolt (fork version)

* change the drone sign
Antoine GIRARD cf91cfb993 Migrate WatchInfo struct to api ()
* Remove WatchInfo and link to api struct

* Add vendor temporary update

* Return to gitea vendor source
Mura Li edbb9eefd6 Fix race when running commands with timeout ()
Update vendored module code.gitea.io/git
Lunny Xiao 5acfc7c4bc fix migrate failed and org dashboard failed on MSSQL database ()