John Olheiser
211321fb93
Git migration UX ( #12619 )
...
* Initial work
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Implementation
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix gitlab and token cloning
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Imports and JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Linting
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Generate swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move mirror toggle and rename options
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
John Olheiser
a6fd2f23f7
Allow site admin to disable mirrors ( #11740 )
...
* Allow site admin to disable mirrors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* No need to run through Safe
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Clarify only disabling NEW mirrors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Apply suggestions from @guillep2k
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
Lunny Xiao
08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests ( #6290 )
...
* add migrations
* fix package dependency
* fix lints
* implements migrations except pull requests
* add releases
* migrating releases
* fix bug
* fix lint
* fix migrate releases
* fix tests
* add rollback
* pull request migtations
* fix import
* fix go module vendor
* add tests for upload to gitea
* more migrate options
* fix swagger-check
* fix misspell
* add options on migration UI
* fix log error
* improve UI options on migrating
* add support for username password when migrating from github
* fix tests
* remove comments and fix migrate limitation
* improve error handles
* migrate API will also support migrate milestones/labels/issues/pulls/releases
* fix tests and remove unused codes
* add DownloaderFactory and docs about how to create a new Downloader
* fix misspell
* fix migration docs
* Add hints about migrate options on migration page
* fix tests
6 years ago
zeripath
bdbbd816fc
Add more title attributes on shortened names ( #6647 )
6 years ago
Matthew Richardson
2e3475f02c
Fix typos in i18n variable names. ( #4080 )
6 years ago
Fabian Zaremba
f1d2f16b54
Add notice that LFS mirroring is not supported ( #1251 )
...
* Add notice that LFS mirroring is not supported
* Drop German translation
8 years ago
Bwko
74ed6dc3ad
Add option to app.ini to enable local import paths ( #724 )
8 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
9 years ago
Unknwon
52c8f69163
fix #650
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
cc83043edc
minor fix on template
9 years ago
Unknwon
9ef063cbb0
change checkbox ui
9 years ago
Unknwon
2493454587
new delete account UI and password confirmation
9 years ago
Unknwon
c8bb475abb
fix autocomplete on migration
9 years ago
Unknwon
e633425f27
#1180 and #1250 : migration
9 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Unknwon
7ba9257a7f
Add suburl support
10 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
10 years ago
Unknwon
81287ba022
Mirror issue fix
10 years ago
Unknwon
755eec745f
Finish new repo settings page
10 years ago
Unknwon
dabf5b057c
Finish new migrate page
10 years ago
Unknown
32b09681b2
Migrate repository by organization
11 years ago
Unknown
90f6aa8cd1
Add repo mirror and import
11 years ago
Unknown
8980675a9f
Fix #69
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
FuXiaoHei
6b30d9b0f2
fix mirror typo
11 years ago
Unknown
9f7bd5007b
Work on mirror repo
11 years ago
FuXiaoHei
c72e1b5c2a
repo-import page ui
11 years ago
FuXiaoHei
2a2f025388
change css name style
11 years ago
slene
076fc98d98
add csrf check
11 years ago
Unknown
828c89de99
Clean code
11 years ago
Unknown
fdc4151ff3
Finish create repo
11 years ago
FuXiaoHei
63d2f74c21
begin dashboard ui
11 years ago
Unknown
76ce6f9848
Update repo.Create
11 years ago
Unknown
a2a59f8ad1
Change /user/profile URL to /user/:username
11 years ago
Unknown
ba5c7ea771
Add SignInRequire and SignOutRequire middleware
11 years ago
Lunny Xiao
e246f2188e
add list for repo basic
11 years ago
FuXiaoHei
71bae3ebd3
ui for repo/create page
11 years ago
Lunny Xiao
f7826d4ed7
create repository from web
11 years ago
Unknown
8962b39648
Add routers for create and delete repo
11 years ago