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
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
spacetourist
0a6ceabb9b
Allow configurable HTTPS SSL/TLS version( #4451 )
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
66c1e6b0e8
user/settings: complete repositories panel ( #4312 )
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
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
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
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
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
266c8f5a85
release: fix unable to edit release of a fork repository
8 years ago
Unknwon
6002d72603
router: fix 404 when repository name contains dot
...
E.g. atomi.github.io
8 years ago
Unknwon
0bef74d499
vendor: update github.com/go-macaron/toolbox ( #2857 )
...
Support HEAD requests of '/healthcheck' for service monitoring.
8 years ago
Unknwon
7de71333c6
repo: several minor improvements
...
1. Fix sample content didn't show up when hook doesn't exist.
2. Fix CSS 'word-break' to use 'break-word' not 'break-all'.
3. Fix single quote in 'locale_en-US.ini' file.
8 years ago
Unknwon
c69900325d
commits: able to specify pageSize dynamically ( #3965 )
...
Usage: <url>?page={page}&pageSize={pageSize}
Also avoid/removed getting total commits count for pagination,
users are only allowed navigation by 'newer' and 'older'.
8 years ago
Unknwon
a07b1f630a
webhook: add native Discord support
8 years ago
Unknwon
07801cbf09
repo/release: add pagination ( #2164 )
8 years ago
Unknwon
7e09d210ba
Initial version of protected branches ( #776 )
...
- Able to restrict force push and deletion
- Able to restrict direct push
8 years ago
Unknwon
d521e716dd
refactoring: SSH and HTTP push procees is now unified
...
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.
Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.
By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636 .
8 years ago
Unknwon
3b49a99b60
wiki: fix crash with blob name contains tab ( #3916 )
8 years ago
Unknwon
b9560ec9cb
vendor: update git-module ( #4128 )
8 years ago
Unknwon
039dc33367
git: delegate all server-side Git hooks ( #1623 )
8 years ago
Aaron Wood
68ead67a63
Use very strong ciphers ( #4116 )
...
* Use very strong ciphers
* Remove TLS_RSA_WITH_AES_256_GCM_SHA384 to be compatible with Go 1.5
8 years ago
Unknwon
2d38b75400
diff: fix can't show compare page for fork repository ( #4110 )
8 years ago
Unknwon
b67ec01d41
Able to disable non-admin to create new organization ( #1556 )
...
Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by
default it's 'false'.
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
074c92b0a3
routers/repo/branch: fix can't delete branch with slashes after merge ( #4089 )
8 years ago
Unknwon
afab38b0d7
routers/repo/pull: fix 404 on PR compare ( #4074 )
...
Due to recent code refactor, ctx.PullRequest is not initialized for
route repo.CompareAndPullRequest, which leads the UI thinks the
compare is not happening inside the same repository.
The current fix is to allow compare URL to include redundant head
user name so everything works fine again, but code logic isn't
as clean as before.
Made comments about possible future fix.
8 years ago
Unknwon
d293aa9ced
Do a fast-fail testing on repository URL before mirroring
...
To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
8 years ago
Unknwon
4bc98f7aa2
Move models/mail.go to modules/mail.go
...
To use interface to replace *models.User in avoiding cycle import.
8 years ago
Unknwon
5e01ecbc05
Able to set custom Access-Control-Allow-Origin header ( #3987 )
...
Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
8 years ago
Unknwon
7aa53635fe
Add 'Organizations' page to user settings ( #3587 )
...
User is now able to view full list of organizations belongs to.
8 years ago
Rémy Boulanouar
2ee0c61e62
Setting orgs ( #3587 )
...
* Implement organizations listing in setting and allow user to create new organization.
* Implement organizations listing in setting and allow user to create new organization.
* Add space remove by mistake
* Remove unused part of the template
* Update display and behavior according to @Unknown remarks
8 years ago