1278 Commits (587d870f1edc51bf86bd0c213424d418702c9a24)

Author SHA1 Message Date
Unknwon 4438b7793b Add new config option for builtin SSH server
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
8 years ago
Unknwon baaf6046a1 Minor fix for #2660 8 years ago
Josh Frye c27038e392 Test mailer button. Addresses #1531 8 years ago
Martin Hartkorn 51f15880d1 Call PushToBaseRepo() also on Pull Request creation and not only on git push 8 years ago
Unknwon 912f7b51e9 #1821 add actions for close and reopen issues 8 years ago
Unknwon d5a3021a7d Make markdown as an independent module 8 years ago
Unknwon d8a994ef24 Move cron module to independent package
Make it easier to keep track of upstream changes and bug fixes
8 years ago
Unknwon 7140dbac95 Fix #857 8 years ago
Unknwon 7e0baf4136 Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
LDAP: Fetch attributes in Bind DN context
8 years ago
Unknwon a703f7d7b4 Merge pull request #2647 from andreynering/issue-template
Implement issue and pull request templates
8 years ago
Adam Strzelecki 834d92a47b LDAP: Fetch attributes in Bind DN context option
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.

Such approach is an alternative to minimal permissions security pattern for
BindDN user.
8 years ago
Unknwon aa12135b97 Fix panic when view profile without signin
Also fix that no matter who, still able to see organizations with private membership.
8 years ago
Unknwon 2408df3f35 Merge pull request #2663 from Download-Fritz/MirrorForks
#2505 Allow to fork and disallow to create PRs for mirrors.
8 years ago
Download-Fritz a1b28fc33c Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls(). 8 years ago
Download-Fritz a467184e13 #2505 Allow to fork and disallow to create PRs for mirrors. 8 years ago
Andrey Nering 658bfc2704 Implement issue and pull request templates.
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates

