Commit Graph
100 Commits
Author SHA1 Message Date
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
Lunny XiaoandLauris 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 XiaoandLauris 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 XiaoandBo-Yi Wu 8fd43f215c Revert "Reduce number of layer" (#2086)
This reverts commit 789188f13c.
2017-06-30 01:10:37 -05:00
Lunny XiaoandKim "BKC" Carlbäcker 33f3165296 remove unnecessary blank lines and wrong error log 2017-06-28 19:00:08 +02:00
Lunny XiaoandBo-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 XiaoandGitHub f6450b8f92 remove deprecated code for Gogs compitable (#2041) 2017-06-23 14:29:53 +08:00
Lunny XiaoandGitHub 228247511a repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032) 2017-06-22 23:30:47 +08:00
Lunny XiaoandBo-Yi Wu 75b5be236a Display config file path on admin panel (#2030) 2017-06-22 08:21:56 -05:00
Lunny XiaoandGitHub 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 XiaoandGitHub e2ec4b7c23 fix bu ong normal user visit public repo (#1984) 2017-06-17 12:53:51 +08:00
Lunny XiaoandKim "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 XiaoandBo-Yi Wu 65b6301ea2 Change join chat from gitter to discord (#1929) 2017-06-10 07:40:56 -05:00
Lunny XiaoandGitHub 3b51da9dae resign drone and fix #1816 (#1819) 2017-05-26 23:08:38 +08:00
Lunny XiaoandBo-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 XiaoandBo-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 XiaoandGitHub 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 XiaoandGitHub bc299b8317 fix avatar update bug (#1729) 2017-05-16 08:36:09 +08:00
Lunny XiaoandKim "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 XiaoandBo-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 XiaoandBo-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 XiaoandGitHub 0f3923c4d7 fix potential lock when sqlite (#1647) 2017-05-05 08:47:03 +08:00
Lunny XiaoandGitHub 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 XiaoandBo-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 XiaoandGitHub 3ebbdfaa75 make openid support default false for compitable with v1.1 (#1650) 2017-05-02 00:27:53 +08:00
Lunny XiaoandBo-Yi Wu 0308d44a16 fix #1643 and improve integration test (#1645) 2017-04-30 13:08:09 +08:00
Lunny XiaoandGitHub 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 XiaoandGitHub 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 XiaoandKim "BKC" Carlbäcker 91d64656a4 update git which fixes #1133 (#1614) 2017-04-28 16:20:58 +02:00
Lunny XiaoandGitHub 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 XiaoandGitHub 6853bf323a fix #1521 (#1621) 2017-04-27 20:15:56 +08:00
Lunny XiaoandBo-Yi Wu e3c2963222 remove unused vendor packages (#1620) 2017-04-27 18:10:34 +08:00
Lunny XiaoandGitHub 3012971e92 fix bug on status API (#1533) 2017-04-24 22:33:54 +08:00
Lunny XiaoandKim "BKC" Carlbäcker 52627032bc Add markup package to prepare for org markup format (#1493) 2017-04-21 09:01:08 +02:00
Lunny XiaoandGitHub 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 XiaoandGitHub 42072783c9 support health check via / and fix #969 (#1520) 2017-04-20 20:14:21 +08:00
Lunny XiaoandGitHub a2d365c81f fix #1501 ssh hangs caused by #1461 (#1513) 2017-04-19 19:16:36 +08:00
Lunny XiaoandGitHub 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 XiaoandGitHub 5c0bee9b20 refactor update ssh key use time (#1466) 2017-04-07 17:40:38 -07:00
Lunny XiaoandGitHub 5acfc7c4bc fix migrate failed and org dashboard failed on MSSQL database (#1448) 2017-04-06 18:47:25 -07:00
Lunny XiaoandGitHub 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 XiaoandBo-Yi Wu d330a23ce1 fix migration failed when authorized_keys is not exist (#1180) 2017-03-23 00:04:31 +08:00
Lunny XiaoandGitHub 888dee3b5f fix delete user failed on sqlite (#1321) 2017-03-20 22:13:52 +08:00
Lunny XiaoandGitHub bd8fe49076 fix wiki bugs (#1294) 2017-03-20 21:36:19 +08:00
Lunny XiaoandKim "BKC" Carlbäcker 608cd54a68 fix gpg wrong column types 2017-03-20 02:55:07 +01:00
Lunny XiaoandGitHub 8bcb643a03 remove empty file (#1326) 2017-03-19 21:43:04 +08:00
Lunny XiaoandGitHub 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 XiaoandGitHub 3cf0e513e6 fix wrong log when push to a new branch (#1220) 2017-03-17 10:15:00 +08:00
Lunny XiaoandGitHub 1ccdf19fae fix forget migration for wiki hooks (#1227) 2017-03-13 14:27:29 +08:00
Lunny XiaoandGitHub be5738243c fix repo settings external tracker failed and check external urls (#1215) 2017-03-13 09:41:40 +08:00
Lunny XiaoandGitHub 608bbedee1 fix 500 caused by branches settings introduced by #1198 (#1214) 2017-03-12 21:50:26 +08:00
Lunny XiaoandGitHub 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 XiaoandGitHub f5476bdbb1 bug fixed for delete repo failed (#1193) 2017-03-10 22:05:53 +08:00
Lunny XiaoandGitHub 656efdc1c7 fix ini format incomiptable with crowdin (#1177) 2017-03-10 19:40:25 +08:00
Lunny XiaoandThomas Boerger 374f1ba41f update locale files to 2017-03-10 00:07 +08 (#1163) 2017-03-09 17:37:27 +01:00
Lunny XiaoandGitHub 60db7ed5ac fix scripts/mysql.sql from gogs to gitea (#1161) 2017-03-09 22:31:46 +08:00
Lunny XiaoandGitHub 626bcf0547 merge locale files from crowdin, updated to 2017-03-09 19:28 +08 (#1162) 2017-03-09 21:19:23 +08:00
Lunny XiaoandGitHub b40496533b fix leave team 404 (#1154) 2017-03-09 19:18:49 +08:00
Lunny XiaoandGitHub 5d40db629c fix random avatars (#1147) 2017-03-08 23:05:15 +08:00
Lunny XiaoandGitHub af9998b8a7 fix UI display problem when wiki name is non-ascii charset (#1142) 2017-03-08 08:34:22 +08:00
Lunny XiaoandGitHub fa41ddd3eb fix build failed on aarch64 (#1132) 2017-03-07 15:09:05 +08:00
Lunny XiaoandGitHub 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 XiaoandGitHub 0376029241 fix del org avatar potential delete all avtars (#1120) 2017-03-06 16:07:18 +08:00
Lunny XiaoandGitHub 7b64b2ddab fix install submit crash caused by xorm log (#1119) 2017-03-06 10:11:43 +08:00
Lunny XiaoandGitHub c1d5983d3e fix panic when get user repos from api (#1110) 2017-03-03 19:10:46 +08:00
Lunny XiaoandGitHub d2165a5890 fix compare button failed when there is no fork repos (#1104) 2017-03-03 16:53:59 +08:00
Lunny XiaoandGitHub 6bdfadf4a9 fix broken caused by boltdb in mips/mipsle (#1107) 2017-03-03 15:57:54 +08:00
Lunny XiaoandGitHub 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 XiaoandGitHub 341b3a0349 bug fix for dump when data directoryis not exist (#1025) 2017-03-02 17:41:33 +08:00
Lunny XiaoandGitHub 0380ce269f add back the default setting values and fix #739 (#1093) 2017-03-01 23:10:12 +08:00