Lunny Xiao
caa61a2b99
bug fixed
преди 6 години
Ethan Koenig
b689bb6180
Webhooks for repo creation/deletion (#1663)
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
преди 6 години
Sandro Santilli
79f7839633
Wrap most text to 80 columns (#2452)
преди 6 години
Lunny Xiao
04ec79579c
fix orgnization webhooks (#2422)
* fix org webhooks
* remove trace code
преди 6 години
Lunny Xiao
5de94a67cf
some refactors for issue and comments (#2419)
преди 6 години
Sandro Santilli
edc817a1dc
Wrap most paragraphs to 80 columns (#2396)
Reduces patches size and makes them more readable
преди 6 години
Lunny Xiao
3e6fed368b
fix webhook test (#2415)
* fix webhook test
* fix error message
* fix typo
преди 6 години
Ethan Koenig
491f0ebc58
Fix route handler order (#2409)
* Fix route handler order
* Fix more routes
преди 6 години
Lunny Xiao
15d3872281
fix missing orgnization discord webhook (#2414)
преди 6 години
Antoine GIRARD
019c90ab8f
Update CONTRIBUTING following #2329 discussion
Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)
преди 6 години
Lauris BH
edb95faba2
Fix releases to be counted from database not tags (#2389)
преди 6 години
Ethan Koenig
d23b36c598
Error message for integration test (#2410)
преди 6 години
Morlinest
8e61823ec4
Fix tests code to prevent some runtime errors (#2381)
* Fix tests code to prevent some runtime errors
* Reduce nesting
преди 6 години
Lunny Xiao
ced50e0ec1
Implementation of discord webhook (#2402)
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
преди 6 години
Lunny Xiao
e41da3845d
fix duplicated feed (#2370)
преди 6 години
Morlinest
0f2c98adcd
Fix "index out of range" runtime error in repo_list tests (#2376)
преди 6 години
Kim "BKC" Carlbäcker
ae08e6c5be
Clarify Translation Process. Also fix branch names (#2378)
* Clarify Translation Process. Also fix branch names
* Update CONTRIBUTING.md
преди 6 години
Manuel
d9d8fad230
Add UseCompatSSHURI setting (#2356)
* Add UseCompatSSHURI setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> (+1 squashed commits)
Squashed commits:
[dda2dc79
] Add ForceCloneSSHURL setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
* Make protocol if construct more readable
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
преди 6 години
Lunny Xiao
f61a1d210c
Fix missing collabrative repos (#2367)
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
преди 6 години
Zsombor
da230a2872
Add possibility to record branch or tag information in an issue (#780)
преди 6 години
David Schneiderbauer
174255e74e
Log failed authentication attempts with remote address for fail2ban (#2334)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
преди 6 години
Sandro Santilli
233bbcfa94
Fix integration test after librejs location change (#2374)
Fixes #2373
преди 6 години
Michael Lustfield
874f9be3e6
Move themes to plugin directory. Fixes #2372 (#2375)
преди 6 години
Lunny Xiao
0fd9289810
update translation from crowdin (#2368)
преди 6 години
Michael Lustfield
a915a09e4f
Moved vendored js/css into `public/vendor` and documented sources (#1484) (#2241)
* Cleaning up public/ and documenting js/css libs.
This commit mostly addresses #1484 by moving vendor'ed plugins into a
vendor/ directory and documenting their upstream source and license in
vendor/librejs.html.
This also proves gitea is using only open source js/css libraries which
helps toward reaching #1524 .
* Removing unused css file.
The version of this file in use is located at:
vendor/plugins/highlight/github.css
* Cleaned up librejs.html and added javascript header
A SafeJS function was added to templates/helper.go to allow keeping
comments inside of javascript.
A javascript comment was added in the header of templates/base/head.tmpl
to mark all non-inline source as free.
The librejs.html file was updated to meet the current librejs spec. I
have now verified that the librejs plugin detects most of the scripts
included in gitea and suspect the non-free detections are the result of
a bug in the plugin. I believe this commit is enough to meet the C0.0
requirement of #1534 .
* Updating SafeJS function per lint suggestion
* Added VERSIONS file, per request
преди 6 години
Lunny Xiao
64b7068846
Add more test for login links and fix a bug on action retrieve (#2361)
* add more test for login links and fix a bug on action retrieve
преди 6 години
David Schneiderbauer
8aadf79f80
Add integration tests for signin (#2363)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
преди 6 години
Ethan Koenig
fd6e91077a
Fix SQL condition bug in GetFeeds(..) (#2360)
преди 6 години
Lunny Xiao
9413b48a0b
fix bug on create repo link on dashboard (#2359)
преди 6 години
Bo-Yi Wu
be4f6a754c
Revert "Changes for latest DroneCI (#2355)" (#2358)
This reverts commit faf4b503b2
.
преди 6 години
Bwko
1a5fe4326f
Add collaborative repositories to the dashboard (#2205)
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
преди 6 години
Thomas Boerger
faf4b503b2
Changes for latest DroneCI (#2355)
преди 6 години
Morlinest
7455604f0c
Remove (almost) server side data rendering from repo-search component (#2317)
* Rename some shorthands
* Remove (almost) server side data rendering from repo-search component template
преди 6 години
Lunny Xiao
2c6a0fdca8
update latest xorm version to vendor (#2353)
преди 6 години
Silke
5c29b0a5fe
Add badge and link to the Matrix room (#2348)
преди 6 години
Antoine GIRARD
fd8e8a421a
Improve swagger doc (#2274)
* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger
преди 6 години
Sandro Santilli
951c909a67
Add INTERNAL_TOKEN to integration .ini file (#2346)
Avoids override of source file upon running `make test-pgsql`
Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none
is found; the other ini files under integration/ all have an
INTERNAL_TOKEN
преди 6 години
Morlinest
53e6c947f1
Fix order of elements in dashboard html (#2344)
преди 6 години
Sandro Santilli
100ec93a65
Remove integration test executables on `make clean` (#2340)
преди 6 години
Sandro Santilli
2c3a229a3c
Add OpenID configuration in install page (#2276)
преди 6 години
Ethan Koenig
e7653a67a1
No error log entries for repo 404 (#2200)
преди 6 години
David Schneiderbauer
5707ad3bb7
Add AppURL without trailing slash to TOTP issuer parameter to prevent conflicting accounts on multiple gitea installations (#2335)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
преди 6 години
Morlinest
4c13a8458b
Fix repo-search template errors for go1.7 (#2336)
преди 6 години
Morlinest
e08d1fcc15
Fix variable name typo (#2327)
преди 6 години
Lauris BH
9df090e551
Add missing forks key for dashboard repository component (#2325)
Missing key that is used in #2285
преди 6 години
Morlinest
f3486360d2
Make use of Vue more universal (#2318)
преди 6 години
Lunny Xiao
9e9e1e0e52
Add public links check (#2323)
* add public links check
* more links for query parameters
преди 6 години
Lunny Xiao
aec826b023
fix template error on explore repos (#2319)
преди 6 години
Michael Kuhn
934dd41fa6
Make SHOW_USER_EMAIL also apply to profiles (#2258)
The e-mail address is currently only hidden from the explore page.
преди 6 години
Ethan Koenig
7907786040
Trigger sync webhooks on UI commit (#2302)
* Trigger sync webhooks on UI commit
* Also fix UI upload/delete
преди 6 години