summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pull request review/approval and comment on code (#3748)Lauris BH2018-08-0640-89/+2010
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix bugs when too many IN variables (#4594)Lunny Xiao2018-08-021-95/+194
|
* api: repos/search: add parameters to control the sort order (#3964)Allen Wild2018-08-022-0/+59
| | | | | | | | | | | | | | | | The backend SearchRepositoryByName function supports several sort order options, hook these up to the /repos/search API. New parameters for /repos/search: 'sort': alpha, created, updated, size, or id 'order': asc or desc 'sort' defaults to alpha. 'order' defaults to ascending, and is ignored if 'sort' is not specified. The overall default behavior is unchanged (alphabetically ascending). This partially implements issue #3963 Signed-off-by: Allen Wild <allenwild93@gmail.com>
* fix panic issue on update avatar email (#4580) (#4581)Dingjun2018-08-011-1/+1
| | | fix #4580
* fix IsPullReuqestBroken->IsPullRequestBroken (#4578)Julien Tant2018-08-012-5/+5
| | | Signed-off-by: Julien Tant <julien@craftyx.fr>
* Add documentation on how to update Gitea to new version (#4500)Benedikt Kroll2018-07-301-0/+36
|
* fix status code label for a successful webhook (#4540)Lanre Adelowo2018-07-302-2/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-301-0/+1
|
* Update jQuery to v1.12.4 (#4551)techknowlogick2018-07-303-7/+7
| | | Fix #4384
* Swagger.v1.json template (#3572)Piotr Orzechowski2018-07-2814-21/+74
| | | | | | * Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-272-0/+40
|
* Fix incorrect MergeWhitelistTeamIDs check in CanUserMerge function (#4519) ↵SagePtr2018-07-271-1/+1
| | | | (#4525)
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-271-0/+18
|
* Switch plaintext scratch tokens to use hash instead (#4331)techknowlogick2018-07-275-12/+118
|
* Fix out-of-transaction query in removeOrgUser (#4521) (#4522)SagePtr2018-07-271-1/+1
|
* env var GITEA_PUSHER_EMAIL (#4516)Lukas Treyer2018-07-262-0/+6
| | | | | | * env var GITEA_PUSHER_EMAIL * set pusher email only if email address is not private
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-261-0/+1
|
* Responsive design fixes (#4508)kolaente2018-07-267-7/+113
| | | | | | | | * reset to master * build css * Fixed spacing
* Fix doc typo (#4517)William Le Pommelet2018-07-261-1/+1
| | | | | | | | | | | | * fix language list Standardized the languages' names within the list displayed when picking up a language at the bottom of the webpages * typo fix a typo into documentation (template rather than templete) * fix languages list
* Fix uk-UA locale. Fixes #4518Lauris BH2018-07-261-2/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-252-4/+51
|
* Add flash message after an account has been successfully activated (#4510)Lanre Adelowo2018-07-252-0/+2
| | | | * added new locale text
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-251-0/+25
|
* Respect email privacy option in user search via API (#4512)Lanre Adelowo2018-07-251-1/+1
| | | | | | * respect user's email privacy option * make email visible to admin irrespective of privacy option
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-242-1/+53
|
* Add shortcut to save wiki page (#4452)Michael Kuhn2018-07-242-2/+3
| | | This allows saving the wiki page with Ctrl-Enter.
* Make max commits in graph configurable (#4498)Kjell Kvinge2018-07-234-1/+7
|
* Fix migration from older releases (#4495)Lauris BH2018-07-211-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-212-1/+61
|
* Accept 'Data:' in commit graph (#4487)Kjell Kvinge2018-07-212-1/+31
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-2013-204/+26
|
* Add csv file render support defaultly (#4105)Lunny Xiao2018-07-213-0/+84
| | | | | | * add csv file render support defaultly * escaping csv column content
* Improve English translation for new features. (#4481)bugreport02018-07-201-33/+32
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-202-1/+10
|
* Update xorm to latest version and fix correct `user` table referencing in ↵Lauris BH2018-07-2049-1076/+1692
| | | | sql (#4473)
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-191-4/+4
|
* Redirect to correct page after using scratch token (#4458)techknowlogick2018-07-191-1/+2
|
* add valid for lfs oid (#4461)Lunny Xiao2018-07-191-9/+18
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-192-11/+42
|
* Prevent html entity escaping (#4471)Joel da Rosa2018-07-192-2/+2
|
* relative URLs for LibreJS page (#4460)techknowlogick2018-07-181-24/+24
| | | Fix #4449
* Added dependencies for issues (#2196) (#2531)kolaente2018-07-1729-48/+967
|
* Add BSDmakefile to prevent errors when `make` is called under FreeBSD (#4446)Mahmoud Al-Qudsi2018-07-161-0/+51
| | | | | | | | | | | | | | | | The syntax of the gitea Makefile is not platform-agnostic and is specific to the GNU version of `make`. BSD platforms such as FreeBSD ship with bmake (BSD make) as their default `make` program; attempting to compile gitea by simply executing `make` causes a wall of errors to show as a result of syntax incompatible with BSD make. If a file named `BSDmakefile` is present, `bmake` will give it preference over a generic `Makefile`. This `BSDmakefile` is taken from the BSD-licensed `gmake-proxy` project [0], which transparently proxies all `make` commands to `gmake` (GNU make) on systems where `bmake` is the default, and if `gmake` is not installed an error message is displayed. [0]: https://github.com/neosmart/gmake-proxy
* Issue due date api (#3890)kolaente2018-07-1612-90/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-151-0/+1
|
* Added front-end topics validation (#4316)Alexey Terentyev2018-07-1426-724/+5725
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-142-0/+2
|
* Clean up arc-green theme (#4443)techknowlogick2018-07-142-2/+18
| | | | | | | | | | * Resolve some issues with Arc Green * Fix editor styles * zeebra stripes * generate CSS file
* [skip ci] Updated translations via CrowdinGiteaBot2018-07-131-8/+8
|
* Locale for button Edit on protected branch (#4442)Joel da Rosa2018-07-132-1/+2
|