2
0
Commit Graph

981 Commits

Author SHA1 Message Date
Unknwon
adb4784fe0 rename import path 2015-12-15 17:25:45 -05:00
Unknwon
f0c24eb7ba new template func 2015-12-13 23:16:58 -05:00
Unknwon
dba80ebde2 Drop Go 1.3 support 2015-12-13 20:20:52 -05:00
Unknwon
9e27955942 #2185 use Go sub-repo to detect encoding 2015-12-13 19:56:33 -05:00
Bruno
99802ad826 ignore invalid env 2015-12-13 20:17:47 +08:00
Unknwon
1b4291aced #2161 fix wrong regexp 2015-12-12 16:13:18 -05:00
Unknwon
22b787e0da #2161 No issue linking in commits when issue number in brackets 2015-12-12 16:01:54 -05:00
Unknwon
4e2bab2eee update locales 2015-12-12 14:47:11 -05:00
Unknwon
c2717eb029 #2156 admin able to edit organization max repo creation 2015-12-11 19:24:57 -05:00
Unknwon
c5cdcc4d2e #2154 fix form submit error 2015-12-11 18:52:28 -05:00
Unknwon
56b3894d5f #2154 disable change user for non-local users
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
6a322d528a fix sqlite3 cannot create repo 2015-12-11 10:13:19 -05:00
Unknwon
ec6b79e125 #2114 External URL for wiki 2015-12-11 04:55:08 -05:00
Unknwon
4d4e36aaa9 #1938 #1374 disable password change for non-local users 2015-12-10 19:02:57 -05:00
Unknwon
354a8ae402 #1301 "read-only" users 2015-12-10 12:46:05 -05:00
Unknwon
74ceced0e8 #1575 Limit repo creation 2015-12-10 12:37:53 -05:00
Unknwon
17a91d4d86 #1612 Ability to send mail when a new pull request is submitted 2015-12-10 11:18:56 -05:00
Unknwon
0638ee1b76 move out git module and #1573 send push hook 2015-12-09 20:46:05 -05:00
Unknwon
4bccc43704 Merge pull request #2139 from angus-g/fixes/pr-messages
Reword messages for PR auto merging (#2117)
2015-12-09 17:31:46 -05:00
Angus Gibson
2456c0ff88 Reword messages for PR auto merging (#2117) 2015-12-10 09:28:49 +11:00
Adam Strzelecki
d89e6415cc LOCAL_ROOT_URL for workers accessing web service
Local (DMZ) URL for gogs workers (such as ssh update) accessing web service. In
most cases you do not need to change default http://localhost:HTTP_PORT/. You
may need to alter it only if your ssh server node is not the same as http node,
eg. running behind proxy on different node than web server.

                     --- 80 public port -> 8080 -- web server node
                    /
    public proxy --<
                    \
                     --- 22 public port -> 10022 -- ssh server node

This option is not intended to be accessible via web GUI settings, since it is
unlikely someone needs to change it to somethings else than default
http://localhost:HTTP_PORT/ which should work for most of the cases.

But this should land into the documentation somewhere.

fixup
2015-12-09 23:11:07 +01:00
Unknwon
d97809d3e2 #1943 Able to config fsck timeout 2015-12-09 11:38:12 -05:00
Unknwon
5bf71fa245 #2037 Add "New Mirror" button on Dashboard 2015-12-09 11:24:56 -05:00
Unknwon
b532563542 unified name: IsViewBranch, IsViewCommit and IsViewTag 2015-12-09 00:32:53 -05:00
Angus Gibson
8cb9b39f60 Only show comparison link for >2 commits #1110
We can look at the PushCommits object to see how many commits were
included in a commit, and add some template logic to only show the
comparison link when there are at least 2 commits in a push. We also
correct the link to display the number of commits.
2015-12-09 14:36:39 +11:00
Unknwon
4df8494a60 #1984 Better mirror repo management 2015-12-08 20:06:12 -05:00
Unknwon
902a4d6a68 #2115 more precise error message 2015-12-08 01:11:40 -05:00
Adam Strzelecki
68b06312d7 Allow pre-receive hook customization
This hook can be used for example to reject too large commits and it is
executed before "update" hook, used exclusively by Gogs to update its state.

https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
2015-12-08 01:28:32 +01:00
Unknwon
f7ca70894d force new INI version 2015-12-07 11:33:04 -05:00
Unknwon
42c8d218d5 minor fix for #2113 and other locales 2015-12-07 00:10:08 -05:00
Adam Strzelecki
c2c88079bb Render commit msg as header + verbatim description
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.

Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
2015-12-07 01:50:45 +01:00
Unknwon
f9be09623a prepare release 2015-12-06 15:34:17 -05:00
Alex Myasoedov
7b32a12ba8 Fix misspelled words 2015-12-06 16:42:23 +02:00
Unknwon
ab04be1647 #2063 Ability to delete repo from admin panel 2015-12-05 17:39:29 -05:00
Unknwon
a3ea3c3bb9 APIs: admin users 2015-12-05 17:13:13 -05:00
Unknwon
ce33563853 fix #2105 and fix #1857 2015-12-05 13:24:13 -05:00
Unknwon
9f75c6ce3d #2052 advanced select ops for system notices 2015-12-05 01:09:14 -05:00
Unknwon
4b54ceb402 fix #1829 and fix #890 2015-12-04 21:30:33 -05:00
Unknwon
5d93d18163 fix panic for #2045 2015-12-04 17:20:23 -05:00
Unknwon
8b49bed230 refactor API routes and some work for #976 2015-12-04 17:16:42 -05:00
Unknwon
5b451d9975 minor fix for #2086 2015-12-02 19:45:43 -05:00
Unknwon
7d90564d6a fix #2085 2015-12-02 18:58:13 -05:00
Unknwon
569b30d722 fix #2083 2015-12-02 13:47:22 -05:00
Unknwon
757bdc8ea8 #2071 Diff is not showing full content when has super long one line 2015-12-02 01:10:13 -05:00
Unknwon
2003d25c5f #2052 Ability to batch delete system notices 2015-12-01 23:33:08 -05:00
Unknwon
4422ae5fe0 update REMADE and locale 2015-12-01 19:53:19 -05:00
Adam Strzelecki
8d0ee10100 LDAP: Optional user name attribute specification
Consider following LDAP search query example:

    (&(objectClass=Person)(|(uid=%s)(mail=%s)))

Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.

Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
Unknwon
5982bae14d Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
Admin should be able to see all organizations
2015-11-30 21:18:33 -05:00
Unknwon
ba80dbd1c4 Merge branch 'feature/wiki' into develop 2015-11-30 20:46:19 -05:00
Unknwon
05e2641b27 finish wiki 2015-11-30 20:45:55 -05:00