323 Commits (dd8a06a397e26c46639eba1313102560dfa49c95)

Author SHA1 Message Date
Unknwon 4e0c697aaf force new INI version 9 years ago
Unknwon ca8ce793d1 #2063 Ability to delete repo from admin panel 9 years ago
Unknwon 404867f206 fix #2105 and fix #1857 9 years ago
Unknwon f3eaa4c592 Set default language for i18n 9 years ago
Unknwon f41360d864 #2052 advanced select ops for system notices 9 years ago
Unknwon e538ff2770 fix #1829 and fix #890 9 years ago
Unknwon 56dd430a10 refactor API routes and some work for #976 9 years ago
Unknwon 5742f9fe69 fix #2095 9 years ago
Unknwon cc8f5add6e fix #976 9 years ago
Unknwon ec2423ad7c more UI minor fixes 9 years ago
Adam Strzelecki 2580e7b57e 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.
9 years ago
Unknwon 0be8b1b1a1 #2052 Ability to batch delete system notices 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
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 e42fcb033d wiki: finish edit 9 years ago
Unknwon 392f3ee210 wiki: finish new 9 years ago
Unknwon c50a3503e6 introduce git-shell 9 years ago
Unknwon 2b10fdc4dc Wiki: UI for page new 9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 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 52c8f69163 fix #650 9 years ago
Unknwon 987dcc5372 fix #1383 9 years ago
Unknwon f455125d4d fix #878 9 years ago
Unknwon 29ed7872f8 repo sidebar active class 9 years ago
Unknwon 5dc3dd1704 fix #1960 9 years ago
Unknwon 134d8e7681 work on #1961 9 years ago
Unknwon e030109b5a fix api broken 9 years ago
Unknwon 7c80eba77f minor UI fix and fix ssh race 9 years ago
Unknwon 1d57f0d64f Show custom avatars in commits 9 years ago
Unknwon 2db785b3ed convert missing name 9 years ago
Unknwon 647688bd06 #1266 convert name to lower when handle SSH 9 years ago
Unknwon 18c841050b fix 1540 and experimental SSH server support 9 years ago
Unknwon b55499d039 go vet and fix #1890 9 years ago
Unknwon 676d774d88 fix #1902 9 years ago
Unknwon f255b1e86d #1896 fatal when no needed update task 9 years ago
Unknwon a374751eb8 add Makefile 9 years ago
Unknwon b9f5def5dc fix insecure tls when trigger task 9 years ago
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply 9 years ago
Unknwon b5fdf0947b reduce code 9 years ago
Unknwon 35a65736fa add get repo API 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Unknwon aff49b1c9e unified API error response 9 years ago
无闻 b1941f1da1 Merge pull request #1736 from soudy/develop
Added repository remove option to API
9 years ago