Matthias Loibl
31da225309
Check unhandled errors ( #128 )
8 years ago
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
9 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
9 years ago
Unknwon
13a8823bd3
#3495 only start builtin SSH server after user finish installation
9 years ago
Unknwon
a47aef5460
#2852 code cleanup
9 years ago
Unknwon
70fbcd2f27
models: rename EnableTidb to EnableTiDB
9 years ago
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
9 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
9 years ago
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
4438b7793b
Add new config option for builtin SSH server
...
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
d8a994ef24
Move cron module to independent package
...
Make it easier to keep track of upstream changes and bug fixes
9 years ago
Josh Frye
d3ca5accfd
Remove redundant nil check.
9 years ago
Josh Frye
ec478b4b06
Set default log path if empty during install
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
9 years ago
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Unknwon
037a01c4e4
fix #2189
9 years ago
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
9 years ago
Unknwon
18c841050b
fix 1540 and experimental SSH server support
9 years ago
Unknwon
102b675f96
remove test code 😵
9 years ago
Unknwon
7d72c8333e
work on #470 and fix miror JS issue when choose targets on compare and pull
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
10 years ago
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
10 years ago
Unknwon
e75fd2f783
simplify names
10 years ago
Unknwon
5f1183cecf
#697 add install option
10 years ago
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
10 years ago
Unknwon
aff773f1b9
add tidb support
10 years ago
Unknwon
47df562ced
#1626 default db_type
10 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
10 years ago
Unknwon
302938e646
#1333 Disable Gravatar option when install
10 years ago
Unknwon
ff35a37769
#1458 : Authorities were messed up when using mysql database
10 years ago
Unknwon
bd1d7d1509
Able to set SSH port when install, update Docker docs
10 years ago
无闻
a5e1ada474
Merge pull request #1414 from nice-software/wip/currentUser
...
Factor out function to get the current user
10 years ago
Unknwon
b1696665bd
make cron task configurable
10 years ago
Paolo Borelli
0d38794c7f
Factor out function to get the current user
...
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
10 years ago
Unknwon
cbb78b6a63
better wording
10 years ago
Unknwon
009d692c7d
fix install default db option
10 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
10 years ago
Unknwon
bebbd08920
Disable log color in prod mode
10 years ago
Unknwon
a2a9e151f8
install - add mail from setting
10 years ago
Unknwon
b9dc2147b4
UI: install - done
10 years ago
Unknwon
5cf3732339
UI: install - new version
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
5f594d8774
#1140 MySQL root password exposure
10 years ago
Unknwon
e3dece1371
modules/setting: simple behave change in startup
10 years ago
Unknwon
a38e4a0b02
routers/install.go: able to keep previous custom settings for 2nd time install
...
- .gopmfile: update all commits
10 years ago
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
10 years ago
Unknwon
89ea3e1acc
routers: save partial config when install
10 years ago
Unknwon
b293b6eaa6
cmd: CMD option for port number of `gogs web` to prevent first time run conflict
...
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
10 years ago
Unknwon
bd555551ce
fix #801
10 years ago
Unknwon
79537467da
mirror fix and update
10 years ago
Unknwon
5b96e3fcc7
fix #660
10 years ago
Unknwon
e0de6cb5ad
work on #616 and update locales
10 years ago
Unknwon
3abc41ccca
Fix API broken
10 years ago
Unknwon
7ba9257a7f
Add suburl support
11 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
11 years ago
Unknwon
efb68a0a96
Fix UI issue
11 years ago
Unknwon
0ddb1eb769
Finish new install page, almost ready for 0.5 release
11 years ago
Unknwon
9baf2b38d0
Bug fix on organization
11 years ago
Unknwon
5e81383413
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Unknown
e0f9c628c5
Add create organization
11 years ago
Unknown
9924e65ca1
In progress of name template name constant
11 years ago
Unknown
8bfa7ae745
Remove qiniu/log
11 years ago
Unknown
302c863cda
Fix #242
11 years ago
Unknown
ddb7f55035
Prepare for v0.4.0 release
11 years ago
Unknown
617bbe3fee
Fix #218
11 years ago
Unknown
ff48aeddef
Little bug fix
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
b1bdbd7f94
Almost done issue label #200
11 years ago
Unknown
c1eb4d894a
Clean api code
11 years ago
Unknown
62d23e9154
HTTP no follow and offline mode
11 years ago
Unknown
59d0e73c35
Batch mirror fix
11 years ago
Unknown
8bed017557
Add build tag enable prompt
11 years ago
Unknown
49c01c0b57
Fix import path
11 years ago
Unknown
4b9b8024ba
Clean oauth code
11 years ago
Unknown
9ffa8a4083
finish mirror fix #63
11 years ago
Unknown
d305448fa8
Mirror bug fix
11 years ago
Unknown
45462662e9
Add flash
11 years ago
Unknown
af552596cf
Work on form resubmit
11 years ago
Unknown
a991ebf5d0
Fix #54
11 years ago
Unknown
115a349131
Fix #67
11 years ago
Unknown
2846ff7d31
Fix bug related to log
11 years ago
Unknown
3ebc9b991a
Use gogits/session for oauth2
11 years ago
Unknown
eb803ec5eb
Add transfer repository
11 years ago
Unknown
91e6db1bae
Fix log bug
11 years ago