zeripath
ed2bdf455c
Fix background of signed-commits on arc-green ( #12837 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
GiteaBot
c950ea10ab
[skip ci] Updated translations via Crowdin
4 years ago
Lunny Xiao
642c3c258b
Fix git open close bug ( #12834 )
4 years ago
GiteaBot
6a1a6332de
[skip ci] Updated translations via Crowdin
4 years ago
6543
00a806de68
[API] Milestone endpoints accept names too ( #12649 )
...
* API: Milestone endpoints accept names too
* add test
* rename
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
GiteaBot
33f606ce4c
[skip ci] Updated translations via Crowdin
4 years ago
Jui-Nan Lin
6c4e9623cc
fix: use Base36 for all code indexers ( #12830 )
4 years ago
GiteaBot
53b656582e
[skip ci] Updated translations via Crowdin
4 years ago
John Olheiser
b2bda11595
Fix markdown meta parsing ( #12817 )
...
* Fix meta parsing and add minimal test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add license
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Require first separator and add more tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Make fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Go lets this work gracefully 🙏
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
zeripath
f91bb745d6
Don't replace underscores in auto-generated IDs in goldmark ( #12805 )
...
Fix #12196
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
GiteaBot
55e05ad1ce
[skip ci] Updated translations via Crowdin
4 years ago
Lunny Xiao
8ce10fb6e1
Fix bug on elastic search ( #12811 )
...
* Fix bug on elastic search
* Add more comments for elastic search result startIndex and endIndex
* refactor indexPos
* refactor indexPos
* Fix bug
4 years ago
赵智超
ae528d8321
Translate two small lables on commit statuse list ( #12821 )
...
* Requested
* Details
Signed-off-by: a1012112796 <1012112796@qq.com>
4 years ago
GiteaBot
c18c6cf4cf
[skip ci] Updated translations via Crowdin
4 years ago
silverwind
ffddf3f8a6
Make SVG size argument optional ( #12814 )
...
Now defaults to 16 on both frontend and backend.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
John Olheiser
26c4a049da
Issue templates directory ( #11450 )
...
* Issue templates
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add some comments, appease the linter
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add docs and re-use dir candidates
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add default labels to issue templates
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Generate swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Suggested changes
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update issue.go
* Suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Extract metadata from legacy if possible
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Lunny Xiao
dd1a651b58
Move all push update operations to a queue ( #10133 )
...
* Fix test
* Add no queue for test only
* improve code
* Auto watch whatever branch operation
* Fix lint
* Rename noqueue to immediate
* Remove old PushUpdate function
* Fix tests
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
GiteaBot
910947fbcd
[skip ci] Updated translations via Crowdin
4 years ago
zeripath
7777017b43
Show PR settings on empty repos ( #12808 )
...
Fix #12788
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
zeripath
4eb0a1dfaf
Disable watch and star if not signed in ( #12807 )
...
Fix #12070
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
zeripath
e0ac545043
Add postgres schema to the search_path on database connection ( #12634 )
...
Rather than rely on the user running the gitea server and db setting the
schema search_path correctly - if gitea is run with a schema we should
simply set the search_path to have that schema first in the path.
Fix #12505
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
zeripath
25c870faa9
Whilst changing the character set to utf8mb4 we should set ROW_FORMAT=dynamic too ( #12804 )
...
Fix #12801
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
GiteaBot
29ac1f9122
[skip ci] Updated translations via Crowdin
4 years ago
zeripath
a064153235
Set opengraph attributes on org pages ( #12803 )
...
Fix #12778
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
zeripath
bfd9ca33b7
Remove double escape on labels addition in comments ( #12809 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
6543
fd60ebfe14
[API] Migration: Change ServiceType String ( #12672 )
...
* use different structs for MigrateRepoOptions on UI and API
* Fix TokenAuth and rename UID to an understandable Name
* fix swagger doc
* simplify & mk redable
* R E F A C T O R:
migration has now internal 3 structs to store its options:
* the Options for WebUI: modules/auth/repo_form.go
* the Options for API: modules/structs/repo.go
* the option struct with after validation for internal prossessing: modules/migrations/base/options.go
* Copyright Header
* Deprecate UID - add RepoOwner
* adopt repo.go -> migrate.go
* add comment about each struct purpose
* lint
4 years ago
zeripath
daefdd1385
Update gitea.com/macaron/i18n ( #12806 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
zeripath
47289344e2
Add Primary Key to Topic and RepoTopic ( #12639 )
...
Add a primary key to Topic and RepoTopic tables
Fix #8920
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
赵智超
4f8dad37f8
ui: change commentTag style ( #11668 )
...
* ui: change commentTag style
* Add comment tag in first comment (issue content)
* Show CommentTagPoster in other way
Signed-off-by: a1012112796 <1012112796@qq.com>
* Update routers/repo/issue.go
Co-authored-by: Lauris BH <lauris@nix.lv>
* fix lint
* revert CommentTagPoster
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
GiteaBot
5b10da241b
[skip ci] Updated translations via Crowdin
4 years ago
Marshmallow
4d1c41d4e2
fix readme format ( #12797 )
...
Originally, the tabbed content under 'If pre-built frontend files are present it is possible to only build the backend:‘ has tab within the tabbed content. This commit fixed it.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
John Olheiser
c3e8c9441a
Add check for LDAP group membership ( #10869 )
...
This is a port of gogs/gogs#4398
The only changes made by myself are:
Add locales
Add some JS to the UI
Otherwise all code credit goes to @aboron
Resolves #10829
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
Bagas Sanjaya
4c42fce401
Add placeholder text for bio profile text form ( #12792 )
...
* Add placeholder text
* Localize
4 years ago
GiteaBot
7354efe702
[skip ci] Updated translations via Crowdin
4 years ago
6543
e10327168d
GitLab DL: normalizeColor ( #12793 )
4 years ago
Lunny Xiao
0db9043aa7
return error when create gitlabdownloader ( #12790 )
4 years ago
GiteaBot
b333aa7db4
[skip ci] Updated translations via Crowdin
4 years ago
silverwind
a775428516
Update JS dependencies ( #12782 )
...
- Update all dependencies
- Add explicit postcss dependency as dictated by postcss-loader
- Adapt for new postcss-loader syntax
- Move sourceMap options to top for consistency
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
techknowlogick
33ac0cc125
Set language via AJAX ( #12785 )
...
* Set language via AJAX
* fix lint
4 years ago
GiteaBot
fcc410c350
[skip ci] Updated translations via Crowdin
4 years ago
赵智超
ffa12bdb71
Fix "only mail on mention" bug ( #12775 )
...
* fix mail mention bug
fix #12774
Signed-off-by: a1012112796 <1012112796@qq.com>
* fix test
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
GiteaBot
0cd49aaebd
[skip ci] Updated translations via Crowdin
4 years ago
Lunny Xiao
e153cf07c3
Add a migrate service type switch page ( #12697 )
...
* Add a migrat service type switch page
* Improve translations
* remove images
* Fix images
* remove extra create repo button on dashboard
* Follow reviewers' opinions
* Fix frontend lint
* Remove wrong submit file
* Fix tests
* Adjust the size of image
* Apply suggestions from code review
Co-authored-by: 赵智超 <1012112796@qq.com>
* Remove username and password from migration of github/gitlab
* Improve docs
* Improve interface docs
Co-authored-by: 赵智超 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
GiteaBot
6483dbc8ec
[skip ci] Updated translations via Crowdin
4 years ago
zeripath
7be0939332
Add MySQL FAQ section ( #12780 )
...
* Add MySQL FAQ section
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update docs/content/doc/help/faq.en-us.md
* Update docs/content/doc/help/faq.en-us.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
4 years ago
GiteaBot
090024db37
[skip ci] Updated translations via Crowdin
4 years ago
zeripath
96969ddec8
Fix yet another bug with diff file names ( #12771 )
...
Following further testing it has become apparent that the diff line
cannot be used to determine filenames for diffs with any sort of predictability
the answer therefore is to use the other lines that are provided with a diff
Fix #12768
Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
GiteaBot
1fbc50f974
[skip ci] Updated translations via Crowdin
4 years ago
John Olheiser
c6e4bc53aa
Check passwords against HaveIBeenPwned ( #12716 )
...
* Implement pwn
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update module
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Apply suggestions mrsdizzie
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
* Add link to HIBP
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add more details to admin command
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add context to pwn
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Consistency and making some noise ;)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
Lunny Xiao
bea343ce09
Upgrade xorm to v1.0.5 ( #12765 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago