Unknwon
5bf71fa245
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -05:00
Unknwon
345d2ea9ac
Merge pull request #2132 from nanoant/patch/do-not-fail-on-missing-lessc
...
Makefile: Do not fail build on missing lessc
2015-12-09 08:07:18 -05:00
Adam Strzelecki
084750576f
Makefile: Do not fail build on missing lessc
...
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
2015-12-09 13:32:43 +01:00
Unknwon
8cd409dadd
Merge pull request #2126 from angus-g/fixes/commits-branches
...
Dropdown on commits page to choose branch #1846
2015-12-09 01:42:26 -05:00
Angus Gibson
db45539952
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
2015-12-09 17:15:58 +11:00
Angus Gibson
be0ba29c91
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.
2015-12-09 16:37:04 +11:00
Unknwon
b532563542
unified name: IsViewBranch, IsViewCommit and IsViewTag
2015-12-09 00:32:53 -05:00
Unknwon
ec20c75f85
Merge pull request #2125 from angus-g/fixes/compare-commits
...
Only show comparison link for >2 commits, fixes #1110
2015-12-08 23:16:03 -05:00
Angus Gibson
8cb9b39f60
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.
2015-12-09 14:36:39 +11:00
Unknwon
4df8494a60
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Unknwon
902a4d6a68
#2115 more precise error message
2015-12-08 01:11:40 -05:00
Unknwon
71a5fd8657
#1627 auto login after install if admin is configured
2015-12-08 00:59:14 -05:00
Unknwon
6835f52b0a
add quay.io as another Docker option
2015-12-07 19:40:24 -05:00
Unknwon
a200069531
Merge pull request #2122 from nanoant/patch/add-pre-receive-hook
...
Allow pre-receive hook customization
2015-12-07 19:31:16 -05:00
Adam Strzelecki
68b06312d7
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
2015-12-08 01:28:32 +01:00
Unknwon
61135dfac8
Merge pull request #2121 from nanoant/patch/less-n-template-indent
...
Consistent tab indentation for all source files
2015-12-07 19:04:13 -05:00
Adam Strzelecki
14c04615a0
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
2015-12-08 00:57:46 +01:00
Adam Strzelecki
f530ef17bc
LESS: Use tabs for indent in all files
...
This does not change any content and generated gogs.css is still the same.
2015-12-07 21:20:54 +01:00
Unknwon
f7ca70894d
force new INI version
2015-12-07 11:33:04 -05:00
Unknwon
42c8d218d5
minor fix for #2113 and other locales
2015-12-07 00:10:08 -05:00
Unknwon
f2d379ab97
Merge pull request #2113 from OhDaeto/patch-1
...
Update Russian translation
2015-12-07 00:05:36 -05:00
OhDaeto
ee9df33f9c
Update locale_ru-RU.ini
2015-12-07 08:02:16 +03:00
OhDaeto
e1fa279aeb
Update Russian translation
2015-12-07 07:27:17 +03:00
Unknwon
622e8ef374
fix wrong slack webhook payload URL
2015-12-06 23:07:02 -05:00
Unknwon
4814ee8a97
Merge pull request #2112 from nanoant/patch/better-git-message-display
...
Render commit msg as header + verbatim description
2015-12-06 20:06:23 -05:00
Adam Strzelecki
c2c88079bb
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.
2015-12-07 01:50:45 +01:00
Unknwon
f9be09623a
prepare release
2015-12-06 15:34:17 -05:00
Unknwon
3b6ac81100
Merge pull request #2110 from msoedov/misspellings
...
Fix misspelled words
2015-12-06 15:27:11 -05:00
Alex Myasoedov
7b32a12ba8
Fix misspelled words
2015-12-06 16:42:23 +02:00
Unknwon
64cf523389
remember page number when delete repo
2015-12-05 17:49:46 -05:00
Unknwon
ab04be1647
#2063 Ability to delete repo from admin panel
2015-12-05 17:39:29 -05:00
Unknwon
a3ea3c3bb9
APIs: admin users
2015-12-05 17:13:13 -05:00
Unknwon
1d4f2f021c
update README
2015-12-05 13:50:43 -05:00
Unknwon
ce33563853
fix #2105 and fix #1857
2015-12-05 13:24:13 -05:00
Unknwon
22e32b52cd
fix #2102
2015-12-05 11:46:42 -05:00
Unknwon
dad6d4895f
Set default language for i18n
2015-12-05 01:20:11 -05:00
Unknwon
9f75c6ce3d
#2052 advanced select ops for system notices
2015-12-05 01:09:14 -05:00
Unknwon
9f11b27f3d
init with all enabled
2015-12-04 21:34:37 -05:00
Unknwon
32fdf6999a
template fix
2015-12-04 21:32:33 -05:00
Unknwon
4b54ceb402
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
0b69a3cf36
#2045 have fallback but empty value
2015-12-04 19:01:34 -05:00
Unknwon
9d6cc5ecc6
#2045 move fallback to empty string
2015-12-04 18:31:45 -05:00
Unknwon
104ac276a3
fix #2101
2015-12-04 17:30:32 -05:00
Unknwon
5d93d18163
fix panic for #2045
2015-12-04 17:20:23 -05:00
Unknwon
8b49bed230
refactor API routes and some work for #976
2015-12-04 17:16:42 -05:00
Unknwon
69d1f3cf21
more fixes on #2045
2015-12-04 15:41:56 -05:00
Unknwon
50510c920e
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-12-03 18:10:54 -05:00
Unknwon
6ae7c300bc
fix broken link
2015-12-03 18:10:45 -05:00
Unknwon
dd91baec3d
minor JS and UI fix
2015-12-03 15:01:15 -05:00
Unknwon
92a882b6c8
fix #2095
2015-12-03 14:31:31 -05:00