aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Sync releases table with tags on push and for mirrors (#2459)Lauris BH2017-09-201-13/+16
| | | | | | | | | | | | | | | * Sync releases table with tags on push and for mirrors * Code style fixes * Fix api to return only releases * Optimize release creation and update Minimize posibility of race conditions * Fix release lower tag name updating * handle tag reference update by addionally comparing commit id
* improve protected branch to add whitelist support (#2451)Lunny Xiao2017-09-142-9/+79
| | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo
* Display commit status on landing page of repo (#1784)Rémy Boulanouar2017-09-144-17/+19
| | | | | | | | * Display commit status on landing page of repo * improve last status of commits and add link to ci * fix last commit status since the order of ids are desc
* Open external wiki in new window (#2489)Jonas Östanbäck2017-09-121-1/+1
|
* Feature: Timetracking (#2211)Jonas Franz2017-09-123-20/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
* * Fix fileview rendering bug #2470 (#2477)Albert2017-09-101-8/+6
|
* hide branch on pull request view or create UI (#2454)Lunny Xiao2017-09-061-0/+2
|
* Webhooks for repo creation/deletion (#1663)Ethan Koenig2017-09-031-0/+10
| | | | | | | | * Webhooks for repo creation/deletion * add createHookTask * Add handles for GetSlackPayload and GetDiscordPayload
* Fix releases to be counted from database not tags (#2389)Lauris BH2017-08-281-1/+1
|
* Implementation of discord webhook (#2402)Lunny Xiao2017-08-283-0/+25
| | | | | | | | | | | | * implementation of discord webhook * fix webhooks * fix typo and unnecessary color values * fix typo * fix imports and revert changes to webhook_slack.go
* Add possibility to record branch or tag information in an issue (#780)Zsombor2017-08-244-0/+48
|
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2241) * Cleaning up public/ and documenting js/css libs. This commit mostly addresses #1484 by moving vendor'ed plugins into a vendor/ directory and documenting their upstream source and license in vendor/librejs.html. This also proves gitea is using only open source js/css libraries which helps toward reaching #1524. * Removing unused css file. The version of this file in use is located at: vendor/plugins/highlight/github.css * Cleaned up librejs.html and added javascript header A SafeJS function was added to templates/helper.go to allow keeping comments inside of javascript. A javascript comment was added in the header of templates/base/head.tmpl to mark all non-inline source as free. The librejs.html file was updated to meet the current librejs spec. I have now verified that the librejs plugin detects most of the scripts included in gitea and suspect the non-free detections are the result of a bug in the plugin. I believe this commit is enough to meet the C0.0 requirement of #1534. * Updating SafeJS function per lint suggestion * Added VERSIONS file, per request
* More tweaks to repo top panel (#2267)silverwind2017-08-132-20/+7
| | | | | | | | | | * More tweaks to repo top panel * undo hiding of compare button on master * attempt to fix ci issue * another ci attempt
* fix webhook linkLunny Xiao2017-08-112-2/+2
|
* File path tweaks in UI (#2264)silverwind2017-08-061-6/+6
|
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-022-17/+17
|
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-282-2/+2
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images
* Revert "Add ability to fork your own repos (#761)" (#2193)Bwko2017-07-261-1/+1
|
* Remove unit types commits and settings (#2161)Lauris BH2017-07-171-1/+1
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* Only show SSH clone URL if signed in (#2169) (#2170)Stefan Kalscheuer2017-07-153-13/+19
| | | | | | | | | | | | | | | | | | | * Add configuration flag SSH_EXPOSE_ANONYMOUS If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in. * Default SSH exposure set to false To match GitHub and for security reasons, SSH URL exposure is disabled by default. In addition to that. minor code changes have been applied. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de> * Add integration tests * Hide clone button neither HTTP and SSH is enabled Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* Make compare button URL aware if current repo is a fork (#2162) (#2163)Wiktor Żurawik2017-07-151-1/+1
| | | | | | | | | | * Make compare button URL aware if current repo is a fork (#2162) * Optimize code * To not change current behaviour check if signed in user has fork of base repository * Fix to check only if signed user has forked repo otherwise it will still redirect to wrong page