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
Unknwon
4a806c73c4
Merge pull request #2092 from nanoant/patch/non-bold-last-commit-sha
UI: Remove CSS rule making last-commit SHA bold
9 years ago
Adam Strzelecki
b59ccb05d3
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.
9 years ago
Adam Strzelecki
4ec05ddd28
UI: Remove CSS rule making last-commit SHA bold
This removes remains from old design, that was not cleaned by previous #2068 PR.
9 years ago
Unknwon
9a3102965e
500 when wiki not exists
9 years ago
Unknwon
762a18be79
fix #2090
9 years ago
Unknwon
82c2856e1e
fix #2087
9 years ago
Unknwon
316ca2d3e4
fix #976
9 years ago
Unknwon
9040b23ccd
more UI minor fixes
9 years ago
Unknwon
a11a0fd2a5
Merge pull request #2088 from nanoant/patch/further-layout-fixes
Further layout fixes
9 years ago
Adam Strzelecki
fe333fdf98
CSS: Octicons 16px fix outside of _octicons.less
Otherwise the fix will be overwritten by next _octicons.less update.
This is follow-up for 22b0dfbb35
.
9 years ago
Adam Strzelecki
51df440502
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.
9 years ago