summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* update translation from crowdin (#2368)Lunny Xiao2017-08-2323-172/+698
|
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-231339-126/+813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2241) * Cleaning up public/ and documenting js/css libs. This commit mostly addresses #1484 by moving vendor'ed plugins into a vendor/ directory and documenting their upstream source and license in vendor/librejs.html. This also proves gitea is using only open source js/css libraries which helps toward reaching #1524. * Removing unused css file. The version of this file in use is located at: vendor/plugins/highlight/github.css * Cleaned up librejs.html and added javascript header A SafeJS function was added to templates/helper.go to allow keeping comments inside of javascript. A javascript comment was added in the header of templates/base/head.tmpl to mark all non-inline source as free. The librejs.html file was updated to meet the current librejs spec. I have now verified that the librejs plugin detects most of the scripts included in gitea and suspect the non-free detections are the result of a bug in the plugin. I believe this commit is enough to meet the C0.0 requirement of #1534. * Updating SafeJS function per lint suggestion * Added VERSIONS file, per request
* Add more test for login links and fix a bug on action retrieve (#2361)Lunny Xiao2017-08-232-1/+98
| | | | * add more test for login links and fix a bug on action retrieve
* Add integration tests for signin (#2363)David Schneiderbauer2017-08-232-4/+71
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix SQL condition bug in GetFeeds(..) (#2360)Ethan Koenig2017-08-231-4/+5
|
* fix bug on create repo link on dashboard (#2359)Lunny Xiao2017-08-231-1/+1
|
* Revert "Changes for latest DroneCI (#2355)" (#2358)Bo-Yi Wu2017-08-222-41/+27
| | | This reverts commit faf4b503b24d33a2a0f455d26bb782345ab8e0c9.
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-236-80/+71
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* Changes for latest DroneCI (#2355)Thomas Boerger2017-08-222-27/+41
|
* Remove (almost) server side data rendering from repo-search component (#2317)Morlinest2017-08-222-44/+72
| | | | | | * Rename some shorthands * Remove (almost) server side data rendering from repo-search component template
* update latest xorm version to vendor (#2353)Lunny Xiao2017-08-2244-1401/+1735
|
* Add badge and link to the Matrix room (#2348)Silke2017-08-211-2/+3
|