Ethan Koenig
a89592d4ab
Reduce repo indexer disk usage ( #3452 )
7 years ago
Lunny Xiao
97fe773491
fix MSSQL bug on org ( #3405 )
7 years ago
Lauris BH
ca306985d3
Change how merged PR commit info are prepared ( #3368 )
...
* Change how merged PR commits and diff are made
* Update code.gitea.io/git dependency
* Fix typo
* Remove unneeded local variable
7 years ago
Sandro Santilli
44053532bb
Serve .patch for pull requests ( #3305 )
...
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
7 years ago
Vlad Temian
e78786ef39
Writable deploy keys ( closes #671 ) ( #3225 )
...
* Add is_writable checkbox to deploy keys interface
* Add writable key option to deploy key form
* Add support for writable ssh keys in the interface
* Rename IsWritable to ReadOnly
* Test: create read-only and read-write deploy keys via api
* Add DeployKey access mode migration
* Update gitea sdk via govendor
* Fix deploykey migration
* Add unittests for writable deploy keys
* Move template text to locale
* Remove implicit column update
* Remove duplicate locales
* Replace ReadOnly field with IsReadOnly method
* Fix deploy_keys related integration test
* Rename v54 migration with v55
* Fix migration hell
7 years ago
Antoine GIRARD
d2736e268b
Remove unused vendor github.com/stretchr/testify/require ( #3273 )
7 years ago
Ethan Koenig
156aa42ba0
Update code.gitea.io/git ( #3251 )
7 years ago
Bo-Yi Wu
456648adac
chore: upgrade gitea/git version ( #3240 )
...
ref: https://github.com/go-gitea/gitea/pull/3190
7 years ago
Ethan Koenig
58a7de2aea
Update code.gitea.io/git ( #3137 )
7 years ago
Duncan Ogilvie
551f3cbe42
Memory usage improvements ( #3013 )
...
* 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>
7 years ago
Vlad Temian
6ad4990a65
Add fingerprint to ssh key endpoints. ( #3009 )
...
* Add fingerprint to ssh key endpoints.
* Update gitea sdk vendor
7 years ago
Ethan Koenig
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
7 years ago
Lunny Xiao
10b54df2b2
Add dingtalk webhook ( #2777 )
...
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
7 years ago
Lauris BH
b23cf16981
Fix govendor for x/crupto curve25519 ( #2925 )
7 years ago
Lauris BH
3138417c63
Update golang x/crypto dependencies ( #2923 )
7 years ago
Lauris BH
a6f337046f
Update go-ini dependency and remove semicolon hack in translations ( #2913 )
7 years ago
Ethan Koenig
f26f4a7e01
Update swagger documentation ( #2899 )
...
* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments
7 years ago
Ethan Koenig
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
7 years ago
Jonas Bröms
e86a0bf3fe
Add support for extra sendmail arguments ( #2731 )
...
* 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
7 years ago
Lauris BH
9ba7898911
Update vendor git ( #2765 )
7 years ago
Antoine GIRARD
2112eb8741
Update vendor github.com/lib/pq ( #2752 )
7 years ago
Lunny Xiao
a8717e5e3a
Use AfterLoad instead of AfterSet on Structs ( #2628 )
...
* use AfterLoad instead of AfterSet on Structs
* fix the comments on AfterLoad
* fix the comments on action AfterLoad
7 years ago
Lunny Xiao
0d80af649a
Add init support of orgmode document type on file view and readme ( #2525 )
...
* 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
7 years ago
Lauris BH
23645fe05f
Sort repository tree entries in natural way ( #2506 )
...
* 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
7 years ago
Ethan Koenig
b0f7457d9e
Improve issue search ( #2387 )
...
* Improve issue indexer
* Fix new issue sqlite bug
* Different test indexer paths for each db
* Add integration indexer paths to make clean
7 years ago
Lunny Xiao
0f9e20b3d7
fix updated update on public key ( #2514 )
...
* 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>
7 years ago
Lunny Xiao
005900baea
Use created & updated instead BeforeInsert & BeforeUpdate ( #2482 )
...
* 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
7 years ago
Lunny Xiao
2c6a0fdca8
update latest xorm version to vendor ( #2353 )
7 years ago
Antoine GIRARD
fd8e8a421a
Improve swagger doc ( #2274 )
...
* 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
7 years ago
Ethan Koenig
c76ee5688b
Revert to upstream ini dependency ( #2304 )
7 years ago
Ethan Koenig
27798c3efc
Temporarily patch go-ini/ini with fork ( #2255 )
7 years ago
Lauris BH
a4ca54425f
update code.gitea.io/git in vendor to fix #2245 ( #2250 )
7 years ago
Lauris BH
7d61834dc9
Update code.gitea.io/git dependency ( #2149 )
7 years ago
Andrey Nering
2ef33b5338
vendor: update sqlite to fix "database is locked" errors ( #2116 )
...
closes #2040
upstream commit: acfa601240
7 years ago
Bo-Yi Wu
678fec3f6a
upgrade git source code. ( #2094 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Jonas Östanbäck
1f4d84b7b2
Update git module ( #2074 )
7 years ago
Lauris BH
c259c436d7
update git module ( #2037 )
8 years ago
Ethan Koenig
75f166b6b9
Update code.gitea.io/git ( #2014 )
8 years ago
Ethan Koenig
6e452c4da7
Update code.gitea.io/git ( #1998 )
8 years ago
Antoine GIRARD
274149dd14
Switch to keybase go-crypto (for some elliptic curve key) + test ( #1925 )
...
* 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
8 years ago
Antoine GIRARD
0cf89a83c1
Update code.gitea.io/git
8 years ago
Ethan Koenig
abb19eff39
Update code.gitea.io/git ( #1849 )
8 years ago
Ethan Koenig
474d636794
Update code.gitea.io/git ( #1824 )
...
* Update code.gitea.io/git
* Update function calls
* govendor fetch
8 years ago
Ethan Koenig
cf02cd7ba0
Fix and test for delete user ( #1713 )
...
* Fix and test for delete user
* Run updates in batches
* Unit test
8 years ago
guyzmo
397474ecb1
Added Parent property to the repo API ( #1687 )
...
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
8 years ago
Lauris BH
79494047b0
Show commit status icon in commits table ( #1688 )
...
* 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
8 years ago
guyzmo
98460a8d9d
Exposes in API the Repo entity's Size and IsBare property ( #1668 )
...
* 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>
8 years ago
Bo-Yi Wu
75f1afd1fd
fix: tag contain character ) will http 500 on release page ( #1670 )
8 years ago
Antoine GIRARD
3edb0c5894
Generate swagger json ( #1402 )
...
- 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
8 years ago
Antoine GIRARD
bb5f694fc5
Improve govendor testing ( #1623 )
...
- Use `govendor list +outside +unused` for finding missing or unused deps and govendor status for catching modified vendor.
- Remove appengine import
8 years ago