3268 Commits (dd8a06a397e26c46639eba1313102560dfa49c95)
 

Author SHA1 Message Date
Unknwon b83cb36049 minor fix for #2086 9 years ago
Unknwon 73d9eebf01 Merge pull request #2068 from nanoant/patch/repo-file-list-layout
Repo file list layout & misc fixes
9 years ago
Adam Strzelecki b73241ceb1 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.
9 years ago
Unknwon e350d74c8a fix #2085 9 years ago
Unknwon 149e540322 Merge pull request #2086 from nanoant/patch/translation-add-code-entry
Translation: Add missing entry for new "code" tab
9 years ago
Adam Strzelecki 314664892c 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.
9 years ago
Adam Strzelecki a9a386a1e5 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".
9 years ago
Adam Strzelecki 3eae4ecde7 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.
9 years ago
Adam Strzelecki ec98deeb8c UI: Keep repository settings menu button right 9 years ago
Adam Strzelecki 61fdd8c571 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.
9 years ago
Adam Strzelecki 4813665d0a CSS: Reduce .sha.label font size to 13px 9 years ago
Adam Strzelecki 640dce12a8 CSS: .repository .sha.label -> .ui .sha.label
This is because SHA1 label is used in many other places, not only inside
.repository container.
9 years ago
Adam Strzelecki 99b958db43 UI: Mark top menu icons blue only when non-zero 9 years ago
Adam Strzelecki 22b0dfbb35 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.
9 years ago
Unknwon 4a64ae4abf fix #2083 9 years ago
Unknwon 926e91820a #2071 Diff is not showing full content when has super long one line 9 years ago
Unknwon 91ae2ad28b Merge pull request #2081 from angus-g/en-trans
Update English translations
9 years ago
Angus Gibson db30ea03d8 Fix casing in English translation 9 years ago
Unknwon 0be8b1b1a1 #2052 Ability to batch delete system notices 9 years ago
Angus Gibson d45302a6ba Update English translations
Just some phrasing changes to make the English translations sound more natural.
9 years ago
Unknwon 834d38a8fb #2045 add short version as fallback to Slack payload 9 years ago
Unknwon 5572884c6b fix #2057 9 years ago
Unknwon 3460ec1039 update REMADE and locale 9 years ago
Unknwon 53bf23d965 Merge pull request #2079 from nanoant/patch/ldap-custom-username-attr
LDAP: Optional user name attribute specification
9 years ago
Adam Strzelecki 573305f3d3 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.
9 years ago
Unknwon 7ccce4d110 Merge pull request #2078 from nanoant/patch/makefile-improvements
Makefile improvements
9 years ago
Unknwon 9ed60d96a9 fix API 9 years ago
Unknwon b6d2b96259 Merge pull request #2076 from Gibheer/new_mirror
add new mirror button to dashboard
9 years ago
Adam Strzelecki e5fe367b82 scripts: Remove less.sh superseded by Makefile
We no longer need to manually build CSS files as Makefile keeps track of it.
9 years ago
Adam Strzelecki 19e8ce0354 Makefile: Remove trailing whitespace & add last LF
This is pure cleanup commit.
9 years ago
Adam Strzelecki f907a5c98b 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.
9 years ago
Adam Strzelecki da607c611d 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.
9 years ago
Gibheer 3d54f6c0a4 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.
9 years ago
Unknwon 2093586241 Merge pull request #2016 from raxetul/develop
Dockerfile for RaspberryPi is added.
9 years ago
Unknwon 117afe7620 Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
Admin should be able to see all organizations
9 years ago
Unknwon d3a5ff7b6b fix #2042 9 years ago
Unknwon dcb391d341 Merge branch 'feature/wiki' into develop 9 years ago
Unknwon 830d000667 finish wiki 9 years ago
Unknwon 5a14c3cf98 Merge pull request #2053 from kakwa/develop
various fixes in gogs dump command
9 years ago
Adam Strzelecki e57b2dffa4 Admin should be able to see all organizations
This is follow-up for 56c66ee486 allowing admin
to see private repositories, even when not being member of them.
9 years ago
Unknwon ca96e04e5f #1681 carry --config flag for builtin SSH 9 years ago
Unknwon 9950f5a5bd add line break after SSH error message 9 years ago
kakwa 1d7a1b6034 add name of the dump file in last log message 9 years ago
kakwa a59b1fcc21 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.
9 years ago
kakwa c5a9be9115 Using a tmp dir to generate db and repo dumps
Using a tmp dir makes gogs dump more robust to concurrent runs.

It also permits an easier cleaning of the tmp files (gogs-db.sql and
gog-repo.zip) by just removing the tmp dir.

As a side effect, it partially fix bugs on workdir.
Previously, 'gogs dump' created the archives in the current directory,
and tried to include these archives from the directory where the
gogs binary lies.
ex: if gogs binary is in /usr/bin/gogs, and gogs dump is run from /tmp/,
/tmp/gog-repo.zip is created, but gogs dump tried to include
/usr/bin/gogs-repo.zip.
9 years ago
kakwa f86afb04a2 Adding more error handling in dump cmd
The dump cmd did not check the return value of the z.AddFile or
z.AddDir when building the final archive.
It caused the dump command to succeed even if an error occurred.
The resulted dump archive could be corrupted/empty.
(errors could be various: removal by a concurrent process, disk full,
bugs in the dump cmd itself)
9 years ago
Unknwon 5d1f5f32d0 wiki: finish pages 9 years ago
Unknwon e42fcb033d wiki: finish edit 9 years ago
Unknwon 392f3ee210 wiki: finish new 9 years ago
Unknwon c50a3503e6 introduce git-shell 9 years ago