Lunny Xiao and Lauris 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 Xiao and GitHub
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 Xiao and Lauris BH
ff9daa3e9b
fix click create pull request button 404 ( #2859 )
2017-11-05 21:11:35 +02:00
Lunny Xiao and Kim "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 Xiao and GitHub
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 Xiao and GitHub
de9915023d
Fix wrong translations ( #2818 )
...
* fix wrong translations
* fix tab on yml
2017-11-01 20:52:48 +08:00
Lunny Xiao and Lauris 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 Xiao and GitHub
796be03e9b
fix discord hook bug ( #2778 )
2017-10-25 13:13:45 +08:00
Lunny Xiao and Lauris 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 Xiao and GitHub
03900303a9
add default ssh ciphers ( #2761 )
2017-10-23 23:20:44 +08:00
Lunny Xiao and GitHub
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 Xiao and Kim "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 Xiao and Kim "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 Xiao and GitHub
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 Xiao and Lauris 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 Xiao and GitHub
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 Xiao and Lauris 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 Xiao and Lauris BH
1be2b4a262
fix readme view bug ( #2566 )
2017-09-21 21:24:19 +03:00
Lunny Xiao and GitHub
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 Xiao and Lauris 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 Xiao and GitHub
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 Xiao and GitHub
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 Xiao and GitHub
9ef83a98e5
fix release ( #2496 )
2017-09-13 17:20:15 +08:00
Lunny Xiao and Lauris 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 Xiao and Lauris BH
95c408ffa5
hide branch on pull request view or create UI ( #2454 )
2017-09-06 15:02:51 +03:00
Lunny Xiao and Lauris BH
5f4210a9b0
add release notes of v1.1.4 ( #2463 )
2017-09-05 09:00:55 +03:00
Lunny Xiao and Lauris 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 Xiao and GitHub
04ec79579c
fix orgnization webhooks ( #2422 )
...
* fix org webhooks
* remove trace code
2017-08-30 13:36:52 +08:00
Lunny Xiao and Lauris BH
5de94a67cf
some refactors for issue and comments ( #2419 )
2017-08-30 07:31:33 +03:00
Lunny Xiao and GitHub
3e6fed368b
fix webhook test ( #2415 )
...
* fix webhook test
* fix error message
* fix typo
2017-08-29 22:55:24 +08:00
Lunny Xiao and GitHub
15d3872281
fix missing orgnization discord webhook ( #2414 )
2017-08-29 09:20:35 +08:00
Lunny Xiao and GitHub
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 Xiao and GitHub
e41da3845d
fix duplicated feed ( #2370 )
2017-08-28 10:26:04 +08:00
Lunny Xiao and GitHub
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 Xiao and GitHub
0fd9289810
update translation from crowdin ( #2368 )
2017-08-23 23:17:25 +08:00
Lunny Xiao and Lauris 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 Xiao and GitHub
9413b48a0b
fix bug on create repo link on dashboard ( #2359 )
2017-08-23 12:08:20 +08:00
Lunny Xiao and Lauris BH
2c6a0fdca8
update latest xorm version to vendor ( #2353 )
2017-08-22 14:39:52 +03:00
Lunny Xiao and Bo-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 Xiao and Lauris BH
aec826b023
fix template error on explore repos ( #2319 )
2017-08-17 15:20:21 +03:00
Lunny Xiao and GitHub
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 Xiao and GitHub
921d90fd8b
fix 500 error when view an issue which's milestone deleted ( #2297 )
2017-08-12 10:15:30 +08:00
Lunny Xiao and Kim "BKC" Carlbäcker
be29d5f7ad
fix webhook link
2017-08-11 03:45:54 +02:00
Lunny Xiao and GitHub
4c54139afc
add changelog of release v1.1.3 ( #2252 )
2017-08-03 16:15:39 +08:00
Lunny Xiao and Lauris BH
a9cc538ab5
remove unused variable on makefile ( #2225 )
2017-07-29 12:22:10 +03:00
Lunny Xiao
04c4028aea
fix some bug
2017-07-28 13:49:36 +08:00
Lunny Xiao and Lauris BH
dde9a8648e
Add make command update-translations for update translations from crodwin ( #2097 )
...
* add make command update-translations for update translations from crowdin to options/locale
* use curl & resolve double quote on make file
2017-07-03 16:37:00 +03:00
Lunny Xiao and Bo-Yi Wu
8fd43f215c
Revert "Reduce number of layer" ( #2086 )
...
This reverts commit 789188f13c .
2017-06-30 01:10:37 -05:00
Lunny Xiao and Kim "BKC" Carlbäcker
33f3165296
remove unnecessary blank lines and wrong error log
2017-06-28 19:00:08 +02:00
Lunny Xiao and Bo-Yi Wu
09cb999145
add missing lfs config on example file ( #2039 )
...
* add missing lfs config on example file
* leveal jwt secret empty
2017-06-23 03:39:17 -05:00
Lunny Xiao and GitHub
f6450b8f92
remove deprecated code for Gogs compitable ( #2041 )
2017-06-23 14:29:53 +08:00
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