Commit Graph
100 Commits
Author SHA1 Message Date
Lunny Xiaoandtechknowlogick 061b1aa2d4 update comparsion docs to add file viewer items (#4865) 2018-09-04 22:07:24 -04:00
Lunny Xiaoandtechknowlogick e48df3ee47 issues api allow pulls and fix #4832 (#4852) 2018-09-03 13:20:54 -04:00
Lunny XiaoandLauris BH 52c2cb15db add vendor to user reserved words and format words list according alphabet (#4685) 2018-08-13 08:02:18 +03:00
Lunny XiaoandLauris BH 8da45ae2b3 improve comparison to add issue dependency (#4658) 2018-08-10 08:22:07 +03:00
Lunny XiaoandGitHub 578cf52ce5 Site admin could create repos even MAX_CREATION_LIMIT=0 (#4645)
* site admin could create repos even MAX_CREATION_LIMIT=0

* Optimize if structure
2018-08-09 09:04:16 +08:00
Lunny XiaoandGitHub 9c354a539a fix bugs when too many IN variables (#4594) 2018-08-02 21:49:05 +08:00
Lunny XiaoandLauris BH 0bb1c84208 Add csv file render support defaultly (#4105)
* add csv file render support defaultly

* escaping csv column content
2018-07-21 00:08:15 +03:00
Lunny Xiaoandtechknowlogick d1337299e2 add valid for lfs oid (#4461) 2018-07-19 11:39:19 -04:00
Lunny XiaoandLauris BH 1675fc4301 add git timeout settings docs (#4383) 2018-07-06 08:49:37 +03:00
Lunny XiaoandLauris BH b46066f17c fix repository last updated time update when delete a user who watched the repo (#4363) 2018-07-05 00:47:05 +03:00
Lunny XiaoandLauris BH 3f0d9beece fix exclude files .sha265 to .sha256 (#4304) 2018-06-24 14:10:11 +03:00
Lunny Xiaoandtechknowlogick 406031d3cc fix bug when deleting a release (#4207) 2018-06-12 12:44:17 -04:00
Lunny Xiaoandtechknowlogick da898d4066 fix delete comment bug (#4216) 2018-06-11 18:54:30 -04:00
Lunny Xiaoandtechknowlogick ed51aa9c92 improve backup document and add zh-cn backup document (#4145) 2018-06-08 19:47:51 -04:00
Lunny XiaoandGitHub 5c95f7c7ce fix attachment ENABLED (#4064)
* fix attachment ENABLED

* change wrong name on app.ini.sample
2018-05-28 22:56:54 +08:00
Lunny XiaoandGitHub 3623f12a28 fix writer cannot read bare repo guide (#4033) 2018-05-24 22:28:53 +08:00
Lunny XiaoandGitHub 60d95a0b85 fix bugs caused by #3929 (#3999) 2018-05-23 15:23:23 +08:00
Lunny XiaoandGitHub 4ec8551490 fix webhook bug of response info is not displayed in UI (#4000) 2018-05-23 14:12:02 +08:00
Lunny XiaoandGitHub 6bdc556b7f Fix some webhooks bugs (#3981)
* fix some webhooks bugs

* update vendor

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

* fix test

* fix clearlabels

* fix pullrequest webhook bug fix #3492

* update release webhook description

* remove unused code

* fix push webhook in pull request

* small changes
2018-05-21 10:28:29 +08:00
Lunny XiaoandGitHub 24941a1046 Add more webhooks support and refactor webhook templates directory (#3929)
* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* update vendor

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

* load attributes when created release

* update comparsion doc
2018-05-16 22:01:55 +08:00
Lunny XiaoandGitHub c14870c5ac fix blank topic (#3948) 2018-05-11 16:15:18 +08:00
Lunny XiaoandBo-Yi Wu 071ca771fd Add opencollective badges on READMEs (#3808) 2018-04-17 17:10:34 +08:00
Lunny XiaoandGitHub bec69f702b Add topic support (#3711)
* add topic models and unit tests

* fix comments

* fix comment

* add the UI to show or add topics for a repo

* show topics on repositories list

* fix test

* don't show manage topics link when no permission

* use green basic as topic label

* fix topic label color

* remove trace content

* remove debug function
2018-04-11 10:51:44 +08:00
Lunny XiaoandGitHub d877bf7e15 Add config option to enable or disable log executed SQL (#3726)
* add config option to enable or disable log executed SQL

* rename ShowSQL to LogSQL
2018-03-30 22:49:46 +08:00
Lunny XiaoandGitHub 45d1fc03cb fix go vet error (#3740) 2018-03-30 07:21:27 +08:00
Lunny XiaoandGitHub 9e5d0a09eb Global code search support (#3664)
* add global code search on explore

* fix bug when no anyone public repos

* change the icon

* fix typo and add UnitTypeCode check for login non-admin user

* fix ui description when no match
2018-03-16 22:04:33 +08:00
Lunny XiaoandLauris BH 769ab1e424 fix gpg expired bug when time is zero (#3584) 2018-02-26 12:25:45 +02:00
Lunny XiaoandLauris BH 97fe773491 fix MSSQL bug on org (#3405) 2018-01-27 17:20:59 +02:00
Lunny XiaoandLauris BH 835b890329 fix bug when a user delete but assigned on issue (#3318) 2018-01-07 11:13:10 +02:00
Lunny XiaoandGitHub bf78c95d80 add external tool docs (#3301) 2018-01-06 05:28:31 -06:00
Lunny XiaoandLauris BH f5155b9913 Small improve on deleting attachements (#3145)
* Small improve on deleting attachements

* improve the sequence of deletion
2017-12-24 23:04:22 +02:00
Lunny XiaoandGitHub 529482135c Support default private when creating or migrating repository (#3239)
* support default private when creating or migrating repository

* fix fmt

* use string constants on repository default private in app.ini

* fix fmt
2017-12-20 06:59:56 -06:00
Lunny XiaoandGitHub f94c1b3943 Improvements for supporting UI Location (#3146)
* improvements for supporting UI Location

* improved the comment
2017-12-14 07:45:31 +08:00
Lunny XiaoandGitHub 00bfa1d055 fix run web with -p push failed (#3154) 2017-12-13 16:57:28 +08:00
Lunny XiaoandLauris BH 859b9ad7ea fix org owner cannot be removed if there is not in owner team (#3164) 2017-12-13 00:26:31 +02:00
Lunny XiaoandLauris BH e3f88719ab fix source download link when no code unit allowed (#3166) 2017-12-12 08:45:02 +02:00
Lunny XiaoandGitHub 3b525d5696 fix gpg tmpl (#3153) 2017-12-11 22:07:25 +08:00
Lunny XiaoandLauris BH 956354885a simple usage of x (#3144) 2017-12-11 09:16:23 +02:00
Lunny XiaoandLauris BH f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142)
* refactor struct's time to remove unnecessary memory usage

* use AsTimePtr simple code

* fix tests

* fix time compare

* fix template on gpg

* use AddDuration instead of Add
2017-12-11 06:37:04 +02:00
Lunny XiaoandLauris BH 41d6afe0e7 Fix compile failed without gcc (#3130)
* fix comile failed without gcc

* add sqlite tag for unit test
2017-12-10 16:08:19 +02:00
Lunny XiaoandLauris BH b8e45b1e19 Fix missing drone test on release/* (#3126)
* fix missing drone test on release/*

* remove test coverage on release/*
2017-12-09 12:17:40 +02:00
Lunny XiaoandGitHub 2738effddf fix redis cache failed (#3086) 2017-12-04 23:00:14 +08:00
Lunny XiaoandLauris BH ef5364950b fix issue list branch link broken (#3061) 2017-12-02 21:57:47 +02:00
Lunny XiaoandLauris BH b3d5ba6f90 Fix missing password length check when change password (#3039)
* fix missing password length check when change password

* add tests for change password
2017-12-02 19:11:22 +02:00
Lunny XiaoandGitHub 35cc5b0402 Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName (#3043)
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName

* fix tests

* fix tests bug

* some improvements
2017-12-02 15:34:39 +08:00
Lunny XiaoandLauris BH 9a8805d785 remove duplicated sanitize (#3037) 2017-11-30 21:38:33 +02:00
Lunny XiaoandLauris BH 13e59c8b7a remove unused variable (#3038) 2017-11-30 20:44:25 +02:00
Lunny XiaoandGitHub d517b56682 add notice for docker run gitea http port issue (#3020) 2017-11-30 19:18:35 +08:00
Lunny XiaoandLauris BH 061c501d54 Fix error when add user has full name to team (#2973)
* fix error when add user has full name to team

* add comment for extra uname check
2017-11-26 10:01:48 +02:00
Lunny XiaoandLauris BH 10b54df2b2 Add dingtalk webhook (#2777)
* add dingtalk webhook type

* add vendor

* some fixes

* fix name check

* fix name check & improvment
2017-11-21 06:26:43 +02:00
Lunny XiaoandLauris BH 84498301ca update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00
Lunny XiaoandLauris BH 62d0a4d882 Add external markup render support (#2570)
* add external markup render support

* bug fixed

* refacotr codes and fix wrong error log

* fix comments and add check to prevent leaks

* add check for config file and improve the example

* check file close error

* use ioutil.TempFile instead uuid

* correct Render -> Parser

* improve warning when incorrect markup setting

* fix typos
2017-11-07 08:33:06 +02:00
Lunny XiaoandGitHub cdc4600725 Fix fork repository cycle to self (#2860)
* fix fork repository cycle to self

* rename testForkRepo to traverseParentRepo
2017-11-06 12:12:55 +08:00
Lunny XiaoandLauris BH ff9daa3e9b fix click create pull request button 404 (#2859) 2017-11-05 21:11:35 +02:00
Lunny XiaoandKim "BKC" Carlbäcker f70758dec9 Add git clone test on integration test (#1682) 2017-11-02 18:51:03 +01:00
lunny 3217102516 '[skip ci] Updated translations via Crowdin' 2017-11-01 15:47:40 +00:00
Lunny XiaoandGitHub c7ade55d39 fix update-translations on drone (#2822) 2017-11-01 23:46:28 +08:00
lunny 1ccaddcfbb '[skip ci] Updated translations via Crowdin' 2017-11-01 12:53:57 +00:00
Lunny XiaoandGitHub de9915023d Fix wrong translations (#2818)
* fix wrong translations

* fix tab on yml
2017-11-01 20:52:48 +08:00
Lunny XiaoandLauris BH 9ddbbd9d5a improve force push detect when push (#2798) 2017-10-28 22:36:20 +03:00
Lunny Xiao 178bd498b9 fix imports 2017-10-25 13:30:29 +08:00
Lunny Xiao 219ca5cadb some fixes 2017-10-25 13:26:14 +08:00
Lunny XiaoandGitHub 796be03e9b fix discord hook bug (#2778) 2017-10-25 13:13:45 +08:00
Lunny XiaoandLauris BH 6eeadb2082 Hide unactive on explore users and some refactors (#2741)
* hide unactive on explore users and some refactors

* fix test for removed Organizations

* fix test for removed Organizations

* fix imports

* fix logic bug

* refactor the toConds

* Rename TestOrganizations to TestSearchUsers and add tests for users

* fix other tests

* fix other tests

* fix watchers tests

* fix comments and remove unused code
2017-10-24 20:36:19 +03:00
Lunny XiaoandGitHub 03900303a9 add default ssh ciphers (#2761) 2017-10-23 23:20:44 +08:00
Lunny XiaoandGitHub 985a39590b Use buffersize to reduce database connection when iterate (#2724)
* use buffersize to reduce database connection when iterate

* fix typo

* add default value on app.ini comment
2017-10-21 14:26:23 +08:00
Lunny XiaoandKim "BKC" Carlbäcker 9e865cee67 Merge password and 2fa page on user settings (#2695)
* merge password and 2fa page on user settings
2017-10-16 11:14:12 +02:00
Lunny XiaoandKim "BKC" Carlbäcker a75d5c72bb Fix plain readme didn't render correctly on repo home page (#2705)
* fix plain readme didn't render correctly on repo home page

* fix missing render

* remove unused template variables
2017-10-16 09:04:34 +02:00
Lunny XiaoandGitHub 514006a2e5 Fix orgnization user watch repository (#2670)
* remove orgnization watch repositories

* fix migration

* fix typo and missing change

* remove unused code
2017-10-14 22:37:43 +08:00
Lunny XiaoandLauris BH a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628)
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
2017-10-01 19:52:35 +03:00
Lunny XiaoandGitHub dd55534b82 Reduce usage of allcols on update (#2596)
* reduce usage of allcols on update

* fix bug and tests
2017-09-25 12:59:27 +08:00
Lunny XiaoandLauris BH 2ef8b8bcbe fix go get subpackage bug (#2584)
* fix go get subpackage bug

* merge the duplicated funtions
2017-09-23 16:24:24 +03:00
Lunny XiaoandLauris BH 1be2b4a262 fix readme view bug (#2566) 2017-09-21 21:24:19 +03:00
Lunny XiaoandGitHub 0d80af649a Add init support of orgmode document type on file view and readme (#2525)
* 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
2017-09-21 13:20:14 +08:00
Lunny XiaoandLauris BH 52e11b24bf 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
2017-09-16 20:17:57 +03:00
Lunny XiaoandGitHub 0f9e20b3d7 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>
2017-09-15 11:23:48 +08:00
Lunny XiaoandGitHub 1739e84ac0 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
2017-09-14 16:16:22 +08:00
Lunny XiaoandGitHub 9ef83a98e5 fix release (#2496) 2017-09-13 17:20:15 +08:00
Lunny XiaoandLauris BH 005900baea 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
2017-09-13 08:18:22 +03:00
Lunny XiaoandLauris BH 95c408ffa5 hide branch on pull request view or create UI (#2454) 2017-09-06 15:02:51 +03:00
Lunny XiaoandLauris BH 5f4210a9b0 add release notes of v1.1.4 (#2463) 2017-09-05 09:00:55 +03:00
Lunny XiaoandLauris BH 32238e0ac9 Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
Lunny Xiao caa61a2b99 bug fixed 2017-09-04 14:22:07 +08:00
Lunny XiaoandGitHub 04ec79579c fix orgnization webhooks (#2422)
* fix org webhooks

* remove trace code
2017-08-30 13:36:52 +08:00
Lunny XiaoandLauris BH 5de94a67cf some refactors for issue and comments (#2419) 2017-08-30 07:31:33 +03:00
Lunny XiaoandGitHub 3e6fed368b fix webhook test (#2415)
* fix webhook test

* fix error message

* fix typo
2017-08-29 22:55:24 +08:00
Lunny XiaoandGitHub 15d3872281 fix missing orgnization discord webhook (#2414) 2017-08-29 09:20:35 +08:00
Lunny XiaoandGitHub ced50e0ec1 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
2017-08-28 13:06:45 +08:00
Lunny XiaoandGitHub e41da3845d fix duplicated feed (#2370) 2017-08-28 10:26:04 +08:00
Lunny XiaoandGitHub f61a1d210c Fix missing collabrative repos (#2367)
* fix missing collabrative repos

* fix bug of collabrative

* fix SQL quotes
2017-08-24 22:01:03 +08:00
Lunny XiaoandGitHub 0fd9289810 update translation from crowdin (#2368) 2017-08-23 23:17:25 +08:00
Lunny XiaoandLauris BH 64b7068846 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
2017-08-23 12:53:35 +03:00
Lunny XiaoandGitHub 9413b48a0b fix bug on create repo link on dashboard (#2359) 2017-08-23 12:08:20 +08:00
Lunny XiaoandLauris BH 2c6a0fdca8 update latest xorm version to vendor (#2353) 2017-08-22 14:39:52 +03:00
Lunny XiaoandBo-Yi Wu 9e9e1e0e52 Add public links check (#2323)
* add public links check

* more links for query parameters
2017-08-17 23:52:28 +08:00
Lunny XiaoandLauris BH aec826b023 fix template error on explore repos (#2319) 2017-08-17 15:20:21 +03:00
Lunny XiaoandGitHub f960e19c59 Only update needed columns when update user (#2296)
* only update needed columns when update user

* fix missing update_unix column
2017-08-12 22:18:44 +08:00
Lunny XiaoandGitHub 921d90fd8b fix 500 error when view an issue which's milestone deleted (#2297) 2017-08-12 10:15:30 +08:00
Lunny XiaoandKim "BKC" Carlbäcker be29d5f7ad fix webhook link 2017-08-11 03:45:54 +02:00
Lunny XiaoandGitHub 4c54139afc add changelog of release v1.1.3 (#2252) 2017-08-03 16:15:39 +08:00