| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Fixes: #3849.
|
|
|
|
| |
Previous Gitea would display that the user had unassigned themselves even if the actor
was not the user. Fixes #4418
|
|
|
|
|
| |
Like the comment that is posted.
Ex: https://github.com/go-gitea/gitea/pull/4749 is closed after 2 weeks and not 2 months
|
| |
|
|
|
|
|
| |
Fix #5765 by log the IP address of a connecting remote machine in case of a SSH connection error for the built-in ssh server.
Signed-off-by: Robert Sprunk <github@sprunk.me>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Refactor repo.isBare to repo.isEmpty #5629
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove Sync call
|
|
|
|
|
|
|
|
| |
* update docs to include THEMES
* Update app.ini.sample
* Update config-cheat-sheet.en-us.md
|
|
|
|
|
|
| |
* notification for indexer
* use NullNotifier as parent struct
|
|
|
| |
should fix #5736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* api: Add an endpoint to list a particular member of team.
* models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model.
`GetUserTeams()` sounds a bit misnomer since it actually returns
the teams that user belongs to in a given organization rather than
all the teams across all the organization that the user has joined.
* models: Add `GetUserTeams()`.
Returns all the teams that a user belongs to.
* api: Add an endpoint for GET '/user/teams'.
A GET request to this endpoint lists all the teams that a user
belongs to.
|
|
|
|
|
|
|
|
| |
* add default PR title
Set default PR title to commit summary if there's a single commit on the head branch, else set it to the head branch name
* set default PR description
If there's a single commit on the head branch, and it's multiline, then set it as the default PR description
|
|
|
|
| |
* Format boolean values to true/false even when it is returned as byte-slice,
* Fix the sequence generation, the proper sequence name is used (instead of 'table_id_seq'), and fix the next value be max+1 always
|
| |
|
|
|
|
| |
Add set system user guide.
Add absolute path for sqlite3 guide.
|
| |
|
| |
|
|
|
| |
Fixes: #4684.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* prioritize readme.md
* Improve IsReadmeFile
* Add more tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prevent deadlocks (#5718)
* Fixed deadlock in CreateComment
* Fix possible deadlock in UpdateIssueDeadline from createDeadlineComment
* Ensure that calls to IsTimeTracker enabled are called within session
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure that calls to reactionList are also called within session
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure all calls in NewPullRequest with the session are called within the session
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Deal with potential deadlocks in repo
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure that isStaring is checked within our transaction
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix mistake in isOrganizationMember
Sorry.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add discord auth
* add vendor for discord
* fix syntax error
* make fmt
* update version of goth in use
* update markbates/goth
|
|
|
|
|
|
|
|
| |
* mail notification implement interface
* fix file comment year
* use NullNotifier as parent struct of notifiers
|
|
|
| |
Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Do not display the raw OpenID error in the UI
If there are no `WHITELIST_URIS` or `BLACKLIST_URIS` set in the openid
section of the app.ini, it is possible that gitea can leak sensitive
information about the local network through the error provided by the
UI. This PR hides the error information and logs it.
Fix #4973
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update auth_openid.go
Place error log within the `err != nil` branch.
|
| |
|
| |
|
|
|
|
| |
login and if authentication was successful, the user will be redirected to fork the repo (#5690)
|
| |
|
|
|
|
|
|
| |
* Add docs about database migration
* Reorder upgrade from Gogs steps
|
| |
|
|
|
|
|
|
|
| |
(#5669)
Fix #5627
Signed-off-by: Andrew Thornton <art27@cantab.net>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add migration and basic UI for changing a user's theme
* update user themem
* use right text on button
* load theme based on users' selection
* load theme based on users' selection in pwa too
* update sample config
* delete older theme loading
* implement AfterLoad to set users' theme properly
* set up default theme when creating a user. This uses the installation wide theme
* use flash messages for error
* set default theme when creating a user from the cli
* fix @lunny review
|
|
|
| |
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
|
| |
|
|
|
| |
Fixes: #5630.
|
|
|
|
| |
Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
|
|
|
| |
Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
|
|
|
|
|
|
|
|
| |
* migrate database if app.ini found
* replacing hard-coded user id by env variable
* Update per @zeripath's feedback
|