2
0
Commit Graph

3224 Commits

Author SHA1 Message Date
Unknwon
e73e88bcce Merge pull request #2088 from nanoant/patch/further-layout-fixes
Further layout fixes
2015-12-02 20:26:48 -05:00
Adam Strzelecki
4078528925 CSS: Octicons 16px fix outside of _octicons.less
Otherwise the fix will be overwritten by next _octicons.less update.

This is follow-up for 218d73f8a2.
2015-12-03 02:18:38 +01:00
Adam Strzelecki
9aeb906ebb 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.
2015-12-03 02:16:18 +01:00
Unknwon
bd82bd8e08 clean test data 2015-12-02 20:10:47 -05:00
Unknwon
f97b4d5191 minor CSS fix 2015-12-02 20:10:00 -05:00
Unknwon
0e8a46fb6d minor CSS fix for #2068 2015-12-02 19:53:39 -05:00
Unknwon
5b451d9975 minor fix for #2086 2015-12-02 19:45:43 -05:00
Unknwon
55671c0b8d Merge pull request #2068 from nanoant/patch/repo-file-list-layout
Repo file list layout & misc fixes
2015-12-02 19:44:16 -05:00
Adam Strzelecki
aa3bef6a16 UI: Display last-commit header without 2nd column
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.

Also use grey header for last-commit SHA1 tag.
2015-12-03 01:15:40 +01:00
Unknwon
7d90564d6a fix #2085 2015-12-02 18:58:13 -05:00
Unknwon
c4e6678007 Merge pull request #2086 from nanoant/patch/translation-add-code-entry
Translation: Add missing entry for new "code" tab
2015-12-02 18:53:38 -05:00
Adam Strzelecki
3cfda8aa6a UI: Keep repo URL action right of ref combo & path
Just use secondary menu instead custom ".head.meta", which simplifies code.

Also do not display repo URL action when we are in subdirectory or viewing a
file.
2015-12-02 23:48:36 +01:00
Adam Strzelecki
a0b0513ca0 Translation: Add missing entry for new "code" tab
We have new tab, but we had no entry. That's why it was showing "code"
(lowercase) as this is text id, where we were expecting properly title cased
"Code" to be shown in English version.

Also add Polish translation "code=Kod".
2015-12-02 23:00:23 +01:00
Adam Strzelecki
8a92d376f1 UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
2015-12-02 22:40:22 +01:00
Adam Strzelecki
3a2e7f489a UI: Keep repository settings menu button right 2015-12-02 22:06:50 +01:00
Adam Strzelecki
121cef9ab4 Commits & files UI: SUI fixed single line table
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.

NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
2015-12-02 21:57:39 +01:00
Adam Strzelecki
14dd7bba93 CSS: Reduce .sha.label font size to 13px 2015-12-02 21:43:30 +01:00
Adam Strzelecki
73311e2013 CSS: .repository .sha.label -> .ui .sha.label
This is because SHA1 label is used in many other places, not only inside
.repository container.
2015-12-02 21:42:31 +01:00
Adam Strzelecki
b432825974 UI: Mark top menu icons blue only when non-zero 2015-12-02 21:38:52 +01:00
Adam Strzelecki
218d73f8a2 CSS: Ensure Octicons are used with 16px font size
Semantic UI .icon 1em font-size has priority over .octicon 16px, resulting
octicons rendered at 14px font-size, which is not okay since Octicons are meant
to be shown sizes that are multiples of 16px.
2015-12-02 21:33:32 +01:00
Unknwon
569b30d722 fix #2083 2015-12-02 13:47:22 -05:00
Unknwon
757bdc8ea8 #2071 Diff is not showing full content when has super long one line 2015-12-02 01:10:13 -05:00
Unknwon
9563068a7b Merge pull request #2081 from angus-g/en-trans
Update English translations
2015-12-01 23:46:05 -05:00
Angus Gibson
bb6d4d0baf Fix casing in English translation 2015-12-02 15:43:56 +11:00
Unknwon
2003d25c5f #2052 Ability to batch delete system notices 2015-12-01 23:33:08 -05:00
Angus Gibson
984abd4ff7 Update English translations
Just some phrasing changes to make the English translations sound more natural.
2015-12-02 15:27:08 +11:00
Unknwon
8a1356d86b #2045 add short version as fallback to Slack payload 2015-12-01 21:16:19 -05:00
Unknwon
02a145f344 fix #2057 2015-12-01 20:51:31 -05:00
Unknwon
4422ae5fe0 update REMADE and locale 2015-12-01 19:53:19 -05:00
Unknwon
80db6fd480 Merge pull request #2079 from nanoant/patch/ldap-custom-username-attr
LDAP: Optional user name attribute specification
2015-12-01 18:23:12 -05:00
Adam Strzelecki
8d0ee10100 LDAP: Optional user name attribute specification
Consider following LDAP search query example:

    (&(objectClass=Person)(|(uid=%s)(mail=%s)))

Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.

Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
Unknwon
259feb515b Merge pull request #2078 from nanoant/patch/makefile-improvements
Makefile improvements
2015-12-01 17:26:25 -05:00
Unknwon
f61e5c501e fix API 2015-12-01 16:33:45 -05:00
Unknwon
066860410d Merge pull request #2076 from Gibheer/new_mirror
add new mirror button to dashboard
2015-12-01 16:33:00 -05:00
Adam Strzelecki
5e1f1b598f scripts: Remove less.sh superseded by Makefile
We no longer need to manually build CSS files as Makefile keeps track of it.
2015-12-01 22:28:21 +01:00
Adam Strzelecki
519724eedc Makefile: Remove trailing whitespace & add last LF
This is pure cleanup commit.
2015-12-01 22:20:21 +01:00
Adam Strzelecki
330f721cea Makefile: Auto-build CSS & bin-data when necessary
This will ensure that running `make` we will get all necessary files built and
we do not need manually remember to rebuild them.
2015-12-01 22:18:30 +01:00
Adam Strzelecki
b19128da6b Makefile: Copy installed binary instead 2nd build
This speeds up single build/rebuild rather than install & build which compiles
everything twice, we just copy installed binary back to the project root.
2015-12-01 22:16:00 +01:00
Gibheer
6f49740f96 add new mirror button to dashboard
This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
2015-12-01 21:10:36 +01:00
Unknwon
08a25ceace Merge pull request #2016 from raxetul/develop
Dockerfile for RaspberryPi is added.
2015-12-01 14:46:03 -05:00
Unknwon
5982bae14d Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
Admin should be able to see all organizations
2015-11-30 21:18:33 -05:00
Unknwon
d3909ca3e8 fix #2042 2015-11-30 20:50:40 -05:00
Unknwon
ba80dbd1c4 Merge branch 'feature/wiki' into develop 2015-11-30 20:46:19 -05:00
Unknwon
05e2641b27 finish wiki 2015-11-30 20:45:55 -05:00
Unknwon
5ed2892a08 Merge pull request #2053 from kakwa/develop
various fixes in gogs dump command
2015-11-30 16:18:18 -05:00
Adam Strzelecki
ae3d0b898f Admin should be able to see all organizations
This is follow-up for 97053baac1 allowing admin
to see private repositories, even when not being member of them.
2015-11-30 21:46:01 +01:00
Unknwon
ada0037fea #1681 carry --config flag for builtin SSH 2015-11-30 15:40:05 -05:00
Unknwon
06354a83cf add line break after SSH error message 2015-11-30 10:00:52 -05:00
kakwa
80e042dee3 add name of the dump file in last log message 2015-11-28 15:22:10 +01:00
kakwa
d1b1ab7bdc Fix dump of log and custom directory in dump cmd
Now, the dump cmd uses setting.CustomPath and setting.LogRootPath
instead of setting.WorkDir which was kind of broken if the gogs
binary was in a different directory than gogs data.
Additionally, the backup of setting.CustomPath directory is only done
if it exists.
2015-11-28 15:08:50 +01:00