aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Only show "No Description" to repo admins (#2167)bit2017-07-141-1/+1
| | | Only show note about missing description ("No Description") to repo admins, nobody else can change it.
* Missing signed commit display translation (#2134)Lauris BH2017-07-101-2/+2
|
* Fix wiki preview linksEthan Koenig2017-07-061-1/+1
|
* Smaller watch, star, and fork buttons (#2052)Patrick G2017-06-281-6/+6
|
* repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)Lunny Xiao2017-06-222-2/+2
|
* Fix search by issue type (#1914)Ethan Koenig2017-06-151-12/+14
| | | | * Fix search by issue type
* Fix diff of renamed and modified file (#1967)Ethan Koenig2017-06-141-1/+1
|
* Fix pull request compare link (#1832)Ethan Koenig2017-05-311-1/+1
| | | | | | * Fix pull request compare link * Integration test
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-293-2/+36
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Show commit status icon in commits table (#1688)Lauris BH2017-05-071-0/+15
| | | | | | | | | | | | | | | | | | * Show commit status icon in commits table * Add comments * Fix icons * Few more places where commit table is displayed * Change integration test to use goquery for parsing html * Add integration tests for commit table and status icons * Fix status to return lates status correctly on all databases * Rewrote lates commit status selects
* Remove sha1 hash display in repository table and add latest commit GPG check ↵Lauris BH2017-05-051-3/+15
| | | | (#1678)
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-2/+2
| | | | | | * Do not allow commiting to protected branch from online editor * Add editor integration tests for adding new file and not allowing to add new file to protected branch
* fix bug on issue view when not login (#1624)Lunny Xiao2017-04-291-0/+2
| | | | | | | | | | * fix bug on issue view when not login * hide issue watch when not login * update the tests * fix test on issue
* Do not show empty collaborators segment (#1531)Morlinest2017-04-231-0/+2
|
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync interval specifed as duration string * Changed mirror interval text * make fmt * Add MinInterval for mirror sync * Use duration internally * Changed min default to 10m * make fmt * Incorrect default * Removed defaults in MustDuration() * Add Mirror interval migration * Default values corrected * Use transaction during migration * Change http 500 to page with error message * Cleanup session.commit()
* Fix #1418 (#1456)Antoine GIRARD2017-04-073-6/+6
|
* Fix and simplify repo branches UI (#1435)Morlinest2017-04-061-24/+20
|
* Commit search appearence fixes (#1254)Patrick G2017-04-051-1/+5
| | | | | | * Fix button text to be consisstent with rest of UI * Make all commits checkbox look nicer
* Fix disabled fields in repo settings UI (#1431)Morlinest2017-04-031-4/+6
|
* Merge pull request #1410 from andreynering/notification/issue-watchAndrey Nering2017-04-011-0/+21
|\ | | | | [Notifications Step 6] Per issue/PR watch/unwatch
| * UI and translation improvementsAndrey Nering2017-03-301-4/+4
| |
| * Add octicons to watch/unwatch buttonsAndrey Nering2017-03-291-0/+2
| |
| * Add watch button on issueAndrey Nering2017-03-291-0/+19
| |
* | Merge pull request #1390 from Morlinest/commit-graph-UIAndrey Nering2017-03-301-3/+1
|\ \ | | | | | | Use whole button (commit graph) as link
| * | Use whole button as linkPeter Žeby2017-03-271-3/+1
| |/
* | Make issue in commit graph "clickable" (#1392)Morlinest2017-03-301-1/+1
| |