Commit graph

823 commits

Author SHA1 Message Date
ttys3
e933f31426
Add health check endpoint ()
* chore: add health check endpoint

docs: update document about health check

fix: fix up Sqlite3 ping. current ping will success even if the db file is missing

fix: do not expose privacy information in output field

* refactor: remove HealthChecker struct

* Added `/api/healthz` to install routes.

This was needed for using /api/healthz endpoint in Docker healthchecks,
otherwise, Docker would never become healthy if using healthz endpoint
and users would not be able to complete the installation of Gitea.

* Update modules/cache/cache.go

* fine tune

* Remove unnecessary test code. Now there are 2 routes for installation (and maybe more in future)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Marcos de Oliveira <marcossantos@furb.br>
2022-05-04 14:56:20 +03:00
6543
e2a3f3d259
Federation: return useful statistic information for nodeinfo ()
Add statistic information for total user count, active user count, issue count and comment count for `/nodeinfo`
2022-05-02 21:35:45 +08:00
wxiaoguang
509d811243
Upgrade required git version to 2.0 ()
* Upgrade required git version to 2.0

* update document
2022-05-02 20:30:24 +08:00
Pawel Boguslawski
85579dcab5
Disable unnecessary GitHooks elements
This mod fixes disabling unnecessary GitHooks elements.

Related: https://github.com/go-gitea/gitea/pull/13129
Author-Change-Id: IB#1115251
2022-04-26 22:06:58 +01:00
KN4CK3R
e4274f640c
Allow package dump skipping ()
* Added addReader to support verbose.

* Allow skipping packages.

* Updated docs.

* Update cmd/dump.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-04-26 16:30:51 -04:00
Lunny Xiao
6cc8aed737
Fix two typos () 2022-04-26 18:01:42 +02:00
techknowlogick
225044e656
node12 is EOL ()
* node12 is EOL

* fix lockfile
2022-04-20 21:17:39 -04:00
6543
725731cb6e
Add Changelog v1.16.6 () ()
* Add Changelog v1.16.6 ()

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>

* bump version

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-04-20 21:17:23 -04:00
Campbell He
f2229e0566
doc: add brief intro on using traefik as reverse-proxy () 2022-04-20 16:08:23 +02:00
KN4CK3R
18727df73a
Add Helm Chart registry () 2022-04-19 12:55:35 -04:00
Stephen J. Fuhry
695c4b4b0e
upgrade postgres refrence to 14 () 2022-04-16 11:59:56 -04:00
ktprograms
4396d0e7c9
Note where frontend files are located in docs ()
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-04-12 16:36:24 -04:00
wxiaoguang
d906858847
Use "main" as default branch name ()
* Use "main" as default branch name

* fix test code
2022-04-08 23:26:48 -05:00
Gusted
e20952a9ec
Add ENABLE_SSH_LOG to debugging problems ()
- Add this option to the debugging problems section. So users that are
trying to debug SSH-related problems will get the errors logged from `cmd/serv.go`
2022-04-05 16:41:56 -04:00
techknowlogick
d4f4e95c63
escape fake link 2022-04-05 13:30:07 -04:00
techknowlogick
48dc88acd0
Allow custom redirect for landing page ()
* Allow custom redirect for landing page

* Update modules/setting/setting.go

Co-authored-by: delvh <dev.lh@web.de>

* fix lint

* one option

Co-authored-by: delvh <dev.lh@web.de>
2022-04-05 12:16:01 -04:00
wxiaoguang
d242511e86
Remove legacy unmaintained packages, refactor to support change default locale ()
Remove two unmaintained vendor packages `i18n` and `paginater`. Changes:
* Rewrite `i18n` package with a more clear fallback mechanism. Fix an unstable `Tr` behavior, add more tests.
* Refactor the legacy `Paginater` to `Paginator`, test cases are kept unchanged.

Trivial enhancement (no breaking for end users):
* Use the first locale in LANGS setting option as the default, add a log to prevent from surprising users.
2022-04-03 17:46:48 +08:00
Norwin
4c5cb1e2f2
Improve package registry docs ()
* Improve package registry docs

