aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Implement git refs API for listing references (branches, tags and other) (#5354)Lauris BH2018-11-271-0/+131
| | | | | | | | | | | | | | | | * Inital routes to git refs api * Git refs API implementation * Update swagger * Fix copyright * Make swagger happy add basic test * Fix test * Fix test again :)
* Create Progressive Web App (#4730)SohnyBohny2018-11-273-0/+120
| | | | | | | | | | | | | | | | | | | | | | * 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-274-27/+22
|
* show only opened milestones on issues page milestone filter (#5051)Lanre Adelowo2018-11-261-1/+1
| | | | | | | | | | | | | | * show only opened milestones on issues page milestone filter * update Godoc * update Godoc everywhere * update swagger * use false instead of 0 * Add seccond ordering by ID for milestones where no deadline is set
* 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-221-0/+35
|
* add api for user to create org (#5268)Lunny Xiao2018-11-201-0/+36
| | | | | | | | | | | | | | | | * add api for user to create org * remove unused blank line on the swagger file end * fix create and add test * fix tests * fix routes of create org API * fix bug * add copyright heads
* Fix create team, update team missing units (#5188)Lunny Xiao2018-11-101-0/+48
|
* Fix file edit change preview functionality (#5300)Lauris BH2018-11-092-4/+2
|
* Keys API changes (#4960)zeripath2018-10-311-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add private information to the deploy keys api This commit adds more information to the deploy keys to allow for back reference in to the main keys list. It also adds information about the repository that the key is referring to. Signed-off-by: Andrew Thornton <art27@cantab.net> * Add private information to the user keys API This adjusts the keys API to give out private information to user keys if the current user is the owner or an admin. Signed-off-by: Andrew Thornton <art27@cantab.net> * Add ability to search keys by fingerprint This commit adds the functionality to search ssh-keys by fingerprint of the ssh-key. Deploy keys per repository can also be searched. There is no current clear API point to allow search of all deploy keys by fingerprint or keyID. Signed-off-by: Andrew Thornton <art27@cantab.net> * Add integration test
* Serve audio files using HTML5 audio tag (#5221)Jonas Bröms2018-10-301-0/+4
| | | | | | * Serve audio files using HTML5 audio tag * Correct copy paste error
* Fix emojis not showing in commit messages (#5168)James Anderson2018-10-291-1/+1
| | | | | Fixes #5150 Signed-off-by: James Anderson <james@jamesa.me>
* UX of link account (Step 1) (#5006)AJ ONeal2018-10-283-11/+49
| | | | | | | | | | | | | | * Show either sign up OR sign in * disambiguate fresh start from adding recovery options * use tabs to switch between account link flows * add active to tab body as well * changes as per discussion * handle specific error; fix missing err typo
* fix: Add secret to all webhook's payload where it has been missing (#5199)Peter Hoffmann2018-10-281-0/+27
| | | | | | | | | | * fix: Add secret to all webhook's payload where it has been missing affects webhooks for: * Delete * Fork * IssueComment * Release
* Fix to 3819 - Filtering issues by tags on main screen issues (#3824)Rodrigo Villablanca Vásquez2018-10-281-1/+1
| | | | | | | | | | * Fix to 3819 * Changes suggested * Empty line removed * Fix error: non-name opts.Labels on left side of :=
* Set heatmap color range configurable (#5165)Antoine GIRARD2018-10-241-1/+1
|
* User action heatmap (#5131)kolaente2018-10-235-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add comment replies (#5104)Jonas Franz2018-10-224-9/+9
| | | | | | * Add comment replies * Replace reviewID with review.ID
* Fix Swagger JSON autogeneration issues. (#4845)zeripath2018-10-201-44/+177
| | | | | | | | | | | | | | | | | | | | | * Fix Swagger JSON. Remove unnecessary schema references for the forbidden and empty responses Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix swagger API for CreateAccessToken * Fix admin create org swagger * Fix swagger for adminCreateRepo * More swagger fixes Set int64 format for those which are int64 Some more form fixes * Fix swagger description of GET /repos/{owner}/{repo}/pulls
* Fix home page template regression (#5102)Tohka2018-10-181-1/+1
| | | | | | | Commit 7bb4d610e5cca7ad514e377d2b36254a4cfee5b9 tries to take the app_name from the locale, however, it is a user defined setting. This causes the app name to simply display as `app_name` instead of the correct value. templates/helper.go automatically injects the AppName variable into every template, so we can safely use that instead. Signed-off-by: Daniel Derzsi <daniel@tohka.us>
* Add support for search by uid (#4876)zeripath2018-10-181-0/+6
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use APP_NAME on home page (#5048)mcnesium2018-10-181-1/+1
| | | Would it make sense to actually use the configured app name on the home page?
* Fix adding review comment in split view (#5038)Lauris BH2018-10-091-3/+2
|
* Remove links from topics in edit mode (#5026)SagePtr2018-10-061-1/+1
|
* Fix missing AppSubUrl in few more templates (#5021)SagePtr2018-10-052-2/+2
|
* Fix missing AppSubUrl in some templates (#5020)SagePtr2018-10-052-2/+2
|
* Fix layout of the topics editing form (#4971)Iwasa Kazmi2018-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | * 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-271-1/+1
|
* Update Swagger API to match the return of /users/search (#4847)zeripath2018-09-211-1/+15
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Code review UI improvements and bugfixes (#4682)Lauris BH2018-09-173-3/+5
| | | | | | | | | | | | | | | | * 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 some issues with special chars in branch names (#3767)nubenum2018-09-1712-25/+26
| | | Signed-off-by: Robin Durner <github@nubenum.de>
* fix(topics): don't redirect to expole page. (#4938)Bo-Yi Wu2018-09-151-1/+1
|
* Allow admin toggle forcing a password change for newly created users (#4563)Lanre Adelowo2018-09-131-0/+7
|
* Force user to change password (#4489)Lanre Adelowo2018-09-132-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * redirect to login page after successfully activating account * force users to change password if account was created by an admin * force users to change password if account was created by an admin * fixed build * fixed build * fix pending issues with translation and wrong routes * make sure path check is safe * remove unneccessary newline * make sure users that don't have to view the form get redirected * move route to use /settings prefix so as to make sure unauthenticated users can't view the page * update as per @lafriks review * add necessary comment * remove unrelated changes * support redirecting to location the user actually want to go to before being forced to change his/her password * run make fmt * added tests * improve assertions * add assertion * fix copyright year Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
* feat(repo): support search repository by topic name (#4505)Bo-Yi Wu2018-09-132-4/+4
| | | | * feat(repo): support search repository by topic name
* Fixes repo branch endpoint summary (#4893)Lewis Cowles2018-09-091-1/+1
| | | | | | | in browser saw `/repos/{owner}/{repo}/branches/{branch} List a repository's branches` fixed Addresses https://github.com/go-gitea/debian-packaging/pull/1 Fixes https://github.com/go-gitea/gitea#4892
* Add sudo functionality to the API (#4809)zeripath2018-09-061-0/+18
|
* Extract header and footer content to separate tmpl (#4797)Lukas Bestle2018-09-074-159/+162
| | | | | This change makes it easier to customize the header and footer content. Before this change, the whole header and footer had to be overridden, including the meta, style and script tags. Signed-off-by: Lukas Bestle <mail@lukasbestle.com>
* Improve dependency UI (#4503)Lauris BH2018-09-071-52/+36
|
* Add push webhook support for mirrored repositories (#4127)Lauris BH2018-09-061-2/+9
|
* Add missing History link to directory listings (#4829)Bernhard Fröhlich2018-09-021-4/+9
| | | | | | | | | | | The feature to list commits from a subdirectory is already there but so far the history link to it was missing. There is a History button in the view_file.tmpl already so avoid showing two history buttons in that case. The GitHub webinterface has the same History button in the same place so this makes gitea a little bit more compatible. Signed-off-by: Bernhard Froehlich <decke@bluelife.at>
* Locale for Edit and Remove due date issue (#4802)Joel da Rosa2018-08-271-2/+2
|
* Hide home button when landing page is not set to home (#4651)Piotr Orzechowski2018-08-261-7/+11
|
* Disable 'May Import Local Repository' when is disabled by setting (Issue ↵EnricoFerro2018-08-241-1/+1
| | | | #4779) (#4780)
* API /admin/users/{username} missing parameter (#4775)EnricoFerro2018-08-231-0/+8
|
* User shouldn't be able to approve or reject his/her own PR (#4729)Lanre Adelowo2018-08-202-3/+4
| | | | | | | | | | | | | | | | * Make sure author cannot reject/approve their own PR * Disable buttons in templates too * Remove unneccessary if check since the switch below catches it * Fix IsOwner check * Update template and remove new template variable * Add alert template and redirect to diff page on review failure * Redirect to files diff as a little update to #4632
* allow WIP marker to contains < or > (#4709)Julien Tant2018-08-191-1/+1
|
* Add whitespace handling to PR-comparsion (#4683)nemoinho2018-08-142-1/+43
| | | | | | | | | | | | | | | | | | * Add whitespace handling to PR-comparsion In a PR we have to keep an eye on a lot of different things. But sometimes the bare code is the key-thing we want to care about and just don't want to care about fixed indention on some places. Especially if we follow the pathfinder rule we face a lot of these situations because these changes don't break the code in many languages but improve the readability a lot. So this change introduce a fine graned button to adjust the way how the reviewer want to see whitespace-changes within the code. The possibilities reflect the possibilities from git itself except of the `--ignore-blank-lines` flag because that one is also handled by `-b` and is really rare. Signed-off-by: Felix Nehrke <felix@nehrke.info>
* Disable merging a WIP Pull request (#4529)Julien Tant2018-08-132-1/+14
| | | | | | | | | | | | | | | | | * 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>
* Hide org/create menu item in Dashboard if user has no rights (#4678) (#4680)SagePtr2018-08-121-0/+2
|