aboutsummaryrefslogtreecommitdiff
path: root/cmd
Commit message (Collapse)AuthorAge
* repo_editor: able to trigger Git hooks (#4338)Unknwon2018-08-17
|
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* restore: reset original created_unix after insert (#5264)Unknwon2018-06-09
|
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* templates/repo: escape branch name (#4601)Unknwon2018-04-25
|
* MISC: fix typo and grammarUnknwon2018-03-30
| | | | Reference: https://github.com/gogits/gogs/commit/932490d7f137a2adf896e4e9326f4e8f2b9a2b54#commitcomment-28344918
* models: rename RewriteAllPublicKeys -> RewriteAuthorizedKeysUnknwon2018-03-30
|
* repo/http: add CORS headers to allow clone/push from browser agents (#4970)William Hilton2018-03-14
|
* models: move ErrBranchNotExist to errors packageUnknwon2018-03-08
|
* web: support HTTP HEAD requests (#2857)Unknwon2018-03-06
|
* cmd/hook: fix custom hook cannot be executed on Windows (#4255)无闻2017-11-18
| | | | This solution still requires the server installed git-bash.
* cmd/admin: add subcommands for all admin dashboard actions (#4813)Josef Kemetmüller2017-10-10
|
* Add Dingtalk webhook support (#4773)Athurg Feng2017-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add dingtalk webhook into html template * Add Dingtalk's icon * Insert dingtalk into repo's webhook page template * Insert dingtalk into org's webhook page * Add dingtalk into default webhook config * Add locale string for add_dingtalk_hook_desc * Update bindata * Add dingtalk webhook form validator * Add dingtalk hook task * Add dingtalk hook create handler * Add dingtalk hook edit handler * Add dingtalk router * Add dingtalk webhook task skeleton * Add markdown link formatter * Add Dingtalk ActionCard create wrapper * Add support for dingtalk create event payload * Add support for dingtalk delete event payload * Add support for dingtalk fork event payload * Add support for dingtalk push event payload * Add support for dingtalk issue event payload * Add support for dingtalk issue comment payload * Add support for dingtalk pull event payload * Add support for dingtalk release event payload
* hook: fix email not sent after push (#4430)Unknwon2017-07-27
| | | | | Turns out mail service was not initialized at all, also mail must be sent in sync in hook mode before program exits.
* cmd/restore: skip non existent directories in backup archive (#4413)Unknwon2017-06-25
|
* Refactoring: rename package routers -> routesUnknwon2017-06-11
|
* restore: create data directory before restoring data files (#4413)Unknwon2017-06-08
|
* Refactoring: rename ctx -> cUnknwon2017-06-03
|
* cmd/admin: fix typo Preform → Perform (#4540)Lilian Besson2017-05-31
| | | Just an English typo in the command line help.
* backup: use datetime string as default archive nameUnknwon2017-05-29
| | | | Because unix timestamp is not very human readable.
* restore: reset table sequences for PostgreSQL (#4357)Unknwon2017-05-21
|
* Allow configurable HTTPS SSL/TLS version(#4451)spacetourist2017-05-20
|
* cmd/update: fix typo (#4492)rouzier2017-05-17
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* user/setting: reorder navbarUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* cmd/web: fix routes requires sign in (#4359)Unknwon2017-03-30
| | | | | Redirect user to sign in page when visit private repository with public issues if user want to post comment or create new issue.
* cmd/web: remove dependency version checkerUnknwon2017-03-25
|
* repo: cleanup some codeUnknwon2017-03-24
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* cmd/backup: able to specify archive name (#4320)Unknwon2017-03-23
| | | | Added flag '--archive-name' for backup command.
* user/settings: complete repositories panel (#4312)Unknwon2017-03-23
|
* error: move ErrRepoNotExist -> errors.RepoNotExistUnknwon2017-03-23
|
* user/settings: add repositories panel (#4312)Rob Richards2017-03-23
| | | | | | | * Add Repositories panel to user settings issue #4277 * modified personal repo settings format
* repo: rename PageIsViewCode -> PageIsViewFilesUnknwon2017-03-22
| | | | Also highlight 'Files' tab when use editor.
* repo/webhook: able to retrigger delivery history (#2187)Unknwon2017-03-19
|
* repo: allow issues and wiki for bare repository (#4104)Unknwon2017-03-16
|
* models: rename ErrUserNotExist -> errors.UserNotExistUnknwon2017-03-16
|
* release: improve attachment handleUnknwon2017-03-13
|
* release: able to add attchments to release (#1614)Unknwon2017-03-13
| | | | Added new config section '[release.attachment]’.
* cmd/hook: fixed typo (#4280)Danny Althoff2017-03-12
|
* repo: commits, branches and releases should highlight files tabUnknwon2017-03-11
|
* repo/branches: overview and all (#2310)Unknwon2017-03-11
|
* repo/pull: handle head repository of merged pull requests deletedUnknwon2017-03-10
|
* repo/release: 404 when edit draft (4262)Unknwon2017-03-10
|
* Protected branches: allow whitelist bypass require pull request check (#4207)Unknwon2017-03-08
|
* routers/repo/http: only prompt HTTP Basic Authentication when intendedUnknwon2017-03-04
| | | | | | | | | Sometimes user could simply request wrong URL, but if that wrong URL has nothing related Git HTTP operations, HTTP Basic Authentication should not prompted. Instead, clean 404 page should be presented. The patch also supports Git HTTP operations without '.git' suffix to the repository name, which addresses #4226 and #4189.
* hook: fix can’t be executed while run as service on Windows (#4207)Unknwon2017-02-28
|