* move new content down

* add hint re upload a package

* wording, formatting

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-04-01 23:31:40 +08:00
zeripath
c88547ce71
Add Goroutine stack inspector to admin/monitor ()
Continues on from .

Following the addition of pprof labels we can now more easily understand the relationship between a goroutine and the requests that spawn them. 

This PR takes advantage of the labels and adds a few others, then provides a mechanism for the monitoring page to query the pprof goroutine profile.

The binary profile that results from this profile is immediately piped in to the google library for parsing this and then stack traces are formed for the goroutines.

If the goroutine is within a context or has been created from a goroutine within a process context it will acquire the process description labels for that process. 

The goroutines are mapped with there associate pids and any that do not have an associated pid are placed in a group at the bottom as unbound.

In this way we should be able to more easily examine goroutines that have been stuck.

A manager command `gitea manager processes` is also provided that can export the processes (with or without stacktraces) to the command line.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-31 19:01:43 +02:00
KN4CK3R
1d332342db
Add Package Registry ()
* Added package store settings.

* Added models.

* Added generic package registry.

* Added tests.

* Added NuGet package registry.

* Moved service index to api file.

* Added NPM package registry.

* Added Maven package registry.

* Added PyPI package registry.

* Summary is deprecated.

* Changed npm name.

* Sanitize project url.

* Allow only scoped packages.

* Added user interface.

* Changed method name.

* Added missing migration file.

* Set page info.

* Added documentation.

* Added documentation links.

* Fixed wrong error message.

* Lint template files.

* Fixed merge errors.

* Fixed unit test storage path.

* Switch to json module.

* Added suggestions.

* Added package webhook.

* Add package api.

* Fixed swagger file.

* Fixed enum and comments.

* Fixed NuGet pagination.

* Print test names.

* Added api tests.

* Fixed access level.

* Fix User unmarshal.

* Added RubyGems package registry.

* Fix lint.

* Implemented io.Writer.

* Added support for sha256/sha512 checksum files.

* Improved maven-metadata.xml support.

* Added support for symbol package uploads.

* Added tests.

* Added overview docs.

* Added npm dependencies and keywords.

* Added no-packages information.

* Display file size.

* Display asset count.

* Fixed filter alignment.

* Added package icons.

* Formatted instructions.

* Allow anonymous package downloads.

* Fixed comments.

* Fixed postgres test.

* Moved file.

* Moved models to models/packages.

* Use correct error response format per client.

* Use simpler search form.

* Fixed IsProd.

* Restructured data model.

* Prevent empty filename.

* Fix swagger.

* Implemented user/org registry.

* Implemented UI.

* Use GetUserByIDCtx.

* Use table for dependencies.

* make svg

* Added support for unscoped npm packages.

* Add support for npm dist tags.

* Added tests for npm tags.

* Unlink packages if repository gets deleted.

* Prevent user/org delete if a packages exist.

* Use package unlink in repository service.

* Added support for composer packages.

* Restructured package docs.

* Added missing tests.

* Fixed generic content page.

* Fixed docs.

* Fixed swagger.

* Added missing type.

* Fixed ambiguous column.

* Organize content store by sha256 hash.

* Added admin package management.

* Added support for sorting.

* Add support for multiple identical versions/files.

* Added missing repository unlink.

* Added file properties.

* make fmt

* lint

* Added Conan package registry.

* Updated docs.

* Unify package names.

* Added swagger enum.

* Use longer TEXT column type.

* Removed version composite key.

* Merged package and container registry.

* Removed index.

* Use dedicated package router.

* Moved files to new location.

* Updated docs.

* Fixed JOIN order.

* Fixed GROUP BY statement.

* Fixed GROUP BY .

* Added symbol server support.

* Added more tests.

* Set NOT NULL.

* Added setting to disable package registries.

* Moved auth into service.

* refactor

* Use ctx everywhere.

* Added package cleanup task.

* Changed packages path.

* Added container registry.

* Refactoring

* Updated comparison.

