Commit Graph

5791 Commits (134958fd9f40b96384bc76598409a4a6fa032708)
 

Author SHA1 Message Date
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>
Ethan Koenig 67e1c29dc5 Refactor duplicated code in repo handlers ()
* Refactor duplicated code in repo handlers

* ctx.Handle
Kazuki Sawada 43253202e9 Change default sort order ()
* sort repositories by `updated_unix` in Explore

* Fix UI problem

* Added missing sort order "newest"

* Change default sort order

* fmt
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
Kazuki Sawada e1266a19c8 Change pull description text () ()
* Change pull description text

* move duplicated code into helper function
Kazuki Sawada fcca037576 hide navbar when only 1 sign-in method is available ()
Morlinest a79af9cf6f Fix index column deletion ()
Ethan Koenig 4b2c8ca533 Use session when creating user ()
harry b3cfa5a77e Use Semantic UI's Search component for user and repo search ()
* Use search component on org invitation user input.

* Search component for collaboration and members.

* Search component for repo search.

* minCharacters for search input

* Display full_name for user search.

* Fixed missing uid query parameter for repo search.

* Removed unused comment.
Morlinest a04718a2a6 Remove repo unit index ()
* Remove repo unit index

* Fix sqlite
Lauris BH 46cc45f049 Fix go get response if only app URL is custom in configuration ()
* Fix go get response if only app URL is custom in configuration

* Rewrite to update Domain setting to match AppURL
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs ()
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
Morlinest 1ad902d529 Fix implementation of repo Home func ()
* Fix implementation of repo Home func

* Make fixture changes for testing
Morlinest bae9cbce9c Remove redudant CheckUnit calls in router ()
Sandro Santilli fbaa52a3a8 Link to gitea-specific Vagrant example ()
.. rather than a gogs one
David Schneiderbauer 26e49b8e3d Fix doubled issue tab introduced in migration v16 ()
* fix duplicate issue tab as UnitTypeIssue and UnitTypeExternalTracker are existing at the same time

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Morlinest cc84ca40d7 Remove redudant issue LoadAttributes() calls ()
Lauris BH 339d7de409 Fix translation upload to crowdin ()
Lunny Xiao dd55534b82 Reduce usage of allcols on update ()
* reduce usage of allcols on update

* fix bug and tests
Bo-Yi Wu 6b6f16cfae backport from v1.2 branch: add secrets for github release () ()
Ethan Koenig fa28de820e Make indexer code more reusable ()
Morlinest 0b0d85c90d Add pre-build step for nodejs stuff ()
Morlinest 086eb62691 Compress css with nodejs ()
Jonas Franz fa6d7c7b99 Automatic update of translations ()
* Adding build step for uploading translations

* Fixing crowdin project name

* Using crowdin plugin

* Changing secret name

* Adding pull: true