]>
source.dussan.org Git - gitea.git/log
SlavikZ [Wed, 9 Dec 2015 18:55:35 +0000 (20:55 +0200)]
LDAP parameters UI: bind_dn and bind_password are not required
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
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
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.
Unknwon [Wed, 9 Dec 2015 05:32:53 +0000 (00:32 -0500)]
unified name: IsViewBranch, IsViewCommit and IsViewTag
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
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.
Unknwon [Wed, 9 Dec 2015 01:06:12 +0000 (20:06 -0500)]
#1984 Better mirror repo management
Unknwon [Tue, 8 Dec 2015 06:11:40 +0000 (01:11 -0500)]
#2115 more precise error message
Unknwon [Tue, 8 Dec 2015 05:59:14 +0000 (00:59 -0500)]
#1627 auto login after install if admin is configured
Unknwon [Tue, 8 Dec 2015 00:40:24 +0000 (19:40 -0500)]
add quay.io as another Docker option
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
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
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
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
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.
Unknwon [Mon, 7 Dec 2015 16:33:04 +0000 (11:33 -0500)]
force new INI version
Unknwon [Mon, 7 Dec 2015 05:10:08 +0000 (00:10 -0500)]
minor fix for #2113 and other locales
Unknwon [Mon, 7 Dec 2015 05:05:36 +0000 (00:05 -0500)]
Merge pull request #2113 from OhDaeto/patch-1
Update Russian translation
OhDaeto [Mon, 7 Dec 2015 05:02:16 +0000 (08:02 +0300)]
Update locale_ru-RU.ini
OhDaeto [Mon, 7 Dec 2015 04:27:17 +0000 (07:27 +0300)]
Update Russian translation
Unknwon [Mon, 7 Dec 2015 04:07:02 +0000 (23:07 -0500)]
fix wrong slack webhook payload URL
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
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.
Unknwon [Sun, 6 Dec 2015 20:34:17 +0000 (15:34 -0500)]
prepare release
Unknwon [Sun, 6 Dec 2015 20:27:11 +0000 (15:27 -0500)]
Merge pull request #2110 from msoedov/misspellings
Fix misspelled words
Alex Myasoedov [Sun, 6 Dec 2015 14:42:23 +0000 (16:42 +0200)]
Fix misspelled words
Unknwon [Sat, 5 Dec 2015 22:49:46 +0000 (17:49 -0500)]
remember page number when delete repo
Unknwon [Sat, 5 Dec 2015 22:39:29 +0000 (17:39 -0500)]
#2063 Ability to delete repo from admin panel
Unknwon [Sat, 5 Dec 2015 22:13:13 +0000 (17:13 -0500)]
APIs: admin users
Unknwon [Sat, 5 Dec 2015 18:50:43 +0000 (13:50 -0500)]
update README
Unknwon [Sat, 5 Dec 2015 18:24:13 +0000 (13:24 -0500)]
fix #2105 and fix #1857
Unknwon [Sat, 5 Dec 2015 16:46:42 +0000 (11:46 -0500)]
fix #2102
Unknwon [Sat, 5 Dec 2015 06:20:11 +0000 (01:20 -0500)]
Set default language for i18n
Unknwon [Sat, 5 Dec 2015 06:09:14 +0000 (01:09 -0500)]
#2052 advanced select ops for system notices
Unknwon [Sat, 5 Dec 2015 02:34:37 +0000 (21:34 -0500)]
init with all enabled
Unknwon [Sat, 5 Dec 2015 02:32:33 +0000 (21:32 -0500)]
template fix
Unknwon [Sat, 5 Dec 2015 02:30:33 +0000 (21:30 -0500)]
fix #1829 and fix #890
Unknwon [Sat, 5 Dec 2015 00:01:34 +0000 (19:01 -0500)]
#2045 have fallback but empty value
Unknwon [Fri, 4 Dec 2015 23:31:45 +0000 (18:31 -0500)]
#2045 move fallback to empty string
Unknwon [Fri, 4 Dec 2015 22:30:32 +0000 (17:30 -0500)]
fix #2101
Unknwon [Fri, 4 Dec 2015 22:20:23 +0000 (17:20 -0500)]
fix panic for #2045
Unknwon [Fri, 4 Dec 2015 22:16:42 +0000 (17:16 -0500)]
refactor API routes and some work for #976
Unknwon [Fri, 4 Dec 2015 20:41:56 +0000 (15:41 -0500)]
more fixes on #2045
Unknwon [Thu, 3 Dec 2015 23:10:54 +0000 (18:10 -0500)]
Merge branch 'develop' of github.com:gogits/gogs into develop
Unknwon [Thu, 3 Dec 2015 23:10:45 +0000 (18:10 -0500)]
fix broken link
Unknwon [Thu, 3 Dec 2015 20:01:15 +0000 (15:01 -0500)]
minor JS and UI fix
Unknwon [Thu, 3 Dec 2015 19:31:31 +0000 (14:31 -0500)]
fix #2095
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
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.
Unknwon [Thu, 3 Dec 2015 19:21:13 +0000 (14:21 -0500)]
work on #2093
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
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.
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.
Unknwon [Thu, 3 Dec 2015 07:08:25 +0000 (02:08 -0500)]
500 when wiki not exists
Unknwon [Thu, 3 Dec 2015 06:59:32 +0000 (01:59 -0500)]
fix #2090
Unknwon [Thu, 3 Dec 2015 06:03:06 +0000 (01:03 -0500)]
fix #2087
Unknwon [Thu, 3 Dec 2015 05:24:37 +0000 (00:24 -0500)]
fix #976
Unknwon [Thu, 3 Dec 2015 01:56:26 +0000 (20:56 -0500)]
more UI minor 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
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 .
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.
Unknwon [Thu, 3 Dec 2015 01:10:47 +0000 (20:10 -0500)]
clean test data
Unknwon [Thu, 3 Dec 2015 01:10:00 +0000 (20:10 -0500)]
minor CSS fix
Unknwon [Thu, 3 Dec 2015 00:53:39 +0000 (19:53 -0500)]
minor CSS fix for #2068
Unknwon [Thu, 3 Dec 2015 00:45:43 +0000 (19:45 -0500)]
minor fix for #2086
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
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.
Unknwon [Wed, 2 Dec 2015 23:58:13 +0000 (18:58 -0500)]
fix #2085
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
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.
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".
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.
Adam Strzelecki [Wed, 2 Dec 2015 21:06:50 +0000 (22:06 +0100)]
UI: Keep repository settings menu button right
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.
Adam Strzelecki [Mon, 30 Nov 2015 22:59:23 +0000 (23:59 +0100)]
CSS: Reduce .sha.label font size to 13px
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.
Adam Strzelecki [Mon, 30 Nov 2015 14:22:24 +0000 (15:22 +0100)]
UI: Mark top menu icons blue only when non-zero
Adam Strzelecki [Mon, 30 Nov 2015 14:38:58 +0000 (15:38 +0100)]
CSS: Ensure Octicons are used with 16px font size
Semantic UI .icon 1em font-size has priority over .octicon 16px, resulting
octicons rendered at 14px font-size, which is not okay since Octicons are meant
to be shown sizes that are multiples of 16px.
Unknwon [Wed, 2 Dec 2015 18:47:22 +0000 (13:47 -0500)]
fix #2083
Unknwon [Wed, 2 Dec 2015 06:10:13 +0000 (01:10 -0500)]
#2071 Diff is not showing full content when has super long one line
Unknwon [Wed, 2 Dec 2015 04:46:05 +0000 (23:46 -0500)]
Merge pull request #2081 from angus-g/en-trans
Update English translations
Angus Gibson [Wed, 2 Dec 2015 04:43:56 +0000 (15:43 +1100)]
Fix casing in English translation
Unknwon [Wed, 2 Dec 2015 04:33:08 +0000 (23:33 -0500)]
#2052 Ability to batch delete system notices
Angus Gibson [Wed, 2 Dec 2015 04:21:24 +0000 (15:21 +1100)]
Update English translations
Just some phrasing changes to make the English translations sound more natural.
Unknwon [Wed, 2 Dec 2015 02:16:19 +0000 (21:16 -0500)]
#2045 add short version as fallback to Slack payload
Unknwon [Wed, 2 Dec 2015 01:51:31 +0000 (20:51 -0500)]
fix #2057
Unknwon [Wed, 2 Dec 2015 00:53:19 +0000 (19:53 -0500)]
update REMADE and locale
Unknwon [Tue, 1 Dec 2015 23:23:12 +0000 (18:23 -0500)]
Merge pull request #2079 from nanoant/patch/ldap-custom-username-attr
LDAP: Optional user name attribute specification
Adam Strzelecki [Tue, 1 Dec 2015 13:49:49 +0000 (14:49 +0100)]
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.
Unknwon [Tue, 1 Dec 2015 22:26:25 +0000 (17:26 -0500)]
Merge pull request #2078 from nanoant/patch/makefile-improvements
Makefile improvements
Unknwon [Tue, 1 Dec 2015 21:33:45 +0000 (16:33 -0500)]
fix API
Unknwon [Tue, 1 Dec 2015 21:33:00 +0000 (16:33 -0500)]
Merge pull request #2076 from Gibheer/new_mirror
add new mirror button to dashboard
Adam Strzelecki [Tue, 1 Dec 2015 21:21:19 +0000 (22:21 +0100)]
scripts: Remove less.sh superseded by Makefile
We no longer need to manually build CSS files as Makefile keeps track of it.
Adam Strzelecki [Tue, 1 Dec 2015 21:20:21 +0000 (22:20 +0100)]
Makefile: Remove trailing whitespace & add last LF
This is pure cleanup commit.
Adam Strzelecki [Tue, 1 Dec 2015 21:18:30 +0000 (22:18 +0100)]
Makefile: Auto-build CSS & bin-data when necessary
This will ensure that running `make` we will get all necessary files built and
we do not need manually remember to rebuild them.
Adam Strzelecki [Tue, 1 Dec 2015 21:16:00 +0000 (22:16 +0100)]
Makefile: Copy installed binary instead 2nd build
This speeds up single build/rebuild rather than install & build which compiles
everything twice, we just copy installed binary back to the project root.
Gibheer [Tue, 1 Dec 2015 20:05:34 +0000 (21:05 +0100)]
add new mirror button to dashboard
This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
Unknwon [Tue, 1 Dec 2015 19:46:03 +0000 (14:46 -0500)]
Merge pull request #2016 from raxetul/develop
Dockerfile for RaspberryPi is added.
Unknwon [Tue, 1 Dec 2015 02:18:33 +0000 (21:18 -0500)]
Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
Admin should be able to see all organizations