719 Commits (f9d6e35a8ad0a3bbf1a9f9732f192a3588f95c3b)

Author SHA1 Message Date
GiteaBot 49ea6e0deb [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 0bd802e3e1 [skip ci] Updated translations via Crowdin 6 years ago
Jonas Franz 9681c83734 Approvals at Branch Protection (#5350)
* Add branch protection for approvals

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add required approvals

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add missing comments and fmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add type = approval and group by reviewer_id to review

* Prevent users from adding negative review limits

* Add migration for approval whitelists

Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
GiteaBot 205a533645 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8a64e67456 [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao 7c0c965532 Improve team members and repositories settings UI (#5457)
* improve team members and repositories settings UI

* use tab on team pages

* add default description on team members and repos

* add blank on numbers and texts

* improve translation
6 years ago
GiteaBot fdec258c8d [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot ce4885f761 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot bc42b3ab6c [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot c761625c69 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot c8a9384a70 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 0787056e07 Allow to add organization members as collaborators on organization owned repositories (#4748)
repository... Fixes #4507
6 years ago
GiteaBot a7ee4a6e95 [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao 2dc805c0c6
Milestone issues and pull requests (#5293)
* add milestone issues and pulls page instead of redirecting issues page

* add milestone when creating issue from milestone page

* refactor to merge similiar codes as a new function issues

* remove milestone info on milestone issues list

* fix missing params
6 years ago
GiteaBot c03a9b3e42 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 6467934d29 [skip ci] Updated translations via Crowdin 6 years ago
kolaente 0dcf31ae49 Show review summary in pull requests (#5132) 6 years ago
GiteaBot 4651ba06c1 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot e033d217e9 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot e110943562 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo b97af15de6 Block registration based on email domain (#5157)
* implement email domain whitelist
6 years ago
GiteaBot d487a76ee2 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2852c3576a [skip ci] Updated translations via Crowdin 6 years ago
Jonas Bröms 599adde1bc Add option to disable automatic mirror syncing. (#5242)
Setting the interval to 0 will disable to automatic syncing.
6 years ago
GiteaBot e8b197d6f6 [skip ci] Updated translations via Crowdin 6 years ago
Antoine GIRARD 57a8440db3 Update gitignore list (#5258)
* update gitignore

* Handle symlink in tar

* Add some logs
6 years ago
GiteaBot 4b84928874 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot c8b4c7af65 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 98ea1a5143 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 5fc0a12627 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot aefeb8c465 [skip ci] Updated translations via Crowdin 6 years ago
Jonas Bröms db30d6d791 Serve audio files using HTML5 audio tag (#5221)
* Serve audio files using HTML5 audio tag

* Correct copy paste error
6 years ago
GiteaBot d4e6278764 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot abf6e0d90b [skip ci] Updated translations via Crowdin 6 years ago
AJ ONeal b8451190d8 UX of link account (Step 1) (#5006)
* Show either sign up OR sign in

* disambiguate fresh start from adding recovery options

* use tabs to switch between account link flows

* add active to tab body as well

* changes as per discussion

* handle specific error; fix missing err typo
6 years ago
briolantonio f887085ee0 Update TRANSLATORS (#5194)
Hi,
I'm the guy who translated gitea during June in Italian.
I would like to have my name added to the translators list.
I translated nearly a thousand and a half words.
Thank you.
6 years ago
GiteaBot e500b82c2c [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 890a0c3cee [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 7e5eec430d [skip ci] Updated translations via Crowdin 6 years ago
kolaente 6759237eda User action heatmap (#5131)
* Added basic heatmap data

* Added extra case for sqlite

* Built basic heatmap into user profile

* Get contribution data from api & styling

* Fixed lint & added extra group by statements for all database types

* generated swagger spec

* generated swagger spec

* generated swagger spec

* fixed swagger spec

* fmt

* Added tests

* Added setting to enable/disable user heatmap

* Added locale for loading text

* Removed UseTiDB

* Updated librejs & moment.js

* Fixed import order

* Fixed heatmap in postgresql

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-Authored-By: kolaente <konrad@kola-entertainments.de>

* Added copyright header

* Fixed a bug to show the heatmap for the actual user instead of the currently logged in

* Added integration test for heatmaps

* Added a heatmap on the dashboard

* Fixed timestamp parsing

* Hide heatmap on mobile

* optimized postgresql group by query

* Improved sqlite group by statement
6 years ago
GiteaBot 47e4efe0c5 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 384ef124e7 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 25def0a808 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8683c72483 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2e2eacf62a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot b8d048fa0d [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 39735723f5 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 79b4d4729c [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 364c029246 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8b113cd8b6 [skip ci] Updated translations via Crowdin 6 years ago
bugreport0 91b164c778 Fix interpunction in English translation. (#4958) 6 years ago
GiteaBot 552d8d3a4e [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 3e76e7826e [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 2a6d3ba058 Allow admin toggle forcing a password change for newly created users (#4563) 6 years ago
Lanre Adelowo 126ba796dc Force user to change password (#4489)
* redirect to login page after successfully activating account

* force users to change password if account was created by an admin

* force users to change password if account was created by an admin

* fixed build

* fixed build

* fix pending issues with translation and wrong routes

* make sure path check is safe

* remove unneccessary newline

* make sure users that don't have to view the form get redirected

* move route to use /settings prefix so as to make sure unauthenticated users can't view the page

* update as per @lafriks review

* add necessary comment

* remove unrelated changes

* support redirecting to location the user actually want to go to before being forced to change his/her password

* run make fmt

* added tests

* improve assertions

* add assertion

* fix copyright year

Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
6 years ago
GiteaBot 7dd93b2441 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot b5b39a56ad [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot c64c595acc [skip ci] Updated translations via Crowdin 6 years ago
techknowlogick f1ad4bb3d5
Remove traces of embedded TiDB (#4906)
Fix #3357
6 years ago
GiteaBot 15ebe4b853 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo be48397945 Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
GiteaBot 6e03390aa8 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 1dee960b45 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH fab7937c62 Improve dependency UI (#4503) 6 years ago
Lauris BH fa4663e61e Add push webhook support for mirrored repositories (#4127) 6 years ago
GiteaBot 01fd05a5cb [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot aad5cccec8 [skip ci] Updated translations via Crowdin 6 years ago
SagePtr 9500d394ec Minor fix to TRANSLATORS (#4836)
* Minor fix to TRANSLATORS

Replaced @ with AT and removed " accidentially put in few lines

* Update TRANSLATORS
6 years ago
GiteaBot a938ddf704 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 179123de35 [skip ci] Updated translations via Crowdin 6 years ago
SagePtr 74d65b5b5b Update legacy branch and tag URLs in dashboard to new format (#4812) 6 years ago
Joel da Rosa 34831afaa7 Locale for Edit and Remove due date issue (#4802) 6 years ago
Piotr Orzechowski 51c3b4b4bf Add Orzech to translator list (#4801) 6 years ago
GiteaBot 0dac1ff677 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 3c39b6351c [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 05dcfcfc33 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
6 years ago
Lanre Adelowo a6cdda115d Display error when adding a user to a team twice (#4746) 6 years ago
GiteaBot 1b2aff02a2 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8273479b41 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot f24ba27d79 [skip ci] Updated translations via Crowdin 6 years ago
SagePtr 8f86c43b90 Fix incorrect caption of webhook setting (#4701) (#4717) 6 years ago
GiteaBot bc06ab4a31 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 92466129ec
Improve URL validation for external wiki and external issues (#4710)
* Improve URL validation for external wiki  and external issues

* Do not allow also localhost address for external URLs
6 years ago
nemoinho ca112f0a04 Add whitespace handling to PR-comparsion (#4683)
* Add whitespace handling to PR-comparsion

In a PR we have to keep an eye on a lot of different things. But sometimes the
bare code is the key-thing we want to care about and just don't want to care
about fixed indention on some places. Especially if we follow the pathfinder
rule we face a lot of these situations because these changes don't break the
code in many languages but improve the readability a lot.

So this change introduce a fine graned button to adjust the way how the
reviewer want to see whitespace-changes within the code.

The possibilities reflect the possibilities from git itself except of the
`--ignore-blank-lines` flag because that one is also handled by `-b` and is
really rare.

Signed-off-by: Felix Nehrke <felix@nehrke.info>
6 years ago
GiteaBot 03e558c29b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot df0eb7372c [skip ci] Updated translations via Crowdin 6 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529)
* prevent pull request to be merged when PR is a WIP

* add tests

* add helper to prepend WIP: in PR title

* move default wip prefixes into settings

* use configurable WIP prefixes in javascript and default to first one in templates

* add documentation

* add unit test on pull model

Signed-off-by: Julien Tant <julien@craftyx.fr>
6 years ago
Lanre Adelowo 69a855f3d4 log user in after a successful sign up (#4615) 6 years ago
GiteaBot 00bd6277a8 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 67a8688538 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot ed3589f429 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a42900c17f [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 0df7cab4fb prevent empty review comment (#4632)
* prevent empty review comment

This would only require a comment for rejection and comment

* add tests

* add comment
6 years ago
Lanre Adelowo 59b10e66f7 An inactive user shouldn't be able to be added as a collaborator (#4535)
* an inactive user shouldn't be able to be a collaborator

* use translated error message

* add active user check when adding a new collaborator via the api

* fix translation text

* added collaborator test

* improvee testcases
6 years ago
Lanre Adelowo c7a6ee5c0b Don't fail silently if trying to add a collaborator twice (#4533)
* don't fail silently if trying to add a collaborator twice

* fix translation text

* added collaborator test

* improvee testcases

* Added tests to make sure a collaborator cannot be added twice
6 years ago
GiteaBot 7cb1c1cf20 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 9ea327f1f7 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 6e64f9db8e Pull request review/approval and comment on code (#3748)
* Initial ui components for pull request review

* Add Review
Add IssueComment types

Signed-off-by: Jonas Franz <info@jonasfranz.software>

(cherry picked from commit 2b4daab)
Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Replace ReviewComment with Content

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add load functions
Add ReviewID to findComments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add create review comment implementation
Add migration for review
Other small changes

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Simplified create and find functions for review

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Moved "Pending" to first position

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add GetCurrentReview to simplify fetching current review

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Preview for listing comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Move new comment form to its own file

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Implement Review form
Show Review comments on comment stream

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add support for single comments
Showing buttons in context

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add pending tag to pending review comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add unit tests for Review

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fetch all review ids at once
Add unit tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Improved comment rendering in "Files" view by adding Comments to DiffLine

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add support for invalidating comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Switched back to code.gitea.io/git

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Moved review migration from v64 to v65

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Rebuild css

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Improve translations

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit tests by updating fixtures and updating outdated test

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Comments will be shown at the right place now

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add support for deleting CodeComments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix problems caused by files in subdirectories

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add support for showing code comments of reviews in conversation

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add support for "Show/Hide outdated"

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update code.gitea.io/git

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add support for new webhooks

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update comparison

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Resolve conflicts

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Minor UI improvements

* update code.gitea.io/git

* Fix ui bug reported by @lunny causing wrong position of add button
Add functionality to "Cancel" button
Add scale effects to add button
Hide "Cancel" button for existing comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Prepare solving conflicts

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Show add button only if no comments already exist for the line

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add missing vendor files

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Check if reviewer is nil

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Show forms only to users who are logged in

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Revert "Show forms only to users who are logged in"

This reverts commit c083682

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Save patch in comment
Render patch for code comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add link to comment in code

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add reply form to comment list
Show forms only to signed in users

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add 'Reply' as translatable
Add CODE_COMMENT_LINES setting

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix problems introduced by checking for singed in user

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add v70

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update generated stylesheet

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix preview
Beginn with new review comment patch system

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add new algo to generate diff for line range
Remove old algo used for cutting big diffs (it was very buggy)

* Add documentation and example for CutDiffAroundLine

* Fix example of CutDiffAroundLine

* Fix some comment UI rendering bugs

* Add code comment edit mode

* Send notifications / actions to users until review gets published
Fix diff generation bug
Fix wrong hashtag

* Fix vet errors

* Send notifications also for single comments

* Fix some notification bugs, fix link

* Fix: add comment icon is only shown on code lines

* Add lint comment

* Add unit tests for git diff

* Add more error messages

* Regenerated css

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* fmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Regenerated CSS with latest less version

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test by updating comment type to new ID

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Introducing CodeComments as type for map[string]map[int64][]*Comment
Other minor code improvements

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix data-tab issues

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Remove unnecessary change

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* refactored checkForInvalidation

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Append comments instead of setting

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Use HeadRepo instead of BaseRepo

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update migration

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Regenerated CSS

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add copyright

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update index.css

Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
GiteaBot e277b3e0e4 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 412583a3f2 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 5927599e43 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a847d16f5b [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 1b9b894731
Fix uk-UA locale. Fixes #4518 6 years ago
GiteaBot 7a30208e05 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 630f234223 Add flash message after an account has been successfully activated (#4510)
* added new locale text
6 years ago
GiteaBot 32f25598b3 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d0fef4395f [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot ec43e5619b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 5fa403c874 [skip ci] Updated translations via Crowdin 6 years ago
bugreport0 b174817b6a Improve English translation for new features. (#4481) 6 years ago
GiteaBot cc9fa062e6 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 1e2da5d396 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 9ca8aaecb4 [skip ci] Updated translations via Crowdin 6 years ago
kolaente 1bff02de55 Added dependencies for issues (#2196) (#2531) 6 years ago
kolaente ef6813abc9 Issue due date api (#3890)
* Implemented basic api endpoint to manage deadlines

* Fixed checking for permissions

* Updating a deadline from the ui is now entirely done via the api

* cleanup

* Cosmetics

* fixed lint + fmt

* Added swagger model definition for deadline response

* Updated gitea-sdk

* Updated gitea-sdk

* More cleanup

* Generate swagger json

* Merge branch 'master' of https://github.com/go-gitea/gitea into issue-due-date-api

# Conflicts:
#	public/swagger.v1.json

* Fixed permission to update a deadline via api

* Re-added form to change a deadline

* Added client-side validation + not ignore error messages from the api

* Added locale for error message

* Merge branch 'master' of https://github.com/go-gitea/gitea

# Conflicts:
#	models/issue_comment.go

* Proper date validation

* Fixed indention

* moved css to css file

* added documentation for error codes

* after merge cleanup

* Added swagger description

* DO NOTHING BUT TRIGGER THAT F*CKIN CI SO IT PICKS UP THE LATEST COMMIT AS IT SHOULD

* DO NOTHING BUT TRIGGER THAT F*CKIN CI SO IT PICKS UP THE LATEST COMMIT AS IT SHOULD

* regenerated stylesheets
6 years ago
GiteaBot 55d9ddf24a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8e103d3e76 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot ca8c7bb2b5 [skip ci] Updated translations via Crowdin 6 years ago
Joel da Rosa aa27cbf229 Locale for button Edit on protected branch (#4442) 6 years ago
GiteaBot 6813640d2f [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 61f4ad2fc5 [skip ci] Updated translations via Crowdin 6 years ago
Niclas Kroon c9687c036d update TRANSLATORS (#4406) 6 years ago
GiteaBot 3e445cce06 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot efd202f40f [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 28c1c90230 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot cfb76cd99e [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 07063e3e11 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 4eae810d63 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 95f0f62ea4 [skip ci] Updated translations via Crowdin 6 years ago
Matthew Richardson 2e3475f02c Fix typos in i18n variable names. (#4080) 6 years ago
GiteaBot df77ad31d5 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot fc53f95f23 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 3fed13b0ee [skip ci] Updated translations via Crowdin 6 years ago
cezar97 51ba3df5ff Add `noreferrer` to rel='noopener` for <a> tags (#4328) 6 years ago
Pofilo 5d1a6382b6 #4354 Fix translation (#4355) 6 years ago
GiteaBot 100a538622 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a4dfe4b9b1 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 83e72f17f6 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot bbf9abde49 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 69796ddd64 [skip ci] Updated translations via Crowdin 6 years ago
Guilhem Marion 3089833167 Update TRANSLATORS (#4349) 6 years ago
GiteaBot f4b7b424c1 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot e8a17e4558 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a711d41f54 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a9ffbeb679 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot b8c2420ae2 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8bb9b67a29 [skip ci] Updated translations via Crowdin 6 years ago
Alexey Terentyev 46d19c4676 Fix topics addition (Another solution) (#4031) (#4258)
* Added topics validation, fixed repo topics duplication (#4031)

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added tests

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed fmt

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added comments to exported functions

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Deleted RemoveDuplicateTopics function

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed messages

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added migration

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fmt migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fixed lint

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added Copyright

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added query solution for duplicates

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed migration query

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Changed RegExp. Fixed migration

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fmt migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed test for changed regexp

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Removed validation log messages

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed validate function

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
6 years ago
GiteaBot ac110d1b73 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 3f2f5752cb [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 6e39f3d422 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 3aafa0400e [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot c919b07a53 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a75f251195 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 0ea18698af [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 37359aee68 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 508092a248 [skip ci] Updated translations via Crowdin 6 years ago
BNolet 3da0d437e9 Fixed spelling + clarity (#4213)
Message given when password was too short was incorrectly spelled and was not clear enough.
6 years ago
GiteaBot e3b77f92c1 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot ef0bc57ae7 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8786c15221 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d41084c54a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 3fbba2553a [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH a89d6253e0 Show only needed values in database configuration section depending on type (#4164) 6 years ago
GiteaBot e5fd43c231 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 25b1a8099b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2fcd9b69b7 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d62bc3362b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot da466b0505 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 9a1772b0fa [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot b8c1dc55b4 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 0549762fd0 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot af05212bf8 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 9aa8fdc5d7 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 5095dfaed6 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 69e82c1761 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 062111de3b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 81241b9380 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 11da1e6146 [skip ci] Updated translations via Crowdin 6 years ago
Magnus Lindvall cdb9478774 LDAP Public SSH Keys synchronization (#1844)
* Add LDAP Key Synchronization feature

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Add migration: add login source id column for public_key table

* Only update keys if needed

* Add function to only list pubkey synchronized from ldap

* Only list pub ssh keys synchronized from ldap. Do not sort strings as ExistsInSlice does it.

* Only get keys belonging to current login source id

* Set default login source id to 0

* Some minor cleanup. Add integration tests (updete dep testify)
6 years ago
Alexey Terentyev b908ac9fab Added repository search ordered by stars or forks. Forks column in admin repo list. (#3969)
* Added repository search order by stars or forks.
Added Forks column to admin repository list.

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed search repo template

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
6 years ago
GiteaBot ea2a938e8a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 4ba9745cee [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 71a8fe3e7c [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a2f0c57584 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2c4b54dccc [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 45f3d4a719 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d97bb9516c [skip ci] Updated translations via Crowdin 6 years ago
David Schneiderbauer 31067c0a89 remove collaborative repositories from search on user profiles (#3996)
* remove collaborative repositories from search on user profiles

* rename 'My Repositories' to 'Repositories'
6 years ago
GiteaBot b2bf1c9422 [skip ci] Updated translations via Crowdin 6 years ago
Fluf 74e05e60ca Fix typo in U2F description (#4007) 6 years ago
GiteaBot 2690542adb [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d7fd9bf7bb [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao 6bdc556b7f
Fix some webhooks bugs (#3981)
* fix some webhooks bugs

* update vendor

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix test

* fix clearlabels

* fix pullrequest webhook bug fix #3492

* update release webhook description

* remove unused code

* fix push webhook in pull request

* small changes
6 years ago
GiteaBot dc0ef38950 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d7cf7393d4 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 000b2d33a9 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 81b4d38f01 [skip ci] Updated translations via Crowdin 6 years ago
Anderi Azuki c7a4317231 Update TRANSLATORS (#3933)
* Update TRANSLATORS

* Update TRANSLATORS

* Update TRANSLATORS

* Move to correct position so that list stays in alphabetical order
6 years ago
GiteaBot 01835a4206 [skip ci] Updated translations via Crowdin 6 years ago
Jonas Franz 951309f76a Add support for FIDO U2F (#3971)
* Add support for U2F

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add vendor library
Add missing translations

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Minor improvements

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library
Add U2F error handling

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add U2F login page to OAuth

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Move U2F user settings to a separate file

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add unit tests for u2f model
Renamed u2f table name

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix problems caused by refactoring

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add U2F documentation

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Remove not needed console.log-s

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add default values to app.ini.sample
Add FIDO U2F to comparison

Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
GiteaBot f933bcdfee [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 1b7cd3d0b0 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot b574af27b8 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 8f4d11af0b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 4ceb92f311 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d79829fc47 [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory (#3929)
* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* update vendor

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* load attributes when created release

* update comparsion doc
6 years ago
GiteaBot 188fe6c301 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot d3dce01cf7 [skip ci] Updated translations via Crowdin 6 years ago
David Schneiderbauer 099372d76c Refactor User Settings (#3900)
* moved avatar to profile page

* combined password change, email and account deletion into account settings page

* combined totp, access tokens, linked accounts and openid into security settings page

* move access tokens to applications settings page

* small change to restart drone build

* fix change avatar url on profile page

* redirect old settings urls to new ones

* enforce only one autofocus attribute on settings pages

* set correct redirect status code

* fmt fix
6 years ago
FabioFortini 1546458f7d issue-2768: added new option allow_only_external_registration (#3910) 6 years ago
GiteaBot 2c34ef5d97 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot bc8400747a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 253a2d636b [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot e5f7f7dbc7 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 4dc43b37be [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 15d0ac7ed4 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 4607e1ac3d [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 0e0036106f [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2efdb0907c [skip ci] Updated translations via Crowdin 6 years ago
techknowlogick 32deee9e52 Fix #3828 (#3935) 6 years ago
GiteaBot ce791454cb [skip ci] Updated translations via Crowdin 6 years ago
kolaente 95f2e2b57b Multiple assignees (#3705) 6 years ago
GiteaBot 238a997ec0 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 02ecc03d6d [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 139ebf806e [skip ci] Updated translations via Crowdin 6 years ago
bugreport0 b11b3a7a7c Fix English translation grammar and consistency. (#3921) 6 years ago
GiteaBot bb8014885f [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 773530c917 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot eec2179e73 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot e6b0a2db62 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 04889b7ae5 [skip ci] Updated translations via Crowdin 6 years ago
Jonas Franz c6a881e71b Fix placeholder of due date form (#3906) 6 years ago
GiteaBot 8685b315a2 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 501fb228e6
Add option to use paged LDAP search when synchronizing users (#3895) 6 years ago
GiteaBot 7467ff3d94 [skip ci] Updated translations via Crowdin 6 years ago
kolaente 1fdf560678 Added user language setting (#3875)
* Added user language setting

* Added translation string for setting

* Fixed import order + typo

* improved checking if the user has a language saved in the db

* The current saved language is now set a default inside the dropdown

* fmt

* When a user signs in and doesn't have a language saved, the current browser language is saved

* updated gitea-sdk

* Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language

# Conflicts:
#	models/migrations/migrations.go
#	models/migrations/v62.go

* Made tests work again

* trigger CI

* trigger CI

* fmt

* re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO

* re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO

* When loggin in, only the language col gets updated instead of everything
6 years ago
GiteaBot 795dcc8ecf [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 0ca359cdb4 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 954e69f66d [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot a98add1974 [skip ci] Updated translations via Crowdin 6 years ago
kolaente 1a97030017 Issue due date (#3794)
* Started adding deadline to ui

* Implemented basic issue due date managing

* Improved UI for due date managing

* Added at least write access to the repo in order to modify issue due dates

* Ui improvements

* Added issue comments creation when adding/modifying/removing a due date

* Show due date in issue list

* Added api support for issue due dates

* Fixed lint suggestions

* Added deadline to sdk

* Updated css

* Added support for adding/modifiying deadlines for pull requests via api

* Fixed comments not created when updating or removing a deadline

* update sdk (will do properly once go-gitea/go-sdk#103 is merged)

* enhanced updateIssueDeadline

* Removed unnessecary Issue.DeadlineString

* UI improvements

* Small improvments to comment creation
+ ui & validation improvements

* Check if an issue is overdue is now a seperate function

* Updated go-sdk with govendor as it was merged

* Simplified isOverdue method

* removed unessecary deadline to 0 set

* Update swagger definitions

* Added missing return

* Added an explanary comment

* Improved updateIssueDeadline method so it'll only update `deadline_unix`

* Small changes and improvements
* no need to explicitly load the issue when updating a deadline, just use whats already there
* small optimisations

* Added check if a deadline was modified before updating it

* Moved comment creating logic into its own function

* Code cleanup for creating deadline comment

* locale improvement

* When modifying a deadline, the old deadline is saved with the comment

* small improvments to xorm session handling when updating an issue deadline
+ style nitpicks

* style nitpicks

* Moved checking for if the user has write acces to middleware
6 years ago
GiteaBot 1928920a08 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot fff022ef8a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 6f62d4f180 [skip ci] Updated translations via Crowdin 6 years ago
Jonas Franz 8d5f58d834 Shows total tracked time in issue and milestone list (#3341)
* Show total tracked time in issue and milestone list
Show total tracked time at issue page

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Optimizing TotalTimes by using SumInt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fixing wrong total times for milestones caused by a missing JOIN
Adding unit tests for total times

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Logging error instead of ignoring it

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Correcting spelling mistakes

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change error message to a short version

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add error handling to TotalTimes
Add variable for totalTimes

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Introduce TotalTrackedTimes as variable of issue
Load TotalTrackedTimes by loading attributes of IssueList
Load TotalTrackedTimes by loading attributes of single issue
Add Sec2Time as helper to use it in templates

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fixed test + gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Load TotalTrackedTimes via MilestoneList instead of single requests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add documentation for MilestoneList

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add documentation for MilestoneList

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change comment from SQL query to description

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit test by using int64 instead of int

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit test by using int64 instead of int

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Check if timetracker is enabled

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test by enabling timetracking

Signed-off-by: Jonas Franz <info@jonasfranz.de>
6 years ago
GiteaBot 76106ab080 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot c3f2b8803f [skip ci] Updated translations via Crowdin 6 years ago