summaryrefslogtreecommitdiffstats
path: root/templates/repo
Commit message (Collapse)AuthorAgeFilesLines
* fix writer cannot read bare repo guide (#4033)Lunny Xiao2018-05-241-1/+1
|
* Add more webhooks support and refactor webhook templates directory (#3929)Lunny Xiao2018-05-1611-14/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * load attributes when created release * update comparsion doc
* Fixed issue deadline not showing on issue page (#3930)kolaente2018-05-101-4/+4
|
* Multiple assignees (#3705)kolaente2018-05-094-28/+88
|
* Fix code tab link when viewing tags (#3908)Ambrose Chua2018-05-071-1/+1
| | | Signed-off-by: Ambrose Chua <ambrose@chua.family>
* Issue due date (#3794)kolaente2018-05-014-2/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Started adding deadline to ui * Implemented basic issue due date managing * Improved UI for due date managing * Added at least write access to the repo in order to modify issue due dates * Ui improvements * Added issue comments creation when adding/modifying/removing a due date * Show due date in issue list * Added api support for issue due dates * Fixed lint suggestions * Added deadline to sdk * Updated css * Added support for adding/modifiying deadlines for pull requests via api * Fixed comments not created when updating or removing a deadline * update sdk (will do properly once go-gitea/go-sdk#103 is merged) * enhanced updateIssueDeadline * Removed unnessecary Issue.DeadlineString * UI improvements * Small improvments to comment creation + ui & validation improvements * Check if an issue is overdue is now a seperate function * Updated go-sdk with govendor as it was merged * Simplified isOverdue method * removed unessecary deadline to 0 set * Update swagger definitions * Added missing return * Added an explanary comment * Improved updateIssueDeadline method so it'll only update `deadline_unix` * Small changes and improvements * no need to explicitly load the issue when updating a deadline, just use whats already there * small optimisations * Added check if a deadline was modified before updating it * Moved comment creating logic into its own function * Code cleanup for creating deadline comment * locale improvement * When modifying a deadline, the old deadline is saved with the comment * small improvments to xorm session handling when updating an issue deadline + style nitpicks * style nitpicks * Moved checking for if the user has write acces to middleware
* Symlink icons (#1416) (#3826)Tris Forster2018-05-011-1/+1
| | | | | | | | | | | | * Updated vendor code for code.gitea.io/git * Display symlinks correctly for files and directories * Added symlink tests * Applied silverwinds stylesheet patch Signed-off-by: Tris Forster <tris.git@shoddynet.org>
* Shows total tracked time in issue and milestone list (#3341)Jonas Franz2018-04-293-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show total tracked time in issue and milestone list Show total tracked time at issue page Signed-off-by: Jonas Franz <info@jonasfranz.software> * Optimizing TotalTimes by using SumInt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixing wrong total times for milestones caused by a missing JOIN Adding unit tests for total times Signed-off-by: Jonas Franz <info@jonasfranz.software> * Logging error instead of ignoring it Signed-off-by: Jonas Franz <info@jonasfranz.software> * Correcting spelling mistakes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change error message to a short version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add error handling to TotalTimes Add variable for totalTimes Signed-off-by: Jonas Franz <info@jonasfranz.de> * Introduce TotalTrackedTimes as variable of issue Load TotalTrackedTimes by loading attributes of IssueList Load TotalTrackedTimes by loading attributes of single issue Add Sec2Time as helper to use it in templates Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixed test + gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Load TotalTrackedTimes via MilestoneList instead of single requests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change comment from SQL query to description Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if timetracker is enabled Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by enabling timetracking Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Some small template fixes (#3820)Rodrigo Villablanca Vásquez2018-04-203-4/+5
|
* Improve English grammar and consistency. (#3614)bugreport02018-04-192-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * Start improving English grammar and consistency. * Apply review comments, push translation further. * Additional review changes; expand translation. * Undo team/organization change, further translation. * Add site administration; review comments; merge. * Update hardcoded branch protection string tests. * Update hardcoded branch deletion string test. * Update another hardcoded translation string test. * Add my nickname to the list of translators. * Implement @lafriks review comments. * Remove (now) unused branch deletion warnings. * Remove (now) unused branch deletion warnings.
* Fix for UI broke when a repo is starred & watched (#3630) (#3810)kolaente2018-04-191-2/+2
|
* Fixed 0 closed issues not show 50% closed on activty page (#3802)Morgan Bazalgette2018-04-161-2/+10
| | | | Fixes #3656. Also adds a light grey bar when there are both 0 merged prs/closed issues and 0 open prs/issues.
* Add topic support (#3711)Lunny Xiao2018-04-111-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | * add topic models and unit tests * fix comments * fix comment * add the UI to show or add topics for a repo * show topics on repositories list * fix test * don't show manage topics link when no permission * use green basic as topic label * fix topic label color * remove trace content * remove debug function
* Remove unnecessary Safe tags (#3778)Bwko2018-04-106-14/+13
|
* Add EnableTimetracking option to app settings (#3719)Bwko2018-04-091-11/+12
|
* fix: show Clipboard button if disable HTTP of git protocol (#3773)Bo-Yi Wu2018-04-091-1/+1
|
* Use the active branch for the code tab (#3720)Bwko2018-04-091-1/+1
|
* Modify pagination. (#3766)Pheng Heong TAN2018-04-081-21/+1
| | | | | | | I wanted navigation to the page "first" and the page "last" of the pages of commits. I discovered this has already been implemented in one of the templates. Signed-off-by: Tan Pheng Heong <phtan90@gmail.com>
* Add Size column to attachment (#3734)Jonas Franz2018-03-311-1/+1
| | | | | | | | | | | | | | | * Add size column to attachment Migrate attachments by calculating file sizes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Calculate attachment size on creation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Log error instead of returning error Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add repository setting to enable/disable health checks (#3607)Allen Wild2018-03-271-0/+23
| | | | | | | | | | | | | | New Feature: * Repository struct field for IsFsckEnabled (default true of course) * Admin Settings section on repo options page, accessible only by admin users Possible Enhancements: * There's no way to force running health checks on all repos regardless of their IsFsckEnabled setting. This would be useful if there were an admin API or dashboard button to run fsck immediately. Issue: https://github.com/go-gitea/gitea/issues/1712 Signed-off-by: Allen Wild <allenwild93@gmail.com>
* Add protected branch whitelists for merging (#3689)Chri-s2018-03-251-0/+43
| | | | | | | | * Add database migrations for merge whitelist * Add merge whitelist settings for protected branches * Add checks for merge whitelists
* Don't warn users about *every* dirty form (#3707)Gerben2018-03-234-4/+4
| | | | | | | | | | | The choice regarding which forms should or should not trigger a warning is subjective. I tried to be consistent and not warn about forms that: - run an action, rather than edit data: search, send an email. - delete data: a warning about losing data would be confusing Note that forms on sign-in pages were already ignored (using a selector, rather than an explicit class on the form element). Fixes #3698.
* Improve release page UI (#3693)Jonas Franz2018-03-191-3/+4
| | | | | | | | | | * Improve release page ui by adding size Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation to a.MustSize() Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Escape branch name in dropdown menu (#3691)Jonas Franz2018-03-191-2/+2
| | | Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Added checks for protected branches in pull requests (#3544)Chri-s2018-03-131-1/+1
| | | | | | | | | | | | | | | | | | * Added checks for protected branches in pull requests Signed-off-by: Christian Wulff <NChris@posteo.net> * Moved check for protected branch into new function CheckUserAllowedToMerge Signed-off-by: Christian Wulff <NChris@posteo.net> * Removed merge conflict lines from last commit Signed-off-by: Christian Wulff <NChris@posteo.net> * Explicit check for error type in ViewIssue Signed-off-by: Christian Wulff <NChris@posteo.net>
* Add label descriptions (#3662)Lauris BH2018-03-133-11/+35
| | | | | | * Add label descriptions * Add default descriptions to label template
* Add string to confirm wiki data erasure (#3629)bugreport02018-03-061-1/+1
| | | | | | * Add a string to confirm wiki data erasure. * Add a string to confirm wiki data erasure.
* Fix incorrect 'Erase Wiki Data' string identifier. (#3613)bugreport02018-03-021-1/+1
|
* feat: Add branch link in branch list. (#3576)Bo-Yi Wu2018-02-241-2/+2
|
* Add issue closed time column to fix activity closed issues list (#3537)Lauris BH2018-02-191-1/+1
| | | Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Fix escaping changed title in comments (#3530)Lauris BH2018-02-182-15/+15
| | | | | | | | * Fix escaping changed title in comments * Fix escaping of wiki page titile Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Escape search query (#3486)Jonas Franz2018-02-111-1/+1
| | | Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Fix checklist padding (#3460)modmew82018-02-061-1/+3
| | | | | | | | | | * Changed style of checklist in issuelist. * Adjusted padding for progressbar, updated index.css. * Fixed another wrong tab to spaces. Signed-off-by: modmew8 <modmew8@gmail.com>
* 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
|