John Olheiser and GitHub
4bc6bfb476
Changelog 1.19.2 ( #24365 )
...
Add changelog for 1.19.2
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-04-28 07:39:52 +08:00
John Olheiser and GitHub
4d2d3bd65d
Changelog 1.18.5 ( #23045 ) ( #23049 )
...
Frontport #23045
2023-02-21 13:36:19 -06:00
0c190e396d
Fix unmatched div in project filter ( #22832 )
...
(Note that the below screenshots aren't the same repo, the former is try
and the latter is local)
Before

After

Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2023-02-09 11:15:07 -05:00
John Olheiser and GitHub
4dd7d61ac8
Load issue before accessing index in merge message ( #22822 )
...
Fixes #22821
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-02-09 10:47:52 +08:00
John Olheiser and GitHub
189d5b7045
Add repo adoption to FAQ ( #22778 )
...
This should be a simple set of steps to achieve
repo adoption.
2023-02-06 10:20:20 -06:00
John Olheiser and GitHub
361d807274
Update gogs upgrade information ( #22777 )
...
It seems that migrating from Gogs `0.12.x` and above may require more
work as time goes on and the projects continue to diverge.
This PR updates the docs to make it more clear.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-02-06 14:37:18 +08:00
John Olheiser and GitHub
2052a9e2b4
Consume hcaptcha and pwn deps ( #22610 )
...
This PR just consumes the
[hcaptcha](https://gitea.com/jolheiser/hcaptcha ) and
[haveibeenpwned](https://gitea.com/jolheiser/pwn ) modules directly into
Gitea.
Also let this serve as a notice that I'm fine with transferring my
license (which was already MIT) from my own name to "The Gitea Authors".
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-29 09:49:51 -06:00
John Olheiser and GitHub
642db3c8f7
Fix delete_repo in template ( #22606 )
...
Currently the value doesn't match the model, so selecting it results in
a 500.
https://github.com/go-gitea/gitea/blob/e8ac6a9aeacf0adf21982abc51baa8938e5dd6bb/models/auth/token_scope.go#L42
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-26 14:36:15 -06:00
John Olheiser and GitHub
9cc15d18df
Project links should use parent link methods ( #22587 )
...
Instead of re-creating, these should use the available `Link` methods
from the "parent" of the project, which also take sub-urls into account.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-23 15:51:18 -06:00
John Olheiser and GitHub
649f89efdc
Frontport 1.18.2 and 1.18.3 Changelogs ( #22580 )
...
Frontport #22530 #22575
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-23 09:36:00 -06:00
John Olheiser and GitHub
46d024428f
fix: read:org scope ( #22556 )
...
Hard to see in the diff, but this was duplicated in the wrong section.

2023-01-20 13:42:54 -05:00
John Olheiser and GitHub
60c4725cc2
docs: add swagger.json file location to FAQ ( #22489 )
...
This just adds a mention on how to get the `swagger.json` for an
instance.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-17 14:18:42 -06:00
John Olheiser and GitHub
0a6b57bcaf
docs: bump Gitea version ( #22490 )
...
Forgot to do this with the frontport
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-17 18:42:12 +00:00
John Olheiser and GitHub
51951d4503
chore: changelog 1.18.1 ( #22471 ) ( #22487 )
...
Frontport #22471
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-17 12:18:22 -06:00
John Olheiser and GitHub
1ee1147baa
fix: don't replace err variable in nested check ( #22416 )
...
We can use `:=` to make `err` local to the if-scope instead of
overwriting the `err` in outer scope.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-12 14:57:12 -06:00
John Olheiser and GitHub
e7f1d45eb5
fix: omit avatar_url in discord payload when empty ( #22393 )
...
Fixes #22391
This field is optional for Discord, however when it exists in the
payload it is now validated.
Omitting it entirely just makes Discord use the default for that
webhook, which is set on the Discord side.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-10 14:01:52 -05:00
John Olheiser and GitHub
32e863439c
fix: update settings table on install ( #22326 )
...
Related to #22325
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-03 14:33:41 -06:00
fcd6ceef2b
fix: code search title translation ( #22285 )
...
`code.title` isn't an existing translation.
`explore.code` is the translation used for the tab, which I think
matches closely enough for this instead of a brand new translation.
Open to feedback on whether a new translation would be preferred
instead.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2023-01-02 17:18:08 +08:00
9914b21493
fix: update libcurl in docs pipeline ( #22203 )
...
updating libcurl fixes the mismatch between curl and libcurl
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
2022-12-21 13:45:32 -06:00
John Olheiser and GitHub
2d2cf589f7
Fix linked account translation ( #21331 )
...
fix key used for translation
2022-10-04 07:51:07 -05:00
John Olheiser and GitHub
f82f1d05b1
Make app.ini read-only message more prominent ( #21315 )
2022-10-02 04:12:59 -04:00
8cd3237a9e
Better repo API unit checks ( #21130 )
...
This PR would presumably
Fix #20522
Fix #18773
Fix #19069
Fix #21077
Fix #13622
-----
1. Check whether unit type is currently enabled
2. Check if it _will_ be enabled via opt
3. Allow modification as necessary
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
2022-09-28 00:23:58 +02:00
John Olheiser and GitHub
2854031d87
Use form for admin purge user ( #21070 )
...
Fixes #20998
The basic modal actions were set up for basic confirmation-style modals,
however this modal also has a special form input, which instead requires
a form in the modal itself.
The basic modal actions are indirectly controlled by JS and are simple
`<div>` elements, whereas this requires a `<button>` to submit.
This appears to be similar to how we do it in (for example) the repo
deletion modal.
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2022-09-12 21:52:17 +01:00
John Olheiser and GitHub
b42aaf29ea
Remove insecure flag from curl ( #21074 )
...
Followup to #21071
Thanks for the catch @wxiaoguang
[WRT](https://github.com/go-gitea/gitea/pull/21071#discussion_r962706673 )
Ref #21071
2022-09-05 14:22:44 +01:00
John Olheiser and GitHub
0ad0190f69
Update curl usage in API docs ( #21071 )
2022-09-05 03:22:03 -04:00
a48d6ba4b4
Go 1.19 format ( #20758 )
...
* 1.19 gofumpt
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Change CSV test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Commit whitespace fixes from @zeripath
Co-authored-by: zeripath <art27@cantab.net >
* Update emoji
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* bump swagger & fix generate-swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Lauris BH <lauris@nix.lv >
2022-08-30 21:15:45 -05:00
fa8fc5d3a7
Changelog 1.17.1 ( #20833 ) ( #20919 )
...
* Changelog 1.17.1 (#20833 )
* Changelog 1.17.1
## [1.17.1](https://github.com/go-gitea/gitea/releases/tag/1.17.1 ) - 2022-08-17
* SECURITY
* Correctly escape within tribute.js (#20831 ) (#20832 )
* FEATURES
* Add support for NuGet API keys (#20721 ) (#20734 )
* ENHANCEMENTS
* Display project in issue list (#20583 )
* Add disable download source configuration (#20548 ) (#20579 )
* BUGFIXES
* Use the total issue count for UI (#20785 ) (#20827 )
* Add proxy host into allow list (#20798 ) (#20819 )
* Add missing translation for queue flush workers (#20791 ) (#20792 )
* Improve comment header for mobile (#20781 ) (#20789 )
* Fix git.Init for doctor sub-command (#20782 ) (#20783 )
* Check webhooks slice length before calling xorm (#20642 ) (#20768 )
* Remove manual rollback for failed generated repositories (#20639 ) (#20762 )
* Use correct field name in npm template (#20675 ) (#20760 )
* Keep download count on Container tag overwrite (#20728 ) (#20735 )
* Fix v220 migration to be compatible for MSSQL 2008 r2 (#20702 ) (#20707 )
* Use request timeout for git service rpc (#20689 ) (#20693 )
* Send correct NuGet status codes (#20647 ) (#20677 )
* Use correct context to get package content (#20673 ) (#20676 )
* Fix the JS error "EventSource is not defined" caused by some non-standard browsers (#20584 ) (#20663 )
* Add default commit messages to PR for squash merge (#20618 ) (#20645 )
* Fix package upload for files >32mb (#20622 ) (#20635 )
* Fix the new-line copy-paste for rendered code (#20612 )
* Clean up and fix clone button script (#20415 & #20600 ) (#20599 )
* Fix default merge style (#20564 ) (#20565 )
* Add repository condition for issue count (#20454 ) (#20496 )
* MISC
* Make branch icon stand out more (#20726 ) (#20774 )
* Fix loading button with invalid form (#20754 ) (#20759 )
* Add username check to doctor (#20140 ) (#20671 )
* Enable Wire 2 for Internal SSH Server (#20616 ) (#20617 )
* Fix SecToTime edge-cases (#20610 ) (#20611 )
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Apply suggestions from code review
Co-authored-by: John Olheiser <john+github@jolheiser.com >
* Update CHANGELOG.md
Co-authored-by: delvh <dev.lh@web.de >
* Update CHANGELOG.md
* Update CHANGELOG.md
* update changelog
* Update CHANGELOG.md
Co-authored-by: John Olheiser <john+github@jolheiser.com >
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: John Olheiser <john+github@jolheiser.com >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
* update changelog
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2022-08-23 10:02:16 +08:00
John Olheiser and GitHub
e5ef7c2a91
Add Cloudflare auto-minify to FAQ ( #20430 )
2022-07-21 12:54:42 +08:00
John Olheiser and GitHub
02eb4b143b
Disable status checks in template if none found ( #20088 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2022-06-24 12:22:08 -05:00
John Olheiser and GitHub
3a245230f4
Disable blank issues ( #19717 )
2022-05-15 13:45:11 -04:00
John Olheiser and GitHub
3e8aa42a1b
Update image URL for Discord webhook ( #19536 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2022-04-27 20:23:27 -05:00
3c140f0d42
Use router param for filepath in GetRawFile ( #19499 )
...
* Use router param for filepath
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Move TreePath back into RepoRefForAPI
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
2022-04-26 12:15:45 -05:00
66f2210fec
More commit info from API ( #19252 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2022-03-29 10:47:44 -05:00
John Olheiser and GitHub
ea6efba9b3
Granular webhook events in editHook ( #19251 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2022-03-29 13:55:00 +02:00
eb69c7ec8c
Allow default branch to be inferred on compare page ( #17908 )
...
* Allow default branch to be inferred
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add test for inferred default branch
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-12-06 11:04:07 -06:00
John Olheiser and GitHub
c59afa752d
Allow mocking timeutil ( #17354 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2021-10-18 21:12:26 +01:00
John Olheiser and GitHub
760d61b411
Add specific event type to header ( #17222 )
...
* Add specific event type to header
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Change single to type
2021-10-05 12:12:17 -05:00
John Olheiser and GitHub
648464b504
Add bundle download for repository ( #14538 )
...
* Add bundle download
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix build tags
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Download specific commit
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2021-08-24 11:47:09 -05:00
622f1e764c
Add better errors for disabled account recovery ( #15117 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: 6543 <6543@obermui.de >
2021-06-25 23:16:36 -05:00
John Olheiser and GitHub
2f65c6b2f0
Add err to log ( #15813 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2021-05-10 20:48:23 +01:00
John Olheiser and GitHub
2bd5408e5f
MySQL 5 FAQ ( #15729 )
...
* MySQL 5
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Wording
2021-05-05 05:39:09 +01:00
John Olheiser and GitHub
078df7a392
quick fix ( #15464 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2021-04-14 18:54:54 +01:00
John Olheiser and GitHub
426ebbfc3b
Fix CanCreateRepo check ( #15311 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2021-04-07 09:26:41 +02:00
John Olheiser and GitHub
f1da46622e
Signed-off-by: jolheiser <john.olheiser@gmail.com> ( #14898 )
2021-03-05 21:00:15 +00:00
19fccdc45d
Fix locale init ( #14582 )
...
just log if lang is already loaded since we can not reload it
Co-authored-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: zeripath <art27@cantab.net >
2021-02-05 22:41:45 +01:00
e92552abb4
noop ( #14521 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-01-29 23:52:13 +08:00
John Olheiser and GitHub
a33db35b38
Fully qualify cloudron CSP ( #13892 )
...
* Wildcard cloudron
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Just use FQDN
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-12-07 16:17:27 -06:00
John Olheiser and GitHub
991ab899ff
Add cloudron to img-src CSP ( #13887 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-12-07 10:33:22 -06:00
John Olheiser and GitHub
f0cc29761d
Make sure email recipients can see issue ( #13820 )
...
* Initial pass
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Remove over-op
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-12-03 14:25:49 -06:00
e306c292ac
Expose default theme in meta and API ( #13809 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
2020-12-03 13:53:21 +01:00
979fbe086c
Increment skip to avoid infini-loop ( #13703 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-11-27 22:00:52 +02:00
John Olheiser and GitHub
172eca1cd3
Add docs command ( #13429 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-11-07 08:32:57 +08:00
John Olheiser and GitHub
7c68ac8f7d
Tags cleanup ( #13428 )
...
* Tags cleanup
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-11-05 08:20:42 -06:00
b5e974c8a5
Delete tag API ( #13358 )
...
* Delete tag API
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Wording
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add conflict response and fix API tests
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix other test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-10-30 20:56:34 -05:00
John Olheiser and GitHub
1d6b565de4
Refactor docs ( #13275 )
...
* First pass
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* More changes
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Redirects
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-10-23 11:59:45 -04:00
John Olheiser and GitHub
21d621301e
Remove PAM from auth dropdown when unavailable ( #13276 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-10-23 11:10:29 +01:00
72636fd664
hCaptcha Support ( #12594 )
...
* Initial work on hCaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Use module
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Format
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* At least return and debug log a captcha error
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Pass context to hCaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add context to recaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* fix lint
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Finish hcaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update example config
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Apply error fix for recaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Change recaptcha ChallengeTS to string
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Andrew Thornton <art27@cantab.net >
2020-10-02 23:37:53 -04:00
b428f9feb5
Changelog 1.12.5 ( #13002 ) ( #13003 )
...
* Changelog 1.12.5
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: techknowlogick <matti@mdranta.net >
* Apply suggestions from code review
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
2020-10-01 14:47:54 -04:00
ec6a35aeb1
Hopefully support GH enterprise ( #12863 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-09-21 10:36:51 -04:00
d9085fe176
Fix anonymous GL migration ( #12862 )
...
* Fix anonymous GL migration
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Rely on password instead
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: zeripath <art27@cantab.net >
2020-09-15 15:32:14 -04:00
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 >
2020-09-12 21:48:47 -04:00
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 >
2020-09-11 10:48:39 -04:00
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 >
2020-09-10 16:30:07 +01:00
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 >
2020-09-08 17:06:39 -05:00
211321fb93
Git migration UX ( #12619 )
...
* Initial work
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Implementation
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix gitlab and token cloning
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Imports and JS
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Linting
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Generate swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Move mirror toggle and rename options
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-08-28 09:36:37 +08:00
John Olheiser and GitHub
b611ae1908
Mark Cache with ini tag ( #12605 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-08-26 02:04:18 +03:00
43a397ce9a
Initial support for push options ( #12169 )
...
* Initial support for push options
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix misspelling 🤦
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix formatting after conflict resolution
* defer close git repo
* According the GitLab documentation, git >= 2.10
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Words are hard. Thanks @mrsdizzie 😅
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Only update if there are push options
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
2020-08-23 17:02:35 +01:00
John Olheiser and GitHub
aaff47ad75
Fix reply octicon ( #11821 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-06-09 10:13:00 -05:00
ac07418011
Add compare link to releases ( #11752 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-06-05 14:44:54 -04:00
a6fd2f23f7
Allow site admin to disable mirrors ( #11740 )
...
* Allow site admin to disable mirrors
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* No need to run through Safe
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Clarify only disabling NEW mirrors
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Apply suggestions from @guillep2k
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
2020-06-02 21:21:38 -04:00
c8f0613741
Add localization docs ( #11411 )
...
* Add localization docs
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Clarify bleeding edge vs release
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Capitalize Crowdin
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-05-14 17:33:52 -04:00
John Olheiser and GitHub
41be230867
Add awesome-gitea reference on install from package docs ( #11405 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-05-14 01:58:49 +03:00
0ba610011b
Change install description ( #11395 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-05-13 12:08:44 +03:00
4f597b1866
Add single release page and latest redirect ( #11102 )
...
* Add single release and latest release routes
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update API and move latest search to models
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
2020-04-18 11:47:15 -03:00
John Olheiser and GitHub
4ec7a659ce
Add git hook tooltip ( #11030 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-04-09 18:15:09 -05:00
John Olheiser and GitHub
1648bf2b60
Turn off go modules for xgo and gxz ( #10963 )
...
* Turn off go modules for xgo and gxz
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add test release for PR
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Try with go modules off
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Revert Makefile, force a release test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Turn on GOPROXY for release
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* CI
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* CI
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Final commit
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-04-06 12:48:55 +08:00
John Olheiser and GitHub
baadb51445
Add gitea-vet ( #10948 )
...
* Add copyright
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add gitea-vet and fix non-compliance
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Combine tools.go into build.go and clean up
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Remove extra GO111MODULE=on
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-04-05 07:20:50 +01:00
John Olheiser and GitHub
36d9237e60
Add accordion to release list and compact non-latest ( #10910 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-31 17:39:54 -05:00
John Olheiser and GitHub
3f0cb8b33a
Remove test from installation directions ( #10873 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-29 11:07:40 +01:00
John Olheiser and GitHub
ad6f2323b7
Fix milestone template ( #10824 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-25 18:08:00 +01:00
John Olheiser and GitHub
7225453d5f
Update Gitea version in docs ( #10772 )
2020-03-19 16:05:19 -04:00
John Olheiser and GitHub
c7f3d1627f
Prevent default for linkAction ( #10742 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-16 16:13:41 -05:00
984b85c1a7
Remove old vendored dropzone from serviceworker ( #10703 )
...
* Remove dropzone from serviceworker
* Remove CSS as well
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-03-11 08:11:19 +00:00
John Olheiser and GitHub
de63ac046e
Make PR message on pushes configurable ( #10664 )
...
* Make PR message on pushes configurable
* Make fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-08 08:34:38 -05:00
John Olheiser and GitHub
b40428a50a
Check for tag, not just new tag ( #10663 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-08 13:27:11 +08:00
John Olheiser and GitHub
4a4fc73ee1
Fix migration ( #10641 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-06 17:43:37 +02:00
3f1c0841cb
Granular webhook events ( #9626 )
...
* Initial work
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add PR reviews and API coverage
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Split up events
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add migration and locale
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Format
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Revert IsPull
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix comments
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix tests
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix PR reviews
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix issue_comment
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Make fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Migrations
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Backwards compatible API
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix feishu
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Move session commit
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
2020-03-06 07:10:48 +02:00
John Olheiser and GitHub
f422a115f4
Issue writers perms can modify issues ( #10623 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-06 09:57:18 +08:00
f5a20250ae
Add node version variable to docs ( #10620 )
...
Also adjusted other version mentions so go version is always mentioned
as major.minor and node only as major.
Co-authored-by: silverwind <me@silverwind.io >
2020-03-05 16:36:22 -06:00
John Olheiser and GitHub
10081f88ed
Add FAQ for markdown ( #10611 )
...
* Add FAQ for markdown
* Expand explanation @guillep2k
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-05 09:05:18 -06:00
John Olheiser and GitHub
afa1e1af16
Fix templates ( #10596 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-04 08:56:53 +02:00
John Olheiser and GitHub
0e2217bd2d
Logout POST action ( #10582 )
...
* Change logout to POST
* Update for redirect
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-03-02 22:50:31 -06:00
John Olheiser and GitHub
15fbf509d3
Org action fixes and form cleanup ( #10512 )
...
* More org fixes
* Move form action query to inputs
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-02-27 16:00:13 -06:00
John Olheiser and GitHub
78585b1cd7
Fix double PR notification from API ( #10482 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-02-26 12:12:34 -06:00
John Olheiser and GitHub
bcd16cec63
Fix admin notices ( #10480 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-02-26 10:25:54 -06:00
John Olheiser and GitHub
e5944a9521
Change admin dashboard to POST ( #10465 )
...
* Add form and convert to POST
* Redirect for flash
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-02-25 16:54:13 -06:00
c161bb013e
Change action GETs to POST ( #10462 )
...
* Change action GETs to POST
* submite = submit + smite
* No more # href
* Fix test
* Match other tests
* Explicit csrf
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
2020-02-25 14:28:47 -06:00
f4370639be
Fix profile page CSS ( #10406 )
...
* Fix profile page
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Remove redundant CSS
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix .username and change em to rem
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-02-22 16:06:07 +02:00
ac18c3f6f2
Fixes ( #10386 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: techknowlogick <matti@mdranta.net >
2020-02-20 17:44:13 -06:00
John Olheiser and GitHub
dc822d5291
Re-order GPG signing docs and fix code blocks ( #10349 )
...
* Move chunk and format
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* word
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-02-19 02:23:45 +01:00