summaryrefslogtreecommitdiffstats
path: root/vendor
Commit message (Collapse)AuthorAgeFilesLines
* Simply remove tidb and deps (#3993)Antoine GIRARD2018-07-04394-166195/+0
|
* Dep upgrade mysql lib (#4161)techknowlogick2018-07-0320-605/+1800
| | | | * update gopkg file to add sql dep
* update git vendor (#4059)David Schneiderbauer2018-05-271-5/+27
|
* LDAP Public SSH Keys synchronization (#1844)Magnus Lindvall2018-05-2410-348/+284
| | | | | | | | | | | | | | | | | | | * Add LDAP Key Synchronization feature Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Add migration: add login source id column for public_key table * Only update keys if needed * Add function to only list pubkey synchronized from ldap * Only list pub ssh keys synchronized from ldap. Do not sort strings as ExistsInSlice does it. * Only get keys belonging to current login source id * Set default login source id to 0 * Some minor cleanup. Add integration tests (updete dep testify)
* Support secure cookie for csrf-token (#3839)Aleksandr Bulyshchenko2018-05-221-7/+18
| | | | | | | | | | | | | | | | | * dep: Update github.com/go-macaron/csrf Update github.com/go-macaron/csrf with dep to revision 503617c6b372 to fix issue of csrf-token security. This update includes following commits: - Add support for the Cookie HttpOnly flag - Support secure mode for csrf cookie Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com> * routers: set csrf-token security depending on COOKIE_SECURE Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>
* Migrate to dep (#3972)Antoine GIRARD2018-05-21278-32666/+11029
| | | | | | | | | | | | * Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2
* Fix some webhooks bugs (#3981)Lunny Xiao2018-05-212-3/+5
| | | | | | | | | | | | | | | | | | | | | | * fix some webhooks bugs * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * fix test * fix clearlabels * fix pullrequest webhook bug fix #3492 * update release webhook description * remove unused code * fix push webhook in pull request * small changes
* Update to last common x/text (#3994)Antoine GIRARD2018-05-2029-7601/+4120
|
* Fetch missing file in github.com/davecgh/go-spew/spew (#3995)Antoine GIRARD2018-05-202-7/+45
|
* Add support for FIDO U2F (#3971)Jonas Franz2018-05-198-0/+791
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for U2F Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add vendor library Add missing translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F login page to OAuth Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move U2F user settings to a separate file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by refactoring Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove not needed console.log-s Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update to last common bleve (#3986)Antoine GIRARD2018-05-19184-121/+39576
|
* Add more webhooks support and refactor webhook templates directory (#3929)Lunny Xiao2018-05-164-27/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * load attributes when created release * update comparsion doc
* Update xormstore dependency to fix OAuth2 support for MySQL (#3955)Lauris BH2018-05-132-4/+4
|
* Added user language setting (#3875)kolaente2018-05-052-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added user language setting * Added translation string for setting * Fixed import order + typo * improved checking if the user has a language saved in the db * The current saved language is now set a default inside the dropdown * fmt * When a user signs in and doesn't have a language saved, the current browser language is saved * updated gitea-sdk * Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language # Conflicts: # models/migrations/migrations.go # models/migrations/v62.go * Made tests work again * trigger CI * trigger CI * fmt * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * When loggin in, only the language col gets updated instead of everything
* Issue due date (#3794)kolaente2018-05-014-23/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Started adding deadline to ui * Implemented basic issue due date managing * Improved UI for due date managing * Added at least write access to the repo in order to modify issue due dates * Ui improvements * Added issue comments creation when adding/modifying/removing a due date * Show due date in issue list * Added api support for issue due dates * Fixed lint suggestions * Added deadline to sdk * Updated css * Added support for adding/modifiying deadlines for pull requests via api * Fixed comments not created when updating or removing a deadline * update sdk (will do properly once go-gitea/go-sdk#103 is merged) * enhanced updateIssueDeadline * Removed unnessecary Issue.DeadlineString * UI improvements * Small improvments to comment creation + ui & validation improvements * Check if an issue is overdue is now a seperate function * Updated go-sdk with govendor as it was merged * Simplified isOverdue method * removed unessecary deadline to 0 set * Update swagger definitions * Added missing return * Added an explanary comment * Improved updateIssueDeadline method so it'll only update `deadline_unix` * Small changes and improvements * no need to explicitly load the issue when updating a deadline, just use whats already there * small optimisations * Added check if a deadline was modified before updating it * Moved comment creating logic into its own function * Code cleanup for creating deadline comment * locale improvement * When modifying a deadline, the old deadline is saved with the comment * small improvments to xorm session handling when updating an issue deadline + style nitpicks * style nitpicks * Moved checking for if the user has write acces to middleware
* Symlink icons (#1416) (#3826)Tris Forster2018-05-015-27/+59
| | | | | | | | | | | | * Updated vendor code for code.gitea.io/git * Display symlinks correctly for files and directories * Added symlink tests * Applied silverwinds stylesheet patch Signed-off-by: Tris Forster <tris.git@shoddynet.org>
* Switch back to upstream goth repository and update govendor to latest goth ↵Lauris BH2018-04-303-39/+28
| | | | version (#3863)
* Store OAuth2 session data in database (#3660)Lauris BH2018-04-298-0/+585
| | | | | | * Store OAuth2 session data in database * Rename table to `oauth2_session` and do not skip xormstorage initialization error
* Update blackfriday dependency per #2994 (#3857)PJ Eby2018-04-299-110/+292
| | | Signed-off-by: PJ Eby <pje@telecommunity.com>
* Update markbates/goth libary to fix OAuth2 support (#3661)Lauris BH2018-03-133-40/+74
|
* Add Attachment API (#3478)Jonas Franz2018-03-0620-112/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Attachment API * repos/:owner/:repo/releases (add attachments) * repos/:owner/:repo/releases/:id (add attachments) * repos/:owner/:repo/releases/:id/attachments * repos/:owner/:repo/releases/:id/attachments/:attachment_id Signed-off-by: Jonas Franz <info@jonasfranz.de> * Add unit tests for new attachment functions Fix comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * fix lint * Update vendor.json Signed-off-by: Jonas Franz <info@jonasfranz.software> * remove version of sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests Add missing license header Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add CreateReleaseAttachment Add EditReleaseAttachment Add DeleteReleaseAttachment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add filename query parameter for choosing another name for an attachment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix order of imports Signed-off-by: Jonas Franz <info@jonasfranz.software> * Restricting updatable attachment columns Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update go-sdk Replace Attachments with Assets Signed-off-by: Jonas Franz <info@jonasfranz.de> * Update go-sdk Signed-off-by: Jonas Franz <info@jonasfranz.de> * Updating go-sdk and regenerating swagger Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing file of go-sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change origin of code.gitea.io/sdk to code.gitea.io/sdk Update code.gitea.io/sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update swagger Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update updateAttachment
* Update markbates/goth library (#3533)Lauris BH2018-02-1911-157/+281
| | | Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Update code.gitea.io/git (#3482)Ethan Koenig2018-02-103-85/+85
|
* Reduce repo indexer disk usage (#3452)Ethan Koenig2018-02-059-0/+587
|
* fix MSSQL bug on org (#3405)Lunny Xiao2018-01-2728-161/+1008
|
* Change how merged PR commit info are prepared (#3368)Lauris BH2018-01-192-7/+7
| | | | | | | | | | * Change how merged PR commits and diff are made * Update code.gitea.io/git dependency * Fix typo * Remove unneeded local variable
* Serve .patch for pull requests (#3305)Sandro Santilli2018-01-074-4/+22
| | | | | | | | | * Serve .patch for pull requests Closes #3259 Updates "git" module, for GetFormatPatch * Handle io.Copy error
* Writable deploy keys (closes #671) (#3225)Vlad Temian2018-01-072-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove unused vendor github.com/stretchr/testify/require (#3273)Antoine GIRARD2017-12-318-1727/+0
|
* Update code.gitea.io/git (#3251)Ethan Koenig2017-12-222-3/+15
|
* chore: upgrade gitea/git version (#3240)Bo-Yi Wu2017-12-192-5/+5
| | | ref: https://github.com/go-gitea/gitea/pull/3190
* Update code.gitea.io/git (#3137)Ethan Koenig2017-12-1131-401/+3270
|
* Memory usage improvements (#3013)Duncan Ogilvie2017-11-294-9/+52
| | | | | | | | | | * 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>
* Add fingerprint to ssh key endpoints. (#3009)Vlad Temian2017-11-283-7/+73
| | | | | | * Add fingerprint to ssh key endpoints. * Update gitea sdk vendor
* Various wiki bug fixes (#2996)Ethan Koenig2017-11-2812-73/+233
| | | | | | * Update macaron * Various wiki bug fixes
* Add dingtalk webhook (#2777)Lunny Xiao2017-11-214-0/+405
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Fix govendor for x/crupto curve25519 (#2925)Lauris BH2017-11-172-1/+835
|
* Update golang x/crypto dependencies (#2923)Lauris BH2017-11-1631-1305/+1320
|
* Update go-ini dependency and remove semicolon hack in translations (#2913)Lauris BH2017-11-1514-422/+581
|
* Update swagger documentation (#2899)Ethan Koenig2017-11-1325-142/+147
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Code/repo search (#2582)Ethan Koenig2017-10-274-0/+280
| | | Indexed search of repository contents (for default branch only)
* Add support for extra sendmail arguments (#2731)Jonas Bröms2017-10-256-0/+310
| | | | | | | | | | | | * 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
* Update vendor git (#2765)Lauris BH2017-10-236-63/+25
|
* Update vendor github.com/lib/pq (#2752)Antoine GIRARD2017-10-2117-371/+898
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-0113-41/+180
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-217-0/+966
| | | | | | | | | | | | | | * 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
* Sort repository tree entries in natural way (#2506)Lauris BH2017-09-192-15/+31
| | | | | | | | | | | | * 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
* Improve issue search (#2387)Ethan Koenig2017-09-16106-1294/+14949
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* fix updated update on public key (#2514)Lunny Xiao2017-09-152-14/+16
| | | | | | | | | | | | * 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>
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-1330-496/+433
| | | | | | | | | | | | * 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