summaryrefslogtreecommitdiffstats
path: root/templates/repo
Commit message (Collapse)AuthorAgeFilesLines
* Escape search query (Backport 1.4) (#3488)Jonas Franz2018-02-111-1/+1
| | | | | | | | | | | | * Escape search query Signed-off-by: Jonas Franz <info@jonasfranz.de> (cherry picked from commit 2970889) * Reordered imports Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Templates for extra links in top navbar and repo tool tabs. (#3308)Alberto González Palomo2018-01-101-0/+2
| | | | | | | | | These templates add content to the top navbar and to the repository page. This way we do not have to copy and modify the whole template, and re-modify it after upgrading Gitea if it changes. Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
* Writable deploy keys (closes #671) (#3225)Vlad Temian2018-01-071-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add is_writable checkbox to deploy keys interface * Add writable key option to deploy key form * Add support for writable ssh keys in the interface * Rename IsWritable to ReadOnly * Test: create read-only and read-write deploy keys via api * Add DeployKey access mode migration * Update gitea sdk via govendor * Fix deploykey migration * Add unittests for writable deploy keys * Move template text to locale * Remove implicit column update * Remove duplicate locales * Replace ReadOnly field with IsReadOnly method * Fix deploy_keys related integration test * Rename v54 migration with v55 * Fix migration hell
* Make the space for repo actions wider on repo header (#3312)Morgan Bazalgette2018-01-061-2/+2
|
* Add Pull Request merge options - Ignore white-space for conflict checking, ↵Lauris BH2018-01-052-10/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebase, Squash merge (#3188) * Pull request options migration and UI in settings * Add ignore whitespace functionality * Fix settings if pull requests are disabled * Fix migration transaction * Merge with Rebase functionality * UI changes and related functionality for pull request merging button * Implement squash functionality * Fix rebase merging * Fix pull request merge tests * Add squash and rebase tests * Fix API method to reuse default message functions * Some refactoring and small fixes * Remove more hardcoded values from tests * Remove unneeded check from API method * Fix variable name and comment typo * Fix reset commit count after PR merge
* Added progressbar for issues (#1146). (#3171)modmew82018-01-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Added progressbar for issues (#1146). * Updated the generated index.css. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed unnecessary blanks. Signed-off-by: modmew8 <modmew8@gmail.com> * Formatted the files correctly, fmt-check terminates now without errors. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed variables, made computing the tasks on demand with precompiled regexp. Signed-off-by: modmew8 <modmew8@gmail.com>
* Responsive view (#2750)Morgan Bazalgette2017-12-3013-258/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Viewport meta tag * responsive: dashboard * responsive: issues page * responsive: Explore page * responsive: navbar, and some navbar css refactoring * responsive: button for collapsing navbar in mobile view * Mark the hamburger button as active when pressed * better homepage for responsive views * Bring back jump class in navbar The class was necessary, because this way the dropdown doesn't assume the contents of the selected item. * make repository homes responsive * Make file view page responsive * Make forms look good on responsive views * make commits and commit diff view responsive * issues and PRs * responsive wiki * Don't place auto-init far off the page * Minor changes to amend broken stuff minor improvements - make login/sign up in navbar stackable - make navbar in explore and sign in not stackable Change selected class in TestPullCompare Fix typo that happened when rebasing fix dashboard on org view improve profile UI Use clearing on file diff to fix broken UI caused by floating elements remove unresolved merge conflict, and | Sanitize Fix repo home not loading
* Open external tracker in blank window, consistently with wiki (#3227)Sandro Santilli2017-12-181-1/+1
| | | Closes #3216
* Improve suppressed diff boxes (#3193)silverwind2017-12-141-8/+15
|
* Fix new pull request link (#3133)Ethan Koenig2017-12-131-2/+2
| | | | | | * Fix new pull request link * Only show button for branches
* fix source download link when no code unit allowed (#3166)Lunny Xiao2017-12-121-0/+4
|
* Enable emoji for wiki view (#3158)haytona2017-12-121-1/+1
| | | | | Enable emoji for wiki page content. It is enabled in the edit preview so the view should match. Signed-off-by: Hamish Carpenter <hamish@hamishcarpenter.com>
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-1112-19/+19
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Rework button styles on repo and commit page (#3104)silverwind2017-12-071-1/+1
|
* Add reactions to issues/PR and comments (#2856)Lauris BH2017-12-044-0/+47
|
* Minor copy changes (#3074)techknowlogick2017-12-031-2/+2
| | | | | | | | * Minor copy changes Fixes #3058 * Use TrN for translations that depend on count Fix minor type with branches count
* fix issue list branch link broken (#3061)Lunny Xiao2017-12-021-1/+1
|
* Adjust branch button size (#3063)silverwind2017-12-021-1/+1
|
* remove duplicated sanitize (#3037)Lunny Xiao2017-11-301-1/+1
|
* Expandable commit bodies (#2980)Sondre Nilsen2017-11-303-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial working state of expandable commit bodies * Fix all commits having showing button for multiline commits * Refactor checking multiline messages method * Force newlines with <br> in commit body * Show multiple lines in the list view of repositories * Fixed proper newlines and minor refactor Use <pre> instead of <p>, this is so we can use \n instead of having to manually place <br> into the HTML. Makes it easier to display commit bodies. * Fix commit list messages jumping around * Fix indentation in view_list.tmpl * Use vertical-align: baseline instead of top * Refactor commit button toggle function * Remove RenderCommitBodyLink function * Add comments * Add newline at the end of _repository.less * Fix long commit bodies not properly wrapping inside <pre> * Don't split on double newlines * Show the commit body in commit view * Update stylesheets * Add/fix comments and run make fmt * Fix spaces not being tabs
* Removed unused field in form (#3023)Ethan Koenig2017-11-291-2/+1
|
* Various wiki bug fixes (#2996)Ethan Koenig2017-11-282-5/+5
| | | | | | * Update macaron * Various wiki bug fixes
* Fix over-escaped characters (#2956)Ethan Koenig2017-11-224-13/+13
|
* Spaces to tabs in templates (#2953)Ethan Koenig2017-11-211-5/+5
|
* Add dingtalk webhook (#2777)Lunny Xiao2017-11-213-0/+17
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Disable add key button if SSH is disabled (#2873)Michael Kuhn2017-11-211-0/+4
|
* Update go-ini dependency and remove semicolon hack in translations (#2913)Lauris BH2017-11-151-1/+1
|
* Add owner to delete repo message (#2886)Ethan Koenig2017-11-151-1/+1
|
* Fix localization texts that contain semicolon (#2900)Lauris BH2017-11-131-1/+1
|
* Fix issue link rendering in commit messages (#2897)Ethan Koenig2017-11-134-7/+5
| | | | | | | | | | * Fix issue link rendering in commit messages * Update page.tmpl * No links for parens * remove comment
* Fix new branch creation to new url scheme (#2884)Lauris BH2017-11-101-1/+1
|
* fix click create pull request button 404 (#2859)Lunny Xiao2017-11-051-1/+1
|
* Fix commits page url (#2823)Morlinest2017-11-021-1/+1
| | | | | | * Fix commits page url * Check all view types
* Make URL scheme unambiguous (#2408)Ethan Koenig2017-10-307-16/+16
| | | | | | | | | | * Make URL scheme unambiguous Redirect old routes to new routes * Fix redirects to new URL scheme, and update template * Fix branches/_new endpoints, and update integration test
* Code/repo search (#2582)Ethan Koenig2017-10-273-5/+70
| | | Indexed search of repository contents (for default branch only)
* Add wrapping to long diff lines (#2789)Lauris BH2017-10-271-1/+1
| | | | | | | | | | * Add wrapping to long diff lines to fix #1827 * Fix css class and make changes to source (less) files * Fix wrong space indentation * Fix indentation inconsistencies and remove very old WebKit workaround
* Add checks for commits with missing author and time (#2771)Lauris BH2017-10-261-8/+10
| | | | | | * Add checks for commits with missing author and time * Fix validate commits with emails if it has no Author
* Add branch overiew page (#2108)Bwko2017-10-265-18/+109
| | | | | | | | * Add branch overiew page * fix changed method name on sub menu * remove unused code
* some fixesLunny Xiao2017-10-252-2/+3
|
* Fix activity css conflit with semantic ui (#2758)Lauris BH2017-10-211-2/+2
|
* Fix semantic-ui style conflict with v-cloak (#2722)Lauris BH2017-10-171-1/+1
|
* Render plain text README.txt monospaced (#2721)Jonas Franz2017-10-171-2/+4
| | | Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix PR, milestone and label functionality if issue unit is disabled (#2710)Lauris BH2017-10-161-5/+5
| | | | | | | | | | * Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user * Fix multi-actions in PR page * Change error message * Fix comment update and delete functionality in PR
* Fix plain readme didn't render correctly on repo home page (#2705)Lunny Xiao2017-10-161-2/+2
| | | | | | | | * fix plain readme didn't render correctly on repo home page * fix missing render * remove unused template variables
* Create new branch from branch selection dropdown (#2130)Lauris BH2017-10-151-18/+39
| | | | | | | | | | * Create new branch from branch selection dropdown and rewrite it to VueJS * Make updateLocalCopyToCommit as not exported * Move branch name validation to model * Fix possible race condition
* Fix so that user can still fork his own repository to owned organizations ↵Lauris BH2017-10-152-11/+11
| | | | | | | | | | (#2699) * Fix so that user can still fork his own repository to his organizations * Fix to only use owned organizations * Add integration test for forking own repository to owned organization
* Add Activity page to repository (#2674)Lauris BH2017-10-152-0/+190
| | | | | | | | | | | | | | * Add Activity page to repository * Add request data for activity * Add issue data for activity * Add user unit right checks * Add releases to activity * Log repository unit loading error
* Use Semantic UI's Search component for user and repo search (#2636)harry2017-10-031-2/+1
| | | | | | | | | | | | | | | | * Use search component on org invitation user input. * Search component for collaboration and members. * Search component for repo search. * minCharacters for search input * Display full_name for user search. * Fixed missing uid query parameter for repo search. * Removed unused comment.
* Ctrl + Enter to submit forms (#2540)Jonas Franz2017-09-221-1/+1
| | | | | | | | | | | | | | | | | | | * Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Submit forms if Ctrl+Enter is pressed inside a textarea Signed-off-by: Jonas Franz <info@jonasfranz.software> * Adding separate class for Ctrl+Enter-Submit Checking if alt key is pressed too Signed-off-by: Jonas Franz <info@jonasfranz.software> * Changing .ctrlenter to .js-quick-submit Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-211-2/+2
| | | | | | | | | | | | | | * add init support of orgmode document type on file view and readme * fix imports * fix imports and readmeExist * fix imports order * fix format * remove unnecessary convert