]> source.dussan.org Git - gitea.git/log
gitea.git
8 years ago#1938 #1374 disable password change for non-local users
Unknwon [Fri, 11 Dec 2015 00:02:57 +0000 (19:02 -0500)]
#1938 #1374 disable password change for non-local users

8 years agofix markdown table header CSS
Unknwon [Thu, 10 Dec 2015 21:45:16 +0000 (16:45 -0500)]
fix markdown table header CSS

8 years agofix bool check for repo max limit and fix hang when push repo with tons of commits
Unknwon [Thu, 10 Dec 2015 21:27:47 +0000 (16:27 -0500)]
fix bool check for repo max limit and fix hang when push repo with tons of commits

8 years agofix user repo limit default value
Unknwon [Thu, 10 Dec 2015 17:48:45 +0000 (12:48 -0500)]
fix user repo limit default value

8 years ago#1301 "read-only" users
Unknwon [Thu, 10 Dec 2015 17:46:05 +0000 (12:46 -0500)]
#1301 "read-only" users

8 years ago#1575 Limit repo creation
Unknwon [Thu, 10 Dec 2015 17:37:53 +0000 (12:37 -0500)]
#1575 Limit repo creation

8 years ago#1612 Ability to send mail when a new pull request is submitted
Unknwon [Thu, 10 Dec 2015 16:18:56 +0000 (11:18 -0500)]
#1612 Ability to send mail when a new pull request is submitted

8 years agoMerge pull request #2143 from pkgr/fix-packaging-postinstall
Unknwon [Thu, 10 Dec 2015 15:00:26 +0000 (10:00 -0500)]
Merge pull request #2143 from pkgr/fix-packaging-postinstall

Fix postinstall to use GOGS_CUSTOM instead of symlinking

8 years agoFix postinstall to use GOGS_CUSTOM instead of symlinking
Cyril Rohr [Thu, 10 Dec 2015 08:55:21 +0000 (08:55 +0000)]
Fix postinstall to use GOGS_CUSTOM instead of symlinking

8 years agomove out git module and #1573 send push hook
Unknwon [Thu, 10 Dec 2015 01:46:05 +0000 (20:46 -0500)]
move out git module and #1573 send push hook

8 years agoMerge pull request #2139 from angus-g/fixes/pr-messages
Unknwon [Wed, 9 Dec 2015 22:31:46 +0000 (17:31 -0500)]
Merge pull request #2139 from angus-g/fixes/pr-messages

