isundil
55724edecf
#1253 : Remove repository labels
7 years ago
isundil
cb48edb6d6
#1253 : List, create and update repository labels from user setting
7 years ago
Unknwon
34bd04f925
MISC: fix typo and grammar
...
Reference: 932490d7f1 (commitcomment-28344918)
7 years ago
Unknwon
a855abf8c0
models: rename RewriteAllPublicKeys -> RewriteAuthorizedKeys
7 years ago
William Hilton
6a185e94b9
repo/http: add CORS headers to allow clone/push from browser agents ( #4970 )
7 years ago
Unknwon
1f7983059a
models: move ErrBranchNotExist to errors package
7 years ago
Unknwon
4a669f5478
web: support HTTP HEAD requests ( #2857 )
7 years ago
无闻
9362b9fdfe
cmd/hook: fix custom hook cannot be executed on Windows ( #4255 )
...
This solution still requires the server installed git-bash.
7 years ago
Josef Kemetmüller
b16c12f67b
cmd/admin: add subcommands for all admin dashboard actions ( #4813 )
7 years ago
Athurg Feng
52f3833811
Add Dingtalk webhook support ( #4773 )
...
* 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
7 years ago
Unknwon
6bc11c4450
hook: fix email not sent after push ( #4430 )
...
Turns out mail service was not initialized at all, also mail must
be sent in sync in hook mode before program exits.
8 years ago
Unknwon
d1a96c2543
cmd/restore: skip non existent directories in backup archive ( #4413 )
8 years ago
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
1af01f5e30
restore: create data directory before restoring data files ( #4413 )
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
Lilian Besson
612a7e76f1
cmd/admin: fix typo Preform → Perform ( #4540 )
...
Just an English typo in the command line help.
8 years ago
Unknwon
11ad64f6cb
backup: use datetime string as default archive name
...
Because unix timestamp is not very human readable.
8 years ago
Unknwon
b17995a332
restore: reset table sequences for PostgreSQL ( #4357 )
8 years ago
spacetourist
0a6ceabb9b
Allow configurable HTTPS SSL/TLS version( #4451 )
8 years ago
rouzier
07d5badfed
cmd/update: fix typo ( #4492 )
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
8 years ago
Unknwon
497cdc9250
user/setting: reorder navbar
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
ab634ce61a
cmd/web: fix routes requires sign in ( #4359 )
...
Redirect user to sign in page when visit private repository with
public issues if user want to post comment or create new issue.
8 years ago
Unknwon
c238647020
cmd/web: remove dependency version checker
8 years ago
Unknwon
674106c7b6
repo: cleanup some code
8 years ago
Unknwon
8196430f47
repo: allow private repository to have public wiki or issues
...
Relates to #649 and #2157
8 years ago
Unknwon
8ce23e2c71
cmd/backup: able to specify archive name ( #4320 )
...
Added flag '--archive-name' for backup command.
8 years ago
Unknwon
66c1e6b0e8
user/settings: complete repositories panel ( #4312 )
8 years ago
Unknwon
beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist
8 years ago
Rob Richards
902372067c
user/settings: add repositories panel ( #4312 )
...
* Add Repositories panel to user settings
issue #4277
* modified personal repo settings format
8 years ago
Unknwon
bb86d66496
repo: rename PageIsViewCode -> PageIsViewFiles
...
Also highlight 'Files' tab when use editor.
8 years ago
Unknwon
2807274e2d
repo/webhook: able to retrigger delivery history ( #2187 )
8 years ago
Unknwon
171f97868d
repo: allow issues and wiki for bare repository ( #4104 )
8 years ago
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
24734a33e7
release: improve attachment handle
8 years ago
Unknwon
1df54ea0cd
release: able to add attchments to release ( #1614 )
...
Added new config section '[release.attachment]’.
8 years ago
Danny Althoff
44a6b63316
cmd/hook: fixed typo ( #4280 )
8 years ago
Unknwon
61e2bff757
repo: commits, branches and releases should highlight files tab
8 years ago
Unknwon
5c7cb1594b
repo/branches: overview and all ( #2310 )
8 years ago
Unknwon
8fa6d0d302
repo/pull: handle head repository of merged pull requests deleted
8 years ago
Unknwon
aa99e805c8
repo/release: 404 when edit draft (4262)
8 years ago
Unknwon
83f6b8e847
Protected branches: allow whitelist bypass require pull request check ( #4207 )
8 years ago
Unknwon
e9838a83ce
routers/repo/http: only prompt HTTP Basic Authentication when intended
...
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 .
8 years ago
Unknwon
e08161a302
hook: fix can’t be executed while run as service on Windows ( #4207 )
8 years ago
Unknwon
ca2cfaf71e
cmd: able to backup and restore
...
Not very robust, must execute under correct workdir.
Addresses #2072 , #3708 , #648
8 years ago
Unknwon
7fe13e72d8
cmd: refactoring command name
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
6072e9a52c
repo: add protect branch whitelist ( #4177 )
...
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
8 years ago