summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Link to gitea-specific Vagrant example (#2624)Sandro Santilli2017-09-301-9/+9
| | | .. rather than a gogs one
* Fix doubled issue tab introduced in migration v16 (#2611)David Schneiderbauer2017-09-282-0/+71
| | | | | * fix duplicate issue tab as UnitTypeIssue and UnitTypeExternalTracker are existing at the same time Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Remove redudant issue LoadAttributes() calls (#2614)Morlinest2017-09-272-12/+1
|
* Fix translation upload to crowdin (#2599)Lauris BH2017-09-251-0/+1
|
* Reduce usage of allcols on update (#2596)Lunny Xiao2017-09-2510-25/+21
| | | | | | * reduce usage of allcols on update * fix bug and tests
* backport from v1.2 branch: add secrets for github release (#2588) (#2598)Bo-Yi Wu2017-09-251-0/+1
|
* Make indexer code more reusable (#2590)Ethan Koenig2017-09-253-35/+83
|
* Add pre-build step for nodejs stuff (#2581)Morlinest2017-09-251-3/+8
|
* Compress css with nodejs (#2580)Morlinest2017-09-243-15/+12
|
* Automatic update of translations (#2585)Jonas Franz2017-09-231-0/+11
| | | | | | | | | | | | * Adding build step for uploading translations * Fixing crowdin project name * Using crowdin plugin * Changing secret name * Adding pull: true
* fix go get subpackage bug (#2584)Lunny Xiao2017-09-232-32/+14
| | | | | | * fix go get subpackage bug * merge the duplicated funtions
* Fix broken migration to add can_push field back to table (#2574)Lauris BH2017-09-231-2/+10
|
* Automatically regenerate indexer for incompatible versions (#2524)Ethan Koenig2017-09-231-19/+18
|
* Fix drone for tags (#2573)Lauris BH2017-09-221-3/+0
|
* Use custom type and constants to hold order by options (#2572)Morlinest2017-09-223-32/+51
|
* Expand fixtures (#2571)Morlinest2017-09-228-1/+204
| | | | | | | | | | * Add more repo search tests * Add and fix /api/repo/search integration tests * Add owner to access table for organization repositories * Remove tests
* Ctrl + Enter to submit forms (#2540)Jonas Franz2017-09-222-1/+10
| | | | | | | | | | | | | | | | | | | * Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Submit forms if Ctrl+Enter is pressed inside a textarea Signed-off-by: Jonas Franz <info@jonasfranz.software> * Adding separate class for Ctrl+Enter-Submit Checking if alt key is pressed too Signed-off-by: Jonas Franz <info@jonasfranz.software> * Changing .ctrlenter to .js-quick-submit Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix readme view bug (#2566)Lunny Xiao2017-09-211-1/+3
|
* Complete push webhooks (#2530)David Schneiderbauer2017-09-218-102/+197
| | | | | | | | | | | | | | | | | * implemented missing 'delete' push webhooks moreover created ActionDeleteBranch and ActionDeleteTag * add CommitRepoAction tests for tag/branch creation/deletion * fixed error where push webhook not called if is new branch or tag removed unnecessary code * moved prepare unit test environment into separate method to be used across unit tests * add missing if clause in pushUpdate Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-2121-66/+1103
| | | | | | | | | | | | | | * 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
* Fix sending mail with a non-latin display name. #2102 (#2559)Rémi Saurel2017-09-213-4/+6
| | | | | | | | | | * Fix sending mail with a non-latin display name. #2102 Signed-off-by: Rémi Saurel <contact@remi-saurel.com> * Take into account the possibility that setting.MailService.From is in `name <email@address>` format. #2102 Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
* Use standard lessc and minify CSS using Node.js (#2337)silverwind2017-09-216-3139/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use standard lessc and minify CSS using Node.js This changes the previous nonstandard `lessc` to the official one and enables CSS minification via the clean-css module. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally in node_modules so there is no dependency on binaries in PATH. Benefits include: - Allows one to have a standard lessc in PATH. - Can now use command line switches on lessc. - Minified CSS brings faster page load times and also has the benefit of discouraging contributors from editing CSS directly. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally based on the information in `package.json`. The 'make stylesheet' task was modified to run without condition. This makes it easier to work on the make task itself without having to delete files. Also fixes: https://github.com/go-gitea/gitea/issues/2198 * install node, npm and modules on drone * .PHONY * use 'minify' to minify CSS
* Always run fmt check in CI (#2546)Ethan Koenig2017-09-212-1/+2
|
* Fix can_push value to false in protected_branch (#2560)Lauris BH2017-09-203-0/+21
|
* Remove go version check for make fmt (#2558)Lauris BH2017-09-201-5/+2
|
* Fix /api/repo/search integration tests (#2550)Morlinest2017-09-201-9/+5
|
* Sync releases table with tags on push and for mirrors (#2459)Lauris BH2017-09-2010-118/+366
| | | | | | | | | | | | | | | * Sync releases table with tags on push and for mirrors * Code style fixes * Fix api to return only releases * Optimize release creation and update Minimize posibility of race conditions * Fix release lower tag name updating * handle tag reference update by addionally comparing commit id
* Fix duplicated rel attribute (#2549)Jorge Maldonado Ventura2017-09-201-2/+2
| | | | | | According to the HTML 5.1 recommendation "The rel attribute on a and area elements controls what kinds of links the elements create. The attribute’s value must be a set of space-separated tokens." (source https://www.w3.org/TR/html51/links.html#links-created-by-a-and-area-elements)
* Use named ActionType constants in template helper (#2545)Ethan Koenig2017-09-202-15/+13
|
* add @daviian as maintainer (#2552)David Schneiderbauer2017-09-191-0/+1
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix fmt errors (#2544)Ethan Koenig2017-09-191-1/+2
|
* Sort repository tree entries in natural way (#2506)Lauris BH2017-09-195-16/+145
| | | | | | | | | | | | * 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
* Fix lint errors (#2547)Ethan Koenig2017-09-199-41/+9
|
* Make basic functionality work without JavaScript (#2541)Jorge Maldonado Ventura2017-09-192-1/+8
|
* Fork permission bug fixes (#2534)Jonas Franz2017-09-183-3/+73
| | | | | | | | | | | | | | | | * Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Checking if Code unit is enabled before creating a fork. Signed-off-by: Jonas Franz <info@jonasfranz.software> * Adding a discrete function for RepoIDAssignment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improved Documentation
* Make integration tests more user-friendly (#2536)Ethan Koenig2017-09-181-1/+5
|
* Improve issue search (#2387)Ethan Koenig2017-09-16122-1453/+15275
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* Restructure markup & markdown to prepare for multiple markup language… (#2411)Lunny Xiao2017-09-1619-1092/+1189
| | | | | | | | | | * restructure markup & markdown to prepare for multiple markup languages support * adjust some functions between markdown and markup * fix tests * improve the comments
* Convert spaces to tabs in footer.tmpl (#2520)Ethan Koenig2017-09-161-3/+3
|
* Prevent sending emails and notifications to inactive users (#2384)David Schneiderbauer2017-09-1613-21/+85
| | | | | | | | | | | | | | | | | | | | | | * Filter inactive users before sending emails or creating browser notifications Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * fix formatting issues Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * included requested changes Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * optimized database queries * rebasing new master and add tablenames for clarification in xorm queries * remove escaped quotationmarks using backticks Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix unit test race condition (#2516)Ethan Koenig2017-09-151-2/+7
|
* Added bucket name to s3 drone plugin (#2505)Thomas Boerger2017-09-151-0/+3
|
* Fixes 500 error on dashboard when using MSSQL (#2504)bradder5552017-09-151-1/+1
| | | | | | | | | | | | | | MSSQL rejects the query: SELECT "repository"."id" FROM "repository" INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND "repository".is_mirror=1 WHERE ( ("repository".owner_id=2 AND "repository".is_private=0) OR team_repo.team_id IN (1) ) GROUP BY "repository".id ORDER BY updated_unix DESC when the order by term (updated_unix) is not included in the group by term.
* 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>
* Implementation of all repositories of a user from user->settings (#1740)Rémy Boulanouar2017-09-147-0/+101
| | | | | | | | | | | | * Implementation of all repositories of a user from user->settings * Update message when no repository found * Update according to comments * Change UI to have a better look * improved user repositories UI
* improve protected branch to add whitelist support (#2451)Lunny Xiao2017-09-1429-303/+736
| | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo
* Display commit status on landing page of repo (#1784)Rémy Boulanouar2017-09-147-28/+60
| | | | | | | | * Display commit status on landing page of repo * improve last status of commits and add link to ci * fix last commit status since the order of ids are desc
* fix wrong rendering of commit detail page (#2503)David Schneiderbauer2017-09-142-7/+7
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Hotfix for "Add time manually" ↵Jonas Franz2017-09-131-1/+1
| | | | | (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125) (#2499) Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Remove repository mirrors from "collaborative" list (#2497)Morlinest2017-09-131-1/+1
|