Commit Graph

5589 Commits (01d7189c2da827e2a7c793cffdc9166c35bc0507)
 

Author SHA1 Message Date
Jonas Östanbäck 01d7189c2d Fix slice out of bounds error in mailer ()
Albert 250f1236dc * Fix fileview rendering bug ()
Thomas Boerger fd85e25f5f Hotfix for integration testing ()
* Hotfix for integration testing

* Comment sqlite tests because of database locking issues
Thomas Boerger 4b8fef143e Changes for latest DroneCI ()
Lunny Xiao 95c408ffa5 hide branch on pull request view or create UI ()
Antoine GIRARD 4f9a28e1f5 Make repo private to no interfere with other tests ()
Antoine GIRARD 7c417bbb0d Only check at least one email gpg key ()
* 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
Lunny Xiao 5f4210a9b0 add release notes of v1.1.4 ()
Lauris BH a569d3dedc Fix migration from pre-v15 to 1.2.0 ()
Lunny Xiao 32238e0ac9 Add changelog config file for generate changelog ()
Lunny Xiao caa61a2b99
bug fixed
Ethan Koenig b689bb6180 Webhooks for repo creation/deletion ()
* Webhooks for repo creation/deletion

* add createHookTask

* Add handles for GetSlackPayload and GetDiscordPayload
Sandro Santilli 79f7839633 Wrap most text to 80 columns ()
Lunny Xiao 04ec79579c fix orgnization webhooks ()
* fix org webhooks

* remove trace code
Lunny Xiao 5de94a67cf some refactors for issue and comments ()
Sandro Santilli edc817a1dc Wrap most paragraphs to 80 columns ()
Reduces patches size and makes them more readable
Lunny Xiao 3e6fed368b fix webhook test ()
* fix webhook test

* fix error message

* fix typo
Ethan Koenig 491f0ebc58 Fix route handler order ()
* Fix route handler order

* Fix more routes
Lunny Xiao 15d3872281 fix missing orgnization discord webhook ()
Antoine GIRARD 019c90ab8f Update CONTRIBUTING following discussion
Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)
Lauris BH edb95faba2 Fix releases to be counted from database not tags ()
Ethan Koenig d23b36c598 Error message for integration test ()
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors ()
* Fix tests code to prevent some runtime errors

* Reduce nesting
Lunny Xiao ced50e0ec1 Implementation of discord webhook ()
* implementation of discord webhook

* fix webhooks

* fix typo and unnecessary color values

* fix typo

* fix imports and revert changes to webhook_slack.go
Lunny Xiao e41da3845d fix duplicated feed ()
Morlinest 0f2c98adcd Fix "index out of range" runtime error in repo_list tests ()
Kim "BKC" Carlbäcker ae08e6c5be Clarify Translation Process. Also fix branch names ()
* Clarify Translation Process. Also fix branch names

* Update CONTRIBUTING.md
Manuel d9d8fad230 Add UseCompatSSHURI setting ()
* 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>
Lunny Xiao f61a1d210c Fix missing collabrative repos ()
* fix missing collabrative repos

* fix bug of collabrative

* fix SQL quotes
Zsombor da230a2872 Add possibility to record branch or tag information in an issue ()
David Schneiderbauer 174255e74e Log failed authentication attempts with remote address for fail2ban ()
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Sandro Santilli 233bbcfa94 Fix integration test after librejs location change ()
Fixes 
Michael Lustfield 874f9be3e6 Move themes to plugin directory. Fixes ()
Lunny Xiao 0fd9289810 update translation from crowdin ()
Michael Lustfield a915a09e4f Moved vendored js/css into `public/vendor` and documented sources () ()
* Cleaning up public/ and documenting js/css libs.

This commit mostly addresses  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 .

* 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 .

* Updating SafeJS function per lint suggestion

* Added VERSIONS file, per request
Lunny Xiao 64b7068846 Add more test for login links and fix a bug on action retrieve ()
* add more test for login links and fix a bug on action retrieve
David Schneiderbauer 8aadf79f80 Add integration tests for signin ()
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Ethan Koenig fd6e91077a Fix SQL condition bug in GetFeeds(..) ()
Lunny Xiao 9413b48a0b fix bug on create repo link on dashboard ()
Bo-Yi Wu be4f6a754c Revert "Changes for latest DroneCI ()" ()
This reverts commit faf4b503b2.
Bwko 1a5fe4326f Add collaborative repositories to the dashboard ()
* Add collaborative repositories to the dashboard

Remove some unused code from the Dashboard func

* fix some bug and some refactor

* fix tests
Thomas Boerger faf4b503b2 Changes for latest DroneCI ()
Morlinest 7455604f0c Remove (almost) server side data rendering from repo-search component ()
* Rename some shorthands

* Remove (almost) server side data rendering from repo-search component template
Lunny Xiao 2c6a0fdca8 update latest xorm version to vendor ()
Silke 5c29b0a5fe Add badge and link to the Matrix room ()
Antoine GIRARD fd8e8a421a Improve swagger doc ()
* 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
Sandro Santilli 951c909a67 Add INTERNAL_TOKEN to integration .ini file ()
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
Morlinest 53e6c947f1 Fix order of elements in dashboard html ()
Sandro Santilli 100ec93a65 Remove integration test executables on `make clean` ()
Sandro Santilli 2c3a229a3c Add OpenID configuration in install page ()