aboutsummaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Improvements for supporting UI Location (#3146)Lunny Xiao2017-12-142-3/+10
| | | | | | * improvements for supporting UI Location * improved the comment
* Fix new pull request link (#3133)Ethan Koenig2017-12-131-1/+0
| | | | | | * Fix new pull request link * Only show button for branches
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-114-13/+87
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Fix compile failed without gcc (#3130)Lunny Xiao2017-12-101-1/+0
| | | | | | * fix comile failed without gcc * add sqlite tag for unit test
* Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092)Antoine GIRARD2017-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Add failing test * Fix urls * Improve url in tests * improve testing * Remove debug code * Add deps * LFS corner-case : Search on lower but store with case * Temporary comment of blocking action * fix hooks * Use temporary repo for git client test * Use userPassword in place of hard-coded password
* Fix missing branch in release bug (#3108)Ethan Koenig2017-12-081-0/+10
|
* Fix legacy URL redirects (#3100)Ethan Koenig2017-12-071-1/+5
|
* fix redis cache failed (#3086)Lunny Xiao2017-12-041-1/+1
|
* Fix error message sanitiziation (#3082)Ethan Koenig2017-12-041-0/+48
|
* Add reactions to issues/PR and comments (#2856)Lauris BH2017-12-044-1/+29
|
* Minor copy changes (#3074)techknowlogick2017-12-031-1/+1
| | | | | | | | * Minor copy changes Fixes #3058 * Use TrN for translations that depend on count Fix minor type with branches count
* Fix avatar URLs (#3069)Ethan Koenig2017-12-033-23/+91
| | | | | | * Fix avatar URLs * import order
* Fix missing password length check when change password (#3039)Lunny Xiao2017-12-021-1/+3
| | | | | | * fix missing password length check when change password * add tests for change password
* Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName (#3043)Lunny Xiao2017-12-022-17/+9
| | | | | | | | | | * remove GetRepositoryByRef and add GetRepositoryByOwnerAndName * fix tests * fix tests bug * some improvements
* Default log level to Info without hardcoding it in installer (#3041)Piotr Orzechowski2017-12-011-8/+9
|
* Unit tests for wiki routers (#3022)Ethan Koenig2017-11-301-16/+30
|
* Expandable commit bodies (#2980)Sondre Nilsen2017-11-301-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Removed unused field in form (#3023)Ethan Koenig2017-11-291-4/+3
|
* Set OpenID support on by default when installing new instance (#3010)Sandro Santilli2017-11-291-1/+1
|
* Memory usage improvements (#3013)Duncan Ogilvie2017-11-291-0/+3
| | | | | | | | | | * govendor update code.gitea.io/git Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com> * Greatly improve memory usage Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Fix git lfs path (#3016)Antoine GIRARD2017-11-291-6/+13
| | | | | | | | * add suffix .git * Remove Content-Type on GET methods * Add migrations to force creation before any further potential migration
* Git LFS lock api (#2938)Antoine GIRARD2017-11-281-0/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement routes * move to api/sdk and create model * Implement add + list * List return 200 empty list no 404 * Add verify lfs lock api * Add delete and start implementing auth control * Revert to code.gitea.io/sdk/gitea vendor * Apply needed check for all lfs locks route * Add simple tests * fix lint * Improve tests * Add delete test + fix * Add lfs ascii header * Various fixes from review + remove useless code + add more corner case testing * Remove repo link since only id is needed. Save a little of memory and cpu time. * Improve tests * Use TEXT column format for path + test * fix mispell * Use NewRequestWithJSON for POST tests * Clean path * Improve DB format * Revert uniquess repoid+path * (Re)-setup uniqueness + max path length * Fixed TEXT in place of VARCHAR * Settle back to maximum VARCHAR(3072) * Let place for repoid in key * Let place for repoid in key * Let place for repoid in key * Revert back
* Various wiki bug fixes (#2996)Ethan Koenig2017-11-282-1/+4
| | | | | | * Update macaron * Various wiki bug fixes
* Fix go-get, src and raw urls to new scheme (#2978)Lauris BH2017-11-272-2/+2
|
* Fix language names (#2955)Piotr Orzechowski2017-11-231-1/+1
|
* Fix over-escaped characters (#2956)Ethan Koenig2017-11-221-6/+4
|
* Add dingtalk webhook (#2777)Lunny Xiao2017-11-212-1/+12
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Drop deprecated GOGS_WORK_DIR use (#2946)Jonas Bröms2017-11-211-4/+0
|
* Apply LANDING_PAGE config options for logged in users (#2894)schaffman52017-11-201-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Extended LANDINGPAGE config variable to logged in users and added switch for 'organizations' in addition to 'home' and 'explore'. * Updated comments. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Extended LANDINGPAGE config variable to trigger when user logs in and added switch for 'organizations' in addition to 'home' and 'explore'. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Extended LANDINGPAGE config variable to logged in users and added switch for 'organizations' in addition to 'home' and 'explore'. * Updated comments. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Extended LANDINGPAGE config variable to trigger when user logs in and added switch for 'organizations' in addition to 'home' and 'explore'. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Removed superfluous conditional and correct whitespace. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Update app.ini Reverted new line. * Formatting. Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Fix memcache support when value is returned as string always (#2924)Lauris BH2017-11-161-2/+27
|
* Update go-ini dependency and remove semicolon hack in translations (#2913)Lauris BH2017-11-151-4/+0
|
* Gogs -> Gitea (#2909)Sandro Santilli2017-11-141-1/+1
| | | rename label
* Fix run command race (#1470)Mura Li2017-11-132-22/+33
| | | | | | | | | | * Use exec.CommandContext to simplfy timeout handling And fixing the data races which can be identified by the added tests when -race enabled. * Use sleep commmand instead of reading from stdin * Make the error handling go-esque
* Correct ldap username validation. (#2880)Jochen Rill2017-11-131-1/+1
| | | | PR #342 was only partially applied. Spaces should not be at the start and end of a username but they can be inside.
* Fix localization texts that contain semicolon (#2900)Lauris BH2017-11-131-0/+4
|
* Update swagger documentation (#2899)Ethan Koenig2017-11-131-5/+8
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Fix issue link rendering in commit messages (#2897)Ethan Koenig2017-11-133-45/+121
| | | | | | | | | | * Fix issue link rendering in commit messages * Update page.tmpl * No links for parens * remove comment
* Add LFS object verification step after upload (#2868)Lauris BH2017-11-082-2/+63
| | | | | | | | | | | | * Add LFS object verification step after upload * Fix file verification condition and small refactor * Fix URLs * Remove newline and return status 422 on failed verification * Better error hadling
* Add external markup render support (#2570)Lunny Xiao2017-11-072-1/+137
| | | | | | | | | | | | | | | | | | | | | | * add external markup render support * bug fixed * refacotr codes and fix wrong error log * fix comments and add check to prevent leaks * add check for config file and improve the example * check file close error * use ioutil.TempFile instead uuid * correct Render -> Parser * improve warning when incorrect markup setting * fix typos
* Fix LFS not returning correct content length when requesting a range of ↵Jacob Parry2017-11-071-1/+1
| | | | bytes (#2864)
* fix click create pull request button 404 (#2859)Lunny Xiao2017-11-051-0/+1
|
* Clean repository ROOT directory name with filepath.Clean (#2846)Mike Fellows2017-11-041-2/+2
| | | For better compatibility with Windows.
* Fix API raw file content access for default branch (#2849)Lauris BH2017-11-041-1/+5
|
* Fix API raw requests for commits and tags (#2841)Lauris BH2017-11-041-1/+4
|
* Set session and indexers' data files rel to AppDataPath (#2192)Guillaume Dube2017-11-031-53/+58
| | | | | | | | | | * Set session and indexers' data files rel to AppDataPath The setting AppDataPath is now relative to the working directory. The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions. The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves. * fix bug
* Fix redirect url of legacy commits route (#2825)Morlinest2017-11-031-11/+1
|
* Configurable SSH key exchange algorithm and MAC suite (#2806)Cum Gun2017-11-022-2/+16
|
* Fix Git LFS object/repo link storage in database and small refactoring (#2803)Lauris BH2017-10-301-54/+34
|
* Make URL scheme unambiguous (#2408)Ethan Koenig2017-10-301-21/+99
| | | | | | | | | | * 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-276-13/+378
| | | Indexed search of repository contents (for default branch only)