Commit Graph

523 Commits (f57adf3637a5adc6a892b32b664cd3378c93eb77)

Author SHA1 Message Date
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
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 a5b0400be7 finish new access rights for collaborators
Unknwon 414eb22ef9 fix activitity feeds for pull requests
Unknwon a2f13eae55 some avatar setting changes
- Allow to delete current avatar
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 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.
Unknwon baaf6046a1 Minor fix for
Unknwon 72ce06eab8 fix missing slash for go-get meta
Unknwon 912f7b51e9 add actions for close and reopen issues
Unknwon c9516c4c60 Fix wrong place to check disable SSH
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 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 d5ca913b2f add branch prefix for test webhook
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 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 8e40f86d2c handle space in image URL
Unknwon 04be8c0de5 reinitialize all repos from the db
- Update locales
Unknwon a47baa1b7a Add missing patch conflit pattern
Unknwon 5a27aea8e0 Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
Unknwon 1c74612b3c Minor fix for