1821 Commits (f4190f8df869ce3031b705089fc9340c8d1862aa)

Author SHA1 Message Date
Lunny Xiao 727675dd46 fix config session missing data row & resolved #517 (#549) 8 years ago
Thiago Avelino 787fda53ef UI config to toggle whether user email shows up in Explore Users (#336)
* UI config to toggle whether user email shows up in Explore Users

* Recommendation made by @tboerger
66a1c59fe7 (r94122732)

* fixed typo, rename ShowUserEmailInExplore to ShowUserEmail

* Fixed typo merged conflict

* Hide email in the user profile page

if you are active ShowUserEmail
ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725

* Please replace MustBool() with MustBool(true)
8 years ago
Lunny Xiao 96c201273e
resolved #517: fix admin ui data row missing 8 years ago
Schwobaland c0904f1942 Restrict creating organisations by user (#193)
* restrict creating organizations based on right on user

* revert bindata.go

* reverse vendor lib

* revert goimports change

* set AllowCreateOrganization default value to true

* revert locale

* added default value for AllowCreateOrganization

* fix typo in migration-comment

* fix comment

* add coments in migration
8 years ago
Andrey Nering 6069abe5fd Notifications - Step 2 8 years ago
Andrey Nering b992858883 Tab on user profile to show starred repos (#519)
* Tab on user profile to show starred repos

* Make golint happy and use transactions on StarRepo function

* x -> sess

* Use sess.Close() instead of sess.Rollback()

* Add copyright

* Fix lint
8 years ago
Kjell Kvinge 22e1bd31c6 commithgraph / timeline (#428)
* Add model and tests for graph

* Add route and router for graph

* Add assets for graph

* Add template for graph
8 years ago
Sl@ny c22f9114c7 Implementation of Folder Jumping 8 years ago
Bwko 331316894e Replace Gogs with Gitea (#520) 8 years ago
Bwko 6388761129
Added Dutch translations to the landingpage 8 years ago
Bwko 71dee6b7c0 Improve the way how branches are deleted
Delete branch from HeadRepo instead of BaseRepo
Prevent the deletion of a master branch
Show a yes/no overlay when you press the delete branch button
8 years ago
Fabian Zaremba 2e7ccecfe6 Git LFS support v2 (#122)
* Import github.com/git-lfs/lfs-test-server as lfs module base

Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198

Removed:

Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go
.dockerignore .gitignore README.md

* Remove config, add JWT support from github.com/mgit-at/lfs-test-server

Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83

* Add LFS settings

* Add LFS meta object model

* Add LFS routes and initialization

* Import github.com/dgrijalva/jwt-go into vendor/

* Adapt LFS module: handlers, routing, meta store

* Move LFS routes to /user/repo/info/lfs/*

* Add request header checks to LFS BatchHandler / PostHandler

* Implement LFS basic authentication

* Rework JWT secret generation / load

* Implement LFS SSH token authentication with JWT

Specification: https://github.com/github/git-lfs/tree/master/docs/api

* Integrate LFS settings into install process

* Remove LFS objects when repository is deleted

Only removes objects from content store when deleted repo is the only
referencing repository

* Make LFS module stateless

Fixes bug where LFS would not work after installation without
restarting Gitea

* Change 500 'Internal Server Error' to 400 'Bad Request'

* Change sql query to xorm call

* Remove unneeded type from LFS module

* Change internal imports to code.gitea.io/gitea/

* Add Gitea authors copyright

* Change basic auth realm to "gitea-lfs"

* Add unique indexes to LFS model

* Use xorm count function in LFS check on repository delete

* Return io.ReadCloser from content store and close after usage

* Add LFS info to runWeb()

* Export LFS content store base path

* LFS file download from UI

* Work around git-lfs client issue with unauthenticated requests

Returning a dummy Authorization header for unauthenticated requests
lets git-lfs client skip asking for auth credentials
See: https://github.com/github/git-lfs/issues/1088

* Fix unauthenticated UI downloads from public repositories

* Authentication check order, Finish LFS file view logic

* Ignore LFS hooks if installed for current OS user

Fixes Gitea UI actions for repositories tracking LFS files.
Checks for minimum needed git version by parsing the semantic version
string.

* Hide LFS metafile diff from commit view, marking as binary

* Show LFS notice if file in commit view is tracked

* Add notbefore/nbf JWT claim

* Correct lint suggestions - comments for structs and functions

- Add comments to LFS model
- Function comment for GetRandomBytesAsBase64
- LFS server function comments and lint variable suggestion

* Move secret generation code out of conditional

Ensures no LFS code may run with an empty secret

* Do not hand out JWT tokens if LFS server support is disabled
8 years ago
Lunny Xiao 4b7594d9fa Provide button to delete merged pull request (#441)
* provide button to delete merged pull request

* golint fix
8 years ago
Bwko fa3abc22c0 Added sorting to organizations, repos & users page (#222) 8 years ago
Bwko a345a03d99 Added sorting to the labels & milestones page (#199) 8 years ago
Lunny Xiao c46eb3f5b3 Fix homepage docs link broken (#417)
* fix homepage docs link broken

* fix homepage docs links after docs updated
8 years ago
Joubert RedRat ce21ed6c34 Remove remaining Gogs reference on locales and cmd (#430) 8 years ago
Nico Mandery 6ade13e86e serve video files using the HTML5 video tag (#418)
* serve video files using the HTML5 video tag

* lint fix: add comment to IsVideoFile
8 years ago
Sandro Santilli 1831ee2d1d Update example install url from try.gogs.io to try.gitea.io (#385)
* Update example install url from try.gogs.io to try.gitea.io

* Ask if issue can be reproduced on try.gitea.io

* Link try.gitea.io to the README
8 years ago
Henning Henkel bab737bf02 Fix alignment of tooltip and add bindata - related to #359 (#364) 8 years ago
Henning Henkel 08b9af9ad8 Added download tooltip - solves #221 (#359) 8 years ago
Thomas Boerger 83ed234472 Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
8 years ago
Avelino d93429af8b Fixed project name on base template head 8 years ago
Avelino 7e09f80ee3 Fixed project name on repo template mail 8 years ago
Avelino baf60bf603 Fixed project on repo template hook settings 8 years ago
Bwko 5ab85372da Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
8 years ago
Lunny Xiao 590a79ff8a Resolved #296 (#324)
* resolved #296

* Indentation fixed
8 years ago
Lunny Xiao 2343feadd4 resolved #310: hide fork to self (#323) 8 years ago
Bwko 1e9730a779 Fixes xss, clickjacking & password autocompletion 8 years ago
Lunny Xiao abf6c3a8e3 bug fixed caused by #295 (#299) 8 years ago
Matthias Loibl 7b6cc9244d Update link on user’s profile avatar to avatar settings (#287) 8 years ago
Sandro Santilli cd339263d9 Allow updating draft releases while keeping them as draft
Closes #162
8 years ago
Lunny Xiao b339858500 replace footer gogs to gitea (#157) 8 years ago
Andrey Nering 96c9fef35f Update home page to Gitea (#138) 8 years ago
Matthias Loibl 63ca42d17f Fix bug that tries to load mistyped templates 8 years ago
Lunny Xiao 1b238fe4d5 Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
8 years ago
Joubert RedRat f91cbf0fed Support to last login feature 8 years ago
Matthias Loibl 45c4539c61 Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
8 years ago
Flare 01c5233b53
Fixed 404 caused by unexpected question mark
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
8 years ago
Lunny Xiao 5667d4daae Merge pull request #73 from bkcsoft/gt/2164-release-pagination
Add Pagination to Releases-page (and de-duplicate pagination templates)
8 years ago
Thomas Boerger ceb920802a
Dropped link to Gogs docs from template 8 years ago
Kim "BKC" Carlbäcker 562f9b6eae Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
8 years ago
Kim "BKC" Carlbäcker 86fb1a0cb1 Add Pagination to Releases-page 8 years ago
Rachid Zarouali be5607e510 Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
8 years ago
Joubert RedRat ff54e4d929 Set default less and css to new default name 8 years ago
Rémy Boulanouar 8dc49dc114 Implementation of the feature to redirect to an external issue tracker 8 years ago
Thibault Meyer 17f9ab4ff8 Use user fullname if resolved 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Thibault Meyer 93f1eabe30
rename variable + fix wiki link 8 years ago
Thibault Meyer 9d66497abc
Can disable GIT interactions by HTTP protocol 8 years ago
Unknwon 7e15ff9486
Update locales
Add new locale Serbian (Cyrillic)
8 years ago
Unknwon 491407ddf8
#3590 fix 404 for release draft edition
Closes #3591
8 years ago
Unknwon 6da55159a2
#3589 LoadRepoConfig after ORM is initialized 8 years ago
Unknwon c50d59874d
#3577 incorrect URL produced by AvatarLink 8 years ago
Daniel Oaks b3d9ca4ccd Add the ability to explore organizations (#3573)
* Add ability to explore organizations

* Use right icon for org explore links
8 years ago
raphael10241024 178556142a fix link error under preview (#3566) 8 years ago
Unknwon 7c1fbed057 Fix panic when attempt login with non-exist user 8 years ago
Thibault Meyer bc902b8f74 Feature #3492: Add option to hide footer load times (#3562)
* Add option to hide footer load times

* Rename option variable + minor changes
8 years ago
Unknwon 8ee14db51e Update locales 8 years ago
Unknwon dadd35b636 #3559 fix template error 8 years ago
Unknwon 152e715999 models/login_source: code improvement 8 years ago
无闻 cd9b926af7 Support Editorconfig on web editor (#3512) 8 years ago
Andrey Nering 9ac46fb983 Support Editorconfig on web editor 8 years ago
Unknwon 8516dfcb6c #2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon 22e14a0a67 templates/repo/view: fix bad link 8 years ago
Unknwon 643142acab Web editor: support upload files 8 years ago
Unknwon 780cc2d110 router/repo: code refactoring 8 years ago
Unknwon 28cf0e6aaa #3459 code quality improvement 8 years ago
Thibault Meyer 92fb30c526 Load a set of predefined labels (#3459)
* Can use a predefined set of labels

* Change UI

* Fix HTML file indentation

* Avoid reading file from other directory (security issue)

* Apply a better fix

* Remove not used variable

* Merge upstream/develop

* Do modifications

* Raname

* remove binding + rename variable
8 years ago
Unknwon 62b0dc4853 Web editor: fix cannot create new file in subdirectory 8 years ago
Unknwon 579e5e4fee Web editor: disallow edit mirror repository 8 years ago
Unknwon ba27d71abe Web editor: improve edit file 8 years ago
Unknwon 0114fdcba4 Web editor: improve delete file process 8 years ago
Unknwon dad5c15520 #2901 allow setting preferred licenses
- Closes #3488
8 years ago
Unknwon 6e171c5225 Web editor: improve edit file tooltip 8 years ago
Unknwon c30b856d14 #3505 use user’s info for committer and author 8 years ago
Unknwon 13a8823bd3 #3495 only start builtin SSH server after user finish installation 8 years ago
Unknwon bbca2916f7 Update highlightjs 8 years ago
Unknwon bb359a74f1 migrations: set comment updated as created 8 years ago
Unknwon 6b98d58906 #2966 code cleanup 8 years ago
Unknwon f8a48ffaad Web editor: improve code quality 8 years ago
Unknwon 0b273ac4d5 #3383 code cleanup 8 years ago
Unknwon 7f7216be6e Code quality improvement on JS 8 years ago
Unknwon a00c932bbc General code quality improvement 8 years ago
Unknwon 6f9a95f830 #2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon 9349def72e #3464 reproduce diff signs
Commited wrong file.
8 years ago
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function 8 years ago
Unknwon 61e27dedf7 #3466 fix response of pull request form validation error 8 years ago
Unknwon 8637e67e6f Fix outdated edit can’t overwrite changes 8 years ago
Unknwon 4a19fd6441 Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
8 years ago
Unknwon 54e0ada9d5 Web editor: improve delete file 8 years ago
Unknwon cd89f6c502 Web editor: improve edit file and diff preview 8 years ago
Unknwon 15845cb287 Code clean up for new config options 8 years ago
Richard Mahn d0a0239bac Squashed commit of the following:
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 17:13:29 2016 -0600

    Removed Upload stats as the upload table is just a temporary table

commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:42:41 2016 -0600

    Fix for CodeMirror mode

commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:03:33 2016 -0600

    Made tabbing in editor use spaces

commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:56:46 2016 -0600

    Fix for data-url

commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:42:53 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go
    	public/js/gogs.js

commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:40:00 2016 -0600

    Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file

commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:39:44 2016 -0600

    Code cleanup

commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 29 15:38:23 2016 -0600

    Code cleanup

commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 18:36:01 2016 -0600

    Code cleanup and fixes

commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 18:24:04 2016 -0600

    Fixes per Unknwon's requests

commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 17:13:43 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go
    	modules/setting/setting.go

commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:09:18 2016 -0600

    Fix in gogs.js

commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:07:36 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go
    	public/js/gogs.js

commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:02:18 2016 -0600

    Update for using CodeMirror mode addon

commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Tue Jul 19 16:12:57 2016 -0600

    Update for Edit

commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Tue Jul 19 11:52:02 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go

commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 15 18:35:42 2016 -0600

    Feature for editing, creating, uploading and deleting files
8 years ago
Unknwon 7e7613cdec Fix template nil error 8 years ago
Unknwon a5b88c4d0c Fix template error [CI SKIP] 8 years ago
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls 8 years ago
Unknwon 3f7f4852ef #2246 fully support of webhooks for pull request 8 years ago
Unknwon 0f33b04c87 Add subcommand to create new user in CLI 8 years ago
Justin Ray Vrooman f1a5a4277d fix grammar + typo. (#3453) 8 years ago
Andrey Nering dbed39ba05 On showing diff/file, use the tab_width specified on .editorconfig, if any (#3241)
Closes #3182
8 years ago
Andrey Nering 25b23c4bc9 Do not show non-image attachment in a <img> tag. Fixes #3215 (#3311) 8 years ago
Unknwon a47aef5460 #2852 code cleanup 8 years ago
Unknwon 5077408d78 #3233 code cleanup and minor issue fix 8 years ago
Andrew 0885784f13 Wiki mirroring implementation (#3233)
* Implement wiki mirroring, add Update mirrors operation to admin dashboard

* bindata.go update after merge

* Implement checking Git repo endpoint existence, support for BB included

* Remove admin dashboard operation
Fix bindata.go

* Apply gofmt to repo model file

* Try to remove bindata from PR

* Revert accepted wiki names change in favor of better system

* Remove unused imports
8 years ago
Sandro Santilli 3380c946e1 Always set redirect_to on header-provided sign-in (#3435)
This is an attempt to fix #3089 following the strategy introduced
in d625e41c6c, although that strategy
by itself does not seem to be sufficient.

What needs be done is honouring the redirect_url query parameter
from the auth router.
8 years ago
Unknwon d625e41c6c #3408 minor code fix 8 years ago
Sandro Santilli eb1bfe0e59 Do not show the "Sign up for free" button in issue tracker (#3408)
* Do not show the "Sign up for free" button in issue tracker

The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.

Fixes #3407 (link to nowhere when registration is disabled)

* Move html from translation to template

* Remove extra space in `{{ .SignInLink }}`.
8 years ago
Unknwon 0f26f3678a #3279 use doer email for FROM field of issues 8 years ago
Thibault Meyer 6a81632e36 Fix typo CacheInternal -> CacheInterval (#3432) 8 years ago
Unknwon b85927e488 #3091 show Git configs on admin panel 8 years ago
Unknwon 5448d29b2e #3417 wrong dashboard issue count for create by you 8 years ago
Unknwon edd786446c #3158 skip RUN_USER check on Windows 8 years ago
Unknwon f70343660d Little code refactoring 8 years ago
Rory McNamara c8b45ecc27 Render the Code view on the server (minus syntax highlighting) (#2942)
* render code view server side

* remove debug print

* fix multiline selection bug

* change string concatenation to bytes.Buffer for efficiency

* Fix newlines added by previous for hljs

* fix selection highlighting

* make css changes in .less
8 years ago
Unknwon 9e8a8867ea #3325 use correct word for .gitignore 8 years ago
Unknwon bbe866122d #3406 fix regression of MustEnableIssues check 8 years ago
Unknwon 90af997fec #3399 500 for upstream pulls page if user has forked repository 8 years ago
Unknwon b73318bc62 Fix 404 when comment on pulls and not using interal issue tracker 8 years ago
Unknwon e5bf4281b5 #2825 early response 200 when ?go-get=1 8 years ago
Unknwon 99385db0c4 #3320 code cleanup 8 years ago
Sandro Santilli 90dd0657b5 Add support for federated avatars (#3320)
* Add support for federated avatars

Fixes #3105

Removes avatar fetching duplication code
Adds an "Enable Federated Avatar" checkbox in user settings
(defaults to unchecked)

Moves avatar settings all in the same form, making
local and remote avatars mutually exclusive

Renames UploadAvatarForm to AvatarForm
as it's not anymore only for uploading

* Run gofmt on all modified files

* Move Avatar form in its own page

* Add go-libravatar dependency to vendor/ dir

Hopefully helps with accepting the contribution.
See also #3214

* Revert "Add go-libravatar dependency to vendor/ dir"

This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82.

* Make federated avatar setting a global configuration

Removes the per-user setting

* Move avatar handling back to base tool, disable federated avatar in offline mode

* Format, handle error

* Properly set fallback host

* Use unsupported github.com mirror for importing go-libravatar

* Remove comment showing life exists outside of github.com

... pity, but contribution would not be accepted otherwise

* Use Combo for Get and Post methods over /avatar

* FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR

* Fix persistance of federated avatar lookup checkbox at install time

* Federated Avatars -> Enable Federated Avatars

* Use len(string) == 0 instead of string == ""

* Move import line where it belong

See
https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md

Pity the import url is still the unofficial one, but oh well...

* Save a line (and waste much more expensive time)

* Remove redundant parens

* Remove an empty line

* Remove empty lines

* Reorder lines to make diff smaller

* Remove another newline

Unknwon review got me start a fight against newlines

* Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE

On re-reading the diff I figured what Unknwon meant here:
https://github.com/gogits/gogs/pull/3320/files#r73741106

* Remove newlines that weren't there before my intervention
8 years ago
Unknwon ec92565f23 #3393 fix missing sub-url prefix in relative avatar link 8 years ago
Unknwon 72dd299ca0 Update .gitattributes 8 years ago
Unknwon ab9c5fb5e7 #2593 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
8 years ago
rugk 28dc5bb566 Replace gogs.io http links with https version (#3386) 8 years ago
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues 8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon 2f105f3979 #2162 completely disable builtin issue tracker when enable external tracker 8 years ago
Unknwon e7fd65f0cf #3290 better code structure and batch minor improvements 8 years ago
Unknwon 991ce42c48 #2162 improve repository advance options UI display
Enable/disable input based on user chosen options for wiki and issue tracker.
8 years ago
Unknwon 10dc330640 #3345 dump content directly to HTTP ResponseWriter 8 years ago
Okunev Yu Dmitry 55b4e77a5e Fix of template error in "/:owner/:repo/pulls" (#3343)
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:

  template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link

This commit fixes that.

Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
8 years ago
Unknwon 8aa0a76702 #3327 fix wrong table name in Join 8 years ago
Unknwon 2d76de2574 #3281 fix x.Iterate returns nothing inside session scope with SQLite3 8 years ago
Unknwon 4d8b905541 models/ssh_key: code cleaning 8 years ago
Unknwon 899e799459 #1601 support delete issue comment 8 years ago
Unknwon 2295fafb34 repo/settings/options: take naming style examples out of locale string 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 024fcc836b Minor HTML fix for delete repository notice 8 years ago
Unknwon 26d52ceb48 #3186 fix wrong link for new pull request button of non-fork repository 8 years ago
Unknwon 69f5308761 #2903 use different reversed words and patterns for repository and user 8 years ago
Unknwon 4b5e09e4d6 #3181 detect situation when base branch is deleted in pull request 8 years ago
Unknwon 4f78abe7dc #3066 fix create organization ignores full name property 8 years ago
Unknwon 745167d57a #3157 create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
8 years ago
Unknwon c912494609 #3076 detect invalid tag name git error 8 years ago
Siarhei Navatski cf85e9eb7b add IsSubmodule field to DiffFile and hide view file button on diff page for submodules (#3097) 8 years ago
Unknwon ae88d76032 Bump version 8 years ago
Unknwon 57af7432fc #3295 fix wrong logic judgement 8 years ago
Unknwon b0eb47cb1c Fix misselection of issues view type 8 years ago
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID 8 years ago
Unknwon eac32419fc templates/org/home: minor UI fix 8 years ago
Unknwon 971e2c3bd6 Upgrade octicon to 4.3.0 8 years ago
Unknwon c083d76567 #2937 able to prohibit user login 8 years ago
Unknwon 3d93532c87 #3274 fix can't get webhook detail of organization 8 years ago
Unknwon fff615d5fc Bump version 8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened 8 years ago
Unknwon 7ca5f8f119 models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
8 years ago
Unknwon 194a742fb9 #2798 fix assign operation not take effect 8 years ago
Richard Mahn 7796c9e122 Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui (#3267) 8 years ago
Kim Carlbäcker f4ab50501e [Fix] Don't display way too large files #1513 (#3253)
* Add MaxDisplayFileSize setting

* Don't show files that are too large

* Localized FileTooLarge

* Change IsFileTooBig => IsFileTooLarge
8 years ago
Unknwon de10387f41 #2586 bump git-module requirement 8 years ago
Unknwon fdcca9292e #2458 fix emoji been rendered inside raw content area 8 years ago
Unknwon a1f717f65a Update locale 8 years ago
Unknwon 9fcf66f0e0 Minor fix for #3246 8 years ago
Pablo Saavedra 98b152030d The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246)
Executed go fmt

getEngine() not handles DB parameters (#2972) (#2974)

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
8 years ago
Pheng Heong TAN 467d7dacb6 Modify behaviour of repo-delete. (#3232)
Re: issues gogits/gogs#2863 and gogits/gogs#3231

As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.

Meta
-----
This commit will be rebased onto the 'develop' branch.
8 years ago
Unknwon d62ab49978 #3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
8 years ago
Unknwon 401bf944ef Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
8 years ago
Unknwon 326c982660 Upgrade frontend assets 8 years ago
Unknwon 4b25bdfbc4 #3058 #3059 support correct page size and link header 8 years ago
Unknwon 6aa00f7bcf #2968 use HTTP_ADDR to replace localhost 8 years ago
Unknwon e84ac64964 Do not show filename not have suffifx .md 8 years ago
Unknwon 7938506e07 #518 update git-module require version 8 years ago
Unknwon 6f7276278d #3174 genetate bindata 8 years ago
Andrey Nering 743d22669a Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174) 8 years ago
Andrey Nering 6efb1e5626 Localize collaboration settings. (#3100)
Closes #2764
8 years ago
Unknwon 73b4acbb63 Update glide.yaml 8 years ago
Unknwon 4bbb878d20 Minor fix for #3194
- Update locale bindata
8 years ago
Sandro Santilli 76a0e43e88 Do not assume avatar needs be changed from gravatar.com (#3209)
Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.

NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept

NOTE: requires rebuild of bindata.go to fully see effects
8 years ago
Unknwon c041273dd3 repo/http: clean code 8 years ago
Unknwon 8df3ba96f3 #2954 use text/plain as default email content format 8 years ago
Unknwon e9ae926e04 #809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
8 years ago
Unknwon 7826eae452 #3045 fix DEPRECATED Action signature erorr 8 years ago
Unknwon fbf43c31e5 Add Czech support 8 years ago
Unknwon 0a78d99a4d models/release: filter input to prevent command line argument vulnerability 8 years ago
Kim Carlbäcker 3df8eb60e3 PDF-Previews in file-lists now working (#3000) 8 years ago
Unknwon 0325bec283 #2895 minor fix for bug of xorm 8 years ago
Unknwon 7049cb9d97 Add new language support
- Update language choose dropdown to fit more languages
8 years ago
Unknwon 78b8b63774 #2992 set default style name when empty in AfterSet 8 years ago
Cosmin Stroe ba314a7a36 Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992) 8 years ago
Kim Carlbäcker b3c05026df [Feature/WIP] Confirm on editing forms (fixes #2881) (#2980)
* Add and start jQuery AreYouSure

* Update SimpleMDE to 1.10.1 for `forceSync` support

* Forgot to remove old version SimpleMDE 1.10.0

* formatting -.-
8 years ago
Unknwon a27c6f4b75 #2916 fix sort' field missing on issue pagination link 8 years ago
Unknwon 762ab056a2 Fix XORM IN condition table name parse 8 years ago
Unknwon ac53bb593d #2878 print error of JSON unmarshal and always returns a valid object 8 years ago
Unknwon b1d41cfa60 #1692 add admin APIs to add/remove a user from teams 8 years ago
Unknwon 98b58fa050 Handle windows deletion when start
Fix #2872
8 years ago
Unknwon e6f927f61a #1692 api: admin list and create team under organization 8 years ago
Unknwon 60ae8ac3d2 Add route for #2846 8 years ago
Unknwon 004fb30ebe Remove code for checking ssh-keygen 8 years ago
Unknwon 9e09e48502 #2850 fix potential SSH commands dislocation
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.

Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
8 years ago
Unknwon 0048980da5 Merge pull request #2845 from moltam/feature/org-member-full-name-avatar
Display org member's full name in link title.
8 years ago
Tamás Molnár d169d00be6 Display org member's full name in link title. 8 years ago
Unknwon ff731ea07d #2814 LOWER() column value within search 8 years ago
Unknwon 9a5a27ea8d Improve repository lable style
- add border-radius to filter list items
- use color as background of label for issue/pull view page
8 years ago
Unknwon 2df42e369e Merge pull request #2829 from odinuge/htmlmeta
Set description meta tag correctly
8 years ago
Odin Ugedal 01ff65a93e Fix indent 8 years ago
Odin Ugedal a75fa58e1c Make description meta tag golang 1.4 compatible 8 years ago
Unknwon a04596659b Merge pull request #2830 from odinuge/branchname-compare
Fix problems with '#' in branchname
8 years ago
Unknwon 149d62a648 #13 fix admin can't search private repos
- update glide info
8 years ago
Odin Ugedal c9321550e0 Add prorper escaping of url in issue form 8 years ago
Odin Ugedal ac390d28b8 Fix problems with '#' in branchname
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822.
8 years ago
Odin Ugedal 561e5f9ccb Set description meta tag correctly
Set the description meta tag correctly when there is no repo
description. Also use the  ability to trim trailing whitespaces,
to make the template cleaner.
8 years ago
Odin Ugedal 85d7afeba0 Set HTML meta values corresponding to repository
Use the authors name, and the description of the repo in HTML meta.
Pages without repository context will display as before.
8 years ago
Unknwon 9bd9ad4205 #1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
8 years ago
Unknwon b4f47a7623 #1891 attempt to fix invalid csrf token 8 years ago
Unknwon d733efc1cc #1286 #2098 Alpha support for custom templates
No guarantee for compatibility with future changes
8 years ago
Unknwon c6277cce51 Minor fixes for #2761 8 years ago
Unknwon 6530375dbf Merge pull request #2761 from soudy/grey-out-merge-commit
Grey out merge commits
8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Unknwon 5267dce210 Fix ref comment from commit create empty feed 8 years ago
Unknwon 97c48da49f Merge pull request #2803 from Rukenshia/develop
Using HTML Description of repositories in the 'Explore' view. Fixes #…
8 years ago
Jan Christophersen 1e74ee51ff Using HTML Description of repositories in the 'Explore' view. Fixes #2800 8 years ago
Unknwon eed9966ad6 #2727 fix incompatible SQL in PostgreSQL 8 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 8 years ago
Unknwon 0c9a616326 Update frontend resources 8 years ago
Unknwon 0e9bc2d410 Fix pull request availability check 8 years ago
Unknwon 0ea0c5ec4f Prepare release 8 years ago
Unknwon 12b5a76b0d Minor fix for #2772 8 years ago
Unknwon a4452864ea Merge pull request #2772 from OhDaeto/master
Add ru-RU to home template
8 years ago
xDShot d8738f5bfd минимальные -> низкие (системные требования) 8 years ago
Unknwon 9cf7f3e46f Remove duplicated of code 8 years ago
Lourens 14aba3489e Add ru-RU to home template 8 years ago
Unknwon 13bd16af92 Minor fixes for #2766 8 years ago
Tamás Molnár 9c91e27933 Added: Ability to delete org avatar. 8 years ago
Unknwon a5b0400be7 #1146 finish new access rights for collaborators 8 years ago
Unknwon 045f14fbd0 #1146 finsih UI work for access mode of collaborators
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
8 years ago
Unknwon 414eb22ef9 #1597 fix activitity feeds for pull requests 8 years ago
Steven Oud 1d3ec27cb7 Put if statement of grey merge commits on one line 8 years ago
Steven Oud a0cd59bd0e Grey out merge commits 8 years ago
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
8 years ago
Unknwon dfd6f8f7ab Merge pull request #2757 from joshfng/fix-fork-relative-url
Use relative url when showing forked from
8 years ago
Josh Frye 275464e7fb Use relative url when showing forked from 8 years ago
Unknwon 2d2d85bba4 #1597 support pull requests in same repository 8 years ago
Unknwon 9df6ce48c5 Minor fixes for #2746 8 years ago
Unknwon 4d5911dbcf Merge pull request #2746 from joshfng/feature-delete-wiki-pages
Add ability to delete single wiki pages.
8 years ago
Unknwon d57a2b908a #2743 and #2751 fix bad SQL generated by XORM
Use hand-written SQL to do complex query
8 years ago
Josh Frye 2f228ddf31 Update delete wiki page route 8 years ago