2
0
Commit Graph

318 Commits

Author SHA1 Message Date
Unknwon
4b54ceb402 fix #1829 and fix #890 2015-12-04 21:30:33 -05:00
Unknwon
8b49bed230 refactor API routes and some work for #976 2015-12-04 17:16:42 -05:00
Unknwon
92a882b6c8 fix #2095 2015-12-03 14:31:31 -05:00
Unknwon
c211e8ef1a fix #976 2015-12-03 00:24:37 -05:00
Unknwon
4d01e56185 more UI minor fixes 2015-12-02 20:56:26 -05: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
2003d25c5f #2052 Ability to batch delete system notices 2015-12-01 23:33:08 -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
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
kakwa
9d88360ac5 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.
2015-11-28 14:07:51 +01:00
kakwa
e585775d12 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)
2015-11-28 12:11:38 +01:00
Unknwon
0b1e1041aa wiki: finish edit 2015-11-27 01:50:38 -05:00
Unknwon
5369b119f8 wiki: finish new 2015-11-27 00:24:24 -05:00
Unknwon
1d132f38b6 introduce git-shell 2015-11-26 17:33:45 -05:00
Unknwon
79851c8152 Wiki: UI for page new 2015-11-25 20:10:25 -05:00
Unknwon
2f84c3ea0a #1944 Drop /org/ URL path prefix in organization home page 2015-11-24 19:14:00 -05:00
Unknwon
c9a5612e14 print error log to client side when dev mode 2015-11-23 22:33:24 -05:00
Unknwon
f99acf6add #1681 some fixes for builtin SSH server on Windows 2015-11-23 22:32:07 -05:00
Unknwon
a552fce3e3 fix #650 2015-11-22 01:32:09 -05:00
Unknwon
b94f6fc495 fix #1383 2015-11-20 02:38:41 -05:00
Unknwon
869a990446 fix #878 2015-11-18 21:21:47 -05:00
Unknwon
1111889aec repo sidebar active class 2015-11-16 11:16:52 -05:00
Unknwon
05cf023b6a fix #1960 2015-11-16 11:11:59 -05:00
Unknwon
40870fc25c work on #1961 2015-11-16 10:14:12 -05:00
Unknwon
96e2cb89c7 fix api broken 2015-11-15 17:07:44 -05:00
Unknwon
d33be715e5 minor UI fix and fix ssh race 2015-11-14 13:21:31 -05:00
Unknwon
9fe7b7125d Show custom avatars in commits 2015-11-13 17:10:25 -05:00
Unknwon
924c809307 convert missing name 2015-11-09 11:39:03 -05:00
Unknwon
547c54d5f0 #1266 convert name to lower when handle SSH 2015-11-09 11:34:04 -05:00
Unknwon
b34fccd2c7 fix 1540 and experimental SSH server support 2015-11-08 16:59:56 -05:00
Unknwon
cc4c21d32a go vet and fix #1890 2015-11-08 14:31:49 -05:00
Unknwon
7136c29be9 fix #1902 2015-11-07 00:39:45 -05:00
Unknwon
a94538ef3a #1896 fatal when no needed update task 2015-11-04 21:57:10 -05:00
Unknwon
5b579c11bb add Makefile 2015-11-03 12:16:43 -05:00
Unknwon
5dff91619c fix insecure tls when trigger task 2015-10-26 09:16:24 -04:00
Unknwon
dff1973db7 New push to head repo of head branch: regenerate patch and retest apply 2015-10-24 03:36:47 -04:00
Unknwon
ae4282641b reduce code 2015-10-22 17:47:08 -04:00
Unknwon
7379738045 add get repo API 2015-10-22 17:46:07 -04:00
Unknwon
677970b18e fix import path, fix #1782 2015-10-15 21:28:12 -04:00
Unknwon
87bcab99a4 unified API error response 2015-10-08 20:36:07 -04:00
无闻
3c4bd81026 Merge pull request #1736 from soudy/develop
Added repository remove option to API
2015-10-08 20:01:56 -04:00
Unknwon
37f58936e5 add log for trigger hook when push through SSH 2015-10-05 09:46:00 -04:00
Steven Oud
a35f59a187 added repository remove option to api 2015-10-04 23:29:23 +02:00
kendaru
38b8ce8424 moved routes to RouterRef group 2015-10-02 10:48:31 +02:00
kendaru
2cc7d5a57e changed integrated page number to GET 2015-10-02 10:04:11 +02:00
Steven
fe0cd6c2fd implemented #1721: see users who forked/starred/watched a repository 2015-10-01 15:51:46 +02:00