summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Make basic functionality work without JavaScript (#2541)Jorge Maldonado Ventura2017-09-191-1/+7
|
* Convert spaces to tabs in footer.tmpl (#2520)Ethan Koenig2017-09-161-3/+3
|
* Implementation of all repositories of a user from user->settings (#1740)Rémy Boulanouar2017-09-142-0/+55
| | | | | | | | | | | | * Implementation of all repositories of a user from user->settings * Update message when no repository found * Update according to comments * Change UI to have a better look * improved user repositories UI
* 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
* Disable custom Git Hooks globally via configuration file (#2450)techknowlogick2017-09-121-1/+1
| | | | | | | | * Create option to disable githooks globally via configuration file * Update comment in app.ini to align with @ethantkoenig's suggestion Signed-off-by: Matti Ranta <matti@mdranta.net>
* Open external wiki in new window (#2489)Jonas Östanbäck2017-09-121-1/+1
|
* Feature: Timetracking (#2211)Jonas Franz2017-09-125-20/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 orgnization webhooks (#2422)Lunny Xiao2017-08-301-0/+1
| | | | | | * fix org webhooks * remove trace code
* 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-234-37/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* fix bug on create repo link on dashboard (#2359)Lunny Xiao2017-08-231-1/+1
|
* Remove (almost) server side data rendering from repo-search component (#2317)Morlinest2017-08-221-42/+50
| | | | | | * Rename some shorthands * Remove (almost) server side data rendering from repo-search component template
* Fix order of elements in dashboard html (#2344)Morlinest2017-08-201-2/+2
|
* Add OpenID configuration in install page (#2276)Sandro Santilli2017-08-191-0/+12
|
* Fix repo-search template errors for go1.7 (#2336)Morlinest2017-08-192-84/+82
|
* Make use of Vue more universal (#2318)Morlinest2017-08-171-1/+1
|
* fix template error on explore repos (#2319)Lunny Xiao2017-08-171-1/+1
|
* Make SHOW_USER_EMAIL also apply to profiles (#2258)Michael Kuhn2017-08-171-1/+1
| | | The e-mail address is currently only hidden from the explore page.
* Fix and improve dashboard repo UI (#2285)Morlinest2017-08-174-101/+90
| | | | | | | | | | | | | | | | * Fix and improve dashboard repo UI * Change order of scripts loading * Remove "mirror" tab * Remove single tab panel for "org user" * Add localization strings * Create vue component and change event for search * Add "mirrors" filter
* 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
|
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-1/+1
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-023-18/+18
|
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-284-4/+4
| | | | | | * 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-172-3/+3
| | | | | | | | | | * 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
* Refactor vue delimeters to use es6 template delimeters (#2171)Lauris BH2017-07-151-2/+2
|
* 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
|
* Fix org hooks UI (#2072)Morlinest2017-06-281-1/+3
|
* Smaller watch, star, and fork buttons (#2052)Patrick G2017-06-281-6/+6
|
* Fix "Dashboard shows deleted comments" (#1995)Jonas Franz2017-06-251-1/+1
|
* Fix wording (#2024)Patrick G2017-06-241-1/+1
| | | | | | | | * Fix wording * Update locale_en-US.ini * Update keys_gpg.tmpl
* repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)Lunny Xiao2017-06-222-2/+2
|
* Display config file path on admin panel (#2030)Lunny Xiao2017-06-221-0/+2
|
* Keep sort when switching page (#2013)iszla2017-06-221-5/+5
|
* 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
|
* Center-aligned login topbar (#1880)Ethan Koenig2017-06-062-2/+2
| | | | | | * Center-aligned login topbar * Center-align OpenID login
* Use production version of vuejs. (#1869)Antoine GIRARD2017-06-041-1/+1
|