Lunny Xiao
7a9a5c8a69
Fix assigned issues dashboard ( #920 )
...
* Fix assigned/created issues in dashboard. (#3560 )
* Fix assigned/created issues in dashboard.
* Use GetUserIssueStats for getting all Dashboard stats.
* Use gofmt to format the file properly.
* Replace &Issue{} with new(Issue).
* Check if user has access to given repository.
* Remove unnecessary filtering of issues.
* Return 404 error if invalid repository is given.
* Use correct number of issues in paginater.
* fix issues on dashboard
2017-02-14 22:15:18 +08:00
Lunny Xiao
3a91ac51a9
fix bug of multiple forks ( #928 )
2017-02-14 22:14:29 +08:00
Bo-Yi Wu
d67b278a0d
feat: Able to disable non-admin to create new organization ( #927 )
2017-02-14 20:16:00 +08:00
Bo-Yi Wu
23aba523b5
feat: support search bar on star tab of user profile. ( #917 )
...
* feat: support search bar on star tab of user profile.
* fix: update testing.
* fix: Using loadAttributes
* fix: remove empty line.
* remove LOWER
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-02-14 15:28:22 +08:00
Lunny Xiao
7eb8daffa3
Use fingerprint to check instead content for public key ( #911 )
...
* use fingerprint to check instead content for public key
* add fingerprint field for ErrKeyAlreadyExist
2017-02-14 14:12:52 +08:00
Lunny Xiao
55ae78208e
Small optimization for getTeamIDs ( #919 )
...
* small optimization for getTeamIDs
* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
2017-02-14 11:46:46 +08:00
Bo-Yi Wu
1ec6b1a258
fix: gofmt error. ( #918 )
2017-02-14 10:12:03 +08:00
Andrew Boyarshin
dc8248f8a4
Markdown rendering overhaul ( #186 )
...
* Markdown rendering overhaul
Cleaned up and squashed commits into single one.
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix markdown API, add markdown module and API tests, improve code coverage
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
2017-02-14 09:13:59 +08:00
Bo-Yi Wu
5cc275b1de
feat: add git version on admin panel. ( #921 )
2017-02-13 19:49:42 +08:00
Kim "BKC" Carlbäcker
091f063706
Add import-styleguide to Contributing.md ( #912 )
...
* Add import-styleguide to Contributing.md
Question: should we group all `code.gitea.io`-packages together as local imports? (including `code.gitea.io/sdk` and `code.gitea.io/git` etc)
* reorg
* be specific FFS
2017-02-13 10:35:57 +08:00
Andrey Nering
05157808de
Fix HighlightJS not working on compare diff page ( #914 )
2017-02-13 10:11:08 +08:00
Sandro Santilli
9b4f6c1c32
Handle SetModel error, fixes one errcheck report ( #257 )
2017-02-12 09:53:46 +01:00
Ethan Koenig
076f940f1f
Fix logging bug
...
Error logged everytime an assignee was removed
2017-02-12 08:54:15 +01:00
Lunny Xiao
d76f34ef51
small optimization for get issue labels
2017-02-12 06:46:51 +01:00
Andrew
3f67676059
Implement basic Open Graph support. ( #901 )
2017-02-11 20:57:33 +08:00
Lunny Xiao
8a0be5e9f0
Bug fixed for deleted label in issue comment ( #904 )
...
* bug fixed for deleted label in issue comment
* fix indent
2017-02-11 20:56:57 +08:00
Morgan Bazalgette
442145dbd3
Fix public activity showing private repos ( #892 )
...
* Fix public activity showing private repos (#811 )
Signed-off-by: Morgan Bazalgette <the@howl.moe>
* error check after setting is_private to true
* Add test for UpdateRepository w/ visibility change
2017-02-11 18:57:57 +08:00
Andrew
a36a8f4d72
Add missing copyright header to status table test ( #902 )
2017-02-11 17:53:47 +08:00
Andrew
42835c7f82
Implement archive cleanup ( #885 )
...
* Implement archive cleanup
Fixes #769
Signed-off-by: Andrew <write@imaginarycode.com>
* Make sure to close the directory file
* Resolve issues noted by @strk
* edit cheatsheet app.ini [ci skip]
* oops [ci skip]
2017-02-11 12:00:46 +08:00
Lunny Xiao
cf0f451c37
Add delete branch track on pull request comments ( #888 )
...
* add delete branch track on pull request comments
* don't change vendor
2017-02-11 12:00:29 +08:00
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
2017-02-11 12:00:01 +08:00
Lunny Xiao
55f2059f71
add vendoring back ( #890 )
2017-02-11 11:55:22 +08:00
Lunny Xiao
284c0160c3
update xorm vendor and also fix #740 ( #886 )
2017-02-10 23:02:26 +08:00
Ethan Koenig
2f13d31ff0
Fix bug in repos search ( #884 )
2017-02-10 09:30:26 +08:00
Lunny Xiao
b6dd6210ea
bug fixed for issue count ( #881 )
2017-02-09 17:59:57 +08:00
Bo-Yi Wu
40f4377717
feat: fill in ssh key title automatically. ( #863 )
2017-02-09 17:58:04 +08:00
Ethan Koenig
a6751cec04
Unit tests for issue_milestone ( #878 )
2017-02-09 14:39:26 +08:00
Andrew
1da7dd3da9
Improve status table implementation ( #879 )
...
* Remove superfluous defer calls
* Improve status table implementation as well
This would probably only help with large, high-traffic installs
2017-02-09 14:39:06 +08:00
Ethan Koenig
13973348df
Gogs -> Gitea ( #877 )
2017-02-09 13:44:18 +08:00
Ethan Koenig
e6b4448ba3
Fix bug in Issue.GetIsRead ( #876 )
2017-02-09 11:47:24 +08:00
Andrey Nering
e4031b822a
Makefile: install on build ( #874 )
...
This install Go package on building for caching and faster builds
2017-02-09 11:11:04 +08:00
Lunny Xiao
c5887b0f28
fix watchers templates breaks ( #870 )
2017-02-08 22:13:48 +08:00
Bo-Yi Wu
a195c3fabe
fix: Admin can also search private user repository. ( #869 )
2017-02-08 17:35:59 +08:00
Ethan Koenig
181c8d9c99
Fix consistency check ( #866 )
2017-02-08 14:29:21 +08:00
Ethan Koenig
d2329e1c26
Use assert in legacy unit tests ( #867 )
2017-02-08 14:29:07 +08:00
Sandro Santilli
23a7527e04
Allow rendering alerts in dashboard ( #856 )
...
NOTE: useful when logging in via OpenID and connecting to user
2017-02-08 09:37:23 +08:00
Lunny Xiao
45a324b437
fix releases count and resolved #764 ( #857 )
2017-02-07 23:38:24 +08:00
Lunny Xiao
02a881aa32
show tags on dashboard issues ( #860 )
2017-02-07 23:33:18 +08:00
Sandro Santilli
ed096186a7
social_register_hepler_msg -> social_register_helper_msg ( #855 )
...
* social_register_hepler_msg -> social_register_helper_msg
* register_hepler_msg -> register_helper_msg
2017-02-07 23:30:20 +08:00
Ethan Koenig
5fbab97373
Fix broken test fixture ( #859 )
2017-02-07 22:49:37 +08:00
José Olivio M. Pedrosa
78544f827b
Update pt-BR translations ( #840 )
...
* Update pt-BR translations
* Minor updates to translations
* Change "Pull Request" to "pull request".
* Change "Problemas" to "Issues" to keep consistency.
* Change "Propriedade" to "propriedade".
* Change "Wiki" to "wiki".
* Rename "questão" to "issue".
* Update almost all the strings from "[action]" section.
* Added new pt-BR translations
2017-02-07 22:32:34 +08:00
Bo-Yi Wu
b13232f524
feat: support paginater on star tab of user profile. ( #845 )
2017-02-07 19:54:16 +08:00
Ethan Koenig
ceae143e78
Consistency checks for unit tests ( #853 )
2017-02-07 19:47:55 +08:00
Stephen Brown
94130da63a
Fixes #794 by moving emoji tag to the correct span ( #848 )
...
Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
2017-02-06 23:24:59 +08:00
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
2017-02-06 23:18:36 +08:00
Andrew
76969a5671
Minor English language file tweaks ( #852 )
...
* Minor language file tweaks (largely fixing awkward grammar).
Signed-off-by: Tux <write@imaginarycode.com>
* Modify federated_avatar_lookup_popup message
2017-02-06 23:17:18 +08:00
Andrey Nering
7ab4ddad1c
Merge pull request #850 from ethantkoenig/fix/fixtures
...
Fix inconsistencies in unit test fixtures
2017-02-06 07:14:53 -02:00
Ethan Koenig
438e1a7d46
Fix inconsistencies in unit test fixtures
2017-02-05 22:43:31 -05:00
Zsombor
e388db311b
Add checkbox to search for all the branches by commit message ( #813 )
...
and updating the vendor directory
2017-02-05 22:43:28 +08:00
Lunny Xiao
f35b20b042
track issue title changes ( #841 )
2017-02-05 22:36:00 +08:00