Priority:
- root
- .gogs
- .github
8 years ago
Unknwon 338af89d56 #2650 fix possbility that use email as pusher user name
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.

Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
8 years ago
Unknwon d5ca913b2f #2639 add branch prefix for test webhook 8 years ago
Unknwon 2765b5c7cf #2630 fix wrong user avatar link in webhook
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
8 years ago
Unknwon 632c27802c Minor fix for #2624 8 years ago
Unknwon dc89c51f3e Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
Convert mirrors to regular repositories
8 years ago
Martin Hartkorn bb595666ac Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database 8 years ago
Unknwon d8631b616e Merge pull request #2578 from exmex/develop
Admins and user itself sees private org relations on profile
8 years ago
Unknwon a1d97e8f5c Minor fix for #2567 8 years ago
Unknwon daa43cfb6e Merge pull request #2567 from fnkr/hide-other-teams-activity-from-dashboard
Only show activities and repositories on the dashboard, that the user has access to
8 years ago
Martin Hartkorn 15d37b7a95 Refactored according to suggestions 8 years ago
Martin Hartkorn 15394f613f Add missing safety check 8 years ago
Martin Hartkorn 3650bd8528 Convert mirrors to regular repositories. 8 years ago
Josh Frye d3ca5accfd Remove redundant nil check. 8 years ago
Josh Frye ec478b4b06 Set default log path if empty during install 8 years ago
Josh Frye a3e8c32a30 Add install option for log path 8 years ago
Unknwon 0ad5f51059 Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
Fix for server error on release page when a user deleted their account
9 years ago
Martin Hartkorn 6b3e47b103 Removed HTTP 500 error on the release page when a user deleted their account 9 years ago
Unknwon f15a2f9b25 Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
9 years ago
ExMex 2cfe6f8c60 Admins and user itself sees private org relations on profile 9 years ago
Florian Kaiser 45db167f7a Only show activities for repositories on dashboard, that the user has access to 9 years ago
Tobias Kunicke bc0eee48d5 parse milestone.deadline as local time 9 years ago
Unknwon 4e96a4a62b Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
Feature/markdown custom url scheme
9 years ago
Florian Kaiser 90e9e3c89d Only show repositories on organization dashboard, that the user has access to 9 years ago
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close #733 9 years ago
Unknwon 739d5aa1d3 Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
Hide other teams & repos from organization page
9 years ago
Unknwon 04be8c0de5 #2554 reinitialize all repos from the db
- Update locales
9 years ago
Florian Kaiser c3ff476ed6 Remove unnecessary else-block 9 years ago
Unknwon 995487e822 Minor fix for #2506 9 years ago
Unknwon 5e97693e0e Merge pull request #2506 from sapk/add-branche-api-support
Implement API for branches listing
9 years ago
Florian Kaiser 0e4ae27caa Use pretty 404 pages in repo.HTTPBackend 9 years ago
Unknwon 1c74612b3c Minor fix for #2444 9 years ago
Unknwon d3ba246693 Merge pull request #2444 from bkcsoft/feature/participants
Implemented participant-listing for issue-pages (Fixes #2377)
9 years ago
Florian Kaiser 3e0a27157c Make highlighted markdown code blocks work on issue pages 9 years ago
Florian Kaiser bead46363b Evaulate org/team permissions when using the issue/PR view 9 years ago
Florian Kaiser fdad234445 Remove unnecessary comments 9 years ago
Florian Kaiser bba1847a8e Everyone can see public repos 9 years ago
Unknwon a9d68a6884 fix #2529 9 years ago
Florian Kaiser e35791b2b2 Only show teams the user has access to 9 years ago
Florian Kaiser 5eafe2b17e Only show repositories the user has access to, on the organization home 9 years ago
Florian Kaiser 295de51b99 Show all orgs on user profile, except the private one's 9 years ago
Unknwon 112a7cab31 #2497 incorrect error handle for team name 9 years ago
Antoine GIRARD b7b30cd85e Corrections following recommendations 9 years ago
Antoine GIRARD 81e5722bcc Handling error for the API request and add commments
[ci skip]
9 years ago
Antoine GIRARD 303d091ea9 Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277)
[ci skip]
9 years ago
Antoine GIRARD c11c3b6c11 Near ready 9 years ago
Andrey Nering 5deb726f3f Refactoring of inline diff computing to prevent empty diff box. Fix #2489 9 years ago
Kim "BKC" Carlbäcker 1ab8a60d73 Not working, but slightly better... 9 years ago
Kim "BKC" Carlbäcker 85335c5f56 Go-ism :D 9 years ago
Kim "BKC" Carlbäcker b31c7fe074 Fixed Poster/Commenter-bug and clean-up 9 years ago
Kim "BKC" Carlbäcker 2665728ee7 Fix OP not 'participating' until commented 9 years ago
Kim Carlbäcker f65dedc3be Optimize participant-fetching 9 years ago
Kim "BKC" Carlbäcker 2cc1ee3fc0 Implemented participant-listing for issue-pages 9 years ago
Andrey Nering ee5d6fb025 Compute inline diff for pull request view, too. Fix #2462 9 years ago
Kim "BKC" Carlbäcker a3eab8185d Admins are allowed to create repos for arbitrary Orgs 9 years ago
Unknwon f75b5f4287 Merge pull request #2383 from exmex/develop
Added organization display on profile
9 years ago
Unknwon a72f57374d Merge pull request #2403 from ddelpero/master
Update repo.go
9 years ago
ExMex f610bfa8a2 Added organization display on profile
Fixed "Follower" Icon too big
9 years ago
Unknwon bcf6aed452 Merge pull request #2335 from andreynering/highlight-diff
Highlight diff
9 years ago
Unknwon 4331d1d2a0 require token for list my orgs 9 years ago
Unknwon 62edc5c59a fix cannot show user public ssh keys 9 years ago
Unknwon 03427fb005 fix #2360 9 years ago
ddelpero 7655337a1f Update repo.go
Release download file name doesn't include tag number #2339
Download: Changed to use refName instead of commit.ID for downloaded file name
9 years ago
Unknwon e0f0f72a36 #2345 disallow access of some pages for empty repo 9 years ago
Andrey Nering 73474c043b Highlighting differences of lines in the diff view. 9 years ago
zhuharev 0d5dc8a064 typo fix 9 years ago
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified 9 years ago
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
9 years ago
Unknwon a62290de52 #2311 improve HTTP auth error message 9 years ago
Unknwon 8d58e06ad8 more fix on #2268 9 years ago
Unknwon 93f03707a7 #2283 set text/plain for non-binary files in raw mode 9 years ago
Unknwon 85af36332b #2282 fix utf-8 recognized as windows-1252 9 years ago
novaeye 227dcc3cb9 fix #2268 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon c62a6b7a12 #2014 allow switch branches between two orgs in compose PR 9 years ago
Unknwon 5ff6eedf5e #2251 fix button name 9 years ago
Unknwon 037a01c4e4 fix #2189 9 years ago
Unknwon 1c9dd11ba7 #1692 API: admin create repo 9 years ago
Unknwon 1e7e092992 #2103 Ability to map extensions for syntax highlighting in config 9 years ago
Unknwon 33a99d587a fix #2223 9 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
Unknwon 6673dcb038 #2103 #2181 improvments of highlight class name 9 years ago
Unknwon b117befc2b #1692 add user email APIs 9 years ago
Unknwon 19423957b1 rename import path 9 years ago
Unknwon 3362b3a44f fix possible disclosure 9 years ago
Unknwon 7509fa2c33 improve get commits performance 9 years ago
Unknwon 79dcd7ee6e #2167 able to identify git version on Windows 9 years ago
Unknwon 0cce4439ce #2154 minor fix 9 years ago
Unknwon 59c965a5ec #2156 admin able to edit organization max repo creation 9 years ago
Unknwon 477b4d3b50 #2154 fix form submit error 9 years ago
Unknwon d0b0d24f22 #2154 disable change user for non-local users
- #2153 remove require for gravatar
9 years ago
Unknwon 40f3142264 #2114 External URL for wiki 9 years ago
Unknwon 3d5d61778a #1938 #1374 disable password change for non-local users 9 years ago
Unknwon 2a0bb1fa90 #1575 Limit repo creation 9 years ago
Unknwon c6083c335e #1612 Ability to send mail when a new pull request is submitted 9 years ago
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 9 years ago
Unknwon b8d48bdb62 #2037 Add "New Mirror" button on Dashboard 9 years ago
Unknwon a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag 9 years ago
Unknwon 120cd4e471 #1984 Better mirror repo management 9 years ago
Unknwon 2528c482e9 #1627 auto login after install if admin is configured 9 years ago
Unknwon dce2a9e7e1 fix wrong slack webhook payload URL 9 years ago
Unknwon 89244b74c6 remember page number when delete repo 9 years ago
Unknwon ca8ce793d1 #2063 Ability to delete repo from admin panel 9 years ago
Unknwon 978dc00305 APIs: admin users 9 years ago
Unknwon 404867f206 fix #2105 and fix #1857 9 years ago
Unknwon f41360d864 #2052 advanced select ops for system notices 9 years ago
Unknwon e538ff2770 fix #1829 and fix #890 9 years ago
Unknwon 942fd6be53 fix panic for #2045 9 years ago
Unknwon 56dd430a10 refactor API routes and some work for #976 9 years ago
Unknwon 4d9499c2d3 fix broken link 9 years ago
Unknwon cc8f5add6e fix #976 9 years ago
Unknwon ec2423ad7c more UI minor fixes 9 years ago
Unknwon 0be8b1b1a1 #2052 Ability to batch delete system notices 9 years ago
Adam Strzelecki 573305f3d3 LDAP: Optional user name attribute specification
Consider following LDAP search query example:

    (&(objectClass=Person)(|(uid=%s)(mail=%s)))

Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.

Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
9 years ago
Unknwon 117afe7620 Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
Admin should be able to see all organizations
9 years ago
Unknwon 830d000667 finish wiki 9 years ago
Adam Strzelecki e57b2dffa4 Admin should be able to see all organizations
This is follow-up for 56c66ee486 allowing admin
to see private repositories, even when not being member of them.
9 years ago
Unknwon 5d1f5f32d0 wiki: finish pages 9 years ago
Unknwon e42fcb033d wiki: finish edit 9 years ago
Unknwon 392f3ee210 wiki: finish new 9 years ago
Unknwon c50a3503e6 introduce git-shell 9 years ago
Unknwon 2b10fdc4dc Wiki: UI for page new 9 years ago
Unknwon 144663a3cf allow admin to migrate for any user/org 9 years ago
Unknwon 968edb3e44 more link fix 9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 9 years ago
Unknwon 7f9598141b fix #2020 9 years ago
Unknwon 0128036514 #1681 some fixes for builtin SSH server on Windows 9 years ago
Unknwon b2fb7e3fd2 more HTTP clone word fix 9 years ago
Unknwon 52c8f69163 fix #650 9 years ago
Unknwon b80e848d02 upgrade libs 9 years ago
Unknwon 987dcc5372 fix #1383 9 years ago
Unknwon 3d14e73fd8 fix #1119 and data race in timming tasks 9 years ago
Unknwon 6a66e5fc98 better error message 9 years ago
Unknwon c0b0ce7b1a #1971 more general rule to detect error 9 years ago
Unknwon dc0c0dc06b fix typo for #1996 9 years ago
Unknwon 9330c943cd work on #1891 9 years ago
Unknwon f455125d4d fix #878 9 years ago
Unknwon 2c653141a8 #1742 Update default branch in git repository while change in web view 9 years ago
Unknwon efea642d6c add admin op: delete missing repos 9 years ago
Unknwon 81d7359fdd fix #1981 9 years ago
Unknwon 9a0902523b fix #1987 9 years ago
Unknwon ff5f14431e fix #1448 9 years ago
Unknwon ab9411be2a clean up code 9 years ago
Unknwon 9ab96172fc new watchers, stars and forks UI 9 years ago
Unknwon 917d334ebd only show user's activities in profile 9 years ago
Unknwon d370effca5 minor fix for #1961 9 years ago
Unknwon 29ed7872f8 repo sidebar active class 9 years ago
Unknwon 134d8e7681 work on #1961 9 years ago
Unknwon 18de67380c fix #1958 9 years ago
Unknwon 84a43b38cf remove unused code 9 years ago
Unknwon 7c80eba77f minor UI fix and fix ssh race 9 years ago
Unknwon 7b1c10ea7e new repo ui
- copy link button: #1396, #1168, #1668,
- synxtax highlight: #1712, #1549, #1315, #670
- z-index: #1942
9 years ago
Unknwon f8ae161c74 fix #1302 9 years ago
Unknwon 1d57f0d64f Show custom avatars in commits 9 years ago
Unknwon 1559bd58e7 save custom avatar as PNG 9 years ago
Unknwon 10427b2178 fix #1930 9 years ago
Unknwon 3b62a0fe0e fix #1572 fix file histrory paging issue 9 years ago
Unknwon 0d4498429c work on #1904 9 years ago
Unknwon 18c841050b fix 1540 and experimental SSH server support 9 years ago
Unknwon b55499d039 go vet and fix #1890 9 years ago
Unknwon e7aabf70dc #1905 Triming the issue title 9 years ago
Unknwon 603c7389b8 #1459 Dashboard issues lacks sorting 9 years ago
Unknwon 00eb2b221f fix #1876 9 years ago
Unknwon 3a81fdf092 rename fields 9 years ago
Unknwon 6f0a41b8b2 #1511 Allow local import only for admin users 9 years ago
Unknwon fad31ca302 work on #1748 9 years ago
Unknwon 102b675f96 remove test code 😵 9 years ago
Unknwon 7d72c8333e work on #470 and fix miror JS issue when choose targets on compare and pull 9 years ago
Unknwon 706b0f72e2 fix issue comment mention and autofix count when start 9 years ago
Unknwon 022820103d #1657 allow forcing all private repos 9 years ago
Unknwon c3ba5590c9 Reopen PR need retest patch 9 years ago
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply 9 years ago
Unknwon e0aab4a7f6 #1830 new comment with status change overwrites issue content 9 years ago
Unknwon c6ce6bd4c2 work on #1830 9 years ago
Unknwon 35a65736fa add get repo API 9 years ago
Unknwon fc7959d3bc New/reopen PR checks if there is any unmerged and open PR 9 years ago
Unknwon 4dc6285715 add new status: checking 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Unknwon aff49b1c9e unified API error response 9 years ago
无闻 b1941f1da1 Merge pull request #1736 from soudy/develop
Added repository remove option to API
9 years ago
Unknwon 215920772a save PR info as patch and minor fix on PR 9 years ago
Steven Oud 6fe868a4d5 added repository remove option to api 9 years ago
kendaru 5c39d3fa7d changed integrated page number to GET 9 years ago
Steven c8aa9c6cb1 implemented #1721: see users who forked/starred/watched a repository 9 years ago
Unknwon 21e13cb51e #1525 Triggere mailer for admin created accounts 9 years ago