Commit Graph

526 Commits (d32af84a1002ceb235c86e4ac569c866ab7816d4)

Author SHA1 Message Date
Unknwon f8a48ffaad Web editor: improve code quality
Unknwon 0b273ac4d5 code cleanup
Unknwon a00c932bbc General code quality improvement
Unknwon 6f9a95f830 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
Unknwon 9349def72e reproduce diff signs
Commited wrong file.
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function
Unknwon 61e27dedf7 fix response of pull request form validation error
Unknwon 5e89485cec Update README [CI SKIP]
Unknwon 8637e67e6f Fix outdated edit can’t overwrite changes
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
Unknwon 3f7f4852ef fully support of webhooks for pull request
Unknwon 0f33b04c87 Add subcommand to create new user in CLI
Unknwon a47aef5460 code cleanup
Unknwon 5077408d78 code cleanup and minor issue fix
Unknwon 0f26f3678a use doer email for FROM field of issues
Unknwon 5448d29b2e wrong dashboard issue count for create by you
Unknwon edd786446c skip RUN_USER check on Windows
Unknwon f70343660d Little code refactoring
Unknwon 90af997fec 500 for upstream pulls page if user has forked repository
Unknwon e5bf4281b5 early response 200 when ?go-get=1
Unknwon 99385db0c4 code cleanup
Unknwon ec92565f23 fix missing sub-url prefix in relative avatar link
Unknwon ab9c5fb5e7 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
rugk 28dc5bb566 Replace gogs.io http links with https version ()
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues
Unknwon 50422f1fc2 always use relative avatar link in the template
Unknwon 2f105f3979 completely disable builtin issue tracker when enable external tracker
Unknwon e7fd65f0cf better code structure and batch minor improvements
Unknwon 10dc330640 dump content directly to HTTP ResponseWriter
Unknwon 8aa0a76702 fix wrong table name in Join
Unknwon 2d76de2574 fix x.Iterate returns nothing inside session scope with SQLite3
Unknwon 4d8b905541 models/ssh_key: code cleaning
Unknwon 899e799459 support delete issue comment
Unknwon e74630ae3b add pagination for repositories
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 57a47bbc05 Add some tutorial links [CI SKIP]
Unknwon d90acacd86 Update README [CI SKIP]
Unknwon 69f5308761 use different reversed words and patterns for repository and user
Unknwon 4b5e09e4d6 detect situation when base branch is deleted in pull request
Unknwon 745167d57a create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
Unknwon c912494609 detect invalid tag name git error
Unknwon ae88d76032 Bump version
Unknwon 57af7432fc fix wrong logic judgement
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID
Unknwon c083d76567 able to prohibit user login
Unknwon fff615d5fc Bump version
Unknwon 194a742fb9 fix assign operation not take effect
Unknwon de10387f41 bump git-module requirement
Unknwon fdcca9292e fix emoji been rendered inside raw content area
Unknwon 9fcf66f0e0 Minor fix for
Unknwon d62ab49978 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
Unknwon 401bf944ef Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by  and fixes  as well.
Unknwon 4b25bdfbc4 support correct page size and link header
Unknwon 6aa00f7bcf use HTTP_ADDR to replace localhost
Unknwon e84ac64964 Do not show filename not have suffifx .md
Unknwon a10ca2c5f6 update README version description
Unknwon 7938506e07 update git-module require version
Unknwon 6f7276278d genetate bindata
Unknwon c041273dd3 repo/http: clean code
Unknwon 8df3ba96f3 use text/plain as default email content format
Unknwon e9ae926e04 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
Unknwon 7826eae452 fix DEPRECATED Action signature erorr
Unknwon fbf43c31e5 Add Czech support
Julien Reichardt 6be9a2c1db Add DPlatform as an installation way ()
Unknwon 0a78d99a4d models/release: filter input to prevent command line argument vulnerability
Unknwon 0325bec283 minor fix for bug of xorm
Unknwon 7049cb9d97 Add new language support
- Update language choose dropdown to fit more languages
Unknwon 78b8b63774 set default style name when empty in AfterSet
Unknwon a27c6f4b75 fix sort' field missing on issue pagination link
Unknwon 762ab056a2 Fix XORM IN condition table name parse
Unknwon ac53bb593d print error of JSON unmarshal and always returns a valid object
Unknwon b1d41cfa60 add admin APIs to add/remove a user from teams
Unknwon 98b58fa050 Handle windows deletion when start
Fix 
Unknwon e6f927f61a api: admin list and create team under organization
Unknwon 9e09e48502 fix potential SSH commands dislocation
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.

Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
Unknwon ff731ea07d LOWER() column value within search
Unknwon 9a5a27ea8d Improve repository lable style
- add border-radius to filter list items
- use color as background of label for issue/pull view page
Unknwon 149d62a648 fix admin can't search private repos
- update glide info
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
Unknwon db4da7beec Add APIContext
Unknwon b4f47a7623 attempt to fix invalid csrf token
Unknwon d733efc1cc Alpha support for custom templates
No guarantee for compatibility with future changes
Unknwon 2bf8494332 finish user and repository search
Both are possible on explore and admin panel
Unknwon 514382e2eb Rename module: middleware -> context
Unknwon 5267dce210 Fix ref comment from commit create empty feed
Unknwon eed9966ad6 fix incompatible SQL in PostgreSQL
Unknwon ad513a20e9 Replace time.Time with Unix Timestamp (int64)
Unknwon 0e9bc2d410 Fix pull request availability check
Unknwon 0ea0c5ec4f Prepare release
Unknwon 9cf7f3e46f Remove duplicated of code
Unknwon 13bd16af92 Minor fixes for
Unknwon c18f67ac6a Add Finnish support
Unknwon a5b0400be7 finish new access rights for collaborators
Romain Beaumont 52fdecf97b Fix grammar in README
Unknwon 9c0f84cee8 Update README notes
Unknwon 414eb22ef9 fix activitity feeds for pull requests
Unknwon 2d2d85bba4 support pull requests in same repository
Unknwon 9df6ce48c5 Minor fixes for
Unknwon d57a2b908a and fix bad SQL generated by XORM
Use hand-written SQL to do complex query
Unknwon f6759a731a fix redirect loop with auto-signin
Unknwon 260723e2cc Minor fixes for
Unknwon f946040fa9 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
Unknwon c9901bbba5 workaround to fix XORM problem
Unknwon 97429a25ab make IN clause compatible with Postgres
Unknwon 9e89584cb4 Allow setting git operations timeouts
- Migrate:  
- Clone: 
- Mirror, Pull
Unknwon ea80274229 fix sqlite3 can't create issue with more than one label
Unknwon 8055a0bdac Post work for
Improve test cases, config settings, also show SSH config settings on admin config panel.
Unknwon d320915ad2 Minor fix for
Unknwon 129638117f fix panic when close issue via commit message
Unknwon baaf6046a1 Minor fix for
Unknwon d324500959 Prepare to release
Unknwon 72ce06eab8 fix missing slash for go-get meta
Unknwon 912f7b51e9 add actions for close and reopen issues
Unknwon acf094fb07 Minor fix for
Add AttributesInBind option in new auth source form.
Unknwon b7f3d94cd0 Minor fix for
Unknwon 341da3cea7 Fix inappropriate markdown post process end tag check
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
Unknwon 7162095635 Merge pull request from jwdeitch/patch-1
Update contributing guidlines link
jwdeitch 0b54035d7a Update README.md
jwdeitch dbd4697001 Update contributing guidlines link
previously displays 404
Unknwon 338af89d56 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.
Unknwon 632c27802c Minor fix for
Unknwon 58e004f7da Remove cache avatar support and add its tests
Unknwon a1d97e8f5c Minor fix for
Unknwon 9adfe453d5 delete repo local copy when transfer
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
Unknwon de3be370f7 Remove unused tests
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
Unknwon 5258ee3740 Update locales and update sponsor
Unknwon 297e772c20 fix payloads mixed up for webhook
When repository contains a Slack type hook,
it changes original payload content.

