aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* add codecov.io service. (#2493)Bo-Yi Wu2017-09-134-29/+74
| | | | | | | | | | | | | | | | | | | | | | * add codecov.io service. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * update Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * only PR or master branch (for coverage badge) Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * update Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * update init Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix release (#2496)Lunny Xiao2017-09-131-3/+3
|
* Dockerfile: Updated alpine image to 3.6. (#2486)Jon Davies2017-09-133-3/+3
| | | Signed-off-by: Jonathan Davies <jpds@protonmail.com>
* Allow changing integration test database connection using env variables (#2484)Lauris BH2017-09-134-10/+30
|
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-1348-679/+481
| | | | | | | | | | | | * 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
* Basic VSCode configuration for building and debugging (#2483)Lauris BH2017-09-126-1/+105
| | | | | | | | * Basic VSCode configuration for building and debugging * Fix building and debugging in Windows * Move to contrib folder and add instructions
* Add missing fixture to clean gpg_key table (#2494)Lauris BH2017-09-122-0/+5
| | | | | | * Add missing fixture to clean gpg_key table * Fix possible too fast request execution in timetracker start/stop test
* Disable custom Git Hooks globally via configuration file (#2450)techknowlogick2017-09-125-2/+9
| | | | | | | | * Create option to disable githooks globally via configuration file * Update comment in app.ini to align with @ethantkoenig's suggestion Signed-off-by: Matti Ranta <matti@mdranta.net>
* Open external wiki in new window (#2489)Jonas Östanbäck2017-09-121-1/+1
|
* Feature: Timetracking (#2211)Jonas Franz2017-09-1242-71/+1522
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix some tests : make coverage -> test (#2492)Antoine GIRARD2017-09-12109-24/+38
| | | | | | | | * Fix test : make coverage -> test * Refactor integration tests to be able to run them in parallel * Add custom local repository temp path
* Fix fmt error in mailer (#2490)Jonas Östanbäck2017-09-121-1/+1
|
* Fix slice out of bounds error in mailer (#2479)Jonas Östanbäck2017-09-111-1/+2
|
* * Fix fileview rendering bug #2470 (#2477)Albert2017-09-103-8/+30
|
* Hotfix for integration testing (#2473)Thomas Boerger2017-09-104-18/+14
| | | | | | * Hotfix for integration testing * Comment sqlite tests because of database locking issues
* Changes for latest DroneCI (#2362)Thomas Boerger2017-09-073-42/+42
|
* hide branch on pull request view or create UI (#2454)Lunny Xiao2017-09-061-0/+2
|
* Make repo private to no interfere with other tests (#2467)Antoine GIRARD2017-09-061-1/+1
|
* Only check at least one email gpg key (#2266)Antoine GIRARD2017-09-0536-24/+851
| | | | | | | | | | | | | | | | | | | | | | * Only require one email (possibly not yet validated) * Update message error and check validation of commit * Add integrations tests * Complete integration for import * Add pre-check/optimization * Add some test (not finished) * Finish * Fix fixtures * Fix typo * Don't guess key ID
* add release notes of v1.1.4 (#2463)Lunny Xiao2017-09-051-0/+9
|
* Fix migration from pre-v15 to 1.2.0 (#2460)Lauris BH2017-09-051-0/+1
|
* Add changelog config file for generate changelog (#2461)Lunny Xiao2017-09-041-0/+44
|
* bug fixedLunny Xiao2017-09-041-1/+1
|
* Webhooks for repo creation/deletion (#1663)Ethan Koenig2017-09-0316-39/+163
| | | | | | | | * Webhooks for repo creation/deletion * add createHookTask * Add handles for GetSlackPayload and GetDiscordPayload
* Wrap most text to 80 columns (#2452)Sandro Santilli2017-09-021-31/+136
|
* fix orgnization webhooks (#2422)Lunny Xiao2017-08-304-6/+18
| | | | | | * fix org webhooks * remove trace code
* some refactors for issue and comments (#2419)Lunny Xiao2017-08-304-14/+30
|
* Wrap most paragraphs to 80 columns (#2396)Sandro Santilli2017-08-301-3/+19
| | | Reduces patches size and makes them more readable
* fix webhook test (#2415)Lunny Xiao2017-08-292-46/+63
| | | | | | | | * fix webhook test * fix error message * fix typo
* Fix route handler order (#2409)Ethan Koenig2017-08-291-3/+4
| | | | | | * Fix route handler order * Fix more routes
* fix missing orgnization discord webhook (#2414)Lunny Xiao2017-08-292-1/+2
|
* Update CONTRIBUTING following #2329 discussionAntoine GIRARD2017-08-281-1/+1
| | | Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)
* Fix releases to be counted from database not tags (#2389)Lauris BH2017-08-283-3/+11
|
* Error message for integration test (#2410)Ethan Koenig2017-08-281-1/+2
|
* Fix tests code to prevent some runtime errors (#2381)Morlinest2017-08-2815-151/+182
| | | | | | * Fix tests code to prevent some runtime errors * Reduce nesting
* Implementation of discord webhook (#2402)Lunny Xiao2017-08-2811-14/+427
| | | | | | | | | | | | * implementation of discord webhook * fix webhooks * fix typo and unnecessary color values * fix typo * fix imports and revert changes to webhook_slack.go
* fix duplicated feed (#2370)Lunny Xiao2017-08-283-10/+1
|
* Fix "index out of range" runtime error in repo_list tests (#2376)Morlinest2017-08-281-2/+6
|
* Clarify Translation Process. Also fix branch names (#2378)Kim "BKC" Carlbäcker2017-08-281-1/+6
| | | | | | * Clarify Translation Process. Also fix branch names * Update CONTRIBUTING.md
* Add UseCompatSSHURI setting (#2356)Manuel2017-08-263-0/+8
| | | | | | | | | | | | | | | | * Add UseCompatSSHURI setting Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> (+1 squashed commits) Squashed commits: [dda2dc79] Add ForceCloneSSHURL setting Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> * Make protocol if construct more readable Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
* Fix missing collabrative repos (#2367)Lunny Xiao2017-08-243-42/+47
| | | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Add possibility to record branch or tag information in an issue (#780)Zsombor2017-08-249-0/+78
|
* Log failed authentication attempts with remote address for fail2ban (#2334)David Schneiderbauer2017-08-241-0/+2
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix integration test after librejs location change (#2374)Sandro Santilli2017-08-241-1/+1
| | | Fixes #2373
* Move themes to plugin directory. Fixes #2372 (#2375)Michael Lustfield2017-08-2416-21/+0
|