summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-061-1/+1
|
* Writable deploy keys (closes #671) (#3225)Vlad Temian2018-01-0713-13/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add defaults to config cheatsheet, and minor language cleanup. (#3290)Michael Lustfield2018-01-061-136/+134
| | | | | | * Add defaults to config cheatsheet, and clean up document. * Updates and touchups, per review.
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-062-2/+12
|
* Add myself to MAINTAINERS (#3313)Morgan Bazalgette2018-01-061-0/+1
|
* Make the space for repo actions wider on repo header (#3312)Morgan Bazalgette2018-01-061-2/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-062-0/+18
|
* add external tool docs (#3301)Lunny Xiao2018-01-062-0/+37
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-051-0/+1
|
* Add Pull Request merge options - Ignore white-space for conflict checking, ↵Lauris BH2018-01-0520-44/+529
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebase, Squash merge (#3188) * Pull request options migration and UI in settings * Add ignore whitespace functionality * Fix settings if pull requests are disabled * Fix migration transaction * Merge with Rebase functionality * UI changes and related functionality for pull request merging button * Implement squash functionality * Fix rebase merging * Fix pull request merge tests * Add squash and rebase tests * Fix API method to reuse default message functions * Some refactoring and small fixes * Remove more hardcoded values from tests * Remove unneeded check from API method * Fix variable name and comment typo * Fix reset commit count after PR merge
* Serve pull request .diff files (#3293)Sandro Santilli2018-01-054-5/+53
| | | | | | | | | | | | * Serve pull request .diff files Closes #3259 * Add test for pull request redirection and .diff access * Typo * There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo
* Fix swagger docs (#3300)Ethan Koenig2018-01-042-162/+13
|
* Use issue number/index instead of id for API URL. (#3298)Alberto González Palomo2018-01-031-1/+1
| | | | | | | | | | | | | | | | | Using the API calls, the issue objects retrieved by /repos/{owner}/{repo}/issues contains the wrong value in the "url" field: it uses the "id" value instead of the "number" value. For instance, in a new repo in try.gitea.io with just one issue: [{ "id": 896, "url": "https://try.gitea.io/api/v1/repos/AlbertoGP/uno/issues/896", "number": 1, ... }] The given URL does not work, but if you replace the "896" by "1" it does.
* Fixed asterisk based tasklist items, fixed requirement for one char after ↵modmew82018-01-031-2/+2
| | | | | last blank to be a valid task. (#3296) Signed-off-by: modmew8 <modmew8@gmail.com>
* Fix guide link for webhooks in repository settings (#3291) (#3292)Elouan Martinet2018-01-031-1/+1
| | | Signed-off-by: Elouan Martinet <exa@elou.world>
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-031-0/+1
|
* Added progressbar for issues (#1146). (#3171)modmew82018-01-035-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | * Added progressbar for issues (#1146). * Updated the generated index.css. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed unnecessary blanks. Signed-off-by: modmew8 <modmew8@gmail.com> * Formatted the files correctly, fmt-check terminates now without errors. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed variables, made computing the tasks on demand with precompiled regexp. Signed-off-by: modmew8 <modmew8@gmail.com>
* Update standard copyright header for new year (#3289)techknowlogick2018-01-021-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-021-0/+1
|
* refactor: ignore LGTM from author of pull request. (#3283)Bo-Yi Wu2018-01-021-1/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-0210-10/+0
|
* Add more additional template snippets (#3286)Thomas Boerger2018-01-026-0/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-021-2/+2
|
* Fix MS AD Search Attributes English translation (#3282)Piotr Orzechowski2018-01-021-1/+1
|
* Update CONTRIBUTING.md with new Owners (#3281)techknowlogick2018-01-011-0/+5
| | | | | | * Add in new owners to contributing.md * Update date
* [skip ci] Updated translations via CrowdinGiteaBot2018-01-011-6/+8
|
* Add build instruction in README, reorganize some sections (#3257)Sandro Santilli2018-01-011-12/+26
| | | | | | * Add build instruction in README, reorganize some sections * Add link to https://docs.gitea.io/en-us/install-from-source/
* [skip ci] Updated translations via CrowdinGiteaBot2017-12-312-0/+2
|
* Add repo-sync-releases admin command (#3254)Sandro Santilli2017-12-315-3/+85
| | | | | | | | | | | | | | | | | | * Add repo-sync-releases admin command Will help recovering corrupted database, see #3247 * Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo * Fix debug output about num releases * Introduce RepositoryListDefaultPageSize constant, set to 64 Use it from the new admin command * Use RepositoryListDefaultPageSize in more places * Document RepositoryListDefaultPageSize
* [skip ci] Updated translations via CrowdinGiteaBot2017-12-311-1/+1
|
* Fix race condition in team functions (#3268)Ethan Koenig2017-12-301-5/+6
|
* go back to using CFB for AES decryption/encryption for 2FA (#3274)Morgan Bazalgette2017-12-311-3/+44
|
* Remove unused vendor github.com/stretchr/testify/require (#3273)Antoine GIRARD2017-12-318-1727/+0
|
* Remove unused consts/vars (#3270)Ethan Koenig2017-12-301-13/+0
|
* Responsive view (#2750)Morgan Bazalgette2017-12-3030-548/+699
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Viewport meta tag * responsive: dashboard * responsive: issues page * responsive: Explore page * responsive: navbar, and some navbar css refactoring * responsive: button for collapsing navbar in mobile view * Mark the hamburger button as active when pressed * better homepage for responsive views * Bring back jump class in navbar The class was necessary, because this way the dropdown doesn't assume the contents of the selected item. * make repository homes responsive * Make file view page responsive * Make forms look good on responsive views * make commits and commit diff view responsive * issues and PRs * responsive wiki * Don't place auto-init far off the page * Minor changes to amend broken stuff minor improvements - make login/sign up in navbar stackable - make navbar in explore and sign in not stackable Change selected class in TestPullCompare Fix typo that happened when rebasing fix dashboard on org view improve profile UI Use clearing on file diff to fix broken UI caused by floating elements remove unresolved merge conflict, and | Sanitize Fix repo home not loading
* Fixed link to Issue 165 in comment, that was broken by commit ↵Roman Egunkov2017-12-291-1/+1
| | | | 2d68bd1ef98849da54c869b103e93719d1accb5e (index 8110ac85..0f6163c4 100644). (#3267)
* Add docs for REDIRECT_OTHER_PORT and PORT_TO_REDIRECT config options (#3262)Mike Fellows2017-12-271-0/+2
|
* Fix bugs in issue dashboard stats (#3073)Ethan Koenig2017-12-267-55/+224
|
* Add an option to allow redirect of http port 80 to https. (#1928)Mike Fellows2017-12-253-0/+33
| | | | | | | | | | | | | * Add an option to allow redirect of http port 80 to https. This is an "opt in" option (default is to not redirect). It will only redirect if protocol is https and the new REDIRECT_PORT_80 option is set to true. The Port to redirect in previous commit was hardcoded to 80, now it can be specified in the app.ini, defaulting to 80. The boolean option to turn redirection on has been changed to REDIRECT_OTHER_PORT to be logically consistent with the new port option. Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
* Small improve on deleting attachements (#3145)Lunny Xiao2017-12-241-8/+17
| | | | | | * Small improve on deleting attachements * improve the sequence of deletion
* Add more bench (#3161)Antoine GIRARD2017-12-245-37/+124
| | | | | | * Improve makefile + Add benchs * Apply recommendations of @ethantkoenig
* [skip ci] Updated translations via CrowdinGiteaBot2017-12-221-9/+9
|
* Update code.gitea.io/git (#3251)Ethan Koenig2017-12-222-3/+15
|
* Fix ignored errors when checking if organization, team member (#3177)Ethan Koenig2017-12-2116-144/+281
|
* Support default private when creating or migrating repository (#3239)Lunny Xiao2017-12-205-2/+28
| | | | | | | | | | * support default private when creating or migrating repository * fix fmt * use string constants on repository default private in app.ini * fix fmt
* Fix repo-transfer-and-team-repo-count bug (#3241)Ethan Koenig2017-12-192-14/+23
|
* [skip ci] Updated translations via CrowdinGiteaBot2017-12-201-0/+4
|
* chore: upgrade gitea/git version (#3240)Bo-Yi Wu2017-12-192-5/+5
| | | ref: https://github.com/go-gitea/gitea/pull/3190
* Add missing repository setting docs in cheat sheet (#3230)Sandro Santilli2017-12-191-0/+4
|
* Fixed missing end tag for organization link (#3229)Chris Woodward2017-12-191-0/+1
|