summaryrefslogtreecommitdiffstats
path: root/public
Commit message (Collapse)AuthorAgeFilesLines
* UI: Correct footer height if screen-width is to small (fixes #5878) (#5889) ↵EpicCoder2019-01-293-8/+10
| | | | (#5889)
* UI: Change GPG Validation colors and remove inline CSS; fixes #5404 (#5896)EpicCoder2019-01-294-4/+19
|
* Feature: Archive repos (#5009)kolaente2019-01-232-1/+9
|
* Add the ability to use multiple labels as filters(#5786)Lauris BH2019-01-222-3/+6
|
* Allow markdown table to scroll (#4401)pgodwin2019-01-212-1/+2
| | | | | | * Allow markdown table to scroll `overflow:auto` isn't effective when a table is wider than the container. Adding `display:block` fixes this issue.
* Don't list an issue on its own dependency list UI. (#5658)Harshit Bansal2019-01-151-1/+7
| | | Fixes: #4684.
* Discord Oauth2 support (#4476)techknowlogick2019-01-131-0/+0
| | | | | | | | | | | | | | * add discord auth * add vendor for discord * fix syntax error * make fmt * update version of goth in use * update markbates/goth
* Display branch name in delete branch confirmation modal. (#5654)Harshit Bansal2019-01-061-2/+2
| | | Fixes: #5630.
* Fix wrong text getting saved on editing second comment on an issue. (#5608)Harshit Bansal2018-12-311-1/+1
| | | | | | | | | | | | | | | | * comments: Fix an incorrent DOM element selection. This commit fixes a bug that was causing text from previously edited comment to get saved when two comments were edited one after other. Text area with id of `#content` isn't unique on the page but it was being treated as unique by the event handling code. Fixes: #5581. * templates: Remove `id` from textarea in commit edit form. An element is assigned an `id` only if it is unique for the whole page but in this case there can be multiple textarea so it should have one.
* LDAP via simple auth separate bind user and search base (#5055)Tony Homrich2018-12-271-2/+4
|
* Immediate fix to htmlEncode user added text (#5570)zeripath2018-12-211-5/+9
| | | | | There are likely problems remaining with the way that initCommentForm is creating its elements. I suspect that a malformed avatar url could be used maliciously.
* Fix heatmap colors for Chrome/Safari (#5421)Lauris BH2018-11-281-1/+6
|
* Create Progressive Web App (#4730)SohnyBohny2018-11-272-0/+0
| | | | | | | | | | | | | | | | | | | | | | * Create manifest and serviceworker * Create templates and add AppSubUrl * Add JSRenderer * fix ctx type * Add JSRenderer to static.go * Complete adding {{AppSubUrl}} * Add more fonts to urlsToCache * Add 512px and 192px icons * Hardcode font MD5 * Default theme doesn't have a specific CSS file
* Refactor heatmap to vue component (#5401)Lauris BH2018-11-2711-350/+236
|
* Fix dependent issue searching when gitea is run in subpath (#5392)Lauris BH2018-11-251-1/+1
|
* Show review summary in pull requests (#5132)kolaente2018-11-222-1/+33
|
* Implement pasting image from clipboard for browsers that supports that (#5317)Lauris BH2018-11-141-0/+82
|
* Fix U2F if gitea is configured in subpath (#5302)Lauris BH2018-11-081-9/+9
|
* Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST ↵zeripath2018-11-031-0/+4
| | | | | | | | | | header for deadline (#5250) * Add CSRF checking to reqToken and place CSRF in the post for deadline creation Fixes #5226, #5249 * /api/v1/admin/users routes should have reqToken middleware
* Fixed wrong api request url for instances running in subfolders (#5247)kolaente2018-11-031-1/+1
|
* Fix emojis not showing in commit messages (#5168)James Anderson2018-10-291-0/+5
| | | | | Fixes #5150 Signed-off-by: James Anderson <james@jamesa.me>
* User action heatmap (#5131)kolaente2018-10-239-1/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added basic heatmap data * Added extra case for sqlite * Built basic heatmap into user profile * Get contribution data from api & styling * Fixed lint & added extra group by statements for all database types * generated swagger spec * generated swagger spec * generated swagger spec * fixed swagger spec * fmt * Added tests * Added setting to enable/disable user heatmap * Added locale for loading text * Removed UseTiDB * Updated librejs & moment.js * Fixed import order * Fixed heatmap in postgresql * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: kolaente <konrad@kola-entertainments.de> * Added copyright header * Fixed a bug to show the heatmap for the actual user instead of the currently logged in * Added integration test for heatmaps * Added a heatmap on the dashboard * Fixed timestamp parsing * Hide heatmap on mobile * optimized postgresql group by query * Improved sqlite group by statement
* fix fading menu in arc-green theme (#5128)glaszig2018-10-202-1/+6
| | | | | | | | | | | * fix fading menu in arc-green theme the menu faded white because it missed proper styling. only visible on viewports narrower than 1200px. * Generate minimized css * compiled arc-green.less to apply changes from 76e4f9a58
* Fix #rrggbbaa color to rgba for better browser compatibility (#4990)SagePtr2018-09-292-3/+3
|
* Fix layout of the topics editing form (#4971)Iwasa Kazmi2018-09-293-4/+3
| | | | | | | | | | | | | | | | | | | | | * Fix layout of the topic edit. - made right-hand column wider so that it has enough space for "Done" button. - fixed issue that jQuery's .show() breaks functionality of the Semantic UI Grid. * Improve switching visibility of the topic edit Changes to support old browsers that doesn't support 'flex' keyword. - Removed style "display: none" from index.css so that the grid can be displayed without specifying new "display" style. - Added style "display:none" to the grid element in HTML template as the initial style. - In index.js, visibility of the grid element is changed by set "display:none" style to the element or removing it from the element.
* Fix user menu item styling (#4985)silverwind2018-09-272-1/+6
|
* Fix preview when adding new code review comment (#4975)Lauris BH2018-09-251-10/+3
|
* Code review UI improvements and bugfixes (#4682)Lauris BH2018-09-175-16/+68
| | | | | | | | | | | | | | | | * Code review UI improvements * More fixes to dark theme * Style fix * Fix to allow add code review comments only on review files tab * More readability dark style fixes * Fix commenting on deleted files. Fixes #4752 * Fix line blame getting for multiple corner cases
* fix: Crippled diff (#4726) (#4900)Toni Villena2018-09-092-1/+4
| | | | | | * fix: Crippled diff (#4726) * Regenerate css
* Improve dependency UI (#4503)Lauris BH2018-09-073-1/+13
|
* offline use of fonts (#4872)techknowlogick2018-09-0622-1/+1835
|
* Focus title input when clicking helper link (#4696)Julien Tant2018-08-141-1/+1
|
* Disable merging a WIP Pull request (#4529)Julien Tant2018-08-131-0/+18
| | | | | | | | | | | | | | | | | * prevent pull request to be merged when PR is a WIP * add tests * add helper to prepend WIP: in PR title * move default wip prefixes into settings * use configurable WIP prefixes in javascript and default to first one in templates * add documentation * add unit test on pull model Signed-off-by: Julien Tant <julien@craftyx.fr>
* Fix dark theme diff box header backround color (#4674)Lauris BH2018-08-122-2/+9
|
* Pull request review/approval and comment on code (#3748)Lauris BH2018-08-066-27/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 status code label for a successful webhook (#4540)Lanre Adelowo2018-07-302-2/+2
|
* Update jQuery to v1.12.4 (#4551)techknowlogick2018-07-303-7/+7
| | | Fix #4384
* Swagger.v1.json template (#3572)Piotr Orzechowski2018-07-281-8011/+0
| | | | | | * Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
* Responsive design fixes (#4508)kolaente2018-07-266-6/+112
| | | | | | | | * reset to master * build css * Fixed spacing
* Add shortcut to save wiki page (#4452)Michael Kuhn2018-07-241-1/+2
| | | This allows saving the wiki page with Ctrl-Enter.
* relative URLs for LibreJS page (#4460)techknowlogick2018-07-181-24/+24
| | | Fix #4449
* Added dependencies for issues (#2196) (#2531)kolaente2018-07-171-0/+39
|
* Issue due date api (#3890)kolaente2018-07-164-8/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Added front-end topics validation (#4316)Alexey Terentyev2018-07-1425-717/+5712
|
* 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
* Fix query parameter name comment in issue API (#4421)Lauris BH2018-07-121-2/+2
|
* Update npm dependencies, regenerate CSS (#4415)silverwind2018-07-111-1/+1
|
* Add ability to delete a token (#4235)techknowlogick2018-07-061-0/+37
| | | Fix #4234
* Add the ability to have built in themes in Gitea (#4198)techknowlogick2018-07-053-0/+755
| | | | | | | | | This makes it easier for user who want to theme but don't have the ability to know how to customize templates all that is required is a change in a config option The reason why I chose the DEFAULT_THEME as variable, as perhaps in the future we will allow users to chose their theme whon logged in just like we do with languages
* Add Recaptcha functionality to Gitea (#4044)Fluf2018-07-052-1/+18
|