* Fix swagger.

* Fixed table order.

* Use token auth for npm routes.

* Enabled ReverseProxy auth.

* Added packages link for orgs.

* Fixed anonymous org access.

* Enable copy button for setup instructions.

* Merge error

* Added suggestions.

* Fixed merge.

* Handle "generic".

* Added link for TODO.

* Added suggestions.

* Changed temporary buffer filename.

* Added suggestions.

* Apply suggestions from code review

Co-authored-by: Thomas Boerger <thomas@webhippie.de>

* Update docs/content/doc/packages/nuget.en-us.md

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Thomas Boerger <thomas@webhippie.de>
2022-03-30 16:42:47 +08:00
zeripath
97625b44e7
Provide configuration to allow camo-media proxying ()
* Provide configuration to allow camo-media proxying

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-29 10:27:37 +02:00
Pilou
893c8938fc
New cron task: delete old system notices ()
Add a new cron task which deletes the old system notices.
2022-03-28 13:54:59 +01:00
zeripath
acb9fc5f8e
Make cron task no notice on success ()
Change all cron tasks to make them no notice on success default. Instead if a user
wants notices on success they need to add NOTICE_ON_SUCCESS=true instead.

 ## ⚠️ BREAKING ⚠️

This changes the cron config so that notices on success are no longer set by default
and breaks NO_SUCCESS_NOTICE settings. Instead users who want notices on success
must set NOTICE_ON_SUCCESS=true instead.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update custom/conf/app.example.ini

Co-authored-by: Norwin <noerw@users.noreply.github.com>

Co-authored-by: Norwin <noerw@users.noreply.github.com>
2022-03-26 21:13:04 +00:00
6543
6fc6e14957
Changelog for 1.16.5 () ()
* Changelog for 1.16.5 ()

* bump version
2022-03-24 03:04:12 +01:00
Robin
5495ba7660
[docs] Enhance container selection in docker dump ()
* Enhance container selection in docker dump

The problem with the previous query was, that it sometimes selected multiple containers, which make the command file with a hard to understand message. Now, use '^...$' to make sure a regex full match.
2022-03-22 13:50:31 +08:00
zeripath
fda5b9fc3e
Add warning to set SENDMAIL_ARGS to -- ()
Even with  email addresses that contain an initial `-` may still be present in the db and it may in future still be possible to imagine a situation whereby initial `-` are repermitted.

This PR simply updates the documentation to warn users to set their SENDMAIL_ARGS with a terminal `--` to prevent this possibility email addresses being interpreted as options.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-18 15:19:02 +01:00
Fredrik Ekre
df31ac0e09
Fixed log path in fail2ban documentation ()
This updates the log path in the [gitea-docker] jail configuration
to match the path in the [gitea] jail, which was updated in .
2022-03-16 12:39:13 -04:00
techknowlogick
ed1d95c55d
use go1.18 to build gitea ()
* use go1.18 to build gitea& update min go version to 1.17

* bump in a few more places

* add a few simple tests for isipprivate

* update go.mod

* update URL to https://go.dev/dl/

* golangci-lint

* attempt golangci-lint workaround

* change version

* bump fumpt version

* skip strings.title test

* go mod tidy

* update tests as some aren't private??

* update tests
2022-03-16 00:08:31 -04:00
silverwind
fe9626af29
Use go run for tool dependencies, require go 1.17 ()
This ensures the tools only run in the versions we've tested and it also
does not polute PATH with those tools so they are truly isolated. This
syntax of `go run` requires go 1.17, so the minimum version is set
accordingly.

Fixes: https://github.com/go-gitea/gitea/issues/18867

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-03-15 22:50:26 -04:00
Gusted
6ab4a96855
Update golang.org/x/crypto ()
* Update golang.org/x/crypto

- Update dependency to include fix for CVE.
- See https://groups.google.com/g/golang-announce/c/-cp44ypCT5s/m/wmegxkLiAQAJ?utm_medium=email&utm_source=footer

* Fix deprecation notice

* Remove workaround

