]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agoImprove issue search (#2387)
Ethan Koenig [Sat, 16 Sep 2017 20:16:21 +0000 (13:16 -0700)]
Improve issue search (#2387)

* Improve issue indexer

* Fix new issue sqlite bug

* Different test indexer paths for each db

* Add integration indexer paths to make clean

7 years agoRestructure markup & markdown to prepare for multiple markup language… (#2411)
Lunny Xiao [Sat, 16 Sep 2017 17:17:57 +0000 (01:17 +0800)]
Restructure markup & markdown to prepare for multiple markup language… (#2411)

* restructure markup & markdown to prepare for multiple markup languages support

* adjust some functions between markdown and markup

* fix tests

* improve the comments

7 years agoConvert spaces to tabs in footer.tmpl (#2520)
Ethan Koenig [Sat, 16 Sep 2017 09:04:27 +0000 (02:04 -0700)]
Convert spaces to tabs in footer.tmpl (#2520)

7 years agoPrevent sending emails and notifications to inactive users (#2384)
David Schneiderbauer [Sat, 16 Sep 2017 00:18:25 +0000 (02:18 +0200)]
Prevent sending emails and notifications to inactive users (#2384)

* 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>
7 years agoFix unit test race condition (#2516)
Ethan Koenig [Fri, 15 Sep 2017 07:54:25 +0000 (00:54 -0700)]
Fix unit test race condition (#2516)

7 years agoAdded bucket name to s3 drone plugin (#2505)
Thomas Boerger [Fri, 15 Sep 2017 06:45:38 +0000 (08:45 +0200)]
Added bucket name to s3 drone plugin (#2505)

7 years agoFixes 500 error on dashboard when using MSSQL (#2504)
bradder555 [Fri, 15 Sep 2017 06:14:06 +0000 (14:14 +0800)]
Fixes 500 error on dashboard when using MSSQL (#2504)

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.

7 years agofix updated update on public key (#2514)
Lunny Xiao [Fri, 15 Sep 2017 03:23:48 +0000 (11:23 +0800)]
fix updated update on public key (#2514)

* 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>
7 years agoImplementation of all repositories of a user from user->settings (#1740)
Rémy Boulanouar [Thu, 14 Sep 2017 11:46:14 +0000 (13:46 +0200)]
Implementation of all repositories of a user from user->settings (#1740)

* 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

7 years agoimprove protected branch to add whitelist support (#2451)
Lunny Xiao [Thu, 14 Sep 2017 08:16:22 +0000 (16:16 +0800)]
improve protected branch to add whitelist support (#2451)

* 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

7 years agoDisplay commit status on landing page of repo (#1784)
Rémy Boulanouar [Thu, 14 Sep 2017 06:51:32 +0000 (08:51 +0200)]
Display commit status on landing page of repo (#1784)

* 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

7 years agofix wrong rendering of commit detail page (#2503)
David Schneiderbauer [Thu, 14 Sep 2017 06:12:56 +0000 (08:12 +0200)]
fix wrong rendering of commit detail page (#2503)

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years agoHotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomm...
Jonas Franz [Wed, 13 Sep 2017 19:02:04 +0000 (21:02 +0200)]
Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125) (#2499)

Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years agoRemove repository mirrors from "collaborative" list (#2497)
Morlinest [Wed, 13 Sep 2017 16:02:37 +0000 (18:02 +0200)]
Remove repository mirrors from "collaborative" list (#2497)

7 years agoadd codecov.io service. (#2493)
Bo-Yi Wu [Wed, 13 Sep 2017 12:57:55 +0000 (20:57 +0800)]
add codecov.io service. (#2493)

* 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>
7 years agofix release (#2496)
Lunny Xiao [Wed, 13 Sep 2017 09:20:15 +0000 (17:20 +0800)]
fix release (#2496)

7 years agoDockerfile: Updated alpine image to 3.6. (#2486)
Jon Davies [Wed, 13 Sep 2017 06:37:42 +0000 (06:37 +0000)]
Dockerfile: Updated alpine image to 3.6. (#2486)

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
7 years agoAllow changing integration test database connection using env variables (#2484)
Lauris BH [Wed, 13 Sep 2017 06:03:20 +0000 (09:03 +0300)]
Allow changing integration test database connection using env variables (#2484)

7 years agoUse created & updated instead BeforeInsert & BeforeUpdate (#2482)
Lunny Xiao [Wed, 13 Sep 2017 05:18:22 +0000 (13:18 +0800)]
Use created & updated instead BeforeInsert & BeforeUpdate (#2482)

* 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

7 years agoBasic VSCode configuration for building and debugging (#2483)
Lauris BH [Tue, 12 Sep 2017 12:27:44 +0000 (15:27 +0300)]
Basic VSCode configuration for building and debugging (#2483)

* Basic VSCode configuration for building and debugging

* Fix building and debugging in Windows

* Move to contrib folder and add instructions

7 years agoAdd missing fixture to clean gpg_key table (#2494)
Lauris BH [Tue, 12 Sep 2017 10:54:45 +0000 (13:54 +0300)]
Add missing fixture to clean gpg_key table (#2494)

* Add missing fixture to clean gpg_key table

* Fix possible too fast request execution in timetracker start/stop test

7 years agoDisable custom Git Hooks globally via configuration file (#2450)
techknowlogick [Tue, 12 Sep 2017 09:25:42 +0000 (05:25 -0400)]
Disable custom Git Hooks globally via configuration file (#2450)

* 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>
7 years agoOpen external wiki in new window (#2489)
Jonas Östanbäck [Tue, 12 Sep 2017 07:29:35 +0000 (09:29 +0200)]
Open external wiki in new window (#2489)

7 years agoFeature: Timetracking (#2211)
Jonas Franz [Tue, 12 Sep 2017 06:48:13 +0000 (08:48 +0200)]
Feature: Timetracking (#2211)

* 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>
7 years agoFix some tests : make coverage -> test (#2492)
Antoine GIRARD [Tue, 12 Sep 2017 05:51:12 +0000 (07:51 +0200)]
Fix some tests : make coverage -> test (#2492)

* Fix test : make coverage -> test

* Refactor integration tests to be able to run them in parallel

* Add custom local repository temp path

7 years agoFix fmt error in mailer (#2490)
Jonas Östanbäck [Tue, 12 Sep 2017 01:04:14 +0000 (03:04 +0200)]
Fix fmt error in mailer (#2490)

7 years agoFix slice out of bounds error in mailer (#2479)
Jonas Östanbäck [Mon, 11 Sep 2017 06:33:28 +0000 (08:33 +0200)]
Fix slice out of bounds error in mailer (#2479)

7 years ago* Fix fileview rendering bug #2470 (#2477)
Albert [Sun, 10 Sep 2017 20:21:26 +0000 (22:21 +0200)]
* Fix fileview rendering bug #2470 (#2477)

7 years agoHotfix for integration testing (#2473)
Thomas Boerger [Sun, 10 Sep 2017 01:54:11 +0000 (03:54 +0200)]
Hotfix for integration testing (#2473)

* Hotfix for integration testing

* Comment sqlite tests because of database locking issues

7 years agoChanges for latest DroneCI (#2362)
Thomas Boerger [Thu, 7 Sep 2017 17:22:15 +0000 (19:22 +0200)]
Changes for latest DroneCI (#2362)

7 years agohide branch on pull request view or create UI (#2454)
Lunny Xiao [Wed, 6 Sep 2017 12:02:51 +0000 (20:02 +0800)]
hide branch on pull request view or create UI (#2454)

7 years agoMake repo private to no interfere with other tests (#2467)
Antoine GIRARD [Tue, 5 Sep 2017 21:33:33 +0000 (23:33 +0200)]
Make repo private to no interfere with other tests (#2467)

7 years agoOnly check at least one email gpg key (#2266)
Antoine GIRARD [Tue, 5 Sep 2017 13:45:18 +0000 (15:45 +0200)]
Only check at least one email gpg key (#2266)

* 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

7 years agoadd release notes of v1.1.4 (#2463)
Lunny Xiao [Tue, 5 Sep 2017 06:00:55 +0000 (14:00 +0800)]
add release notes of v1.1.4 (#2463)

7 years agoFix migration from pre-v15 to 1.2.0 (#2460)
Lauris BH [Tue, 5 Sep 2017 00:28:06 +0000 (03:28 +0300)]
Fix migration from pre-v15 to 1.2.0 (#2460)

7 years agoAdd changelog config file for generate changelog (#2461)
Lunny Xiao [Mon, 4 Sep 2017 10:07:57 +0000 (18:07 +0800)]
Add changelog config file for generate changelog (#2461)

7 years agobug fixed
Lunny Xiao [Mon, 4 Sep 2017 06:22:07 +0000 (14:22 +0800)]
bug fixed

7 years agoWebhooks for repo creation/deletion (#1663)
Ethan Koenig [Sun, 3 Sep 2017 08:20:24 +0000 (01:20 -0700)]
Webhooks for repo creation/deletion (#1663)

* Webhooks for repo creation/deletion

* add createHookTask

* Add handles for GetSlackPayload and GetDiscordPayload

7 years agoWrap most text to 80 columns (#2452)
Sandro Santilli [Sat, 2 Sep 2017 19:38:31 +0000 (21:38 +0200)]
Wrap most text to 80 columns (#2452)

7 years agofix orgnization webhooks (#2422)
Lunny Xiao [Wed, 30 Aug 2017 05:36:52 +0000 (13:36 +0800)]
fix orgnization webhooks (#2422)

* fix org webhooks

* remove trace code

7 years agosome refactors for issue and comments (#2419)
Lunny Xiao [Wed, 30 Aug 2017 04:31:33 +0000 (12:31 +0800)]
some refactors for issue and comments (#2419)

7 years agoWrap most paragraphs to 80 columns (#2396)
Sandro Santilli [Wed, 30 Aug 2017 01:27:23 +0000 (03:27 +0200)]
Wrap most paragraphs to 80 columns (#2396)

Reduces patches size and makes them more readable

7 years agofix webhook test (#2415)
Lunny Xiao [Tue, 29 Aug 2017 14:55:24 +0000 (22:55 +0800)]
fix webhook test (#2415)

* fix webhook test

* fix error message

* fix typo

7 years agoFix route handler order (#2409)
Ethan Koenig [Tue, 29 Aug 2017 06:53:51 +0000 (23:53 -0700)]
Fix route handler order (#2409)

* Fix route handler order

* Fix more routes

7 years agofix missing orgnization discord webhook (#2414)
Lunny Xiao [Tue, 29 Aug 2017 01:20:35 +0000 (09:20 +0800)]
fix missing orgnization discord webhook (#2414)

7 years agoUpdate CONTRIBUTING following #2329 discussion
Antoine GIRARD [Fri, 25 Aug 2017 13:13:54 +0000 (15:13 +0200)]
Update CONTRIBUTING following #2329  discussion

Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)

7 years agoFix releases to be counted from database not tags (#2389)
Lauris BH [Mon, 28 Aug 2017 14:06:10 +0000 (17:06 +0300)]
Fix releases to be counted from database not tags (#2389)

7 years agoError message for integration test (#2410)
Ethan Koenig [Mon, 28 Aug 2017 13:36:02 +0000 (06:36 -0700)]
Error message for integration test (#2410)

7 years agoFix tests code to prevent some runtime errors (#2381)
Morlinest [Mon, 28 Aug 2017 09:17:45 +0000 (11:17 +0200)]
Fix tests code to prevent some runtime errors (#2381)

* Fix tests code to prevent some runtime errors

* Reduce nesting

7 years agoImplementation of discord webhook (#2402)
Lunny Xiao [Mon, 28 Aug 2017 05:06:45 +0000 (13:06 +0800)]
Implementation of discord webhook (#2402)

* implementation of discord webhook

* fix webhooks

* fix typo and unnecessary color values

* fix typo

* fix imports and revert changes to webhook_slack.go

7 years agofix duplicated feed (#2370)
Lunny Xiao [Mon, 28 Aug 2017 02:26:04 +0000 (10:26 +0800)]
fix duplicated feed (#2370)

7 years agoFix "index out of range" runtime error in repo_list tests (#2376)
Morlinest [Mon, 28 Aug 2017 01:33:38 +0000 (03:33 +0200)]
Fix "index out of range" runtime error in repo_list tests (#2376)

7 years agoClarify Translation Process. Also fix branch names (#2378)
Kim "BKC" Carlbäcker [Mon, 28 Aug 2017 01:26:27 +0000 (03:26 +0200)]
Clarify Translation Process. Also fix branch names (#2378)

* Clarify Translation Process. Also fix branch names

* Update CONTRIBUTING.md

7 years agoAdd UseCompatSSHURI setting (#2356)
Manuel [Sat, 26 Aug 2017 13:57:41 +0000 (15:57 +0200)]
Add UseCompatSSHURI setting (#2356)

* 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>
7 years agoFix missing collabrative repos (#2367)
Lunny Xiao [Thu, 24 Aug 2017 14:01:03 +0000 (22:01 +0800)]
Fix missing collabrative repos (#2367)

* fix missing collabrative repos

* fix bug of collabrative

* fix SQL quotes

7 years agoAdd possibility to record branch or tag information in an issue (#780)
Zsombor [Thu, 24 Aug 2017 12:30:27 +0000 (14:30 +0200)]
Add possibility to record branch or tag information in an issue (#780)

7 years agoLog failed authentication attempts with remote address for fail2ban (#2334)
David Schneiderbauer [Thu, 24 Aug 2017 05:57:54 +0000 (07:57 +0200)]
Log failed authentication attempts with remote address for fail2ban (#2334)

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years agoFix integration test after librejs location change (#2374)
Sandro Santilli [Thu, 24 Aug 2017 05:54:06 +0000 (07:54 +0200)]
Fix integration test after librejs location change (#2374)

Fixes #2373

7 years agoMove themes to plugin directory. Fixes #2372 (#2375)
Michael Lustfield [Thu, 24 Aug 2017 05:52:42 +0000 (00:52 -0500)]
Move themes to plugin directory. Fixes #2372 (#2375)

7 years agoupdate translation from crowdin (#2368)
Lunny Xiao [Wed, 23 Aug 2017 15:17:25 +0000 (23:17 +0800)]
update translation from crowdin (#2368)

7 years agoMoved vendored js/css into `public/vendor` and documented sources (#1484) (#2241)
Michael Lustfield [Wed, 23 Aug 2017 14:58:05 +0000 (09:58 -0500)]
Moved vendored js/css into `public/vendor` and documented sources (#1484) (#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

7 years agoAdd more test for login links and fix a bug on action retrieve (#2361)
Lunny Xiao [Wed, 23 Aug 2017 09:53:35 +0000 (17:53 +0800)]
Add more test for login links and fix a bug on action retrieve (#2361)

* add more test for login links and fix a bug on action retrieve

7 years agoAdd integration tests for signin (#2363)
David Schneiderbauer [Wed, 23 Aug 2017 07:30:33 +0000 (09:30 +0200)]
Add integration tests for signin (#2363)

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years agoFix SQL condition bug in GetFeeds(..) (#2360)
Ethan Koenig [Wed, 23 Aug 2017 05:51:58 +0000 (22:51 -0700)]
Fix SQL condition bug in GetFeeds(..) (#2360)

7 years agofix bug on create repo link on dashboard (#2359)
Lunny Xiao [Wed, 23 Aug 2017 04:08:20 +0000 (12:08 +0800)]
fix bug on create repo link on dashboard (#2359)

7 years agoRevert "Changes for latest DroneCI (#2355)" (#2358)
Bo-Yi Wu [Wed, 23 Aug 2017 01:56:57 +0000 (20:56 -0500)]
Revert "Changes for latest DroneCI (#2355)" (#2358)

This reverts commit faf4b503b24d33a2a0f455d26bb782345ab8e0c9.

7 years agoAdd collaborative repositories to the dashboard (#2205)
Bwko [Wed, 23 Aug 2017 01:30:54 +0000 (03:30 +0200)]
Add collaborative repositories to the dashboard (#2205)

* Add collaborative repositories to the dashboard

Remove some unused code from the Dashboard func

* fix some bug and some refactor

* fix tests

7 years agoChanges for latest DroneCI (#2355)
Thomas Boerger [Wed, 23 Aug 2017 01:08:30 +0000 (03:08 +0200)]
Changes for latest DroneCI (#2355)

7 years agoRemove (almost) server side data rendering from repo-search component (#2317)
Morlinest [Tue, 22 Aug 2017 13:00:34 +0000 (15:00 +0200)]
Remove (almost) server side data rendering from repo-search component (#2317)

* Rename some shorthands

* Remove (almost) server side data rendering from repo-search component template

7 years agoupdate latest xorm version to vendor (#2353)
Lunny Xiao [Tue, 22 Aug 2017 11:39:52 +0000 (19:39 +0800)]
update latest xorm version to vendor (#2353)

7 years agoAdd badge and link to the Matrix room (#2348)
Silke [Mon, 21 Aug 2017 15:35:08 +0000 (17:35 +0200)]
Add badge and link to the Matrix room (#2348)

7 years agoImprove swagger doc (#2274)
Antoine GIRARD [Mon, 21 Aug 2017 11:13:47 +0000 (13:13 +0200)]
Improve swagger doc (#2274)

* Add swagger comment for adminCreateOrg

* Add swagger comment for admin route

* add hook swagger doc

* Add tags

* Add auth

* Fix name of responses

* Edit name method

* Update vendor

* make generate-swagger

7 years agoAdd INTERNAL_TOKEN to integration .ini file (#2346)
Sandro Santilli [Mon, 21 Aug 2017 06:47:23 +0000 (08:47 +0200)]
Add INTERNAL_TOKEN to integration .ini file (#2346)

Avoids override of source file upon running `make test-pgsql`

Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none
is found; the other ini files under integration/ all have an
INTERNAL_TOKEN

7 years agoFix order of elements in dashboard html (#2344)
Morlinest [Sun, 20 Aug 2017 19:48:41 +0000 (21:48 +0200)]
Fix order of elements in dashboard html (#2344)

7 years agoRemove integration test executables on `make clean` (#2340)
Sandro Santilli [Sun, 20 Aug 2017 03:09:24 +0000 (05:09 +0200)]
Remove integration test executables on `make clean` (#2340)

7 years agoAdd OpenID configuration in install page (#2276)
Sandro Santilli [Sat, 19 Aug 2017 15:34:49 +0000 (17:34 +0200)]
Add OpenID configuration in install page (#2276)

7 years agoNo error log entries for repo 404 (#2200)
Ethan Koenig [Sat, 19 Aug 2017 12:32:18 +0000 (05:32 -0700)]
No error log entries for repo 404 (#2200)

7 years agoAdd AppURL without trailing slash to TOTP issuer parameter to prevent conflicting...
David Schneiderbauer [Sat, 19 Aug 2017 01:39:43 +0000 (03:39 +0200)]
Add AppURL without trailing slash to TOTP issuer parameter to prevent conflicting accounts on multiple gitea installations (#2335)

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years agoFix repo-search template errors for go1.7 (#2336)
Morlinest [Sat, 19 Aug 2017 01:37:48 +0000 (03:37 +0200)]
Fix repo-search template errors for go1.7 (#2336)

7 years agoFix variable name typo (#2327)
Morlinest [Fri, 18 Aug 2017 11:21:46 +0000 (13:21 +0200)]
Fix variable name typo (#2327)

7 years agoAdd missing forks key for dashboard repository component (#2325)
Lauris BH [Fri, 18 Aug 2017 06:56:04 +0000 (09:56 +0300)]
Add missing forks key for dashboard repository component (#2325)

Missing key that is used in #2285

7 years agoMake use of Vue more universal (#2318)
Morlinest [Thu, 17 Aug 2017 16:04:39 +0000 (18:04 +0200)]
Make use of Vue more universal (#2318)

7 years agoAdd public links check (#2323)
Lunny Xiao [Thu, 17 Aug 2017 15:52:28 +0000 (23:52 +0800)]
Add public links check (#2323)

* add public links check

* more links for query parameters

7 years agofix template error on explore repos (#2319)
Lunny Xiao [Thu, 17 Aug 2017 12:20:21 +0000 (20:20 +0800)]
fix template error on explore repos (#2319)

7 years agoMake SHOW_USER_EMAIL also apply to profiles (#2258)
Michael Kuhn [Thu, 17 Aug 2017 09:08:03 +0000 (11:08 +0200)]
Make SHOW_USER_EMAIL also apply to profiles (#2258)

The e-mail address is currently only hidden from the explore page.

7 years agoTrigger sync webhooks on UI commit (#2302)
Ethan Koenig [Thu, 17 Aug 2017 07:22:08 +0000 (00:22 -0700)]
Trigger sync webhooks on UI commit (#2302)

* Trigger sync webhooks on UI commit

* Also fix UI upload/delete

7 years agoFix and improve dashboard repo UI (#2285)
Morlinest [Thu, 17 Aug 2017 01:31:34 +0000 (03:31 +0200)]
Fix and improve dashboard repo UI (#2285)

* Fix and improve dashboard repo UI

* Change order of scripts loading

* Remove "mirror" tab

* Remove single tab panel for "org user"

* Add localization strings

* Create vue component and change event for search

* Add "mirrors" filter

7 years agorefactor(Makefile): allow overriding default go program (#2310)
Bo-Yi Wu [Wed, 16 Aug 2017 00:46:41 +0000 (08:46 +0800)]
refactor(Makefile): allow overriding default go program (#2310)

7 years agoRevert to upstream ini dependency (#2304)
Ethan Koenig [Mon, 14 Aug 2017 13:37:41 +0000 (06:37 -0700)]
Revert to upstream ini dependency (#2304)

7 years agoMore tweaks to repo top panel (#2267)
silverwind [Sun, 13 Aug 2017 22:49:38 +0000 (00:49 +0200)]
More tweaks to repo top panel (#2267)

* More tweaks to repo top panel

* undo hiding of compare button on master

* attempt to fix ci issue

* another ci attempt

7 years agoFix rendering of external links (#2292)
Ethan Koenig [Sun, 13 Aug 2017 22:30:28 +0000 (15:30 -0700)]
Fix rendering of external links (#2292)

7 years agoUse /dev/urandom to create random password (#2298)
Pontus Leitzler [Sun, 13 Aug 2017 06:18:05 +0000 (08:18 +0200)]
Use /dev/urandom to create random password (#2298)

* Make sure generated password is random

Use /dev/urandom to get a 32 char password

* Make sure generated password is random

Use /dev/urandom to generate 32 char password

* Make sure generated password is random

7 years agoOnly update needed columns when update user (#2296)
Lunny Xiao [Sat, 12 Aug 2017 14:18:44 +0000 (22:18 +0800)]
Only update needed columns when update user (#2296)

* only update needed columns when update user

* fix missing update_unix column

7 years agofix 500 error when view an issue which's milestone deleted (#2297)
Lunny Xiao [Sat, 12 Aug 2017 02:15:30 +0000 (10:15 +0800)]
fix 500 error when view an issue which's milestone deleted (#2297)

7 years agofix webhook link
Lunny Xiao [Thu, 10 Aug 2017 23:51:25 +0000 (07:51 +0800)]
fix webhook link

7 years agoComment help text for issues (#2281)
Patrick G [Wed, 9 Aug 2017 04:13:33 +0000 (00:13 -0400)]
Comment help text for issues (#2281)

7 years agoTemporarily patch go-ini/ini with fork (#2255)
Ethan Koenig [Mon, 7 Aug 2017 01:42:48 +0000 (18:42 -0700)]
Temporarily patch go-ini/ini with fork (#2255)

7 years agoFile path tweaks in UI (#2264)
silverwind [Sun, 6 Aug 2017 03:13:20 +0000 (05:13 +0200)]
File path tweaks in UI (#2264)

7 years agoMake short link pattern greedy (#2259)
Michael Kuhn [Sat, 5 Aug 2017 21:52:19 +0000 (23:52 +0200)]
Make short link pattern greedy (#2259)

Multiple links on the same line are currently not recognized correctly.

7 years agoupdate drone sig file. (#2262)
Bo-Yi Wu [Sat, 5 Aug 2017 09:15:20 +0000 (17:15 +0800)]
update drone sig file. (#2262)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>