Reword messages for PR auto merging (#2117)

8 years agoReword messages for PR auto merging (#2117)
Angus Gibson [Wed, 9 Dec 2015 22:12:21 +0000 (09:12 +1100)]
Reword messages for PR auto merging (#2117)

8 years agoMerge pull request #2137 from nanoant/patch/ssh-trigger-via-local-url
Unknwon [Wed, 9 Dec 2015 22:22:37 +0000 (17:22 -0500)]
Merge pull request #2137 from nanoant/patch/ssh-trigger-via-local-url

LOCAL_ROOT_URL for workers accessing web service

8 years agoMake serv/update use LOCAL_ROOT_URL instead public
Adam Strzelecki [Wed, 9 Dec 2015 20:44:02 +0000 (21:44 +0100)]
Make serv/update use LOCAL_ROOT_URL instead public

The reasoning for that is in the previous commit.

8 years agoLOCAL_ROOT_URL for workers accessing web service
Adam Strzelecki [Wed, 9 Dec 2015 20:36:43 +0000 (21:36 +0100)]
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

8 years agoMerge pull request #2138 from SlavikZ/master
Unknwon [Wed, 9 Dec 2015 21:47:03 +0000 (16:47 -0500)]
Merge pull request #2138 from SlavikZ/master

LDAP parameters UI: bind_dn and bind_password are not required

8 years agoMerge pull request #2133 from kardianos/develop
Unknwon [Wed, 9 Dec 2015 21:12:43 +0000 (16:12 -0500)]
Merge pull request #2133 from kardianos/develop

gogs: add import that lets gogs run as a stand-alone windows service

8 years agoLDAP parameters UI: bind_dn and bind_password are not required
SlavikZ [Wed, 9 Dec 2015 18:55:35 +0000 (20:55 +0200)]
LDAP parameters UI: bind_dn and bind_password are not required

8 years agogogs: add import that lets gogs run as a stand-alone windows service
Daniel Theophanes [Wed, 9 Dec 2015 17:04:10 +0000 (09:04 -0800)]
gogs: add import that lets gogs run as a stand-alone windows service

Updates #630

8 years ago#2035 Show author e-mail in commit diff
Unknwon [Wed, 9 Dec 2015 16:46:39 +0000 (11:46 -0500)]
#2035 Show author e-mail in commit diff

8 years ago#1943 Able to config fsck timeout
Unknwon [Wed, 9 Dec 2015 16:38:12 +0000 (11:38 -0500)]
#1943 Able to config fsck timeout

8 years ago#2037 Add "New Mirror" button on Dashboard
Unknwon [Wed, 9 Dec 2015 16:24:56 +0000 (11:24 -0500)]
#2037 Add "New Mirror" button on Dashboard

8 years agoMerge pull request #2132 from nanoant/patch/do-not-fail-on-missing-lessc
Unknwon [Wed, 9 Dec 2015 13:07:18 +0000 (08:07 -0500)]
Merge pull request #2132 from nanoant/patch/do-not-fail-on-missing-lessc

Makefile: Do not fail build on missing lessc

8 years agoMakefile: Do not fail build on missing lessc
Adam Strzelecki [Wed, 9 Dec 2015 12:28:56 +0000 (13:28 +0100)]
Makefile: Do not fail build on missing lessc

This is achieved by adding public/css/gogs.css to special .IGNORE target, which
makes inability to generate/update gogs.css non-fatal and not stopping whole
build process. User is still notified about missing lessc command though, since
inability to update CSS may lead to potential problems:

    lessc public/less/gogs.less public/css/gogs.css
    make: lessc: No such file or directory
    make: [public/css/gogs.css] Error 1 (ignored)

More info at:

  https://www.gnu.org/software/make/manual/html_node/Special-Targets.html

8 years agoMerge pull request #2126 from angus-g/fixes/commits-branches
Unknwon [Wed, 9 Dec 2015 06:42:26 +0000 (01:42 -0500)]
Merge pull request #2126 from angus-g/fixes/commits-branches

Dropdown on commits page to choose branch #1846

8 years agoBreak branch-selection dropdown into a template
Angus Gibson [Wed, 9 Dec 2015 06:11:41 +0000 (17:11 +1100)]
Break branch-selection dropdown into a template

We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits

8 years agoDropdown on commits page to choose branch #1846
Angus Gibson [Wed, 9 Dec 2015 05:14:54 +0000 (16:14 +1100)]
Dropdown on commits page to choose branch #1846

I've mostly duplicated the dropdown code from repo/home.tmpl, which
basically only required a change to the URL. This could probably be
broken out into something more modular.

8 years agounified name: IsViewBranch, IsViewCommit and IsViewTag
Unknwon [Wed, 9 Dec 2015 05:32:53 +0000 (00:32 -0500)]
unified name: IsViewBranch, IsViewCommit and IsViewTag

8 years agoMerge pull request #2125 from angus-g/fixes/compare-commits
Unknwon [Wed, 9 Dec 2015 04:16:03 +0000 (23:16 -0500)]
Merge pull request #2125 from angus-g/fixes/compare-commits

Only show comparison link for >2 commits, fixes #1110

8 years agoOnly show comparison link for >2 commits #1110
Angus Gibson [Wed, 9 Dec 2015 03:36:39 +0000 (14:36 +1100)]
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.

8 years ago#1984 Better mirror repo management
Unknwon [Wed, 9 Dec 2015 01:06:12 +0000 (20:06 -0500)]
#1984 Better mirror repo management

8 years ago#2115 more precise error message
Unknwon [Tue, 8 Dec 2015 06:11:40 +0000 (01:11 -0500)]
#2115 more precise error message

8 years ago#1627 auto login after install if admin is configured
Unknwon [Tue, 8 Dec 2015 05:59:14 +0000 (00:59 -0500)]
#1627 auto login after install if admin is configured

8 years agoadd quay.io as another Docker option
Unknwon [Tue, 8 Dec 2015 00:40:24 +0000 (19:40 -0500)]
add quay.io as another Docker option

8 years agoMerge pull request #2122 from nanoant/patch/add-pre-receive-hook
Unknwon [Tue, 8 Dec 2015 00:31:16 +0000 (19:31 -0500)]
Merge pull request #2122 from nanoant/patch/add-pre-receive-hook

Allow pre-receive hook customization

8 years agoAllow pre-receive hook customization
Adam Strzelecki [Tue, 8 Dec 2015 00:28:32 +0000 (01:28 +0100)]
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

8 years agoMerge pull request #2121 from nanoant/patch/less-n-template-indent
Unknwon [Tue, 8 Dec 2015 00:04:13 +0000 (19:04 -0500)]
Merge pull request #2121 from nanoant/patch/less-n-template-indent

Consistent tab indentation for all source files

8 years agoIndent all templates with tabs
Adam Strzelecki [Mon, 7 Dec 2015 22:30:52 +0000 (23:30 +0100)]
Indent all templates with tabs

This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file

8 years agoLESS: Use tabs for indent in all files
Adam Strzelecki [Mon, 7 Dec 2015 20:20:54 +0000 (21:20 +0100)]
LESS: Use tabs for indent in all files

This does not change any content and generated gogs.css is still the same.

8 years agoforce new INI version
Unknwon [Mon, 7 Dec 2015 16:33:04 +0000 (11:33 -0500)]
force new INI version

8 years agominor fix for #2113 and other locales
Unknwon [Mon, 7 Dec 2015 05:10:08 +0000 (00:10 -0500)]
minor fix for #2113 and other locales

8 years agoMerge pull request #2113 from OhDaeto/patch-1
Unknwon [Mon, 7 Dec 2015 05:05:36 +0000 (00:05 -0500)]
Merge pull request #2113 from OhDaeto/patch-1

Update Russian translation

8 years agoUpdate locale_ru-RU.ini
OhDaeto [Mon, 7 Dec 2015 05:02:16 +0000 (08:02 +0300)]
Update locale_ru-RU.ini

8 years agoUpdate Russian translation
OhDaeto [Mon, 7 Dec 2015 04:27:17 +0000 (07:27 +0300)]
Update Russian translation

8 years agofix wrong slack webhook payload URL
Unknwon [Mon, 7 Dec 2015 04:07:02 +0000 (23:07 -0500)]
fix wrong slack webhook payload URL

8 years agoMerge pull request #2112 from nanoant/patch/better-git-message-display
Unknwon [Mon, 7 Dec 2015 01:06:23 +0000 (20:06 -0500)]
Merge pull request #2112 from nanoant/patch/better-git-message-display

Render commit msg as header + verbatim description

8 years agoRender commit msg as header + verbatim description
Adam Strzelecki [Sun, 6 Dec 2015 23:18:12 +0000 (00:18 +0100)]
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.

8 years agoprepare release
Unknwon [Sun, 6 Dec 2015 20:34:17 +0000 (15:34 -0500)]
prepare release

8 years agoMerge pull request #2110 from msoedov/misspellings
Unknwon [Sun, 6 Dec 2015 20:27:11 +0000 (15:27 -0500)]
Merge pull request #2110 from msoedov/misspellings

Fix misspelled words

8 years agoFix misspelled words
Alex Myasoedov [Sun, 6 Dec 2015 14:42:23 +0000 (16:42 +0200)]
Fix misspelled words

8 years agoremember page number when delete repo
Unknwon [Sat, 5 Dec 2015 22:49:46 +0000 (17:49 -0500)]
remember page number when delete repo

8 years ago#2063 Ability to delete repo from admin panel
Unknwon [Sat, 5 Dec 2015 22:39:29 +0000 (17:39 -0500)]
#2063 Ability to delete repo from admin panel

8 years agoAPIs: admin users
Unknwon [Sat, 5 Dec 2015 22:13:13 +0000 (17:13 -0500)]
APIs: admin users

8 years agoupdate README
Unknwon [Sat, 5 Dec 2015 18:50:43 +0000 (13:50 -0500)]
update README

8 years agofix #2105 and fix #1857
Unknwon [Sat, 5 Dec 2015 18:24:13 +0000 (13:24 -0500)]
fix #2105 and fix #1857

8 years agofix #2102
Unknwon [Sat, 5 Dec 2015 16:46:42 +0000 (11:46 -0500)]
fix #2102

8 years agoSet default language for i18n
Unknwon [Sat, 5 Dec 2015 06:20:11 +0000 (01:20 -0500)]
Set default language for i18n

8 years ago#2052 advanced select ops for system notices
Unknwon [Sat, 5 Dec 2015 06:09:14 +0000 (01:09 -0500)]
#2052 advanced select ops for system notices

8 years agoinit with all enabled
Unknwon [Sat, 5 Dec 2015 02:34:37 +0000 (21:34 -0500)]
init with all enabled

8 years agotemplate fix
Unknwon [Sat, 5 Dec 2015 02:32:33 +0000 (21:32 -0500)]
template fix

8 years agofix #1829 and fix #890
Unknwon [Sat, 5 Dec 2015 02:30:33 +0000 (21:30 -0500)]
fix #1829 and fix #890

8 years ago#2045 have fallback but empty value
Unknwon [Sat, 5 Dec 2015 00:01:34 +0000 (19:01 -0500)]
#2045 have fallback but empty value

8 years ago#2045 move fallback to empty string
Unknwon [Fri, 4 Dec 2015 23:31:45 +0000 (18:31 -0500)]
#2045 move fallback to empty string

8 years agofix #2101
Unknwon [Fri, 4 Dec 2015 22:30:32 +0000 (17:30 -0500)]
fix #2101

8 years agofix panic for #2045
Unknwon [Fri, 4 Dec 2015 22:20:23 +0000 (17:20 -0500)]
fix panic for #2045

8 years agorefactor API routes and some work for #976
Unknwon [Fri, 4 Dec 2015 22:16:42 +0000 (17:16 -0500)]
refactor API routes and some work for #976

8 years agomore fixes on #2045
Unknwon [Fri, 4 Dec 2015 20:41:56 +0000 (15:41 -0500)]
more fixes on #2045

8 years agoMerge branch 'develop' of github.com:gogits/gogs into develop
Unknwon [Thu, 3 Dec 2015 23:10:54 +0000 (18:10 -0500)]
Merge branch 'develop' of github.com:gogits/gogs into develop

8 years agofix broken link
Unknwon [Thu, 3 Dec 2015 23:10:45 +0000 (18:10 -0500)]
fix broken link

8 years agominor JS and UI fix
Unknwon [Thu, 3 Dec 2015 20:01:15 +0000 (15:01 -0500)]
minor JS and UI fix

8 years agofix #2095
Unknwon [Thu, 3 Dec 2015 19:31:31 +0000 (14:31 -0500)]
fix #2095

8 years agoMerge pull request #2094 from nanoant/patch/less-pronounced-sha-labels
Unknwon [Thu, 3 Dec 2015 19:28:30 +0000 (14:28 -0500)]
Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels

UI: Use more subtle grey SHA1 labels

8 years agoUI: More subtle strips on commits list
Adam Strzelecki [Thu, 3 Dec 2015 12:49:52 +0000 (13:49 +0100)]
UI: More subtle strips on commits list

With grey SHA1 labels, we should consider having also more subtle strips on
commits list. As current strips blend too much with grey SHA1 labels and top
bar, making hard to distinguish headers from content.

8 years agowork on #2093
Unknwon [Thu, 3 Dec 2015 19:21:13 +0000 (14:21 -0500)]
work on #2093

8 years agoMerge pull request #2092 from nanoant/patch/non-bold-last-commit-sha
Unknwon [Thu, 3 Dec 2015 18:14:57 +0000 (13:14 -0500)]
Merge pull request #2092 from nanoant/patch/non-bold-last-commit-sha

UI: Remove CSS rule making last-commit SHA bold

8 years agoUI: Use more subtle grey SHA1 labels
Adam Strzelecki [Wed, 2 Dec 2015 23:03:49 +0000 (00:03 +0100)]
UI: Use more subtle grey SHA1 labels

Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.

Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.

NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.

8 years agoUI: Remove CSS rule making last-commit SHA bold
Adam Strzelecki [Thu, 3 Dec 2015 12:18:57 +0000 (13:18 +0100)]
UI: Remove CSS rule making last-commit SHA bold

This removes remains from old design, that was not cleaned by previous #2068 PR.

8 years ago500 when wiki not exists
Unknwon [Thu, 3 Dec 2015 07:08:25 +0000 (02:08 -0500)]
500 when wiki not exists

8 years agofix #2090
Unknwon [Thu, 3 Dec 2015 06:59:32 +0000 (01:59 -0500)]
fix #2090

8 years agofix #2087
Unknwon [Thu, 3 Dec 2015 06:03:06 +0000 (01:03 -0500)]
fix #2087

8 years agofix #976
Unknwon [Thu, 3 Dec 2015 05:24:37 +0000 (00:24 -0500)]
fix #976

8 years agomore UI minor fixes
Unknwon [Thu, 3 Dec 2015 01:56:26 +0000 (20:56 -0500)]
more UI minor fixes

8 years agoMerge pull request #2088 from nanoant/patch/further-layout-fixes
Unknwon [Thu, 3 Dec 2015 01:26:48 +0000 (20:26 -0500)]
Merge pull request #2088 from nanoant/patch/further-layout-fixes

Further layout fixes

8 years agoCSS: Octicons 16px fix outside of _octicons.less
Adam Strzelecki [Thu, 3 Dec 2015 01:18:38 +0000 (02:18 +0100)]
CSS: Octicons 16px fix outside of _octicons.less

Otherwise the fix will be overwritten by next _octicons.less update.

This is follow-up for 22b0dfbb35f10f22ef0485e289f44532d7a71863.

8 years agoUI: Always show menu on repo pages
Adam Strzelecki [Thu, 3 Dec 2015 01:15:00 +0000 (02:15 +0100)]
UI: Always show menu on repo pages

Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.

8 years agoclean test data
Unknwon [Thu, 3 Dec 2015 01:10:47 +0000 (20:10 -0500)]
clean test data

8 years agominor CSS fix
Unknwon [Thu, 3 Dec 2015 01:10:00 +0000 (20:10 -0500)]
minor CSS fix

8 years agominor CSS fix for #2068
Unknwon [Thu, 3 Dec 2015 00:53:39 +0000 (19:53 -0500)]
minor CSS fix for #2068

8 years agominor fix for #2086
Unknwon [Thu, 3 Dec 2015 00:45:43 +0000 (19:45 -0500)]
minor fix for #2086

8 years agoMerge pull request #2068 from nanoant/patch/repo-file-list-layout
Unknwon [Thu, 3 Dec 2015 00:44:16 +0000 (19:44 -0500)]
Merge pull request #2068 from nanoant/patch/repo-file-list-layout

Repo file list layout & misc fixes

8 years agoUI: Display last-commit header without 2nd column
Adam Strzelecki [Thu, 3 Dec 2015 00:15:40 +0000 (01:15 +0100)]
UI: Display last-commit header without 2nd column

This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.

Also use grey header for last-commit SHA1 tag.

8 years agofix #2085
Unknwon [Wed, 2 Dec 2015 23:58:13 +0000 (18:58 -0500)]
fix #2085

8 years agoMerge pull request #2086 from nanoant/patch/translation-add-code-entry
Unknwon [Wed, 2 Dec 2015 23:53:38 +0000 (18:53 -0500)]
Merge pull request #2086 from nanoant/patch/translation-add-code-entry

Translation: Add missing entry for new "code" tab

8 years agoUI: Keep repo URL action right of ref combo & path
Adam Strzelecki [Wed, 2 Dec 2015 22:48:36 +0000 (23:48 +0100)]
UI: Keep repo URL action right of ref combo & path

Just use secondary menu instead custom ".head.meta", which simplifies code.

Also do not display repo URL action when we are in subdirectory or viewing a
file.

8 years agoTranslation: Add missing entry for new "code" tab
Adam Strzelecki [Wed, 2 Dec 2015 22:00:23 +0000 (23:00 +0100)]
Translation: Add missing entry for new "code" tab

We have new tab, but we had no entry. That's why it was showing "code"
(lowercase) as this is text id, where we were expecting properly title cased
"Code" to be shown in English version.

Also add Polish translation "code=Kod".

8 years agoUI: Make repository menu divide header and content
Adam Strzelecki [Wed, 2 Dec 2015 21:40:22 +0000 (22:40 +0100)]
UI: Make repository menu divide header and content

This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.

8 years agoUI: Keep repository settings menu button right
Adam Strzelecki [Wed, 2 Dec 2015 21:06:50 +0000 (22:06 +0100)]
UI: Keep repository settings menu button right

8 years agoCommits & files UI: SUI fixed single line table
Adam Strzelecki [Mon, 30 Nov 2015 23:04:13 +0000 (00:04 +0100)]
Commits & files UI: SUI fixed single line table

Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.

NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.

8 years agoCSS: Reduce .sha.label font size to 13px
Adam Strzelecki [Mon, 30 Nov 2015 22:59:23 +0000 (23:59 +0100)]
CSS: Reduce .sha.label font size to 13px

8 years agoCSS: .repository .sha.label -> .ui .sha.label
Adam Strzelecki [Mon, 30 Nov 2015 22:57:07 +0000 (23:57 +0100)]
CSS: .repository .sha.label -> .ui .sha.label

This is because SHA1 label is used in many other places, not only inside
.repository container.