- Introduced in https://github.com/go-gitea/gitea/pull/17281
- Fixed in x/crypto:
- 5d542ad81a
- & 3147a52a75

* Update Kex Algorithms

- Use standardized name for curve22519-sha256. 9b076918e3
- Prefer SHA256 version over SHA1 version. e4b3678e5f
2022-03-16 02:59:53 +01:00
6543
2ba72cedbe
Frontport Changelogs ()
* Frontport Changelogs

* bump version in docs
2022-03-14 23:18:01 +01:00
mscherer
35541f853b
Fix documentation and () 2022-03-13 18:30:58 +01:00
zeripath
886b1de949
Update the webauthn_credential_id_sequence in Postgres ()
* Update the webauthn_credential_id_sequence in Postgres

There is (yet) another problem with v210 in that Postgres will silently allow preset
ID insertions ... but it will not update the sequence value.

This PR simply adds a little step to the end of the v210 migration to update the
sequence number.

Users who have already migrated who find that they cannot insert new
webauthn_credentials into the DB can either run:

```bash
gitea doctor recreate-table webauthn_credential
```

or

```bash
./gitea doctor --run=check-db-consistency --fix
```

which will fix the bad sequence.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-10 23:04:55 +01:00
techknowlogick
9c5696e428
update to correct stable version 2022-03-07 02:03:06 -05:00
Lunny Xiao
b24e8d38af
Support ignore all santize for external renderer ()
* Support ignore all santize for external renderer

* Update docs

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

* Fix doc

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
2022-03-06 16:41:54 +08:00
KN4CK3R
f3cbdee38e
Don't clean up hardcoded tmp ()
* Don't clean up hardcoded `tmp`.

* Fixed import.
2022-03-02 23:50:29 +01:00
Marco Blessing
df9802ca61
adds restore docs for docker based instances ()
* adds docke restore section

* fix typo

* Update docs/content/doc/usage/backup-and-restore.en-us.md

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* fix container id placeholder

* adds restore help for docker-rootless

* restore yml autoformater quotes

Co-authored-by: Marco Blessing <marco.blessing@komm.one>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-03-02 11:20:00 -05:00
JonRB
aa60cd91b2
Update nginx reverse proxy docs ()
Add additional config lines for the set_header to forward additional information (eg the IP)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-02-26 19:32:09 +01:00
silverwind
fa0e2d60c2
Disable service worker by default ()
The service worker causes a lot of issues with JS errors after instance
upgrades while not bringing any real performance gain over regular HTTP
caching.

Disable it by default for this reason. Maybe later we can remove it
completely, as I simply see no benefit in having it.
2022-02-26 18:14:23 +08:00
Nicolas Ferrari
41aa49d910
Update on-cloud-provider.md () 2022-02-18 23:26:00 +08:00
Lunny Xiao
5348e198db
Add example to render html files ()
* Add example to render html files

* Use class in example

Co-authored-by: zeripath <art27@cantab.net>
2022-02-14 21:56:17 +08:00
zeripath
165ab17a03
Attempt to improve docs (yet again) ()
* Attempt to improve docs (yet again)

Attempt to make the passthrough docs clearer.
Add some more faq entries

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* Update docs/content/doc/installation/with-docker.en-us.md

* Update docs/content/doc/installation/with-docker.en-us.md

Co-authored-by: Gusted <williamzijl7@hotmail.com>
2022-02-10 19:20:06 +00:00
Gusted
581d29ec1d
Update SSH Server crypto settings ()
- Use a better and more curated list of Ciphers and KeyExchanges, these roughly follows OpenSSH's default.
- Remove some cryptography values which were deprecated.
2022-02-10 17:04:16 +01:00
Lunny Xiao
c14ca34d57
update the comparison documents ()
* update the comparison documents

