| Commit message (Collapse) | Author | Age |
... | |
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Dropdown on commits page to choose branch #1846
|
| |
| |
| |
| |
| | |
We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits
|
|/
|
|
|
|
| |
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.
|
| |
|
|\
| |
| | |
Only show comparison link for >2 commits, fixes #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.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
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
|
|\
| |
| | |
Consistent tab indentation for all source files
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
This does not change any content and generated gogs.css is still the same.
|
| |
|
| |
|
|\
| |
| | |
Update Russian translation
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
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.
|
| |
|
|\
| |
| | |
Fix misspelled words
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |\
| | |
| | | |
UI: Use more subtle grey SHA1 labels
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|