summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixing wrong translations on sorttype oldest/latest (#2720)Jonas Franz2017-10-161-2/+2
|
* Merge password and 2fa page on user settings (#2695)Lunny Xiao2017-10-167-89/+117
| | | * merge password and 2fa page on user settings
* Fix PR, milestone and label functionality if issue unit is disabled (#2710)Lauris BH2017-10-167-66/+68
| | | | | | | | | | * 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
* Fix plain readme didn't render correctly on repo home page (#2705)Lunny Xiao2017-10-162-14/+9
| | | | | | | | * fix plain readme didn't render correctly on repo home page * fix missing render * remove unused template variables
* Integration test for activity page (#2704)Lauris BH2017-10-166-61/+122
| | | | | | | | * Integration test for activity page * Small code refactoring for acitvity page * Move activity stats calculation logic to model
* Create new branch from branch selection dropdown (#2130)Lauris BH2017-10-1514-69/+641
| | | | | | | | | | * 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
* Fix activity locale (#2709)Ethan Koenig2017-10-151-1/+1
|
* fix .netrc authentication (#2700)David Schneiderbauer2017-10-151-10/+24
| | | | | | * provide both possible authentication solutions Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix so that user can still fork his own repository to owned organizations ↵Lauris BH2017-10-158-27/+86
| | | | | | | | | | (#2699) * 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
* Remove direct user adding to organization members (#2641)Lauris BH2017-10-156-77/+0
|
* Add Activity page to repository (#2674)Lauris BH2017-10-1512-4/+686
| | | | | | | | | | | | | | * 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
* Fix organization watch migration (#2703)Lauris BH2017-10-141-1/+1
|
* Allow custom SSH user in UI for built-in SSH server (#2617) (#2678)Patrick G2017-10-143-3/+13
| | | | | | | | | | | | | | | | | * Allow custom SSH user in UI for built-in SSH server (#2617) * 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
* Fix orgnization user watch repository (#2670)Lunny Xiao2017-10-143-2/+40
| | | | | | | | | | * remove orgnization watch repositories * fix migration * fix typo and missing change * remove unused code
* Update hard-coded version to 1.3.0-dev (#2390)Sandro Santilli2017-10-122-2/+2
| | | | | | * Use -dev (1.3.0-dev is less than 1.3.0, according to semver) * Use fake version for testing purpose
* Remove redudant functions and code (#2652)Morlinest2017-10-105-117/+57
| | | * Remove redudant functions and code
* Add repository search unit and integration tests (#2575)Morlinest2017-10-102-7/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix panic on gogs webhook creation (#2675)David Schneiderbauer2017-10-081-2/+2
| | | | | | | | | | * 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>
* Rewrite migrations to not depend on future code changes (#2604)David Schneiderbauer2017-10-085-63/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v38 migration used an outdated version of RepoUnit model (#2602) * 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 (#2602) * 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
* GPG key email verification no longer case sensitive (#2661) (#2663)Julian Scholle2017-10-061-1/+2
| | | | | | | * GPG key email verification no longer case sensitive (#2661) * case insensitive GPG key email verification now cached (#2661) Signed-off-by: Julian Scholle <julian.scholle@googlemail.com>
* table `pull_request` wasn't updated correctly (#2649)Kazuki Sawada2017-10-061-1/+1
| | | | | | * Fix: table `pull_request` won't be updated correctly * Update also status column when manually merged
* Update MAINTAINERS (#2660)Morlinest2017-10-051-0/+1
|
* Add maintainer label for docker file (#2658)Bo-Yi Wu2017-10-053-2/+6
| | | | | | | | | | * 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>
* Refactor duplicated code in repo handlers (#2657)Ethan Koenig2017-10-051-86/+49
| | | | | | * Refactor duplicated code in repo handlers * ctx.Handle
* Change default sort order (#2647)Kazuki Sawada2017-10-053-10/+11
| | | | | | | | | | | | * sort repositories by `updated_unix` in Explore * Fix UI problem * Added missing sort order "newest" * Change default sort order * fmt
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-0531-84/+84
|
* Change pull description text (#2075) (#2646)Kazuki Sawada2017-10-041-11/+23
| | | | | | * Change pull description text * move duplicated code into helper function
* hide navbar when only 1 sign-in method is available (#2648)Kazuki Sawada2017-10-041-6/+6
|
* Fix index column deletion (#2651)Morlinest2017-10-041-1/+1
|
* Use session when creating user (#2638)Ethan Koenig2017-10-031-16/+20
|
* Use Semantic UI's Search component for user and repo search (#2636)harry2017-10-037-109/+49
| | | | | | | | | | | | | | | | * 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.
* Remove repo unit index (#2621)Morlinest2017-10-026-22/+33
| | | | | | * Remove repo unit index * Fix sqlite
* Fix go get response if only app URL is custom in configuration (#2634)Lauris BH2017-10-022-1/+8
| | | | | | * Fix go get response if only app URL is custom in configuration * Rewrite to update Domain setting to match AppURL
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-0135-314/+333
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Fix implementation of repo Home func (#2601)Morlinest2017-10-013-20/+33
| | | | | | * Fix implementation of repo Home func * Make fixture changes for testing
* Remove redudant CheckUnit calls in router (#2627)Morlinest2017-09-301-4/+4
|
* Link to gitea-specific Vagrant example (#2624)Sandro Santilli2017-09-301-9/+9
| | | .. rather than a gogs one
* Fix doubled issue tab introduced in migration v16 (#2611)David Schneiderbauer2017-09-282-0/+71
| | | | | * fix duplicate issue tab as UnitTypeIssue and UnitTypeExternalTracker are existing at the same time Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Remove redudant issue LoadAttributes() calls (#2614)Morlinest2017-09-272-12/+1
|
* Fix translation upload to crowdin (#2599)Lauris BH2017-09-251-0/+1
|
* Reduce usage of allcols on update (#2596)Lunny Xiao2017-09-2510-25/+21
| | | | | | * reduce usage of allcols on update * fix bug and tests
* backport from v1.2 branch: add secrets for github release (#2588) (#2598)Bo-Yi Wu2017-09-251-0/+1
|
* Make indexer code more reusable (#2590)Ethan Koenig2017-09-253-35/+83
|
* Add pre-build step for nodejs stuff (#2581)Morlinest2017-09-251-3/+8
|
* Compress css with nodejs (#2580)Morlinest2017-09-243-15/+12
|
* Automatic update of translations (#2585)Jonas Franz2017-09-231-0/+11
| | | | | | | | | | | | * Adding build step for uploading translations * Fixing crowdin project name * Using crowdin plugin * Changing secret name * Adding pull: true
* fix go get subpackage bug (#2584)Lunny Xiao2017-09-232-32/+14
| | | | | | * fix go get subpackage bug * merge the duplicated funtions
* Fix broken migration to add can_push field back to table (#2574)Lauris BH2017-09-231-2/+10
|
* Automatically regenerate indexer for incompatible versions (#2524)Ethan Koenig2017-09-231-19/+18
|
* Fix drone for tags (#2573)Lauris BH2017-09-221-3/+0
|