* Remove U2f
2022-02-08 11:00:13 -05:00
Cristian Le
60f203385e
Support custom ACME provider ()
* Added ACMECAURL option to support custom ACME provider. Closes 
* Refactor setting.go https settings, renamed options and variables, and documented app.example.ini
* Refactored runLetsEncrypt to runACME
* Improved documentation
2022-02-08 13:45:35 +08:00
Clar Fon
99d14f6051
Add separate SSH_USER config option ()
Co-authored-by: zeripath <art27@cantab.net>
2022-02-07 16:56:45 -05:00
Norwin
6ada05940e
Add contrib/upgrade.sh ()
Adds an upgrade script that automates upgrading installations on Linux from binary releases, so people don't need to reinvent the wheel. Hopefully this leads to less questions about how to upgrade, and consequently less Gitea instances running unmaintained versions in the wild.

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
2022-02-06 21:07:52 +01:00
Sambhav Saggi
e2bbbc4876
Fix oauth docs usage for 2fa () 2022-02-03 17:00:34 +00:00
zeripath
bc77b28d9d
Make docker gitea/gitea:v1.16-dev etc refer to the latest build on that branch ()
* Make docker gitea/gitea:v1.16-dev etc refer to the latest build on that branch

One of the problems with our current docker tagging is that although we
have strict version tags, latest and dev we do not have a way for docker
users to track the current release branch. This PR simply suggests that
we use the 1.x-dev tag for these and we build and push these. This will
give users who want or need unreleased bug fixes the option of tracking
the pre-release version instead of simply jumping to dev.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-02-03 09:47:27 +01:00
zeripath
f9b27d2d46
Frontport changelog 1.16.0 () ()
Frontport 

Frontport changelog for 1.16, frontport 1.15.11 changelog and update config.yaml

 ## [1.16.0](https://github.com/go-gitea/gitea/releases/tag/v1.16.0) - 2022-01-30

* BREAKING
  * Remove golang vendored directory ()
  * Paginate releases page & set default page size to 10 ()
  * Only allow webhook to send requests to allowed hosts ()
* SECURITY
  * Disable content sniffing on `PlainTextBytes` () ()
  * Only view milestones from current repo () ()
  * Sanitize user-input on file name ()
  * Use `hostmatcher` to replace `matchlist` to improve blocking of bad hosts in Webhooks ()
* FEATURES
  * Add/update SMTP auth providers via cli ()
  * Support webauthn ()
  * Team permission allow different unit has different permission ()
  * Implement Well-Known URL for password change ()
  * Add support for ssh commit signing ()
  * Allow Loading of Diffs that are too large ()
  * Add copy button to markdown code blocks ()
  * Add .gitattribute assisted language detection to blame, diff and render ()
  * Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task ()
  * Add Reindex buttons to repository settings page ()
  * Make SSL cipher suite configurable ()
  * Add groups scope/claim to OIDC/OAuth2 Provider ()
  * Add simple update checker to Gitea ()
  * Migrated Repository will show modifications when possible ()
  * Create pub/priv keypair for federation ()
  * Make LDAP be able to skip local 2FA ()
  * Add nodeinfo endpoint for federation purposes ()
  * Save and view issue/comment content history ()
  * Use git attributes to determine generated and vendored status for language stats and diffs ()
  * Add migrate from Codebase ()
  * Add migration from GitBucket ()
  * Add OAuth2 introspection endpoint ()
  * Add proxy settings and support for migration and webhook ()
  * Add microsoft oauth2 providers ()
  * Send registration email on user autoregistration ()
  * Defer Last Commit Info ()
  * Support unprotected file patterns ()
  * Add migrate from OneDev ()
  * Add option to update pull request by `rebase` ()
  * Add RSS/Atom feed support for user actions ()
  * Add support for corporate WeChat webhooks ()
  * Add a simple way to rename branch like gh ()
  * Add bundle download for repository ()
  * Add agit flow support in gitea ()
* API
  * Add MirrorUpdated field to Repository API type ()
  * Adjust Fork API to allow setting a custom repository name ()
  * Add API to manage repo tranfers ()
  * Add API to get file commit history ()
  * Add API to get issue/pull comments and events (timeline) ()
  * Add API to get/edit wiki ()
  * Add API for get user org permissions ()
  * Add HTML urls to notification API ()
  * Add API to get commit diff/patch ()
  * Respond with updated notifications in API ()
  * Add API to fetch git notes ()
  * Generalize list header for API ()
  * Add API Token Cache ()
  * Allow Token API calls be authorized using the reverse-proxy header ()
