Antoine GIRARD
ee3e0725b0
Fix some tests : make coverage -> test ( #2492 )
* Fix test : make coverage -> test
* Refactor integration tests to be able to run them in parallel
* Add custom local repository temp path
7 years ago
Jonas Östanbäck
e0d4bdc99e
Fix fmt error in mailer ( #2490 )
7 years ago
Jonas Östanbäck
eb90ac32c4
Fix slice out of bounds error in mailer ( #2479 )
7 years ago
Albert
4f88b44490
* Fix fileview rendering bug #2470 ( #2477 )
7 years ago
Thomas Boerger
ee05536bb4
Hotfix for integration testing ( #2473 )
* Hotfix for integration testing
* Comment sqlite tests because of database locking issues
7 years ago
Thomas Boerger
1e2f7e2219
Changes for latest DroneCI ( #2362 )
7 years ago
Lunny Xiao
d0e32b0352
hide branch on pull request view or create UI ( #2454 )
7 years ago
Antoine GIRARD
517e1115b4
Make repo private to no interfere with other tests ( #2467 )
7 years ago
Antoine GIRARD
90af250342
Only check at least one email gpg key ( #2266 )
* Only require one email (possibly not yet validated)
* Update message error and check validation of commit
* Add integrations tests
* Complete integration for import
* Add pre-check/optimization
* Add some test (not finished)
* Finish
* Fix fixtures
* Fix typo
* Don't guess key ID
7 years ago
Lunny Xiao
88443822f2
add release notes of v1.1.4 ( #2463 )
7 years ago
Lauris BH
1d4466ccc4
Fix migration from pre-v15 to 1.2.0 ( #2460 )
7 years ago
Lunny Xiao
7350ff98fa
Add changelog config file for generate changelog ( #2461 )
7 years ago
Lunny Xiao
503d20bb2f
bug fixed
7 years ago
Ethan Koenig
e4e41c4830
Webhooks for repo creation/deletion ( #1663 )
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
7 years ago
Sandro Santilli
9e57ba328b
Wrap most text to 80 columns ( #2452 )
7 years ago
Lunny Xiao
c343c76467
fix orgnization webhooks ( #2422 )
* fix org webhooks
* remove trace code
7 years ago
Lunny Xiao
7935271b57
some refactors for issue and comments ( #2419 )
7 years ago
Sandro Santilli
0a4f1bb36d
Wrap most paragraphs to 80 columns ( #2396 )
Reduces patches size and makes them more readable
7 years ago
Lunny Xiao
4a6aedf41c
fix webhook test ( #2415 )
* fix webhook test
* fix error message
* fix typo
7 years ago
Ethan Koenig
2c4d38a6c7
Fix route handler order ( #2409 )
* Fix route handler order
* Fix more routes
7 years ago
Lunny Xiao
5539562312
fix missing orgnization discord webhook ( #2414 )
7 years ago
Antoine GIRARD
cfc7193bb5
Update CONTRIBUTING following #2329 discussion
Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)
7 years ago
Lauris BH
01faf6fb67
Fix releases to be counted from database not tags ( #2389 )
7 years ago
Ethan Koenig
648c51aa66
Error message for integration test ( #2410 )
7 years ago
Morlinest
5b0e53b124
Fix tests code to prevent some runtime errors ( #2381 )
* Fix tests code to prevent some runtime errors
* Reduce nesting
7 years ago
Lunny Xiao
3d63ae00ae
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
7 years ago
Lunny Xiao
48312b2c58
fix duplicated feed ( #2370 )
7 years ago
Morlinest
23a34c67c0
Fix "index out of range" runtime error in repo_list tests ( #2376 )
7 years ago
Kim "BKC" Carlbäcker
c0981f7e04
Clarify Translation Process. Also fix branch names ( #2378 )
* Clarify Translation Process. Also fix branch names
* Update CONTRIBUTING.md
7 years ago
Manuel
e0d52a112b
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>
7 years ago
Lunny Xiao
e17157f45a
Fix missing collabrative repos ( #2367 )
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
7 years ago
Zsombor
af78c757b7
Add possibility to record branch or tag information in an issue ( #780 )
7 years ago
David Schneiderbauer
492c171d49
Log failed authentication attempts with remote address for fail2ban ( #2334 )
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Sandro Santilli
62b3f44afe
Fix integration test after librejs location change ( #2374 )
Fixes #2373
7 years ago
Michael Lustfield
738293416a
Move themes to plugin directory. Fixes #2372 ( #2375 )
7 years ago
Lunny Xiao
1bebb5320e
update translation from crowdin ( #2368 )
7 years ago
Michael Lustfield
b9936268dc
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
7 years ago
Lunny Xiao
622e693cc4
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
7 years ago
David Schneiderbauer
55a96e05e9
Add integration tests for signin ( #2363 )
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Ethan Koenig
a2fc1ad0b5
Fix SQL condition bug in GetFeeds(..) ( #2360 )
7 years ago
Lunny Xiao
4ddab17442
fix bug on create repo link on dashboard ( #2359 )
7 years ago
Bo-Yi Wu
c2a604fbb6
Revert "Changes for latest DroneCI ( #2355 )" ( #2358 )
This reverts commit faf4b503b2
.
7 years ago
Bwko
b26bcf9b11
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
7 years ago
Thomas Boerger
d025b8328e
Changes for latest DroneCI ( #2355 )
7 years ago
Morlinest
056806c9a1
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
7 years ago
Lunny Xiao
06f3123edd
update latest xorm version to vendor ( #2353 )
7 years ago
Silke
e58cb47891
Add badge and link to the Matrix room ( #2348 )
7 years ago
Antoine GIRARD
8b81ff17f5
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
7 years ago
Sandro Santilli
e2e92ebb3b
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
7 years ago
Morlinest
47fbc62f5e
Fix order of elements in dashboard html ( #2344 )
7 years ago