6259 Commits (95f2e2b57beedcdeb2b9623dc86e26f252fdd7bd)
 

Author SHA1 Message Date
kolaente 95f2e2b57b Multiple assignees (#3705) 6 years ago
GiteaBot 238a997ec0 [skip ci] Updated translations via Crowdin 6 years ago
Thorben 14f16d6c2e snap-packaging for gitea (#2568)
* Modify tbraeutigam/gogs-snap for gitea

* Fix building on 16.04 (manually build go-bindata).
-> add _source.tar.bz2 to .gitignore (used by snapcraft cleanbuild)

* Streamline Snap packaging:
 - Take advantage of install-hooks (snapd 2.27)
 - Use snapctl configuration storage for unchanging values

* Move to using Snap Hooks for configuration

* Missed re-adding daemon statement

* Fix two warnings from Codacy.
6 years ago
GiteaBot 02ecc03d6d [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 16b34448d4
Compare git services in docs page (#3911) 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
David Schneiderbauer ea01decb6b fix wrong issue endpoints in swagger doc (#3914) 6 years ago
GiteaBot 773530c917 [skip ci] Updated translations via Crowdin 6 years ago
David Schneiderbauer 9ae445c28f lock npm packages (#3912) 6 years ago
Bo-Yi Wu 0b718e0d7b
feat: testing in go 1.10 version. (#3899) 6 years ago
GiteaBot eec2179e73 [skip ci] Updated translations via Crowdin 6 years ago
Travis Parker 73370b8cf7 consistent IsOverdue field name capitalization (#3909)
Milestone.IsOverDue vs Issue.IsOverdue, the former was also causing the
milestone list page template to fail to render if any milestones have a
due date assigned.

Signed-off-by: Travis J Parker <travis.parker@gmail.com>
6 years ago
GiteaBot e6b0a2db62 [skip ci] Updated translations via Crowdin 6 years ago
Ambrose Chua 3a6f3c8c11 Fix code tab link when viewing tags (#3908)
Signed-off-by: Ambrose Chua <ambrose@chua.family>
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
Lauris BH 5f4cff6159 Release 1.4.x changelog (#3894) 6 years ago
Lauris BH 1e1ece8f3d
Do not allow to reuse TOTP passcode (#3878) 6 years ago
Bo-Yi Wu c58e1e437b test: reduce testing time. (#3885) 6 years ago
GiteaBot 0ca359cdb4 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH b66d6b3449
Do not allow inactive users to access repositories using private keys (#3887) 6 years ago
Lauris BH 9495429982
Add "error" as reserved username (#3882) 6 years ago
GiteaBot 954e69f66d [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 5ffdf9388b
Fix to use only needed columns from tables to get repository git paths (#3870) 6 years ago
techknowlogick 9ec7f6b954 pass secrets to drone build step for docker (#3879) 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
Tris Forster 85d14cc229 Symlink icons (#1416) (#3826)
* Updated vendor code for code.gitea.io/git

* Display symlinks correctly for files and directories

* Added symlink tests

* Applied silverwinds stylesheet patch

Signed-off-by: Tris Forster <tris.git@shoddynet.org>
6 years ago
GiteaBot 1928920a08 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 181b3a8f09 Fix path cleanup in multiple places (#3871) 6 years ago
GiteaBot fff022ef8a [skip ci] Updated translations via Crowdin 6 years ago
Morgan Bazalgette 3e578b5d29 Fix docs site index page (#3868) 6 years ago
Bo-Yi Wu ca4a84a2d6 chore: simplify docker build process. (#2827)
* chore: simplify docker build process.

* chore: update docker plugin.
6 years ago
Lauris BH ff64f188fd Switch back to upstream goth repository and update govendor to latest goth version (#3863) 6 years ago
GiteaBot 6f62d4f180 [skip ci] Updated translations via Crowdin 6 years ago
Morgan Bazalgette fb8535e305 Make Generate New Token panel shown by default (#3832)
This is mostly a 'feel' change. The behaviour that is currently on the
access tokens pages is, as far as I know, not present in any other parts
of the frontend, and there's no real good reason to keep the 'Generate
New Token' panel hidden by default in my opinion.
6 years ago
Ethan Koenig 7ea4bfc561 API endpoint for testing webhook (#3550)
* API endpoint for testing webhook

* Empty commit to rerun CI
6 years ago
Lauris BH 5a62eb30df
Store OAuth2 session data in database (#3660)
* Store OAuth2 session data in database

* Rename table to `oauth2_session` and do not skip xormstorage initialization error
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
Morgan Bazalgette e3028d124f don't reset team/repo count when updating team via API (#3831)
fixes #3600
6 years ago
PJ Eby fc36567ee1 Update blackfriday dependency per #2994 (#3857)
Signed-off-by: PJ Eby <pje@telecommunity.com>
6 years ago
GiteaBot 76106ab080 [skip ci] Updated translations via Crowdin 6 years ago
kolaente fd8d6405c8 Fix only updated_unix when adding a comment (#3855) 6 years ago