This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
Unknwon ee53204e02 Improve db path prompt when install
Unknwon f8182ac521 delete local wiki copy when rename repo and user
Unknwon d4583ebd4b Add YunoHost link to README
Unknwon 8e40f86d2c handle space in image URL
Unknwon 04be8c0de5 reinitialize all repos from the db
- Update locales
Unknwon a47baa1b7a Add missing patch conflit pattern
Unknwon 1c74612b3c Minor fix for
Unknwon 4848620594 adjust URL verbose depth for reverse proxy sub-path
Unknwon 112a7cab31 incorrect error handle for team name
Unknwon 4deb876343 Minor fix for
- Change tooltip size from mini to tiny in profile page
Unknwon e33ddac9bf Minor fix for
Unknwon 7ef9a05588 use Go sub-repo ssh to verify public key content
Unknwon 29b07693dd minor fix to
- add tooltip for organization name in profile
Unknwon ab89be33a9 fix
Unknwon f43cc90841 Truncate repository name if too long
Unknwon 91bab801aa try to handle []int8 case
Unknwon 86bce4a2ae minor fix to
Unknwon e0f0f72a36 disallow access of some pages for empty repo
Unknwon cc22c8a1ae update dep lib version requirement
Unknwon 4993ab1a76 fall back to use custom chardet lib
Unknwon 8d58e06ad8 more fix on
Unknwon a49af93faf APIs: Users Followers
- User profile un/follow
- List user's followers/following
Unknwon c62a6b7a12 allow switch branches between two orgs in compose PR