Unknwon
df64dcfdfd
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-22 22:55:35 -05:00
Unknwon
5a7bca797c
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
2015-02-22 22:51:25 -05:00
Unknwon
51da9e41f0
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
2015-02-22 09:49:25 -05:00
Unknwon
c16693e217
modules/git: able to parse RFC1123Z date format #663
2015-02-21 23:37:32 -05:00
Unknwon
700626f527
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
2015-02-21 22:13:47 -05:00
无闻
38ab4a9e07
Merge pull request #973 from uchti/dev
...
Fix: 504 5.5.2 <localhost>: Helo command rejected
2015-02-20 18:25:18 -05:00
Gogs
95b1c32f95
add error for hello func
2015-02-20 10:12:27 +03:00
Gogs
187c114e53
Fix: 504 5.5.2 <localhost>: Helo command rejected
2015-02-19 10:47:05 +03:00
Alexey Makhov
dabc9f4991
gitlab-like hash naming
2015-02-19 00:52:22 +03:00
无闻
e507ef770f
Merge pull request #962 from phsmit/dont_mention_php
...
Remove the "PHP" style formatting function
2015-02-17 23:19:25 -05:00
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.
2015-02-17 10:36:17 +02:00
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.
2015-02-16 14:44:27 +02:00
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.
2015-02-16 12:51:56 +02:00
Unknwon
32ff782d64
modules/setting: add abs path check before add workdir prefix
2015-02-14 17:49:33 -05:00
Unknwon
16a8a4a4f7
fix mirror issues uncaught #941
2015-02-13 02:14:57 -05:00
Unknwon
7ae5b92db8
code fix #941 caution: undertest
2015-02-13 00:58:46 -05:00
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
2015-02-12 14:25:07 +02:00
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.
2015-02-12 14:14:45 +02:00
Unknwon
4f24a5ef7d
first pass work on migration #925
2015-02-11 21:58:37 -05:00
Unknwon
07795ce5be
better naming on #891
2015-02-11 12:04:01 -05:00
Unknwon
a44d97e0fd
modules/middleware/auth.go: remove uncheck login for watch a repo #929
2015-02-10 22:53:46 -05:00
Unknwon
a8ac54ff07
able to allow insecure certification of webhook for #891
2015-02-10 21:06:59 -05:00
Peter Smit
5af7b2864c
Change constants to UPPERCASE_WITH_UNDERSCORE style
2015-02-09 13:36:33 +02:00
Peter Smit
2529b02dc2
Fixes #921
...
Fixes #921 and makes the Mention regexp be in line with the others
2015-02-09 12:56:46 +02:00
Unknwon
363c93907c
modules/setting: mirror path issue
2015-02-08 22:23:01 -05:00
无闻
42ba809042
Merge pull request #905 from phsmit/conf_on_cli
...
Add option to provide configuration file on command line
2015-02-08 20:22:02 -05:00
Unknwon
4bbcb90109
modules/ans1-ber: fix LDAP UTF8 string decoding for #916
2015-02-08 14:39:54 -05:00
Unknwon
235271d50a
able to disable SSH for #883
2015-02-07 10:46:57 -05:00
Unknwon
ba9cae6328
code fix for #908 , and work for #884
2015-02-06 21:16:23 -05:00
无闻
89a75db225
Merge pull request #908 from nicolai86/feature/hide-signup-button-884
...
Make Signup button display configurable - #884
2015-02-06 21:03:31 -05:00
Unknwon
58c91218ab
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
2015-02-06 20:34:49 -05:00
Unknwon
f45f92b4a4
modules/base: fix markdown mention regex for #826
...
- conf/locale: add mew translator profile
2015-02-06 19:15:58 -05:00
无闻
646662d24f
Merge pull request #826 from deringer/dev
...
Fix user mention bug when parsing markdown documents
2015-02-06 19:03:35 -05:00
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.
2015-02-06 13:18:11 +02:00
Raphael Randschau
7fbb782585
Add ShowRegistrationButton configuration option
2015-02-05 18:14:54 +01:00
Peter Smit
9dd98a9a0f
Add option to provide configuration file on command line
2015-02-05 12:17:35 +02:00
Unknwon
9e8c24da7c
modules/base: fix README filename checker, fix #877
2015-02-02 23:04:36 -05:00
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
2015-02-01 12:41:03 -05:00
Unknwon
fb9dcfa921
modules/midlleware: little auth code fix, #777
2015-01-30 20:30:42 -05:00
Unknwon
d8394bb2e0
modules/midlleware: little auth code fix
2015-01-30 20:30:07 -05:00
Unknwon
ee6786216a
modules/base: clean code with #838
2015-01-30 18:12:30 -05:00
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
2015-01-30 18:05:20 -05:00
无闻
830bc75107
Merge pull request #866 from vitalvas/dev
...
Fix in url if cache avatar is enabled
2015-01-20 13:38:17 +08:00
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
2015-01-20 13:08:49 +08:00
Vitaliy Vasilenko
cf59057ef3
fix if service.ENABLE_CACHE_AVATAR is true
2015-01-20 05:20:33 +02:00
Unknwon
452cca35e0
Merge branch 'encoding' of github.com:gogits/gogs into dev
...
Conflicts:
.gopmfile
2015-01-17 15:29:45 +08:00
Peter Smit
e6f97c78ff
Change chardet to gogits
2015-01-15 12:40:16 +02:00
Michael Dyrynda
c7cbdd34fb
Adjust MentionPattern to not match users mid-sentence (or email addresses)
...
Fix link to user profile, update based on adjusted MentionPattern
2015-01-03 22:03:41 +10:30
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
2015-01-02 20:14:43 +08:00
Unknwon
bd555551ce
fix #801
2014-12-31 18:37:29 +08:00