Commit Graph

6114 Commits (845ba9d1537eb1012bb0d448265b5346ef14d2d3)
 

Author SHA1 Message Date
Bwko 3ab580c8d6 Add branch overiew page ()
* Add branch overiew page

* fix changed method name on sub menu

* remove unused code
Jonas Bröms e86a0bf3fe Add support for extra sendmail arguments ()
* Add support for extra sendmail arguments

* Sendmail args to exec.command should be a list

* Add go-shellquote package

* Use go-shellquote lib for parsing Sendmail args

* Only parse if sendmail is configured
Michael Kuhn 3af5b67ed0 Sync MaxGitDiffLineCharacters with conf/app.ini ()
MAX_GIT_DIFF_LINE_CHARACTERS was updated in  but the corresponding
default value of MaxGitDiffLineCharacters was not changed. This can lead
to inconsistencies.
Lunny Xiao 178bd498b9
fix imports
Lunny Xiao 219ca5cadb
some fixes
Lunny Xiao 796be03e9b fix discord hook bug ()
Piotr Orzechowski b0f04e7593 Fix Polish language name spelling ()
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors ()
* hide unactive on explore users and some refactors

* fix test for removed Organizations

* fix test for removed Organizations

* fix imports

* fix logic bug

* refactor the toConds

* Rename TestOrganizations to TestSearchUsers and add tests for users

* fix other tests

* fix other tests

* fix watchers tests

* fix comments and remove unused code
Lunny Xiao 03900303a9 add default ssh ciphers ()
Lauris BH 9ba7898911 Update vendor git ()
harry 81d1e54a49 Use identicon image for default gravatar. ()
* Use identicon image for default gravatar.

* Fixed tests.
Lauris BH e4990ba205 Fix emojify image URL ()
Morlinest a257f88a09 Remove manual of unsupported option ()
Lauris BH 0e9e48bd5c Fix activity css conflit with semantic ui ()
Antoine GIRARD 619b9b5547 Move swagger-ui under /api/v1 ()
* Move swagger interface under /api/v1

* Update swagger-ui

* Add /api/swagger and prepare for multiple api version

* Update test links

* Fix footer link
Patrick G bc8d72666c Admin grammar fixes and improvements ()
spacetourist 7131c7d40d Configurable SSH cipher suite ()
* Configurable SSH cipher suite

* Update configuration file comment

* Add default in settings loading code

* Fix fmt and log messsage

* Remove default from code as this could probably might not be good idea
Lunny Xiao 985a39590b Use buffersize to reduce database connection when iterate ()
* use buffersize to reduce database connection when iterate

* fix typo

* add default value on app.ini comment
Antoine GIRARD 2112eb8741 Update vendor github.com/lib/pq ()
Jonas Bröms d4c9399576 Set default lfs content path ()
Lauris BH 222244836f Fix IE unsupported javascript construction ()
Jonas Bröms 847272a70d Only update mirror last update after successful sync ()
Patrick G 30afce1523 Fix tabs according to semantic-ui docs ()
Jonas Bröms 2a184f5924 Fix typos in app.ini ()
Morlinest ccd3577970 Fix repository search function ()
* Fix and remove FIXME

* Respect membership visibility

* Fix/rewrite searchRepositoryByName function

* Add unit tests

* Add integration tests

* Remove Searcher completely

* Remove trailing space
Lauris BH af4a094e5d Fix semantic-ui style conflict with v-cloak ()
Jonas Franz f4190f8df8 Render plain text README.txt monospaced ()
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Jonas Franz 33647aa43b Fixing wrong translations on sorttype oldest/latest ()
Lunny Xiao 9e865cee67 Merge password and 2fa page on user settings ()
* merge password and 2fa page on user settings
Lauris BH c1b0c9e7c4 Fix PR, milestone and label functionality if issue unit is disabled ()
* Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user

* Fix multi-actions in PR page

* Change error message

* Fix comment update and delete functionality in PR
Lunny Xiao a75d5c72bb Fix plain readme didn't render correctly on repo home page ()
* fix plain readme didn't render correctly on repo home page

* fix missing render

* remove unused template variables
Lauris BH c7f4f07765 Integration test for activity page ()
* Integration test for activity page

* Small code refactoring for acitvity page

* Move activity stats calculation logic to model
Lauris BH f3833b7ce4 Create new branch from branch selection dropdown ()
* Create new branch from branch selection dropdown and rewrite it to VueJS

* Make updateLocalCopyToCommit as not exported

* Move branch name validation to model

* Fix possible race condition
Ethan Koenig c25303b11c Fix activity locale ()
David Schneiderbauer 4ccb0fe338 fix .netrc authentication ()
* provide both possible authentication solutions

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Lauris BH 1ec4dc6c1d Fix so that user can still fork his own repository to owned organizations ()
* Fix so that user can still fork his own repository to his organizations

* Fix to only use owned organizations

* Add integration test for forking own repository to owned organization
Lauris BH 32ca299650 Remove direct user adding to organization members ()
Lauris BH f42dbdbae5 Add Activity page to repository ()
* Add Activity page to repository

* Add request data for activity

* Add issue data for activity

* Add user unit right checks

* Add releases to activity

* Log repository unit loading error
Lauris BH 8863e74f2a Fix organization watch migration ()
Patrick G e89bb7ef6a Allow custom SSH user in UI for built-in SSH server () ()
* Allow custom SSH user in UI for built-in SSH server ()

* Some fixes

* Did make fmt

* Updated according to review

- Renamed config to BUILTIN_SSH_SERVER_USER
- Removed unnecessary default string value for config item

* Updated according to review

* Fixed some minor issues
Lunny Xiao 514006a2e5 Fix orgnization user watch repository ()
* remove orgnization watch repositories

* fix migration

* fix typo and missing change

* remove unused code
Sandro Santilli a4cd4616c6 Update hard-coded version to 1.3.0-dev ()
* Use -dev (1.3.0-dev is less than 1.3.0, according to semver)

* Use fake version for testing purpose
Morlinest dff26e25ca Remove redudant functions and code ()
* Remove redudant functions and code
Morlinest c2346e4469 Add repository search unit and integration tests ()
* Add more repo search tests

* Fix repo search tests

* Always test returned repos length

* Add test with lower pagesize limit (test more pages)

* Add and fix /api/repo/search integration tests

* Simplify unit tests code

* Simplify and unify integration tests code

* Improve test coverage

* Temporary fix tests due to bugs in current repo search implementation

* Revert removing not nil Searcher

* Add more checks to tests

* Simplify privacy checks in /api/repo tests

* Temporary remove privacy check from repo search tests
David Schneiderbauer 0cef8ce192 fix panic on gogs webhook creation ()
* fix panic on gogs webhook creation

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* fix panic in gogs webhook edit

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
David Schneiderbauer ebac051e72 Rewrite migrations to not depend on future code changes ()
* v38 migration used an outdated version of RepoUnit model ()

* change repoUnit model in migration

* fix v16 migration repo_unit table

* fix lint error

* move type definition inside function

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* fix lint error

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* Fix time tracking migration

* Refactor code

* Fix migration from Gogs

* v38 migration used an outdated version of RepoUnit model ()

* change repoUnit model in migration

* fix v16 migration repo_unit table

* fix lint error

* move type definition inside function

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* fix lint error

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* Fix time tracking migration

* Refactor code

* Fix migration from Gogs

* add error check

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* Additiomal fixes for migrations

* Fix timetracking migration

* Add back nil check
Julian Scholle 92123fe82a GPG key email verification no longer case sensitive () ()
* GPG key email verification no longer case sensitive ()

* case insensitive GPG key email verification now cached ()

Signed-off-by: Julian Scholle <julian.scholle@googlemail.com>
Kazuki Sawada ffab139c91 table `pull_request` wasn't updated correctly ()
* Fix: table `pull_request` won't be updated correctly

* Update also status column when manually merged
Morlinest 6b62f042c6 Update MAINTAINERS ()
Bo-Yi Wu 68674649df Add maintainer label for docker file ()
* Add maintainer label for docker file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>