Commit Graph

3281 Commits

Author SHA1 Message Date
a307574fbc Merge pull request #962 from phsmit/dont_mention_php
Remove the "PHP" style formatting function
2015-02-17 23:19:25 -05:00
e6fc58a744 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
7759b9ee6e 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
ed89b39984 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
685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
2015-02-14 17:01:33 -05:00
6b7d35eade fix mirror issues uncaught #941 2015-02-13 02:14:57 -05:00
67a9416ae5 templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884 2015-02-12 12:38:44 -05:00
7e7160eefd first pass work on migration #925 2015-02-11 21:58:37 -05:00
0af74b36ad Merge pull request #937 from Stefan-Code/dev
Changes to repo-header-download-drop
2015-02-11 12:27:29 -05:00
d02e45f985 better naming on #891 2015-02-11 12:04:01 -05:00
e5d6f4ce56 Changes to repo-header-download-drop, different repo-clone-url input behaviour 2015-02-11 07:28:51 +01:00
6a23252edc able to allow insecure certification of webhook for #891 2015-02-10 21:06:59 -05:00
7d3932b9cd templates/ng/base: change year to 2015, fix #928
- conf/locale: update Japanese locale
2015-02-09 11:04:17 -05:00
6ed96b7a20 Merge pull request #911 from TonyTsangHK/dev
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
2015-02-09 00:31:16 -05:00
f15fa9167a cmd: code fix for #905
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
2015-02-08 21:26:14 -05:00
00653e52ee Get username, name, surname and e-mail from LDAP server 2015-02-08 01:49:51 +02:00
2a2596fe61 able to disable SSH for #883 2015-02-07 10:46:57 -05:00
216683004e code fix for #908, and work for #884 2015-02-06 21:16:23 -05:00
87b90372a7 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
0669897226 modules/base: fix markdown mention regex for #826
- conf/locale: add mew translator profile
2015-02-06 19:15:58 -05:00
fc6d80d619 Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files. 2015-02-06 17:02:32 +08:00
3c65265871 Hide the registration button depending on the setting 2015-02-05 18:15:00 +01:00
79f3281548 Add ShowRegistrationButton configuration option 2015-02-05 18:14:54 +01:00
f706102890 models: sanitize user full name when update settings 2015-02-04 20:04:01 -05:00
7140f50637 public/ng/js: script fix on #901 2015-02-04 19:52:31 -05:00
e91b28eb9b little fix 2015-02-04 22:06:40 +03:00
5d4425bbbc add multifile support to diff view highlighting 2015-02-04 21:54:45 +03:00
7f71fe9dae fix diff lines highlighting 2015-02-04 12:41:35 +03:00
a7662f4a39 fix error at admin/config 2015-02-03 17:26:56 +03:00
8e238058b2 public/ng/css: code fix on #895
- templates/user/settings: fix email panel nav highlight
2015-02-03 06:54:29 -05:00
26bccef297 Merge branch 'master' of github.com:gogits/gogs into dev 2015-02-03 06:51:44 -05:00
e43bd15b96 fix settings/email html&css 2015-02-03 10:32:55 +03:00
bfce0def25 modules/base: fix README filename checker, fix #877 2015-02-02 23:04:36 -05:00
cd6376f093 Merge pull request #818 from fzerorubigd/master
add a function to rewrite all public keys on admin request
2015-02-01 16:56:34 -05:00
4c4488213a correction: updated docker link 2015-02-01 20:30:22 +01:00
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
3d9cda2d98 public/ng: fix auto-completion #832 2015-02-01 08:46:53 -05:00
faddaff90d templates: fix commit message render issue #828 2015-01-31 15:31:09 -05:00
32152d2363 routers/repo: set raw page content type to 'text/plain' #828 2015-01-31 15:27:57 -05:00
37fcc8daf2 modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
2015-01-30 18:05:20 -05:00
8e384ce46c fix #828, may cause unintentional break in other features, but security is no.1 2015-01-20 13:08:49 +08:00
d5c6b53571 use new Redis client 2015-01-03 02:54:22 +08:00
fd70f9ec1b Fix #799 by adding a tooltip for all dates in all settings/panels 2015-01-02 12:41:05 +02:00
0b56272c13 fix #805 2015-01-02 13:30:45 +08:00
3ea1443885 work on #784 2015-01-02 12:47:33 +08:00
6643647687 add afunction to rewrite all public keys on admin request
refs #763
2015-01-01 02:15:52 +03:30
63c1f9a23f fix 500: E-mail already used in user settings page 2014-12-29 20:00:07 +08:00
81a44e4cd0 fix API changes 2014-12-28 20:40:35 +08:00
c0cfd62b90 add label-edit and label-delete logic 2014-12-22 21:26:05 +08:00
ebbe6177a9 Merge branch 'dev' of github.com:gogits/gogs into dev 2014-12-22 03:44:52 -05:00