Unknwon
51da9e41f0
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
10 years ago
Unknwon
c16693e217
modules/git: able to parse RFC1123Z date format #663
10 years ago
Unknwon
700626f527
templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
10 years ago
无闻
38ab4a9e07
Merge pull request #973 from uchti/dev
Fix: 504 5.5.2 <localhost>: Helo command rejected
10 years ago
Gogs
95b1c32f95
add error for hello func
10 years ago
Gogs
187c114e53
Fix: 504 5.5.2 <localhost>: Helo command rejected
10 years ago
Alexey Makhov
dabc9f4991
gitlab-like hash naming
10 years ago
无闻
e507ef770f
Merge pull request #962 from phsmit/dont_mention_php
Remove the "PHP" style formatting function
10 years ago
Peter Smit
2bb8323ab5
Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
10 years ago
Peter Smit
327d3cd26f
Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
10 years ago
Peter Smit
16bfbe24e7
Updating context and fixing permission issues
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Unknwon
32ff782d64
modules/setting: add abs path check before add workdir prefix
10 years ago
Dmitry Azhichakov
e105193e74
Fix "forcing" client certificate for SMTP
10 years ago
Unknwon
16a8a4a4f7
fix mirror issues uncaught #941
10 years ago
Unknwon
7ae5b92db8
code fix #941 caution: undertest
10 years ago
Dmitry Azhichakov
0c2fbf5706
New feature: SMTP connection may use client certificate.
New config keys in [mailer] section:
- CERT_FILE: path to a certificate file.
- KEY_FILE: path to a key file.
10 years ago
Peter Smit
71ea4a71bd
Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go
10 years ago
Peter Smit
81083a9415
Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon
4f24a5ef7d
first pass work on migration #925
10 years ago
Unknwon
07795ce5be
better naming on #891
10 years ago
Unknwon
a44d97e0fd
modules/middleware/auth.go: remove uncheck login for watch a repo #929
10 years ago
Unknwon
a8ac54ff07
able to allow insecure certification of webhook for #891
10 years ago
Peter Smit
5af7b2864c
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
Peter Smit
2529b02dc2
Fixes #921
Fixes #921 and makes the Mention regexp be in line with the others
10 years ago
Unknwon
363c93907c
modules/setting: mirror path issue
10 years ago
无闻
42ba809042
Merge pull request #905 from phsmit/conf_on_cli
Add option to provide configuration file on command line
10 years ago
Unknwon
4bbcb90109
modules/ans1-ber: fix LDAP UTF8 string decoding for #916
10 years ago
Lauris BH
8016fb54d8
Get username, name, surname and e-mail from LDAP server
10 years ago
Unknwon
235271d50a
able to disable SSH for #883
10 years ago
Unknwon
ba9cae6328
code fix for #908 , and work for #884
10 years ago
无闻
89a75db225
Merge pull request #908 from nicolai86/feature/hide-signup-button-884
Make Signup button display configurable - #884
10 years ago
Unknwon
58c91218ab
models/action.go: mirror fix on #892
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
10 years ago
Unknwon
f45f92b4a4
modules/base: fix markdown mention regex for #826
- conf/locale: add mew translator profile
10 years ago
无闻
646662d24f
Merge pull request #826 from deringer/dev
Fix user mention bug when parsing markdown documents
10 years ago
Peter Smit
5deb52e1b8
Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Raphael Randschau
7fbb782585
Add ShowRegistrationButton configuration option
10 years ago
Peter Smit
9dd98a9a0f
Add option to provide configuration file on command line
10 years ago
Unknwon
9e8c24da7c
modules/base: fix README filename checker, fix #877
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
fb9dcfa921
modules/midlleware: little auth code fix, #777
10 years ago
Unknwon
d8394bb2e0
modules/midlleware: little auth code fix
10 years ago
Unknwon
ee6786216a
modules/base: clean code with #838
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
10 years ago
无闻
830bc75107
Merge pull request #866 from vitalvas/dev
Fix in url if cache avatar is enabled
10 years ago
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
10 years ago
Vitaliy Vasilenko
cf59057ef3
fix if service.ENABLE_CACHE_AVATAR is true
10 years ago
Unknwon
452cca35e0
Merge branch 'encoding' of github.com:gogits/gogs into dev
Conflicts:
.gopmfile
10 years ago
Peter Smit
e6f97c78ff
Change chardet to gogits
10 years ago
Michael Dyrynda
c7cbdd34fb
Adjust MentionPattern to not match users mid-sentence (or email addresses)
Fix link to user profile, update based on adjusted MentionPattern
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago