Unknwon
4635b98922
Merge pull request #2126 from angus-g/fixes/commits-branches
Dropdown on commits page to choose branch #1846
9 years ago
Angus Gibson
f92ec51538
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
9 years ago
Angus Gibson
6fca9c3a22
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.
9 years ago
Unknwon
e2c8e58a5c
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
f561b2fb9e
Merge pull request #2125 from angus-g/fixes/compare-commits
Only show comparison link for >2 commits, fixes #1110
9 years ago
Angus Gibson
410e968fe1
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.
9 years ago
Unknwon
ab55ca457f
#1984 Better mirror repo management
9 years ago
Unknwon
41f103e240
#2115 more precise error message
9 years ago
Unknwon
b562e6ffbc
#1627 auto login after install if admin is configured
9 years ago
Unknwon
4473d6398d
add quay.io as another Docker option
9 years ago
Unknwon
1df232ab20
Merge pull request #2122 from nanoant/patch/add-pre-receive-hook
Allow pre-receive hook customization
9 years ago
Adam Strzelecki
381f571952
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
9 years ago
Unknwon
029924bc9d
Merge pull request #2121 from nanoant/patch/less-n-template-indent
Consistent tab indentation for all source files
9 years ago
Adam Strzelecki
69427c6115
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
9 years ago
Adam Strzelecki
25bbb6afd9
LESS: Use tabs for indent in all files
This does not change any content and generated gogs.css is still the same.
9 years ago
Unknwon
169f0c7a68
force new INI version
9 years ago
Unknwon
f62646cb37
minor fix for #2113 and other locales
9 years ago
Unknwon
87bc5584fb
Merge pull request #2113 from OhDaeto/patch-1
Update Russian translation
9 years ago
OhDaeto
cfcf523580
Update locale_ru-RU.ini
9 years ago
OhDaeto
8394934a8b
Update Russian translation
9 years ago
Unknwon
88640fafd6
fix wrong slack webhook payload URL
9 years ago
Unknwon
e0ad0fc62b
Merge pull request #2112 from nanoant/patch/better-git-message-display
Render commit msg as header + verbatim description
9 years ago
Adam Strzelecki
a1de908dad
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.
9 years ago
Unknwon
2d1b897ae0
prepare release
9 years ago
Unknwon
f6ef41220c
Merge pull request #2110 from msoedov/misspellings
Fix misspelled words
9 years ago
Alex Myasoedov
1d4f3815a4
Fix misspelled words
9 years ago
Unknwon
ad91518721
remember page number when delete repo
9 years ago
Unknwon
ad998a52b9
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
12020f4d74
APIs: admin users
9 years ago
Unknwon
a27adc0d73
update README
9 years ago
Unknwon
442f027ad1
fix #2105 and fix #1857
9 years ago
Unknwon
7f00b5f2f4
fix #2102
9 years ago
Unknwon
36fb78d138
Set default language for i18n
9 years ago
Unknwon
efc250a25e
#2052 advanced select ops for system notices
9 years ago
Unknwon
dbc27231ac
init with all enabled
9 years ago
Unknwon
fea9ff85b6
template fix
9 years ago
Unknwon
caac2f9b19
fix #1829 and fix #890
9 years ago
Unknwon
0e4ca00d3f
#2045 have fallback but empty value
9 years ago
Unknwon
eb059f6eea
#2045 move fallback to empty string
9 years ago
Unknwon
761b55ef0d
fix #2101
9 years ago
Unknwon
8a4c9bdbc6
fix panic for #2045
9 years ago
Unknwon
c6f6031bd5
refactor API routes and some work for #976
9 years ago
Unknwon
c4e016472f
more fixes on #2045
9 years ago
Unknwon
e64b4ecb11
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Unknwon
877f9c2ef2
fix broken link
9 years ago
Unknwon
c4f5b47791
minor JS and UI fix
9 years ago
Unknwon
5e006c7f5a
fix #2095
9 years ago
Unknwon
5670d7957d
Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels
UI: Use more subtle grey SHA1 labels
9 years ago
Adam Strzelecki
fc6c0f8810
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.
9 years ago
Unknwon
3da673093e
work on #2093
9 years ago