summaryrefslogtreecommitdiffstats
path: root/public
Commit message (Collapse)AuthorAgeFilesLines
* Dashboard: Fix line height problem in issue titles (#3054)silverwind2017-12-022-2/+1
|
* Expandable commit bodies (#2980)Sondre Nilsen2017-11-303-1/+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
* Add fingerprint to ssh key endpoints. (#3009)Vlad Temian2017-11-281-1/+5
| | | | | | * Add fingerprint to ssh key endpoints. * Update gitea sdk vendor
* Update gitgraph.js to fix blurry commit graph on HiDPI screens (#2957)Michael Kuhn2017-11-232-4/+21
|
* Add dingtalk webhook (#2777)Lunny Xiao2017-11-211-0/+0
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Fix comment API paths (#2813)Ethan Koenig2017-11-201-85/+186
|
* Fix API status code for hook creation (#2814)Ethan Koenig2017-11-201-1/+1
| | | | | | * Fix API status code for hook creation * Named constants for response statuses
* Page parameter for repo search API (#2915)Ethan Koenig2017-11-151-3/+9
|
* Update swagger documentation (#2899)Ethan Koenig2017-11-131-1184/+5297
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Fix adding a new authentication source after selecting OAuth (#2889)Shaun2017-11-121-1/+1
|
* Fix attachments icon size on zoom in/out (#2853)Jakub2017-11-052-2/+2
| | | | | | * fix attachments icon size on zoom in/out * make public/css/index.css
* Use custom search for each filter type in dashboard (#2343)Morlinest2017-11-011-12/+52
| | | | | | | | | | * Do custom search for each filter in repo-search * Fix search url * Simplify code * Remove loader and reset counts when changing filter
* Add Safari pinned tab icon (#2799)Bastian Rinsche2017-10-281-0/+1
| | | | | Closes #2753 Signed-off-by: Bastian Rinsche <bastian.rinsche@gmail.com>
* Code/repo search (#2582)Ethan Koenig2017-10-272-3/+18
| | | Indexed search of repository contents (for default branch only)
* Add wrapping to long diff lines (#2789)Lauris BH2017-10-273-1717/+1721
| | | | | | | | | | * 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 search mode option to /api/repo/search (#2756)Morlinest2017-10-271-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | * Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
* Add branch overiew page (#2108)Bwko2017-10-264-25/+68
| | | | | | | | * Add branch overiew page * fix changed method name on sub menu * remove unused code
* Fix emojify image URL (#2769)Lauris BH2017-10-231-1/+1
|
* Fix activity css conflit with semantic ui (#2758)Lauris BH2017-10-212-2/+2
|
* Move swagger-ui under /api/v1 (#2746)Antoine GIRARD2017-10-219-174/+130
| | | | | | | | | | | | * Move swagger interface under /api/v1 * Update swagger-ui * Add /api/swagger and prepare for multiple api version * Update test links * Fix footer link
* Fix IE unsupported javascript construction (#2736)Lauris BH2017-10-191-2/+2
|
* Render plain text README.txt monospaced (#2721)Jonas Franz2017-10-172-1/+5
| | | Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Create new branch from branch selection dropdown (#2130)Lauris BH2017-10-153-13/+198
| | | | | | | | | | * 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
* Add Activity page to repository (#2674)Lauris BH2017-10-153-2/+45
| | | | | | | | | | | | | | * 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-033-101/+45
| | | | | | | | | | | | | | | | * 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.
* Compress css with nodejs (#2580)Morlinest2017-09-241-1/+1
|
* Ctrl + Enter to submit forms (#2540)Jonas Franz2017-09-221-0/+9
| | | | | | | | | | | | | | | | | | | * 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>
* Use standard lessc and minify CSS using Node.js (#2337)silverwind2017-09-211-3131/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use standard lessc and minify CSS using Node.js This changes the previous nonstandard `lessc` to the official one and enables CSS minification via the clean-css module. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally in node_modules so there is no dependency on binaries in PATH. Benefits include: - Allows one to have a standard lessc in PATH. - Can now use command line switches on lessc. - Minified CSS brings faster page load times and also has the benefit of discouraging contributors from editing CSS directly. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally based on the information in `package.json`. The 'make stylesheet' task was modified to run without condition. This makes it easier to work on the make task itself without having to delete files. Also fixes: https://github.com/go-gitea/gitea/issues/2198 * install node, npm and modules on drone * .PHONY * use 'minify' to minify CSS
* Implementation of all repositories of a user from user->settings (#1740)Rémy Boulanouar2017-09-142-0/+8
| | | | | | | | | | | | * 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-143-35/+67
| | | | | | | | | | | | | | | | | | | | * 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
* fix wrong rendering of commit detail page (#2503)David Schneiderbauer2017-09-142-7/+7
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Remove repository mirrors from "collaborative" list (#2497)Morlinest2017-09-131-1/+1
|
* Feature: Timetracking (#2211)Jonas Franz2017-09-122-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-102-0/+24
|
* bug fixedLunny Xiao2017-09-041-1/+1
|
* Implementation of discord webhook (#2402)Lunny Xiao2017-08-281-0/+0
| | | | | | | | | | | | * 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-241-0/+17
|
* Move themes to plugin directory. Fixes #2372 (#2375)Michael Lustfield2017-08-2416-21/+0
|
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-231333-87/+734
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* Remove (almost) server side data rendering from repo-search component (#2317)Morlinest2017-08-221-2/+22
| | | | | | * Rename some shorthands * Remove (almost) server side data rendering from repo-search component template
* Improve swagger doc (#2274)Antoine GIRARD2017-08-211-4/+1447
| | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger
* Add OpenID configuration in install page (#2276)Sandro Santilli2017-08-191-0/+13
|
* Fix repo-search template errors for go1.7 (#2336)Morlinest2017-08-191-1/+0
|
* Make use of Vue more universal (#2318)Morlinest2017-08-171-3/+3
|
* Fix and improve dashboard repo UI (#2285)Morlinest2017-08-173-20/+107
| | | | | | | | | | | | | | | | * 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-2/+11
| | | | | | | | | | * More tweaks to repo top panel * undo hiding of compare button on master * attempt to fix ci issue * another ci attempt
* File path tweaks in UI (#2264)silverwind2017-08-062-0/+14
|
* Prevent selection of diff line numbers (#2240)silverwind2017-08-012-0/+8
|
* Generate small and large logos at 4x resolution (#2233)silverwind2017-07-302-0/+0
| | | | | To support High-DPI displays, generate images at 4 times their displayed resolution, which should be enough to support all current devices according to https://material.io/devices/.
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-286-0/+0
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images