Commit Graph

6318 Commits

Author SHA1 Message Date
4ea74e5327 Add support for showing code comments of reviews in conversation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-15 12:52:28 +02:00
6ae32b27e3 Fix problems caused by files in subdirectories
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-14 19:04:45 +02:00
7c4bf56649 Add support for deleting CodeComments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-14 14:15:06 +02:00
de7081c2ab Comments will be shown at the right place now
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-14 14:05:38 +02:00
ed695c1bf9 Fix unit tests by updating fixtures and updating outdated test
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-14 10:55:50 +02:00
d2b43471c7 Improve translations
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-13 22:50:37 +02:00
5f55edea84 gofmt
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-13 22:43:02 +02:00
90d9ddacf7 Rebuild css
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-13 22:19:36 +02:00
7723e15e64 Moved review migration from v64 to v65
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-13 22:15:16 +02:00
6d00c1a7ce Merge branch 'master' into feat/approval-new
# Conflicts:
#	models/issue_comment.go
#	models/migrations/migrations.go
#	models/migrations/v64.go
#	models/models.go
#	public/css/index.css
2018-05-13 22:14:34 +02:00
2f466132cc Merge pull request #2 from JonasFranzDEV/feat/approval
Reviews and Pull Request comments
2018-05-13 23:09:00 +03:00
cbdd8c9da7 Switched back to code.gitea.io/git
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-13 16:14:22 +02:00
7986d6ed22 Add support for invalidating comments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-13 13:24:19 +02:00
1546458f7d issue-2768: added new option allow_only_external_registration (#3910) 2018-05-13 15:51:16 +08:00
e74055878f Update xormstore dependency to fix OAuth2 support for MySQL (#3955) 2018-05-13 13:10:50 +08:00
2c34ef5d97 [skip ci] Updated translations via Crowdin 2018-05-13 01:51:56 +00:00
f6828e0b66 Fix blank topic on explore repo list (#3956) 2018-05-13 09:50:39 +08:00
066086c390 Improved comment rendering in "Files" view by adding Comments to DiffLine
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-12 19:09:42 +02:00
58fb672d0d gofmt
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-12 10:53:38 +02:00
bc9359222a Fetch all review ids at once
Add unit tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 20:28:44 +02:00
9c6bb4b1e9 Add unit tests for Review
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 14:36:08 +02:00
36d6631957 Add pending tag to pending review comments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 14:02:40 +02:00
61cc13499a Add support for single comments
Showing buttons in context

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 13:40:17 +02:00
3e5f3c349e Implement Review form
Show Review comments on comment stream

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 12:50:44 +02:00
e252d3bdb5 Move new comment form to its own file
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 11:05:09 +02:00
75b7d9b86a Preview for listing comments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-11 10:59:20 +02:00
c14870c5ac fix blank topic (#3948) 2018-05-11 16:15:18 +08:00
bc8400747a [skip ci] Updated translations via Crowdin 2018-05-11 07:56:33 +00:00
ff3971b830 Add LDAP integration tests (#3897)
* Add LDAP service for tests

* Add LDAP login source and test user sign-in

* Add checks to test if user data is correct

* Add LDAP user sync test

* Add failed user sign-in test
2018-05-11 15:55:32 +08:00
aafb0ea1c6 Activating Open Collective (#3821)
* Added backers and sponsors on the README

* Added call to donate after npm install (optional)

* Remove npm changes

* Update readme to leave only needed sections
2018-05-11 13:53:23 +08:00
20acbdfe03 Remove another mention of matrix (#3947) 2018-05-11 13:18:34 +08:00
91b3615219 Adjust z-index for floating labels (#3939) 2018-05-11 11:28:26 +08:00
253a2d636b [skip ci] Updated translations via Crowdin 2018-05-11 02:32:27 +00:00
8c7e632a3d remove build tag information for redis and memcache (#3940) 2018-05-11 10:31:33 +08:00
e5f7f7dbc7 [skip ci] Updated translations via Crowdin 2018-05-11 01:44:55 +00:00
54c73bdaf0 Fix comments in config1 (#3946)
* Fix some comments in custom/conf/app.ini.sample

Some comments in app.ini.sample were very vague, didn't contain much information.
Some of them have been fixed, but mistakes that need to be fixed by an expert still remain, see #3928

Signed-off-by: Mikolaj Holysz <miki123211@gmail.com>

* Add an additional comment pointing to more documentation.

Add an additional comment to the top of the sample configuration file.
It contains a link pointing to gitea's docs and the configcheat sheet, which contains
some explanations about the parameters in the config.

Signed-off-by: Mikolaj Holysz <miki123211@gmail.com>
2018-05-11 09:43:46 +08:00
4dc43b37be [skip ci] Updated translations via Crowdin 2018-05-11 00:43:53 +00:00
87ebaa97ee Add documentation in regards to issues/pull request templates (#3942)
* Add documentation in regards to issues/pull request templates

Fixes #3491

* update per suggestion to use list
2018-05-11 08:42:22 +08:00
6be7387ffb Fix release tag on README (#3945) 2018-05-10 23:38:57 +03:00
17af2d17be Add GetCurrentReview to simplify fetching current review
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-10 21:50:57 +02:00
4ad563d66f Moved "Pending" to first position
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-10 21:43:07 +02:00
0f772d1bf4 Simplified create and find functions for review
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-10 20:41:31 +02:00
15d0ac7ed4 [skip ci] Updated translations via Crowdin 2018-05-10 15:46:04 +00:00
14ff2f840e Discord is the official channel - update README (#3943)
Matrix (and IRC) bridge drop too many messages which frustrate new user.
Let's only promote the official communication tool.
2018-05-10 17:43:52 +02:00
9544c46052 Add create review comment implementation
Add migration for review
Other small changes

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-10 16:35:25 +02:00
4607e1ac3d [skip ci] Updated translations via Crowdin 2018-05-10 12:55:00 +00:00
2431fc71da update multiple assignes feature in comparison (#3938) 2018-05-10 20:53:32 +08:00
2c18552576 Add load functions
Add ReviewID to findComments

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-05-10 14:48:08 +02:00
0e0036106f [skip ci] Updated translations via Crowdin 2018-05-10 08:33:20 +00:00
af62ec5cc0 Note about adding permisions to binary (#3936)
in regards to binding to lower ports than 1024
2018-05-10 16:32:01 +08:00