aboutsummaryrefslogtreecommitdiff
path: root/routers
Commit message (Collapse)AuthorAge
* Ipython notebook support (#4070)Herbert2017-02-07
| | | | | | | | | | * added marked and notebookjs javascript libraries * added ipython notebook render support using javascript libraries * recompiled gogs.css to include ipynb-related css * removed superflous javascript library files
* routers/repo: minor code fix for PR #3758Unknwon2017-02-01
|
* Fix 500 when repo has invalid .editorconfig (#3758)Andrey Nering2017-02-01
| | | | | Creating a notice instead Fixes #3643
* Allow use to set an external tracker url and to redirect user when clicking ↵Rémy Boulanouar2017-01-31
| | | | in Issues same behavior as Wiki. (#3646)
* Fix can not save release draft as draft again (#3669)Unknwon2017-01-30
| | | | | But release was not saved as draft in the first time, is not possible to be draft afterwards because the Git tag was created.
* Move models/mail.go to modules/mail.goUnknwon2017-01-30
| | | | To use interface to replace *models.User in avoiding cycle import.
* api: display repository forks (#3252)Dennis Chen2017-01-28
| | | | | Lists the forks of a repository at the /:user/:repo/forks endpoint. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* Add 'Organizations' page to user settings (#3587)Unknwon2017-01-27
| | | | User is now able to view full list of organizations belongs to.
* Setting orgs (#3587)Rémy Boulanouar2017-01-27
| | | | | | | | | | | | * Implement organizations listing in setting and allow user to create new organization. * Implement organizations listing in setting and allow user to create new organization. * Add space remove by mistake * Remove unused part of the template * Update display and behavior according to @Unknown remarks
* Fix template error when rendering non-README markdown (#4063)Unknwon2017-01-27
|
* Verify repository is not bare before retrieving blob. (#3996)cybe2017-01-27
|
* Disable local path migration by default (#4033)Unknwon2017-01-26
| | | | | | | Site admin now has to enable manually by config option [repository] ENABLE_LOCAL_PATH_MIGRATION = true. Site admin always grants this permission, but regulars users have to be allowed by site admins in admin user panel.
* Fix unexpected rendering of README when it is not in MarkdownUnknwon2017-01-25
| | | | | This patch also handles case when a file name looks like README but is not a text file (e.g. image, PDF).
* Improve code for fix of #4006Unknwon2017-01-03
|
* Fix incorrect logic check for fork repo actionUnknwon2017-01-03
|
* Fix vulnerability reported in #4006Unknwon2017-01-03
|
* Fix dashboard issues/pull request countingUnknwon2016-12-27
|
* Fix dashboard issue/pull request scopingUnknwon2016-12-27
|
* Minor code fix for PR #3560Unknwon2016-12-27
|
* Fix assigned/created issues in dashboard. (#3560)hgaiser2016-12-27
| | | | | | | | | | | | | | | | | | * Fix assigned/created issues in dashboard. * Use GetUserIssueStats for getting all Dashboard stats. * Use gofmt to format the file properly. * Replace &Issue{} with new(Issue). * Check if user has access to given repository. * Remove unnecessary filtering of issues. * Return 404 error if invalid repository is given. * Use correct number of issues in paginater.
* Code fix for PR #3748Unknwon2016-12-23
|
* Use temporary file to avoid out-of-memory when receiving big chunks. (#3748)typeless2016-12-23
| | | | | | | | | | * Use temporary file to avoid out-of-memory when receiving big chunk. Not perfect but I think it's a reasonable solution. For small request bodies, I suppose performance wouldn't be an issue. For large ones, this seems to be a necessary evil. * Must close the open file to avoid fd leaks
* Some code renamingUnknwon2016-12-22
|
* Fix reported vulnerabilityUnknwon2016-12-22
| | | | | | Ability to use labels from arbitrary repositories. Reported by Miguel Ángel Jimeno.
* Fix vulnerability reported in #3962Unknwon2016-12-22
|
* Fix vulnerabilities reported in #3959Unknwon2016-12-22
|
* Minor fix for PR #3667Unknwon2016-12-22
|
* Feature #2583: Disable HTTP cloning (#3667)Thibault Meyer2016-12-22
| | | | | | | | * Can disable GIT interactions by HTTP protocol * rename variable + fix wiki link * missing space
* Code fix for PR #3547Unknwon2016-12-22
|
* Set ProdMode in the correct placeUnknwon2016-12-22
| | | | | | | | Closes #3696, #3611 Previously, ProdMode can only be true for web server, which always prints dev mode log message to incoming SSH connections and leaks unexpected information.
* Minor fix for PR #3687Unknwon2016-12-21
|
* Check if file is a symlink with web editor (#3687)Stefan Grönke2016-12-21
| | | | | | | | * editor checks for symlinks * translate file_is_a_symlink message * credit translation author
* Minor code fixUnknwon2016-12-21
|
* Fixed 404 caused by unexpected question mark (#3668)LefsFlare2016-12-21
| | | This fixes 404 caused when creating new files or wiki pages with question marks.
* New settings option for a custom SSH host (#3763)imilo2016-12-21
|
* Fix random string generator (#3953)leonklingele2016-12-21
| | | | | | | | * Remove unused custom-alphabet feature of random string generator * Fix modulo-biased random string generator * Random string generator should return error if it fails to read random data via crypto/rand
* serve video files using the HTML5 video tag (#3967)Nico Mandery2016-12-21
|
* Fix string format verbs (#3637)Alexander Lunegov2016-12-21
|
* Minor fix for PR #3624Unknwon2016-12-21
|
* More Issue-Comments API-endpoints (#3624)Kim "BKC" Carlbäcker2016-12-21
| | | | | | * ListAllInRepo & Delete Issue-Comments * Moar data in issue-comments
* Merge branch 'develop' of https://github.com/tanapoln/gogs into developUnknwon2016-12-21
|\
| * provide button to delete merged pull requestTanapol Nearunchorn2016-09-02
| |
* | Prevented user enumeration of valid users through HTTP status codes of login ↵LefsFlare2016-10-16
| | | | | | | | (#3639) (#3654)
* | #3589 LoadRepoConfig after ORM is initializedUnknwon2016-09-02
|/
* Add the ability to explore organizations (#3573)Daniel Oaks2016-09-01
| | | | | | * Add ability to explore organizations * Use right icon for org explore links
* #3559 fix template errorUnknwon2016-08-31
|
* models/login_source: code improvementUnknwon2016-08-31
|
* #3515 use alert instead 500 for duplicated login source nameUnknwon2016-08-31
|
* Support Editorconfig on web editor (#3512)无闻2016-08-30
|\
| * Support Editorconfig on web editorAndrey Nering2016-08-30
| |