summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
...
* Provide better panic handling (#5902)zeripath2019-01-301-1/+2
| | | | | | | This PR gitea'ises the macaron.Recovery() handler meaning that in the event of panic we get proper gitea 500 pages and the stacktrace is logged with the gitea logger. Signed-off-by: Andrew Thornton <art27@cantab.net>
* don't allow pull requests to be created on an archived repository (#5883)Lanre Adelowo2019-01-301-1/+1
| | | | | | * don't allow pull requests to be created on an archived repository Also disable the "PR" button if the repo is archived * Refuse creating an issue/PR via API calls too
* Fix new release creation API to allow empty target (#5870)Lauris BH2019-01-301-0/+21
| | | | | | | | * Fix new release creation API to allow empty target * Add more test cases * Update swagger
* fix compare button on upstream repo leading to 404 (#5877)Lanre Adelowo2019-01-291-2/+2
|
* UI: Change GPG Validation colors and remove inline CSS; fixes #5404 (#5896)EpicCoder2019-01-291-4/+4
|
* New Issue ?body= query (#5851)kekero2019-01-281-1/+1
| | | | | | | | * New Issue ?body= query * Override issue template with body query * Add documentation for issue body query
* Revert #3711 overwrite of only show "No Description" to repo admins #2167 ↵Gabriel Silva Simões2019-01-271-1/+1
| | | | | (#5836) Revert #3711 overwrite of only show "No Description" to repo admins #2167 and add tests to prevent accidental overwrite again.
* Move input fields to add members to a team and repos to a team (#5853)sebastian-sauer2019-01-252-34/+34
| | | | | | Move input fields to the top so no scrolling is needed to add new members / repos to a team. Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
* update swagger for release API pagination (#5841)Lunny Xiao2019-01-251-0/+12
|
* Added docs for the tree api (#5834)kolaente2019-01-241-0/+104
| | | | | | | | * Added docs for the tree api * Added missing response definition * Fixed swagger docs
* Fix topics saving internal error and disable for archived repos (#5821)Lauris BH2019-01-241-2/+2
|
* New API routes added (#5594)Shashvat Kedia2019-01-231-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New API routes added * Comments added * Build fix * swagger_v1_json.tmpl without new line character * Typo fix * Code review changes * Code review changes * Add copyright * Add copyright * Add copyright * Update per @lafriks feedback * Update org.go * Update user.go * Update user.go * make fmt
* Feature: Archive repos (#5009)kolaente2019-01-2318-217/+320
|
* Add the ability to use multiple labels as filters(#5786)Lauris BH2019-01-221-2/+2
|
* Fix wording when user is unassigned from an issue (#5769)Lanre Adelowo2019-01-191-1/+5
| | | | Previous Gitea would display that the user had unassigned themselves even if the actor was not the user. Fixes #4418
* Refactor repo.isBare to repo.isEmpty #5629 (#5714)zeripath2019-01-175-8/+8
| | | | | | | | * Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
* api: Add missing GET teams endpoints (#5382)Harshit Bansal2019-01-161-0/+52
| | | | | | | | | | | | | | | | | | | | * api: Add an endpoint to list a particular member of team. * models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model. `GetUserTeams()` sounds a bit misnomer since it actually returns the teams that user belongs to in a given organization rather than all the teams across all the organization that the user has joined. * models: Add `GetUserTeams()`. Returns all the teams that a user belongs to. * api: Add an endpoint for GET '/user/teams'. A GET request to this endpoint lists all the teams that a user belongs to.
* Don't list an issue on its own dependency list UI. (#5658)Harshit Bansal2019-01-151-1/+1
| | | Fixes: #4684.
* Discord Oauth2 support (#4476)techknowlogick2019-01-131-0/+2
| | | | | | | | | | | | | | * add discord auth * add vendor for discord * fix syntax error * make fmt * update version of goth in use * update markbates/goth
* fix: use correct value for "MSpan Structures Obtained" #4742 (#5706)Julian2019-01-121-1/+1
| | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* allow user fork repo even when as a guest.. This will prompt the user to ↵Lanre Adelowo2019-01-101-1/+1
| | | | login and if authentication was successful, the user will be redirected to fork the repo (#5690)
* Allow for user specific themes (#5668)Lanre Adelowo2019-01-093-5/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | * add migration and basic UI for changing a user's theme * update user themem * use right text on button * load theme based on users' selection * load theme based on users' selection in pwa too * update sample config * delete older theme loading * implement AfterLoad to set users' theme properly * set up default theme when creating a user. This uses the installation wide theme * use flash messages for error * set default theme when creating a user from the cli * fix @lunny review
* Translate home template to Czech (#5665)Jan Breuer2019-01-081-0/+37
| | | Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
* Added URL mapping for Release attachments like on github.com (#1707)gdeverlant2019-01-061-9/+9
|
* Display branch name in delete branch confirmation modal. (#5654)Harshit Bansal2019-01-062-4/+4
| | | Fixes: #5630.
* Issue is not overdue when it is on the same date #5566 (#5568)Rodrigo Villablanca Vásquez2019-01-011-3/+3
| | | | | | | | | | * Due date time of issues and milestones is set to 23:59:59 * Add docs * make gen swagger * fix swagger gen
* Fix wrong text getting saved on editing second comment on an issue. (#5608)Harshit Bansal2018-12-312-2/+2
| | | | | | | | | | | | | | | | * 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-272-4/+4
|
* Delete organization endpoint added (#5601)Shashvat Kedia2018-12-271-0/+24
| | | | | | | | | | * Delete organization endpoint added * Parameters added in comment * Typo fix * Newline character removed
* Add rebase with merge commit merge style (#3844) (#4052)Julian2018-12-272-1/+32
| | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* Fix route in swagger (#5598)Shashvat Kedia2018-12-261-26/+26
|
* fix bug when a read perm user to edit his issue (#5516)Lunny Xiao2018-12-121-3/+0
|
* Approvals at Branch Protection (#5350)Jonas Franz2018-12-112-1/+48
| | | | | | | | | | | | | | | | | | | | | | * Add branch protection for approvals Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add required approvals Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing comments and fmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add type = approval and group by reviewer_id to review * Prevent users from adding negative review limits * Add migration for approval whitelists Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Improve team members and repositories settings UI (#5457)Lunny Xiao2018-12-094-10/+15
| | | | | | | | | | | | * improve team members and repositories settings UI * use tab on team pages * add default description on team members and repos * add blank on numbers and texts * improve translation
* Allow link verification for services like Mastodon (#5481)koyu2018-12-061-1/+1
|
* word-break the WebHook url to prevent a ui-break (#5432)romankl2018-11-301-1/+1
| | | | | | | | | | | | | | | right now, the url is displayed with an anchor tag with no classes. If the url is really really long, the url will break out of the containing div and (depending on the url length) the browser shows the horizontal scrollbar. This pr makes use of the already existing css class `dont-break-out` which gives all the anchor the necessary properties to prevent the break. Another solution could be to introduce some classes like `text text-break-word`, but that would duplicate the `dont-break-out` class just for text elements that use the `text` class. fixes: https://github.com/go-gitea/gitea/issues/5416 Signed-off-by: Roman <romaaan.git@gmail.com>
* Remove the required class from optional ssh port in installation page (#5428)romankl2018-11-291-1/+1
| | | | | | | | | | the ssh port is optional during the installation process. The translations even mention that it is optional and can be blank. Right now it has the `required` class which creates the red `*` behind the field caption - used for required fields. If you leave it blank, the SSH option is disabled (not touched by this PR) Signed-off-by: Roman <romaaan.git@gmail.com>
* Milestone issues and pull requests (#5293)Lunny Xiao2018-11-292-1/+234
| | | | | | | | | | | | * add milestone issues and pulls page instead of redirecting issues page * add milestone when creating issue from milestone page * refactor to merge similiar codes as a new function issues * remove milestone info on milestone issues list * fix missing params
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-2819-49/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* 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