| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add docs on passing SSH through to container
Wasn't clear how to pass SSH connections through the container, found a
few blog posts which described roughly the same procedure I've
documented here.
Credit should really go to:
* https://blog.sakuragawa.moe/gitea-in-docker-container-and-sharing-ssh-with-host/
* http://www.ateijelo.com/blog/2016/07/09/share-port-22-between-docker-gogs-ssh-and-local-system
Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>
* Add note to resolve @lafriks feedback
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix sqlite deadlock when assigning to a PR
Fix 5639
Signed-off-by: Andrew Thornton <art27@cantab.net>
* More possible deadlocks found and fixed
Signed-off-by: Andrew Thornton <art27@cantab.net>
|
|
|
|
|
|
|
|
|
|
| |
* Add changelog for 1.6.3 and 1.7.0-rc2
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add missing point for 1.6.3
Signed-off-by: Jonas Franz <info@jonasfranz.software>
|
| |
|
|
|
|
|
| |
This commit wraps more of the TreePaths with cleanUploadFileName
Signed-off-by: Andrew Thornton <art27@cantab.net>
|
| |
|
|
|
|
|
|
|
|
| |
Adds a small check to close the issues only if the referencing commits
are on the default branch.
Fixes: #2314.
|
|
|
|
|
|
| |
[https-setup]
- Made it clearer that HTTP redirection is possible
[config-cheat-sheet]
- Clarified the behavihour of the redirection-related config keys
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add changelog for 1.7.0-rc1
* Change position of refactoring of heatmap
* Refactoring some items in changelog
* Fix wrong PR title in changelog
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Remove backported PRs
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix wrong date
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add new PR to list
* Security fixes have been backported
|
|
|
| |
Should fix #5623
|