summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Add commit count caching (#2774)Lauris BH2017-10-263-12/+113
| | | | | | | | | | * Add commit count caching * Small refactoring * Add different key prefix for refs and commits * Add configuratuion option to allow to change caching time or disable it
* Add branch overiew page (#2108)Bwko2017-10-262-0/+28
| | | | | | | | * Add branch overiew page * fix changed method name on sub menu * remove unused code
* Add support for extra sendmail arguments (#2731)Jonas Bröms2017-10-252-0/+10
| | | | | | | | | | | | * Add support for extra sendmail arguments * Sendmail args to exec.command should be a list * Add go-shellquote package * Use go-shellquote lib for parsing Sendmail args * Only parse if sendmail is configured
* Sync MaxGitDiffLineCharacters with conf/app.ini (#2779)Michael Kuhn2017-10-251-1/+1
| | | | | MAX_GIT_DIFF_LINE_CHARACTERS was updated in #1845 but the corresponding default value of MaxGitDiffLineCharacters was not changed. This can lead to inconsistencies.
* Fix Polish language name spelling (#2766)Piotr Orzechowski2017-10-241-1/+1
|
* Hide unactive on explore users and some refactors (#2741)Lunny Xiao2017-10-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | * hide unactive on explore users and some refactors * fix test for removed Organizations * fix test for removed Organizations * fix imports * fix logic bug * refactor the toConds * Rename TestOrganizations to TestSearchUsers and add tests for users * fix other tests * fix other tests * fix watchers tests * fix comments and remove unused code
* add default ssh ciphers (#2761)Lunny Xiao2017-10-231-1/+5
|
* Use identicon image for default gravatar. (#2767)harry2017-10-232-2/+2
| | | | | | * Use identicon image for default gravatar. * Fixed tests.
* Configurable SSH cipher suite (#913)spacetourist2017-10-212-1/+6
| | | | | | | | | | | | * Configurable SSH cipher suite * Update configuration file comment * Add default in settings loading code * Fix fmt and log messsage * Remove default from code as this could probably might not be good idea
* Use buffersize to reduce database connection when iterate (#2724)Lunny Xiao2017-10-211-9/+11
| | | | | | | | * use buffersize to reduce database connection when iterate * fix typo * add default value on app.ini comment
* Set default lfs content path (#2521)Jonas Bröms2017-10-191-1/+6
|
* Create new branch from branch selection dropdown (#2130)Lauris BH2017-10-153-3/+35
| | | | | | | | | | * 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
* Fix so that user can still fork his own repository to owned organizations ↵Lauris BH2017-10-151-0/+5
| | | | | | | | | | (#2699) * Fix so that user can still fork his own repository to his organizations * Fix to only use owned organizations * Add integration test for forking own repository to owned organization
* Add Activity page to repository (#2674)Lauris BH2017-10-152-1/+68
| | | | | | | | | | | | | | * 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
* Allow custom SSH user in UI for built-in SSH server (#2617) (#2678)Patrick G2017-10-141-0/+3
| | | | | | | | | | | | | | | | | * Allow custom SSH user in UI for built-in SSH server (#2617) * Some fixes * Did make fmt * Updated according to review - Renamed config to BUILTIN_SSH_SERVER_USER - Removed unnecessary default string value for config item * Updated according to review * Fixed some minor issues
* Refactor duplicated code in repo handlers (#2657)Ethan Koenig2017-10-051-86/+49
| | | | | | * Refactor duplicated code in repo handlers * ctx.Handle
* Fix go get response if only app URL is custom in configuration (#2634)Lauris BH2017-10-022-1/+8
| | | | | | * Fix go get response if only app URL is custom in configuration * Rewrite to update Domain setting to match AppURL
* Make indexer code more reusable (#2590)Ethan Koenig2017-09-252-21/+60
|
* fix go get subpackage bug (#2584)Lunny Xiao2017-09-231-11/+13
| | | | | | * fix go get subpackage bug * merge the duplicated funtions
* Automatically regenerate indexer for incompatible versions (#2524)Ethan Koenig2017-09-231-19/+18
|
* Complete push webhooks (#2530)David Schneiderbauer2017-09-211-1/+1
| | | | | | | | | | | | | | | | | * implemented missing 'delete' push webhooks moreover created ActionDeleteBranch and ActionDeleteTag * add CommitRepoAction tests for tag/branch creation/deletion * fixed error where push webhook not called if is new branch or tag removed unnecessary code * moved prepare unit test environment into separate method to be used across unit tests * add missing if clause in pushUpdate Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-216-53/+122
| | | | | | | | | | | | | | * 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
* Fix sending mail with a non-latin display name. #2102 (#2559)Rémi Saurel2017-09-212-3/+5
| | | | | | | | | | * Fix sending mail with a non-latin display name. #2102 Signed-off-by: Rémi Saurel <contact@remi-saurel.com> * Take into account the possibility that setting.MailService.From is in `name <email@address>` format. #2102 Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
* Sync releases table with tags on push and for mirrors (#2459)Lauris BH2017-09-201-0/+1
| | | | | | | | | | | | | | | * 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