3296 Commits (bd5dc626e82e18d3e619d918e579dc130edcd1fa)
 

Author SHA1 Message Date
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
Unknwon aaa3f1b2b9 Use better LDAP lib and should fix #1139 9 years ago
Unknwon 2b10fdc4dc Wiki: UI for page new 9 years ago
Unknwon 2f28a0310b Merge branch '0.8.0' of github.com:gogits/gogs into develop 9 years ago
Unknwon 253513cedd prepare for release 9 years ago
Unknwon eb30cbab81 add unsupported migration prompt 9 years ago
Unknwon 144663a3cf allow admin to migrate for any user/org 9 years ago
Unknwon ba92f4687e minor fix markdown post process 9 years ago
Unknwon 968edb3e44 more link fix 9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 9 years ago
Unknwon 7f9598141b fix #2020 9 years ago
Unknwon 56c66ee486 #2008 more supported git hooks 9 years ago
Unknwon 21ad4bf0fe print error log to client side when dev mode 9 years ago
Unknwon 0128036514 #1681 some fixes for builtin SSH server on Windows 9 years ago
Unknwon ec8d41765d some fix to #2026 9 years ago
Unknwon ffbeda077c Merge pull request #2024 from andreynering/dropzone-allow-all-files
Fixing Dropzone should accept all files when config is "*/*".
9 years ago
Andrey Nering 880849a283 Fixing Dropzone should accept all files when config is "*/*". 9 years ago
Unknwon b2fb7e3fd2 more HTTP clone word fix 9 years ago
Emrah URHAN 737da1a374 Latest develop updates is merged with my RaspberryPi Dockerfile version.
Merge branch 'develop' of https://github.com/gogits/gogs into develop
9 years ago
Emrah URHAN f63a468dfc Dockerfile for RaspberryPi is added. 9 years ago
Unknwon efaf60ba5a fix #2013 9 years ago
Unknwon e6b2a01e5d minor JS fix 9 years ago
Unknwon 52c8f69163 fix #650 9 years ago