kolaente
0016a3e1a7
Merge branch 'master' into master
2018-01-03 16:26:09 +01:00
modmew8
d996da6bab
Added progressbar for issues ( #1146 ). ( #3171 )
...
* Added progressbar for issues (#1146 ).
* Updated the generated index.css.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed unnecessary blanks.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Formatted the files correctly, fmt-check terminates now without errors.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed variables, made computing the tasks on demand with precompiled regexp.
Signed-off-by: modmew8 <modmew8@gmail.com>
2018-01-03 02:34:13 -06:00
kolaente
661bd7c1c4
gofmt
2018-01-01 14:40:14 +01:00
kolaente
9eedb3fcf8
Fixed check for issue is nil before getting issue details
2018-01-01 14:32:03 +01:00
kolaente
436ea162bb
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# public/js/index.js
2018-01-01 14:20:42 +01:00
Sandro Santilli
8cd987af0c
Add repo-sync-releases admin command ( #3254 )
...
* Add repo-sync-releases admin command
Will help recovering corrupted database, see #3247
* Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo
* Fix debug output about num releases
* Introduce RepositoryListDefaultPageSize constant, set to 64
Use it from the new admin command
* Use RepositoryListDefaultPageSize in more places
* Document RepositoryListDefaultPageSize
2017-12-31 16:45:46 +02:00
Ethan Koenig
c64924682e
Fix race condition in team functions ( #3268 )
2017-12-30 21:08:08 -06:00
Morgan Bazalgette
edce41ae65
go back to using CFB for AES decryption/encryption for 2FA ( #3274 )
2017-12-31 04:19:42 +02:00
Ethan Koenig
3850bad4c0
Remove unused consts/vars ( #3270 )
2017-12-30 19:10:48 -06:00
kolaente
fdb106dfa5
typo
2017-12-29 22:35:23 +01:00
kolaente
57a4f8607d
typo
2017-12-29 22:35:13 +01:00
kolaente
c534699884
Fixed Lint suggestions
2017-12-29 22:31:50 +01:00
kolaente
2a249c4e64
gofmt
2017-12-29 22:30:58 +01:00
kolaente
108edf9938
Modified tests to work again with modified functions
2017-12-29 22:29:14 +01:00
kolaente
1064acc400
Logging error
2017-12-29 15:33:19 +01:00
kolaente
70589e6c96
Added Custom error types for issue dependencies
2017-12-29 15:30:43 +01:00
kolaente
d29ca0c9f3
Fixed comment
2017-12-29 14:51:26 +01:00
kolaente
200f88d2ed
Small fixes to xorm-stuff
2017-12-29 14:44:13 +01:00
Konrad
ed4a47dcc8
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-12-29 14:27:23 +01:00
Ethan Koenig
4c9341f689
Fix bugs in issue dashboard stats ( #3073 )
2017-12-26 01:25:16 +02:00
Lunny Xiao
f5155b9913
Small improve on deleting attachements ( #3145 )
...
* Small improve on deleting attachements
* improve the sequence of deletion
2017-12-24 23:04:22 +02:00
Antoine GIRARD
cc7b8e3379
Add more bench ( #3161 )
...
* Improve makefile + Add benchs
* Apply recommendations of @ethantkoenig
2017-12-24 02:33:34 +02:00
Ethan Koenig
515cdaa85d
Fix ignored errors when checking if organization, team member ( #3177 )
2017-12-21 09:43:26 +02:00
Ethan Koenig
e67b4055f9
Fix repo-transfer-and-team-repo-count bug ( #3241 )
2017-12-19 23:37:56 -06:00
kolaente
08763cf7d5
typo
2017-12-19 19:26:08 +01:00
kolaente
e6aeeac369
typo
2017-12-19 19:25:57 +01:00
kolaente
1608248166
Fixed deleting a dependency when it going from the blocking one
2017-12-19 19:23:27 +01:00
kolaente
69769ec6fd
gofmt
2017-12-19 19:14:26 +01:00
kolaente
8354f2be75
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/v51.go
2017-12-19 19:08:23 +01:00
kolaente
172b1f054a
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/v51.go
2017-12-19 19:07:30 +01:00
Ethan Koenig
0e384c6376
Check ignored errors for issue and milestone count ( #3213 )
2017-12-18 16:06:51 +02:00
Ethan Koenig
6abfa48c0e
Remove unnecessary updates to issue indexer ( #3212 )
2017-12-17 13:53:02 +02:00
Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label ( #3198 )
2017-12-15 23:11:02 +02:00
Lunny Xiao
f94c1b3943
Improvements for supporting UI Location ( #3146 )
...
* improvements for supporting UI Location
* improved the comment
2017-12-14 07:45:31 +08:00
Lauris BH
c06cc740de
Reorder migrations, skip errors if running migration again ( #3160 )
...
* Reorder migrations, skip errors if running migration again
* Rename migration file names to match migration version
* Add note about ingored error
2017-12-13 16:52:18 +02:00
Lunny Xiao
859b9ad7ea
fix org owner cannot be removed if there is not in owner team ( #3164 )
2017-12-13 00:26:31 +02:00
Kim "BKC" Carlbäcker
4b5197beb4
Fix Uninitialized variable in ParsePatch ( #3156 )
2017-12-12 02:32:36 +02:00
Lunny Xiao
956354885a
simple usage of x ( #3144 )
2017-12-11 09:16:23 +02:00
Lunny Xiao
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage ( #3142 )
...
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
2017-12-11 06:37:04 +02:00
Ethan Koenig
defc97afc2
Fixtures for public_key table ( #3140 )
2017-12-11 09:50:29 +08:00
Ethan Koenig
d1efe2078a
Fix integration tests ( #3141 )
2017-12-11 08:52:05 +08:00
Lunny Xiao
41d6afe0e7
Fix compile failed without gcc ( #3130 )
...
* fix comile failed without gcc
* add sqlite tag for unit test
2017-12-10 16:08:19 +02:00
Antoine GIRARD
ef78309b65
Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. ( #3092 )
...
* Add failing test
* Fix urls
* Improve url in tests
* improve testing
* Remove debug code
* Add deps
* LFS corner-case : Search on lower but store with case
* Temporary comment of blocking action
* fix hooks
* Use temporary repo for git client test
* Use userPassword in place of hard-coded password
2017-12-08 20:21:37 +08:00
kolaente
f02fd333c7
Fixed import order
2017-12-07 10:23:49 +01:00
Ethan Koenig
5e4427e4e7
Fix repo indexer and submodule bug ( #3107 )
2017-12-07 15:18:04 +08:00
Sasha Varlamov
7ec6cddd27
Add 'mark all read' option to notifications ( #3097 )
...
* Add 'mark all read' option to notifications
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix exported comment
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Format method comments
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix exported comment
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Format method comments
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Tests for reactions (#3083 )
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
Fix reaction possition when there is attachments (#3099 )
Refactor notifications swap function
* Accept change to drop beforeupdate call
* Update purge notifications error message for consistency
* Drop unnecessary check for mark all as read button
* Remove debugging comment
2017-12-07 13:52:57 +08:00
Konrad
e98f92d676
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-12-06 18:51:18 +01:00
Konrad
13f0e17159
Fixed using xorm session
2017-12-06 17:22:19 +01:00
kolaente
01f9e6332e
Modified import order
2017-12-06 17:17:37 +01:00
Vlad Temian
469ab99e9a
Delete a user's public key via admin api ( closes #3014 ) ( #3059 )
...
* Delete a user's public key via admin api
* Test admin ssh endpoint for creating a new ssh key
* Adapt public ssh key test to also test the delete operation
* Test that deleting a missing key will result in a 404
* Test that a normal user can't delete another user's ssh key
* Make DeletePublicKey return err
* Update swagger doc
2017-12-06 12:27:10 +02:00