* ENHANCEMENTS
  * Make the height of the editor in Review Box smaller (4 lines as GitHub) ()
  * Return nicer error if trying to pull from non-existent user ()
  * Show pull link for agit pull request also ()
  * Enable partial clone by default ()
  * Added replay of webhooks ()
  * Show OAuth callback error message ()
  * Increase Salt randomness ()
  * Add MP4 as default allowed attachment type ()
  * Include folders into size cost ()
  * Remove `/email2user` endpoint ()
  * Handle invalid issues ()
  * Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE ()
  * Support open compare page directly ()
  * Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja ()
  * Clean legacy SimpleMDE code ()
  * Refactor install page (db type) ()
  * Improve interface when comparing a branch which has created a pull request ()
  * Allow default branch to be inferred on compare page ()
  * Display issue/comment role even if repo archived ()
  * Always set a message-id on mails ()
  * Change `<a>` elements to underline on hover ()
  * Render issue references in file table ()
  * Handle relative unix socket paths ()
  * Move accessmode into models/perm ()
  * Fix some org style problems ()
  * Add List-Unsubscribe header ()
  * Create menus for organization pages ()
  * Switch archive URL code back to href attributes ()
  * Refactor "refs/*" string usage by using constants ()
  * Allow forks to org if you can create repos ()
  * Improve install code to avoid low-level mistakes. ()
  * Improve ellipsis buttons ()
  * Add restrict and no-user-rc to authorized_keys ()
  * Add copy Commit ID button in commits list ()
  * Make `bind` error more readable ()
  * Fix navbar on project view ()
  * More pleasantly handle broken or missing git repositories ()
  * Use `*PushUpdateOptions` as receiver ()
  * Remove unused `user` paramater ()
  * Better builtin avatar generator ()
  * Cleanup and use global style on popups ()
  * Move user/org deletion to services ()
  * Added comment for changing issue ref ()
  * Allow admins to change user avatars ()
  * Only set `data-path` once for each file in diff pages ()
  * Add icon to vscode clone link ()
  * Add download button for file viewer ()
  * Add pagination to fork list ()
  * Use a standalone struct name for Organization ()
  * Minor readability patch. ()
  * Add context support for GetUserByID ()
  * Move merge-section to `> .content` ()
  * Remove NewSession method from db.Engine interface ()
  * Move unit into models/unit/ ()
  * Restrict GetDeletedBranchByID to the repositories deleted branches ()
  * Refactor commentTags functionality ()
  * Make Repo Code Indexer an Unique Queue ()
  * Simplify Gothic to use our session store instead of creating a different store ()
  * Add settings to allow different SMTP envelope from address ()
  * Properly determine CSV delimiter ()
  * Hide label comments if labels were added and removed immediately ()
  * Tune UI alignment for nav bar notification icon, avatar image, issue label ()
  * Add appearance section in settings ()
  * Move key forms before list and add cancel button ()
  * When copying executables to the docker chmod them ()
  * Remove deprecated `extendDefaultPlugins` method of svgo ()
  * Fix the click behavior for <tr> and <td> with [data-href] ()
  * Refactor update checker to use AppState ()
  * Improve async/await usage, and sort init calls in `index.js` ()
  * Use a variable but a function for IsProd because of a slight performance increment ()
  * Frontend refactor, PascalCase to camelCase, remove unused code ()
  * Hide command line merge instructions when user can't push ()
  * Move session to models/login ()
  * Sync gitea app path for git hooks and authorized keys when starting ()
  * Make the Mirror Queue a queue ()
  * Add "Copy branch name" button to pull request page ()
  * Fix repository summary on mobile ()
  * Split `index.js` to separate files ()
  * Show direct match on top for user search ()
  * Frontend refactor: move Vue related code from `index.js` to `components` dir, and remove unused codes. ()
  * Upgrade chi to v5 ()
  * Disable form autofill ()
  * Improve behavior of "Fork" button ()
  * Open markdown image links in new window ()
  * Add hints for special Wiki pages ()
  * Move add deploy key form before the list and add a cancel button ()
  * Allow adding multiple issues to a project  ()
  * Add metrics to get issues by repository ()
  * Add specific event type to header ()
  * Redirect on project after issue created ()
  * Reference in new issue modal: dont pre-populate issue title ()
  * Always set a unique Message-ID header ()
  * Add projects and project boards in exposed metrics ()
  * Add metrics to get issues by label ()
  * Add protection to disable Gitea when run as root ()
  * Don't return binary file changes in raw PR diffs by default ()
  * Support sorting for project board issuses ()
  * Force color-adjust for markdown checkboxes ()
  * Add option to copy line permalink ()
  * Move twofactor to models/login ()
  * Multiple tokens support for migrating from github ()
  * Unify issue and PR subtitles ()
  * Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
  * Fix problem when database id is not increment as expected ()
  * Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code ()
  * Re-allow clipboard copy on non-https sites ()
  * DBContext is just a Context ()
  * Move login related structs and functions to models/login ()
  * Add SkipLocal2FA option to pam and smtp sources ()
  * Move db related basic functions to models/db ()
  * Fixes username tagging in "Reference in new issue" ()
  * Use light/dark theme based on system preference ()
  * Always emit the configuration path ()
  * Add `AbsoluteListOptions` ()
  * Use common sessioner for API and Web ()
  * Fix overflow label in small view ()
  * Report the associated filter if there is an error in LDAP ()
  * Add "new issue" btn on project ()
  * Add doctor dbconsistency check for release and attachment ()
  * Disable Fomantic's CSS tooltips ()
  * Add Cache-Control to avatar redirects ()
  * Make mirror feature more configurable ()
  * Add skip and limit to git.GetTags ()
  * Remove ParseQueueConnStr as it is unused ()
  * Remove unused Fomantic sidebar module ()
  * Allow LDAP Sources to provide Avatars ()
  * Remove Dashboard/Home button from the navbar ()
  * Use conditions but not repo ids as query condition ()
  * Add user settings key/value DB table ()
  * Add buttons to allow loading of incomplete diffs ()
  * Add information for migrate failure ()
  * Add EdDSA JWT signing algorithm ()
  * Add user status filter to admin user management page ()
  * Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes ()
  * Do not use thin scrollbars on Firefox ()
  * Download LFS in git and web workflow from minio/s3 directly (SERVE_DIRECT) ()
  * Compute proper foreground color for labels ()
  * Add edit button to wiki sidebar and footer ()
  * Fix migration svg color ()
  * Add link to vscode to repo header ()
  * Add filter by owner and team to issue/pulls search endpoint ()
  * Kanban colored boards ()
  * Allow setting X-FRAME-OPTIONS ()
  * Separate open and closed issue in metrics ()
  * Support direct comparison (git diff a..b) as well merge comparison (a…b) ()
  * Add setting to OAuth handlers to skip local 2FA authentication ()
  * Make PR merge options more intuitive ()
  * Show correct text when comparing commits on empty pull request ()
  * Pre-fill suggested New File 'name' and 'content' with Query Params ()
  * Add an abstract json layout to make it's easier to change json library ()
  * Make Mermaid.js limit configurable ()
  * Improve 2FA autofill ()
  * Add modals to Organization and Team remove/leave ()
  * Show tag name on dashboard items list ()
  * Change default cron schedules from @every 24h to @midnight ()
  * Prevent double sanitize ()
  * Replace `list.List` with slices ()
  * Add configuration option to restrict users by default ()
  * Move login out of models ()
  * Support pagination of organizations on user settings pages ()
  * Switch migration icon to svg ()
  * Add left padding for chunk header of split diff view ()
  * Allow U2F 2FA without TOTP ()
