You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
6543 66028d58f9 [UI] IssuePage multi repo select (#8741)
* Make repository list @ issues/PR page persist

Will partially fix #6355

* Enable multiple selections in repo list @ issues/PR page

Part of issue #6355

* Add RepoIDs to UserIssueStatsOptions to make "type" count correct when selecting one/multiple repos.
* Replace variable "repo" with list "repos[]" and enable multiple selections of repositories from list by including/excluding RepoIDs in list.
*

* Remove redundant code

* Add 'All' button 

Improves functionality of the page, so that backtracking is not necessary to reset the page

* Remove redundant variable

Completely replace 'RepoID' with 'RepoIDs' and remove redundant code

* Add RepoIDs to label link

* Revert part of code to previous version to troubleshoot build failure

* Implement old and new pieces of code whilst adhering to multi select

* Attempt to join the two versions

Last commit passed tests but doesn't work in practice, this works in practice and hopefully passes the tests.

* Update tests to desired state

* Fix pagination implementation and tests

* Pass repoIDs as `repos=[1,2,3...]` instead of several `repos[]=..`
* Update tests file to reflect new functionality
* Update template with new `repos` format
* Implement new solution to show constant "total issues" count for "All" button

* Correct behavior when passing zero to array

* Comment out test url returning 404

This keeps returning 404 in the test despite working in practice, for the sake of running more tests I am commenting it out

* Comment out another test url returning 404

Last attempt, if more tests crash I will uncomment the urls and request assistance.

* Reenable tests and test fix

* Re-enable tests
* Make selecting "In your repositories" reset selection as passing IDs of repos belonging to other profiles causes breakage
* Remove unnecessary (with multi-selection enable) code

* Drop repo from repo map and total count if permission denied

* Remove extra parenthesis

* make template work again

* find bug!

* forgot the '#' at bugfixing

* delete unused RepoID

* compile regex only one time

* make fmt

* local variable = capital letter lower

* check if repos query pattern is correct

* pagination remove last , - make regex work again

* use Replace instead of ReplaceAll; del delete

* fix test

* how did this test binary got in?!?
dont forgot the "-p" at git add * !

* dont replace -> cut fisrt & last string

Co-Authored-By: zeripath <art27@cantab.net>

* jet another regex

dont mind as long as it has the same result and is performatn ...

Co-Authored-By: zeripath <art27@cantab.net>

* dont use nonexisting repo for test

* exclude /issues?type=created_by from test

* add table to querys
use same syntax in each query (table.colum)

* add new issue for test

* dont make a workaround or something else
this need a refactor itself and is out of scope for this PR

* fix misspell

* CI.redo()

* englisch txt update

Co-Authored-By: zeripath <art27@cantab.net>

* add sugestions

* Tweak & Fix

* CI.restart()
5 years ago
.github Display Github support button (#7343) 6 years ago
assets Add task to generate images from SVG and change to new logo (#2194) 8 years ago
cmd Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
contrib Rephrase comment about RuntimeDirectory option (#8912) 5 years ago
custom/conf [Feature] Custom Reactions (#8886) 5 years ago
docker docker: ask s6 to stop all service when gitea stop (#9171) 5 years ago
docs [Feature] Custom Reactions (#8886) 5 years ago
integrations [UI] IssuePage multi repo select (#8741) 5 years ago
models [UI] IssuePage multi repo select (#8741) 5 years ago
modules [Feature] Custom Reactions (#8886) 5 years ago
options [skip ci] Updated translations via Crowdin 5 years ago
public Add comment highlight when target from url (#9047) 5 years ago
routers [UI] IssuePage multi repo select (#8741) 5 years ago
scripts Update gitignore list (#5258) 6 years ago
services Extract createComment (#9125) 5 years ago
snap Use vfsgen instead of go-bindata (#7080) 6 years ago
templates [UI] IssuePage multi repo select (#8741) 5 years ago
vendor upgrade levelqueue to 0.1.0 (#9192) 5 years ago
web_src Add comment highlight when target from url (#9047) 5 years ago
.changelog.yml Add changelog config file for generate changelog (#2461) 8 years ago
.drone.yml Check compiled files during build (#9042) 5 years ago
.editorconfig modernize js and use babel (#8973) 5 years ago
.eslintignore move semantic.dropdown.custom.js to webpack (#9064) 5 years ago
.eslintrc move semantic.dropdown.custom.js to webpack (#9064) 5 years ago
.gitattributes ignore static files statstics for linguist 8 years ago
.gitignore add __debug_bin file to gitignore (#8740) 5 years ago
.golangci.yml Add API for Issue set Subscription (#8729) 5 years ago
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 7 years ago
.npmrc add 'npm' and 'npm-update' make targets and lockfile (#7246) 6 years ago
.revive.toml refactor: replace lint to revive (#5422) 6 years ago
.stylelintrc replace lesshint with stylelint (#7305) 6 years ago
BSDmakefile Add BSDmakefile to prevent errors when `make` is called under FreeBSD (#4446) 7 years ago
CHANGELOG.md Changelog for 1.10.0 (#8978) (#8987) 5 years ago
CONTRIBUTING.md Correct some outdated statements in the contributing guidelines (#8612) 5 years ago
DCO follow the advisor: add DCO and some improvements 8 years ago
Dockerfile use go 1.13 (#8088) 5 years ago
LICENSE Fix typo 8 years ago
MAINTAINERS Add myself as maintainer (#8708) 5 years ago
Makefile Check compiled files during build (#9042) 5 years ago
README.md README: Update Screenshots and Badges in ZH (#8813) 5 years ago
README_ZH.md README: Update Screenshots and Badges in ZH (#8813) 5 years ago
go.mod upgrade levelqueue to 0.1.0 (#9192) 5 years ago
go.sum upgrade levelqueue to 0.1.0 (#9192) 5 years ago
main.go Add golangci (#6418) 6 years ago
package-lock.json enable lazy-loading of gitgraph.js (#9036) 5 years ago
package.json enable lazy-loading of gitgraph.js (#9036) 5 years ago
tools.go Use vendored go-swagger (#8087) 5 years ago
webpack.config.js enable lazy-loading of gitgraph.js (#9036) 5 years ago

README.md

简体中文

logo Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ codecov Go Report Card GoDoc GitHub release Help Contribute to Open Source Become a backer/sponsor of gitea License: MIT Crowdin

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

TAGS="bindata" make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, or forum!

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

FAQ

How do you pronounce Gitea?

Gitea is pronounced /ɡɪti:/ as in "gi-tea" with a hard g.

Why is this not hosted on a Gitea instance?

We're working on it.

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.

Screenshots

Looking for an overview of the interface? Check it out!

Dashboard User Profile Global Issues
Branches Web Editor Activity
New Migration Migrating Pull Request View
Pull Request Dark Diff Review Dark Diff Dark