Lunny Xiao and GitHub
228247511a
repo/editor: fix breadcrumb path cuts parent dirs ( #3859 ) ( #2032 )
2017-06-22 23:30:47 +08:00
Lunny Xiao and Bo-Yi Wu
75b5be236a
Display config file path on admin panel ( #2030 )
2017-06-22 08:21:56 -05:00
Lunny Xiao and GitHub
d71fad2ab7
Fix #2001 and fix issue comments hidden ( #2016 )
...
* revert #2001 and fix issue comments hidden
* fix #2001
* fix import
* improve comment type
* reduce unnecessary join
* fix comment on FindCommentsOptions
2017-06-21 09:00:44 +08:00
Lunny Xiao and GitHub
e2ec4b7c23
fix bu ong normal user visit public repo ( #1984 )
2017-06-17 12:53:51 +08:00
Lunny Xiao and Kim "BKC" Carlbäcker
31b5e9177f
fix collborators lack of units on orgnization repositories ( #1968 )
...
* fix collborators lack of units on orgnization repositories
* also change log level to debug
2017-06-15 04:50:12 +02:00
Lunny Xiao and Bo-Yi Wu
65b6301ea2
Change join chat from gitter to discord ( #1929 )
2017-06-10 07:40:56 -05:00
Lunny Xiao and GitHub
3b51da9dae
resign drone and fix #1816 ( #1819 )
2017-05-26 23:08:38 +08:00
Lunny Xiao and Bo-Yi Wu
3611a3e552
fix bug to deny to add orgnization as a member of an orgnization or team ( #1815 )
2017-05-26 08:12:02 -05:00
Lunny Xiao and Bo-Yi Wu
19d889daa2
fix bug not to trim space of login username ( #1796 )
2017-05-25 00:12:00 +08:00
Lunny Xiao
6362462da8
fix admin lost permission caused by #947
2017-05-19 08:59:26 +08:00
Lunny Xiao and GitHub
fd6034aaf2
Add units to team ( #947 )
...
* add units to team
* fix lint
* finish team setting backend
* finished permission controll on routes
* fix import blank line
* add unit check on ssh/http pull and push and fix test failed
* fix fixtures data
* remove unused code
2017-05-18 22:54:24 +08:00
Lunny Xiao and GitHub
bc299b8317
fix avatar update bug ( #1729 )
2017-05-16 08:36:09 +08:00
Lunny Xiao and Kim "BKC" Carlbäcker
d98a86d2a2
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test ( #1693 )
2017-05-09 15:42:55 +02:00
Lunny Xiao and Bo-Yi Wu
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug ( #1689 )
2017-05-08 10:55:27 +08:00
Lunny Xiao and Bo-Yi Wu
930d1759ae
Remove env user salt since no need to use ( #1515 )
...
* remove env user salt since no need to use
* remove unused variable from update.go
2017-05-06 21:21:22 +08:00
Lunny Xiao
36f02c0c32
fix potential sqlite lock
2017-05-05 10:13:48 +08:00
Lunny Xiao and GitHub
0f3923c4d7
fix potential lock when sqlite ( #1647 )
2017-05-05 08:47:03 +08:00
Lunny Xiao and GitHub
1773e88643
Drop db operations from hook commands ( #1514 )
...
* move all database operations from hook command to web command and instead of internal routes
* bug fixed
* adjust the import path sequences
* remove unused return value on hookSetup
2017-05-04 13:42:02 +08:00
Lunny Xiao and Bo-Yi Wu
0d1e001b9c
fix multiple readme file rendering and fix #1657 ( #1658 )
...
* fix multiple readme file rendering and fix #1657
* remove unnecessary loop
2017-05-02 16:57:54 +08:00
Lunny Xiao and GitHub
3ebbdfaa75
make openid support default false for compitable with v1.1 ( #1650 )
2017-05-02 00:27:53 +08:00
Lunny Xiao and Bo-Yi Wu
0308d44a16
fix #1643 and improve integration test ( #1645 )
2017-04-30 13:08:09 +08:00
Lunny Xiao and GitHub
e31c02d4bf
fix bug on issue view when not login ( #1624 )
...
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
2017-04-29 13:52:25 +08:00
Lunny Xiao and GitHub
61b08b5c01
bug fixed for API to get user's repos ( #1622 )
...
* bug fixed for API to get user's repos
* add tests and fix another place
* test user2 since user1 has no repos
2017-04-29 12:33:25 +08:00
Lunny Xiao and Kim "BKC" Carlbäcker
91d64656a4
update git which fixes #1133 ( #1614 )
2017-04-28 16:20:58 +02:00
Lunny Xiao and GitHub
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests ( #1627 )
...
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
2017-04-28 21:23:28 +08:00
Lunny Xiao and GitHub
6853bf323a
fix #1521 ( #1621 )
2017-04-27 20:15:56 +08:00
Lunny Xiao and Bo-Yi Wu
e3c2963222
remove unused vendor packages ( #1620 )
2017-04-27 18:10:34 +08:00
Lunny Xiao and GitHub
3012971e92
fix bug on status API ( #1533 )
2017-04-24 22:33:54 +08:00
Lunny Xiao and Kim "BKC" Carlbäcker
52627032bc
Add markup package to prepare for org markup format ( #1493 )
2017-04-21 09:01:08 +02:00
Lunny Xiao and GitHub
f0db3da713
fix go get sub package and add domain on installation to let go get work defaultly ( #1518 )
...
* fix go get sub package and add domain on installation to let go get work defaultly
* fix import sequence
* fix .git problem
2017-04-21 10:43:29 +08:00
Lunny Xiao and GitHub
42072783c9
support health check via / and fix #969 ( #1520 )
2017-04-20 20:14:21 +08:00
Lunny Xiao and GitHub
a2d365c81f
fix #1501 ssh hangs caused by #1461 ( #1513 )
2017-04-19 19:16:36 +08:00
Lunny Xiao and GitHub
2eeae84cbd
Add internal routes for ssh hook comands ( #1471 )
...
* add internal routes for ssh hook comands
* fix lint
* add comment on why package named private not internal but the route name is internal
* add comment above package private why package named private not internal but the route name is internal
* remove exp time on internal access
* move routes from /internal to /api/internal
* add comment and defer on UpdatePublicKeyUpdated
2017-04-19 11:45:01 +08:00
Lunny Xiao and GitHub
5c0bee9b20
refactor update ssh key use time ( #1466 )
2017-04-07 17:40:38 -07:00
Lunny Xiao and GitHub
5acfc7c4bc
fix migrate failed and org dashboard failed on MSSQL database ( #1448 )
2017-04-06 18:47:25 -07:00
Lunny Xiao and GitHub
cf6699fb4f
fix gpg API panic when no verification ( #1451 )
...
* fix gpg API panic when no verification
* fix if condition
2017-04-06 18:40:05 -07:00
Lunny Xiao and Bo-Yi Wu
d330a23ce1
fix migration failed when authorized_keys is not exist ( #1180 )
2017-03-23 00:04:31 +08:00
Lunny Xiao and GitHub
888dee3b5f
fix delete user failed on sqlite ( #1321 )
2017-03-20 22:13:52 +08:00
Lunny Xiao and GitHub
bd8fe49076
fix wiki bugs ( #1294 )
2017-03-20 21:36:19 +08:00
Lunny Xiao and Kim "BKC" Carlbäcker
608cd54a68
fix gpg wrong column types
2017-03-20 02:55:07 +01:00
Lunny Xiao and GitHub
8bcb643a03
remove empty file ( #1326 )
2017-03-19 21:43:04 +08:00
Lunny Xiao and GitHub
ebbcf6fe12
Allow push to init a wiki repo ( #1279 )
...
* allow push to init a wiki repo
* compact error check
2017-03-17 12:59:42 +08:00
Lunny Xiao and GitHub
3cf0e513e6
fix wrong log when push to a new branch ( #1220 )
2017-03-17 10:15:00 +08:00
Lunny Xiao and GitHub
1ccdf19fae
fix forget migration for wiki hooks ( #1227 )
2017-03-13 14:27:29 +08:00
Lunny Xiao and GitHub
be5738243c
fix repo settings external tracker failed and check external urls ( #1215 )
2017-03-13 09:41:40 +08:00
Lunny Xiao and GitHub
608bbedee1
fix 500 caused by branches settings introduced by #1198 ( #1214 )
2017-03-12 21:50:26 +08:00
Lunny Xiao and GitHub
74cde12677
Fix upgrade failed after ever rollback ( #1194 )
...
* fix upgrade failed after rollback
* fix upgrade failed after rollback
* fix possible upgrade twice fail after rollback
2017-03-10 23:43:51 +08:00
Lunny Xiao and GitHub
f5476bdbb1
bug fixed for delete repo failed ( #1193 )
2017-03-10 22:05:53 +08:00
Lunny Xiao and GitHub
656efdc1c7
fix ini format incomiptable with crowdin ( #1177 )
2017-03-10 19:40:25 +08:00
Lunny Xiao and Thomas Boerger
374f1ba41f
update locale files to 2017-03-10 00:07 +08 ( #1163 )
2017-03-09 17:37:27 +01:00
Lunny Xiao and GitHub
60db7ed5ac
fix scripts/mysql.sql from gogs to gitea ( #1161 )
2017-03-09 22:31:46 +08:00
Lunny Xiao and GitHub
626bcf0547
merge locale files from crowdin, updated to 2017-03-09 19:28 +08 ( #1162 )
2017-03-09 21:19:23 +08:00
Lunny Xiao and GitHub
b40496533b
fix leave team 404 ( #1154 )
2017-03-09 19:18:49 +08:00
Lunny Xiao and GitHub
5d40db629c
fix random avatars ( #1147 )
2017-03-08 23:05:15 +08:00
Lunny Xiao and GitHub
af9998b8a7
fix UI display problem when wiki name is non-ascii charset ( #1142 )
2017-03-08 08:34:22 +08:00
Lunny Xiao and GitHub
fa41ddd3eb
fix build failed on aarch64 ( #1132 )
2017-03-07 15:09:05 +08:00
Lunny Xiao and GitHub
2215840363
fix avatar bug #1114 ( #1122 )
...
This PR fix the avatar bug described in #1114 . This will fix random avatar is blank problem and potential delete avatars dir problem.
2017-03-06 16:15:40 +08:00
Lunny Xiao and GitHub
0376029241
fix del org avatar potential delete all avtars ( #1120 )
2017-03-06 16:07:18 +08:00
Lunny Xiao and GitHub
7b64b2ddab
fix install submit crash caused by xorm log ( #1119 )
2017-03-06 10:11:43 +08:00
Lunny Xiao and GitHub
c1d5983d3e
fix panic when get user repos from api ( #1110 )
2017-03-03 19:10:46 +08:00
Lunny Xiao and GitHub
d2165a5890
fix compare button failed when there is no fork repos ( #1104 )
2017-03-03 16:53:59 +08:00
Lunny Xiao and GitHub
6bdfadf4a9
fix broken caused by boltdb in mips/mipsle ( #1107 )
2017-03-03 15:57:54 +08:00
Lunny Xiao and GitHub
ef13bbaf7d
Don't rewrite non-gitea public keys ( #906 )
...
* don't rewrite non-gitea public keys
* add comment for public key
2017-03-03 00:36:47 +08:00
Lunny Xiao and GitHub
341b3a0349
bug fix for dump when data directoryis not exist ( #1025 )
2017-03-02 17:41:33 +08:00
Lunny Xiao and GitHub
0380ce269f
add back the default setting values and fix #739 ( #1093 )
2017-03-01 23:10:12 +08:00
Lunny Xiao and GitHub
cfdc62e7fa
Comment force push detect to fix bug #1073 ( #1077 )
...
* umcomment force push detect to fix bug #1073
* fix #1086
* handle global config set and fix #1086
2017-03-01 23:01:03 +08:00
Lunny Xiao and GitHub
9cb08a3cf5
fix wrong num of user repos because of duplicated click delete button & performance optimization ( #1092 )
2017-03-01 12:05:45 +08:00
Lunny Xiao and GitHub
c2eef171ff
fix some typos ( #1082 )
2017-02-28 12:56:15 +08:00
Lunny Xiao and GitHub
9084bdd863
fix push ( #1076 )
2017-02-27 14:24:58 +08:00
Lunny Xiao and GitHub
50918084bb
remove unused struct ( #1062 )
2017-02-27 09:49:05 +08:00
Lunny Xiao and GitHub
e4134debd1
Remove unused vars ( #1063 )
...
* remove unused vars
* remove unused comment
2017-02-27 09:22:15 +08:00
Lunny Xiao and GitHub
32faec00e6
move all repo list functions as a standalone file ( #1061 )
2017-02-27 08:45:03 +08:00
Lunny Xiao and GitHub
d4e38cf129
fix setMerged for remove unnecessary db connection ( #1067 )
2017-02-27 08:42:55 +08:00
Lunny Xiao and GitHub
522f194983
Bug fixed for org avatar caused by #1049 ( #1070 )
...
* bug fixed for org avatar caused by #1049
* use isfile only
2017-02-27 08:42:22 +08:00
Lunny Xiao and GitHub
a5ac4c64fc
refactor api issues load attributes for better performance ( #1066 )
2017-02-27 08:36:42 +08:00
Lunny Xiao and GitHub
35548a9d4e
remove unused fixme on dump command ( #1065 )
2017-02-26 16:01:49 +08:00
Lunny Xiao and GitHub
80f900ebae
Fix avatar enumable ( #1049 )
...
* fix avatar enumable
* fix import style
2017-02-25 22:58:57 +08:00
Lunny Xiao and GitHub
19b3c45ca7
fix 500 when use a duplicat email instead of giving an error tip ( #1040 )
2017-02-25 22:57:06 +08:00
Lunny Xiao and GitHub
cd1821a7e2
Move push update to post-receive and protected branch check to pre-receive ( #1030 )
...
* move all push update to git hook post-receive and protected branch check to git hook pre-receive
* add SSH_ORIGINAL_COMMAND check back
* remove all unused codes
* fix the import
2017-02-25 22:54:40 +08:00
Lunny Xiao and GitHub
e8e56da9ac
fix #13 ( #1042 )
2017-02-25 22:53:57 +08:00
Lunny Xiao and GitHub
fc4f7e82f9
refactor for searching user ( #1038 )
...
* refactor for searching user
* fix like bug
* better format for builder cond
2017-02-25 21:42:20 +08:00
Lunny Xiao and GitHub
8894f856de
fix 500 when change user setting email to an exist email ( #1039 )
2017-02-25 21:39:52 +08:00
Lunny Xiao and GitHub
c0ea3963be
fix delete repo will hang on postgres ( #1044 )
2017-02-24 23:19:13 +08:00
Lunny Xiao and GitHub
12e71e5706
Removed footer copyright year ( #829 )
...
* change footer copyright year from 2016 to 2017
* add 2016 copyright back
* remove the copyright year
2017-02-24 16:21:45 +08:00
Lunny Xiao and GitHub
d077fd084a
added missing new struct sync ( #1021 )
2017-02-23 15:05:37 +08:00
Lunny Xiao and GitHub
0e6b9ea786
Take back control of hooks ( #1006 )
...
* git: delegate all server-side Git hooks (#1623 )
* create hooks directories
* take control hooks back
* fix lint
* bug fixed and minor changes
* fix imports style
* fix migration scripts
2017-02-23 11:40:44 +08:00
Lunny Xiao and GitHub
1f7837d6d6
Refactor for issues loadattributes of a repository ( #971 )
...
* refactor for issues loadattributes of a repository
* refactors
2017-02-22 22:03:59 +08:00
Lunny Xiao and GitHub
d6748284bd
fix panic when push but the only log mode console is disabled by serv and update commands ( #1007 )
2017-02-22 19:44:51 +08:00
Lunny Xiao and GitHub
70ae6d197b
disable console output xorm log on ssh ( #993 )
2017-02-21 21:34:05 +08:00
Lunny Xiao and GitHub
c5f8b96dda
update xorm for fixing bug on processor BeforeSet and AfterSet when Find a map ( #987 )
2017-02-20 19:33:10 +08:00
Lunny Xiao and GitHub
04fdeb9d8d
Make Xorm log configurable ( #174 )
...
* make xorm log configable
* bug fixed for other sub commands except web
* rebase and fix xorm log
* bug fix for TrimSpace
2017-02-20 16:11:13 +08:00
Lunny Xiao and GitHub
c2c27891c9
add release cycle to contributing ( #949 )
2017-02-19 23:23:37 +08:00
Lunny Xiao and GitHub
b8f70a27a5
Security: fix XSS attack on alert ( #973 )
2017-02-19 19:18:06 +08:00
Lunny Xiao and GitHub
6076c95dd1
Security: fix XSS attack on milestone ( #976 )
...
Reported by Miguel Ángel Jimeno.
2017-02-19 19:09:59 +08:00
Lunny Xiao and GitHub
dbe6d2ff8e
fix docker link on install page ( #964 )
2017-02-18 22:19:51 +08:00
Lunny Xiao and GitHub
847527fd6d
Fix all the bugs in issues and pulls on dashboard ( #943 )
...
* fix all the bugs in issues and pulls on dashboard
* small fix and refactor
* add method getRepoIDs for IssueList
2017-02-17 08:58:19 +08:00
Lunny Xiao and GitHub
7fd14bf7bd
optimization for team get repos ( #953 )
2017-02-16 12:07:58 +08:00
Lunny Xiao and GitHub
46320f9630
refactor notificationsForUser since xorm In support slice of customerize type ( #956 )
2017-02-16 12:07:00 +08:00
Lunny Xiao and GitHub
0642cb330c
Small opitimization for getUserTeams ( #954 )
...
* Small opitimization for getUserTeams
* more compact
2017-02-16 12:06:23 +08:00
Lunny Xiao and GitHub
837d346090
fix some older Gogs upgrade to Gitea ( #929 )
2017-02-15 09:32:03 +08:00