* BUGFIXES
  * GitLab reviews may not have the updated_at field set () ()
  * Fix detection of no commits when the default branch is not master () ()
  * Fix broken oauth2 authentication source edit page () ()
  * Place inline diff comment dialogs on split diff in 4th and 8th columns () ()
  * Fix restore without topic failure () ()
  * Fix commit's time () ()
  * Fix partial cloning a repo () ()
  * Stop trimming preceding and suffixing spaces from editor filenames ()
  * Prevent showing webauthn error for every time visiting `/user/settings/security` ()
  * Fix mime-type detection for HTTP server () ()
  * Stop trimming preceding and suffixing spaces from editor filenames ()
  * Restore propagation of ErrDependenciesLeft ()
  * Fix PR comments UI ()
  * Use indirect comparison when showing pull requests ()
  * Replace satori/go.uuid with gofrs/uuid ()
  * Fix commit links on compare page ()
  * Don't show double error response in git hook ()
  * Handle missing default branch better in owner/repo/branches page ()
  * Fix CheckRepoStats and reuse it during migration ()
  * Prevent underline hover on cards ()
  * Don't delete branch if other PRs with this branch are open ()
  * Require codereview to have content ()
  * Allow admin to associate missing LFS objects for repositories ()
  * When attempting to subscribe other user to issue report why access denied ()
  * Add option to convert CRLF to LF line endings for sendmail ()
  * Only create pprof files for gitea serv if explicitly asked for ()
  * Abort merge if head has been updated before pressing merge ()
  * Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality ()
  * Use JSON module instead of stdlib json ()
  * Fixed issue merged/closed wording ()
  * Return nicer error for ForcePrivate ()
  * Fix overflow in commit graph ()
  * Prevent services/mailer/mailer_test.go tests from deleteing data directory ()
  * Use disable_form_autofill on Codebase and Gitbucket ()
  * Fix a panic in NotifyCreateIssueComment (caused by string truncation) ()
  * Fix markdown URL parsing ()
  * Apply CSS Variables to all message elements ()
  * Improve checkBranchName ()
  * Update chi/middleware to chi/v5/middleware ()
  * Fix position of label color picker colors ()
  * Fix ListUnadoptedRepositories incorrect total count ()
  * Remove whitespace inside rendered code `<td>` ()
  * Make Co-committed-by and co-authored-by trailers optional ()
  * Fix value of User.IsRestricted when oauth2 user registration ()
  * Use new OneDev /milestones endpoint ()
  * Prevent deadlock in TestPersistableChannelQueue ()
  * Simplify code for writing SHA to name-rev ()
  * Fix database deadlock when update issue labels ()
  * Add warning for BIDI characters in page renders and in diffs ()
  * Fix ipv6 parsing for builtin ssh server ()
  * Multiple Escaping Improvements ()
  * Fixes  - Do not trim leading spaces for tab delimited ()
  * Show client-side error if wiki page is empty ()
  * Fix context popup error ()
  * Stop sanitizing full name in API ()
  * Fix issue close/comment buttons on mobile ()
  * Fix navbar UI ()
  * Fix problem when database id is not increment as expected ()
  * Open the DingTalk link in browser ()
  * Remove heads pointing to missing old refs ()
  * Fix commit status index problem ()
  * Handle broken references in mirror sync ()
  * Fix for create repo page layout ()
  * Improve LDAP synchronization efficiency ()
  * Add repo_id for attachment ()
  * Clean-up HookPreReceive and restore functionality for pushing non-standard refs ()
  * Remove duplicate csv import in modules/csv/csv.go ()
  * Improve SMTP authentication and Fix user creation bugs  ()
  * Fixed emoji alias not parsed in links ()
  * Calculate label URL on API  ()
* TRANSLATION
  * Fix mispelling of starred as stared ()
  * Re-separate the color translation strings ()
  * Enable Malayalam, Greek, Persian, Hungarian & Indonesian by default ()
* BUILD
  * Add lockfile-check ()
  * Don't store assets modified time into generated files ()
  * Use shadowing script for docker ()
* MISC
  * Update JS dependencies ()

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-30 19:22:16 +01:00