Angus Gibson
df05134494
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
9bd3ebe207
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
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
989f30eb41
Merge pull request #2125 from angus-g/fixes/compare-commits
...
Only show comparison link for >2 commits, fixes #1110
9 years ago
Angus Gibson
06d293a84e
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
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
1cbd4c01fb
#2115 more precise error message
9 years ago
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
9 years ago
Unknwon
b1a53f6d8e
add quay.io as another Docker option
9 years ago
Unknwon
fde9c69679
Merge pull request #2122 from nanoant/patch/add-pre-receive-hook
...
Allow pre-receive hook customization
9 years ago
Adam Strzelecki
3df5dcc1dc
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
14080dd61d
Merge pull request #2121 from nanoant/patch/less-n-template-indent
...
Consistent tab indentation for all source files
9 years ago
Adam Strzelecki
da2585c11e
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
dd8a06a397
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
4e0c697aaf
force new INI version
9 years ago
Unknwon
3ffbb54337
minor fix for #2113 and other locales
9 years ago
Unknwon
67cfb6735b
Merge pull request #2113 from OhDaeto/patch-1
...
Update Russian translation
9 years ago
OhDaeto
b7508b06fa
Update locale_ru-RU.ini
9 years ago
OhDaeto
2a0db47935
Update Russian translation
9 years ago
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
9 years ago
Unknwon
abb02889f2
Merge pull request #2112 from nanoant/patch/better-git-message-display
...
Render commit msg as header + verbatim description
9 years ago
Adam Strzelecki
e2ca53029e
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
b5f6206a65
prepare release
9 years ago
Unknwon
3de9c11ea7
Merge pull request #2110 from msoedov/misspellings
...
Fix misspelled words
9 years ago
Alex Myasoedov
ae54d878c0
Fix misspelled words
9 years ago
Unknwon
89244b74c6
remember page number when delete repo
9 years ago
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Unknwon
bf26808fb3
update README
9 years ago
Unknwon
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
f0ee33267c
fix #2102
9 years ago
Unknwon
f3eaa4c592
Set default language for i18n
9 years ago
Unknwon
f41360d864
#2052 advanced select ops for system notices
9 years ago
Unknwon
e82ee40e9e
init with all enabled
9 years ago
Unknwon
1ee7c33e93
template fix
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
76d4b9288b
#2045 have fallback but empty value
9 years ago
Unknwon
05ba8622f0
#2045 move fallback to empty string
9 years ago
Unknwon
4795fa01d8
fix #2101
9 years ago
Unknwon
942fd6be53
fix panic for #2045
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
e0bae9547a
more fixes on #2045
9 years ago
Unknwon
bfe6027266
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Unknwon
4d9499c2d3
fix broken link
9 years ago
Unknwon
98e989d52c
minor JS and UI fix
9 years ago
Unknwon
5742f9fe69
fix #2095
9 years ago
Unknwon
1802d52362
Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels
...
UI: Use more subtle grey SHA1 labels
9 years ago
Adam Strzelecki
cab2911f23
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
81133d45a1
work on #2093
9 years ago
Unknwon
a51acf1751
Merge pull request #2092 from nanoant/patch/non-bold-last-commit-sha
...
UI: Remove CSS rule making last-commit SHA bold
9 years ago