summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Fix Hook & HookList in Swagger (#6432)Segev Finer2019-03-261-5/+46
| | | Signed-off-by: Segev Finer <segev@codeocean.com>
* Updates SDK dep (#6406)Richard Mahn2019-03-221-0/+1
|
* Include more variables on admin/config page (#6378)mrsdizzie2019-03-191-0/+11
| | | | | | | | | | Include the current CustomPath location in the admin section and also display GITEA_WORK_DIR and/or GITEA_CUSTOM env var if they are set. Right now there is no easy way to see this information, and if you try and help most users they won't be able to tell you anything about these values -- just that their custom template isn't working, files aren't in the right place, etc... Now you can see all paths and if they were set by ENV or not.
* fix bug manifest.json will not request with cookie so that session will ↵Lunny Xiao2019-03-191-1/+1
| | | | created every request (#6372)
* Implement Default Webhooks (#4299)Russell Aunger2019-03-1811-17/+67
| | | | | | | | Partially implement #770. Add "Default Webhooks" page in site admin UI. Persist to the existing webhooks table, but store with RepoID=0 and OrgID=0. Upon repo creation, copy the set of default webhooks into the new repo.
* Add title attributes to all items in the repo list viewer (#6258)John Olheiser2019-03-181-2/+2
|
* Add bio field for user (#6113)techknowlogick2019-03-182-0/+10
| | | | Fix #4339
* Include repo name in page title tag (#6343)mrsdizzie2019-03-181-1/+1
| | | Fixes #6265
* Add lang specific font stacks for CJK (#6007)zeripath2019-03-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
* Add same changes from issues page to milestone->issues page (#6328)John Olheiser2019-03-152-10/+26
|
* Add regenerate secret feature for oauth2 (#6291)Jonas Franz2019-03-091-1/+4
| | | | | | * Add regenerate secret functionality * Fix lint
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-085-0/+175
|
* Fix fork button (#6223)John Olheiser2019-03-051-1/+1
|
* Add ability to sort issues by due date (#6206) (#6244)stevegt2019-03-052-0/+4
| | | Signed-off-by: Steve Traugott <stevegt@t7a.org>
* Make organization dropdown scrollable when using mouse wheel (#5988)Muhammed TİFTİKÇİ2019-03-041-1/+1
| | | * Fix #5580
* add isAdmin to user model (#6231)Lanre Adelowo2019-03-031-0/+5
| | | | | update vendor and add tests fix swagger
* UI: Fix race in update issue labels and assignees (#6194)silverwind2019-02-282-1/+1
| | | | | | | | | | Fix #6191 * fix issue update race condition * fix similar race same race when clearing assignee * always load promise polyfill * replace es6-promise with promise-polyfill * move promise-polyfill to <head>
* Increase Username and Orgname MaxSize 35 -> 40 (#6178)Segev Finer2019-02-251-0/+8
| | | | | | | | | | | | | | * Increase Username and Orgname MaxSize 35 -> 40 Signed-off-by: Segev Finer <segev@codeocean.com> * Dep update code.gitea.io/sdk Signed-off-by: Segev Finer <segev@codeocean.com> * Run generate-swagger Signed-off-by: Segev Finer <segev@codeocean.com>
* fix bug user could change private repository to public when force private ↵Lunny Xiao2019-02-221-1/+1
| | | | enabled. (#6156)
* Minor UI tweaks (#5980)John Olheiser2019-02-195-17/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove all CommitStatus when a repo is deleted Signed-off-by: jolheiser <john.olheiser@gmail.com> * Minor UI tweaks (#5782) Added 'No License' option Added link and octicon change for external issue trackers Reset password now notifies right away if the code is invalid Signed-off-by: jolheiser <john.olheiser@gmail.com> * More UI tweaks More info in PR * Generate stylesheet for arc-green * Make gofmt work * Change PR integration since the button is changed * Rebase * Generate stylesheet * UI updates Made the PR button a "basic" button Vertically centered the issue checkboxes Labels will update only once after modal is closed * Commit to reference related issues Resolves #5782 Resolves #5861 Addresses original question in #5993 * Change the comment wording since PR button is no longer little and green. * Revert changes that made Windows work * Regenerate stylesheet * Regenerate stylesheets * make generate-stylesheets * Update integration again, changed button style Signed-off-by: jolheiser <john.olheiser@gmail.com> * Added ID to PR button Changed integration to use the ID to avoid breaking in the future * Added missing semi-colons * Added back distinction between issue actions and filters (overlooked it before) Moved action button over next to other action dropdowns * Remove extra tab formatting in list.tmpl * Remove more formatting from GoLand * Replace hardcoded "No License" with i18n license helper.
* Fix heatmap and repository menu display in Internet Explorer 9+ (#6117)Lauris BH2019-02-191-0/+1
|
* Show email if the authenticated user owns the profile page being requested ↵Lanre Adelowo2019-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for (#4981) * Show email if the authenticated user owns the profile page being requested for. Also removed `setting.UI.ShowUserEmail` as it's documentation says it only controls the email setting on the explore page * fix current user check... This prevents a panic as a user must be signed in before ctx.User is called * fix panic in tests * try to fix tests * Update year * Test CI fail * Revert change * User 3 is not allowed to authorize * Set user2 email to be private * Change to user4 in explore page as user2 now has private email option set
* Implement "conversation lock" for issue comments (#5073)Lanre Adelowo2019-02-183-2/+153
|
* Allow to set organization visibility (public, internal, private) (#1763)Rémy Boulanouar2019-02-188-6/+74
|
* Allow labels to contain emoji (#6063)John Olheiser2019-02-165-12/+22
| | | | | | | | | | | | | | | | | | | * Add emoji to labels Minor cleanup of tribute code in footer.tmpl Signed-off-by: jolheiser <john.olheiser@gmail.com> * Quick find/replace in other i18n files containing label translations Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert "Quick find/replace in other i18n files containing label translations" This reverts commit ec3e1a3a1775989301bb2c1cd08e8871b317688d. * Add style to overwrite emoji height in labels * Revert Makefile change that makes Windows work
* Revert "Fix wrapping long code lines in UI" (#6074)silverwind2019-02-152-3/+3
| | | | | This reverts commit e5cd80e0219f10818f43e8cab6b9c814cb1cd796. Fixes: https://github.com/go-gitea/gitea/issues/6064
* Fix panic: template: repo/issue/list:210: unexpected "=" in operand (#6041)Zsombor2019-02-131-17/+2
|
* Add the Owner Name to differentiate when merging (#3807)Luo Yifei2019-02-121-4/+4
|
* fix #3200 (#6033)Lanre Adelowo2019-02-111-1/+1
|
* Add option to close issues via commit on a non master branch (#5992)Lanre Adelowo2019-02-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #5957 * add tests to make sure config option is respected * use already defined struct * - use migration to make the flag repo wide not for the entire gitea instance Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created - fix copy/paste error in copyright header year and rearrange import - use repo config instead of server config value to determine if a commit should close an issue - update testsuite * use global config only when creating a new repository * allow repo admin toggle feature via UI * fix typo and improve testcase * fix fixtures * add DEFAULT prefix to config value * fix test
* Create repository on organisation by default on its dashboard (#6026)zeripath2019-02-101-1/+3
| | | | | | | | * Create repository on organisation by default on its dashboard * Only show owners the add new repositories to an organisation button. Fix #3253 Signed-off-by: Andrew Thornton <art27@cantab.net>
* UI: Make dashboard navbar and footer full-width (#6013)silverwind2019-02-091-1/+1
| | | | | | | | * UI: Make dashboard navbar full-width * more tweaks: full-width footer and consistent padding * fix page layout causing unneccesary scrollbars on small pages
* Remove extra spaces (#6016)Thomas Loubiou2019-02-091-3/+3
|
* fix header menu misalignment (#6002)silverwind2019-02-081-3/+3
|
* Feature - #3031 - search for org repos (#5986)Richard Mahn2019-02-082-0/+2
|
* Fix #5799 - swagger for mergePullRequest (#5996)Thomas Loubiou2019-02-081-0/+33
|
* Enhance closed PR and Issue status in the list (#6000)Lanre Adelowo2019-02-081-1/+17
| | | | | | | | | | * working version * Update options/locale/locale_en-US.ini Co-Authored-By: adelowo <adelowomailbox@gmail.com> * update templates
* Add API to list tags (#5850)Lunny Xiao2019-02-071-0/+75
| | | | | | | | | | | | | | * Add API to list tags * update dependency gitea sdk vendor * fix swagger generation * fix swagger * add tests * update code.gitea.io/git vendor
* Expose issue stopwatch toggling via API (#5970)Lanre Adelowo2019-02-061-0/+106
|
* Feature - Pagination for git tree API (#5838)Richard Mahn2019-02-061-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feature - Pagination for git tree API * Handles case when page is negative * Does a for loop over the start and end rather than all entries * Removed redundent logic * Adds per_page as a query parameter * Adds DEFAULT_GIT_TREES_PER_PAGE for settings, ran make fmt * Fix typo in cheat-sheet en * Makes page start at 1, generated swagger * Use updates to SDK * Updates to use latest sdk * Updates swagger for tree api * Adds test for GetTreeBySHA * Updates per PR reviews * Updates per PR reviews * Remove file * Formatting * Fix to swagger file * Fix to swagger * Update v1_json.tmpl * Fix to swagger file
* Admin config page mailertype setting option update (#5973)techknowlogick2019-02-061-2/+2
| | | | * Fix #5972
* UI: Dashboard tweaks (#5974)silverwind2019-02-061-2/+2
| | | | | - Don't show divider below heatmap when it's hidden via media-query - Make divider between user menu adhere to container width - Remove excessiv margins on heatmap
* UI: Repo header tweaks (#5945)silverwind2019-02-052-22/+19
| | | | | | | | | | | | | | | | * UI: Repo header tweaks - Use basic buttons on the header buttons, matching gogs - Make 'Manage topic' text smaller, remove margin-left with no topics present - Move various inline styles to CSS - Use flexbox on header title and buttons * fix indentation * reverse media query wrapping * fix inconsisten whitespace
* Display the branch name in the commit view (#5950)Lanre Adelowo2019-02-051-0/+1
| | | | | | | | | | * add branch info * Remove blank lines * Remove blank lines * update git dependency
* UI: Fixes for repo topic editor (#5971)silverwind2019-02-051-1/+1
| | | | - Properly hides the edit interface when saving a empty topic list - Align the Done button with the edit box
* Pull request conflict files detection (#5951)Lunny Xiao2019-02-051-0/+9
| | | | | | | | | | * add conflict detection * test pull request conflict files * fix detection files number * fix comments
* Automatically clear stopwatch on merging a PR (#4327)Lanre Adelowo2019-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | * Don't display buttons if there are no notices * clear stopwatch on merging a PR * remove redundant gt check * use ctx.Flash as per @bkcsoft comment * stop timer on closing issues/PRs too * updated translation as per review * redirect to login page after successfully activating account * remove unrelated changes * stop timer for issues that are closed via commits too..Not just the 'close' UI button
* Add label names as filter in issue search api (#5946)Lanre Adelowo2019-02-041-0/+6
|
* Issue 5924 fix compare button (#5929)zeripath2019-02-031-1/+1
| | | | | | | | | | | | * Revert #5877 This unfortunately was not the solution. Signed-off-by: Andrew Thornton <art27@cantab.net> * Change permission check to create pull requests to CanReadIssuesOrPulls Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add single commit API support (#5843)Lunny Xiao2019-02-021-0/+142
| | | | * add single commit API support