Jonas Franz
021f0288c0
Introducing CodeComments as type for map[string]map[int64][]*Comment
...
Other minor code improvements
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-24 13:03:46 +02:00
Jonas Franz
cb29fdb201
Fix test by updating comment type to new ID
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-21 17:15:53 +02:00
Jonas Franz
8a6e6dc20c
fmt
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-20 10:59:37 +02:00
Jonas Franz
e7b2b61204
Regenerated css
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-20 10:39:34 +02:00
Jonas Franz
65d4318036
Merge branch 'master' of https://github.com/go-gitea/gitea into feat/approval-new
2018-07-20 10:37:27 +02:00
Lauris BH
0c59edaafa
Update xorm to latest version and fix correct user
table referencing in sql ( #4473 )
2018-07-20 10:10:17 +08:00
kolaente
1bff02de55
Added dependencies for issues ( #2196 ) ( #2531 )
2018-07-17 17:23:58 -04:00
Lauris BH
e95417ea2c
Fix column droping for MSSQL that need new transaction for that ( #4440 )
2018-07-13 11:20:40 -04:00
Jonas Franz
3f39e23ebf
Add more error messages
2018-07-09 13:58:08 +02:00
Jonas Franz
858345df01
Add unit tests for git diff
2018-07-07 16:54:14 +02:00
Jonas Franz
3013c0c70f
Add lint comment
2018-07-06 19:54:04 +02:00
Jonas Franz
b2092fe2f8
Fix: add comment icon is only shown on code lines
2018-07-06 19:33:42 +02:00
Jonas Franz
a0d9afd0da
Fix some notification bugs, fix link
2018-07-06 19:25:29 +02:00
Jonas Franz
dbc7aee713
Send notifications also for single comments
2018-07-06 18:39:41 +02:00
Jonas Franz
d8ddade96e
Fix vet errors
2018-07-06 18:36:53 +02:00
Jonas Franz
8f77329aee
Send notifications / actions to users until review gets published
...
Fix diff generation bug
Fix wrong hashtag
2018-07-06 18:24:44 +02:00
Jonas Franz
5dd39d3bca
Fix some comment UI rendering bugs
2018-07-06 17:02:01 +02:00
Jonas Franz
fbaeb02b2d
Fix example of CutDiffAroundLine
2018-07-06 15:36:05 +02:00
Jonas Franz
8a84f047cf
Add documentation and example for CutDiffAroundLine
2018-07-06 15:35:12 +02:00
Jonas Franz
3cd5ee4e42
Add new algo to generate diff for line range
...
Remove old algo used for cutting big diffs (it was very buggy)
2018-07-06 15:24:07 +02:00
Jonas Franz
73b325c5d8
Fix preview
...
Beginn with new review comment patch system
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-05 22:47:31 +02:00
Jonas Franz
45dabaff02
Add v70
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-05 20:36:05 +02:00
Jonas Franz
b4e43d6ce0
Merge branch 'master' of https://github.com/go-gitea/gitea into feat/approval-new
2018-07-05 20:35:31 +02:00
Guido Diepen
7c943b1cad
Implemented hover text showing user FullName ( #4261 )
...
For each action that is displayed in either the public activity overview
of a user, or in the dashboard overview, the link to the username is now
extended with a title attribute to show the FullName as hover text
Signed-off-by: Guido Diepen <site-github@guidodiepen.nl>
2018-07-05 19:48:18 +02:00
Lauris BH
54fedd4070
Add default merge options when adding new repository ( #4369 )
2018-07-05 11:02:54 +08:00
Lunny Xiao
b46066f17c
fix repository last updated time update when delete a user who watched the repo ( #4363 )
2018-07-05 00:47:05 +03:00
Antoine GIRARD
74f9f98f78
Simply remove tidb and deps ( #3993 )
2018-07-04 16:23:23 -04:00
cezar97
51ba3df5ff
Add noreferrer
to rel='noopener` for <a> tags ( #4328 )
2018-07-03 19:52:36 -04:00
Kim "BKC" Carlbäcker
cbee921c28
Limit uploaded avatar image-size to 4096x3072 by default ( #4353 )
2018-07-03 06:56:32 +03:00
Alexey Terentyev
91ff87c0e5
Fixed violation of the unique constraint for v68 migration ( #4297 )
2018-06-27 01:23:10 -04:00
David Schneiderbauer
0b3ea42847
hide issues from org private repos w/o team assignment ( #4034 )
2018-06-21 12:00:13 -04:00
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>
2018-06-21 17:09:46 +08:00
techknowlogick
d84da8fe65
Change parsing of postgresql settings ( #4275 )
...
* Change parsing of postgresql settings
Fix #4200
* Add copyright
* update postgresql connection string
* add tests
2018-06-20 08:06:01 +03:00
David Schneiderbauer
a93f13849c
Fix not removed watches on unallowed repositories ( #4201 )
2018-06-19 15:44:33 -04:00
Lauris BH
2b8c0bb5e2
Delete reactions added to issues and comments when deleting repository ( #4232 )
2018-06-12 13:02:51 -04:00
Lunny Xiao
406031d3cc
fix bug when deleting a release ( #4207 )
2018-06-12 12:44:17 -04:00
Lunny Xiao
da898d4066
fix delete comment bug ( #4216 )
2018-06-11 18:54:30 -04:00
Christopher Medlin
b5f61f1d15
Improve logging for e-mail and OpenID already in use errors ( #4174 )
2018-06-08 14:09:10 -04:00
Jonas Franz
b6d8aea5bb
gofmt
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-31 16:46:40 +02:00
Jonas Franz
c8c1e704ed
Add 'Reply' as translatable
...
Add CODE_COMMENT_LINES setting
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-31 15:23:15 +02:00
Jonas Franz
39fcc99583
Add link to comment in code
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-31 12:07:16 +02:00
Jonas Franz
4d0abce30e
Save patch in comment
...
Render patch for code comments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-31 11:44:52 +02:00
Jonas Franz
4ad72dec57
Check if reviewer is nil
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-25 15:57:32 +02:00
Jonas Franz
7592f5bbbd
Merge branch 'master' into feat/approval-new
...
# Conflicts:
# models/migrations/migrations.go
2018-05-24 15:44:11 +02:00
Jonas Franz
d25df5b5f0
Prepare solving conflicts
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-24 15:43:33 +02:00
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)
2018-05-24 07:59:02 +03:00
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>
2018-05-24 09:03:42 +08:00
Jonas Franz
27c488e3a3
Merge branch 'master' into feat/approval
2018-05-23 20:33:04 +02:00
Lunny Xiao
4ec8551490
fix webhook bug of response info is not displayed in UI ( #4000 )
2018-05-23 14:12:02 +08:00
Jonas Franz
e60b3f6e09
Merge branch 'master' into feat/approval
...
# Conflicts:
# vendor/vendor.json
2018-05-22 17:53:02 +02:00