kolaente
e322fa36b2
Added migration to update comments table
2018-02-12 17:35:26 +01:00
kolaente
1f8ef921e2
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v56.go
2018-01-08 19:08:41 +01:00
kolaente
4d15f28e04
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v56.go
2018-01-08 19:08:13 +01:00
Ethan Koenig
f48680888c
Remove IsOwner, NumTeams from OrgUser ( #3269 )
2018-01-08 09:48:37 +02:00
kolaente
171715b21d
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v55.go
2018-01-07 00:06:10 +01:00
kolaente
eb295f40c0
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v55.go
2018-01-07 00:05:43 +01:00
Vlad Temian
e78786ef39
Writable deploy keys ( closes #671 ) ( #3225 )
...
* Add is_writable checkbox to deploy keys interface
* Add writable key option to deploy key form
* Add support for writable ssh keys in the interface
* Rename IsWritable to ReadOnly
* Test: create read-only and read-write deploy keys via api
* Add DeployKey access mode migration
* Update gitea sdk via govendor
* Fix deploykey migration
* Add unittests for writable deploy keys
* Move template text to locale
* Remove implicit column update
* Remove duplicate locales
* Replace ReadOnly field with IsReadOnly method
* Fix deploy_keys related integration test
* Rename v54 migration with v55
* Fix migration hell
2018-01-07 00:55:53 +02:00
Konrad
f4cb1c7340
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# docs/content/doc/advanced/config-cheat-sheet.en-us.md
# models/migrations/migrations.go
# models/migrations/v54.go
# routers/repo/pull.go
2018-01-06 23:01:44 +01:00
kolaente
37dc550bc8
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# docs/content/doc/advanced/config-cheat-sheet.en-us.md
# models/migrations/migrations.go
# models/migrations/v54.go
# routers/repo/pull.go
2018-01-06 22:41:44 +01:00
Lauris BH
8ac1501ad7
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge ( #3188 )
...
* Pull request options migration and UI in settings
* Add ignore whitespace functionality
* Fix settings if pull requests are disabled
* Fix migration transaction
* Merge with Rebase functionality
* UI changes and related functionality for pull request merging button
* Implement squash functionality
* Fix rebase merging
* Fix pull request merge tests
* Add squash and rebase tests
* Fix API method to reuse default message functions
* Some refactoring and small fixes
* Remove more hardcoded values from tests
* Remove unneeded check from API method
* Fix variable name and comment typo
* Fix reset commit count after PR merge
2018-01-05 20:56:50 +02:00
kolaente
436ea162bb
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# public/js/index.js
2018-01-01 14:20:42 +01:00
Sandro Santilli
8cd987af0c
Add repo-sync-releases admin command ( #3254 )
...
* Add repo-sync-releases admin command
Will help recovering corrupted database, see #3247
* Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo
* Fix debug output about num releases
* Introduce RepositoryListDefaultPageSize constant, set to 64
Use it from the new admin command
* Use RepositoryListDefaultPageSize in more places
* Document RepositoryListDefaultPageSize
2017-12-31 16:45:46 +02:00
kolaente
69769ec6fd
gofmt
2017-12-19 19:14:26 +01:00
kolaente
8354f2be75
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/v51.go
2017-12-19 19:08:23 +01:00
kolaente
172b1f054a
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/v51.go
2017-12-19 19:07:30 +01:00
Lauris BH
c06cc740de
Reorder migrations, skip errors if running migration again ( #3160 )
...
* Reorder migrations, skip errors if running migration again
* Rename migration file names to match migration version
* Add note about ingored error
2017-12-13 16:52:18 +02:00
kolaente
f02fd333c7
Fixed import order
2017-12-07 10:23:49 +01:00
kolaente
01f9e6332e
Modified import order
2017-12-06 17:17:37 +01:00
kolaente
66433a9549
gofmt
2017-12-04 19:31:45 +01:00
kolaente
8bcb624b10
Added missing license header
2017-12-04 19:21:38 +01:00
kolaente
fae44666ec
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v50.go
2017-12-04 10:48:37 +01:00
Lauris BH
5dc37b187c
Add reactions to issues/PR and comments ( #2856 )
2017-12-04 01:14:26 +02:00
kolaente
d00eb86117
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v49.go
# models/models.go
2017-11-29 21:00:37 +01:00
kolaente
6eea6c686f
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v49.go
# models/models.go
2017-11-29 20:55:20 +01:00
Antoine GIRARD
4035ab05fa
Fix git lfs path ( #3016 )
...
* add suffix .git
* Remove Content-Type on GET methods
* Add migrations to force creation before any further potential migration
2017-11-29 01:35:23 +02:00
kolaente
db4f578e04
Finished implementing setting for dependencies
2017-11-28 00:33:51 +01:00
Konrad Langenberg
a54f930c72
Removed wrong notification content in struct
2017-11-06 21:39:52 +01:00
Konrad Langenberg
3beecd2d13
Improved readability
2017-11-01 21:33:42 +01:00
Konrad Langenberg
751bbee534
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v46.go
# models/repo.go
# public/js/index.js
2017-10-30 21:26:38 +01:00
Konrad Langenberg
30fe97a55e
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v46.go
# models/repo.go
# public/js/index.js
2017-10-30 21:17:36 +01:00
Ethan Koenig
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00
Bwko
3ab580c8d6
Add branch overiew page ( #2108 )
...
* Add branch overiew page
* fix changed method name on sub menu
* remove unused code
2017-10-26 08:49:16 +08:00
Lunny Xiao
985a39590b
Use buffersize to reduce database connection when iterate ( #2724 )
...
* use buffersize to reduce database connection when iterate
* fix typo
* add default value on app.ini comment
2017-10-21 14:26:23 +08:00
Lauris BH
8863e74f2a
Fix organization watch migration ( #2703 )
2017-10-14 20:47:05 +03:00
Lunny Xiao
514006a2e5
Fix orgnization user watch repository ( #2670 )
...
* remove orgnization watch repositories
* fix migration
* fix typo and missing change
* remove unused code
2017-10-14 22:37:43 +08:00
Konrad Langenberg
fda0b71fce
Moved struct inside migration
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-10 23:39:13 +02:00
Konrad
81dfd9e15e
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-10-10 22:57:04 +02:00
David Schneiderbauer
ebac051e72
Rewrite migrations to not depend on future code changes ( #2604 )
...
* v38 migration used an outdated version of RepoUnit model (#2602 )
* change repoUnit model in migration
* fix v16 migration repo_unit table
* fix lint error
* move type definition inside function
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* fix lint error
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix time tracking migration
* Refactor code
* Fix migration from Gogs
* v38 migration used an outdated version of RepoUnit model (#2602 )
* change repoUnit model in migration
* fix v16 migration repo_unit table
* fix lint error
* move type definition inside function
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* fix lint error
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix time tracking migration
* Refactor code
* Fix migration from Gogs
* add error check
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Additiomal fixes for migrations
* Fix timetracking migration
* Add back nil check
2017-10-08 19:08:18 +08:00
Ethan Koenig
aa962deec0
Replace deprecated Id method with ID ( #2655 )
2017-10-05 07:43:04 +03:00
Konrad Langenberg
9609609627
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v44.go
2017-10-04 23:36:38 +02:00
Konrad Langenberg
d7a2ffcc69
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v44.go
2017-10-04 23:15:30 +02:00
Morlinest
a79af9cf6f
Fix index column deletion ( #2651 )
2017-10-04 14:26:13 +03:00
Morlinest
a04718a2a6
Remove repo unit index ( #2621 )
...
* Remove repo unit index
* Fix sqlite
2017-10-02 23:22:25 +03:00
David Schneiderbauer
26e49b8e3d
Fix doubled issue tab introduced in migration v16 ( #2611 )
...
* fix duplicate issue tab as UnitTypeIssue and UnitTypeExternalTracker are existing at the same time
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-09-28 16:14:51 +03:00
Konrad Langenberg
5fde62ba3a
Re-Added Migration
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:25:27 +02:00
Konrad Langenberg
8b4a48c4bc
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v42.go
2017-09-24 13:20:34 +02:00
Konrad Langenberg
8207f32be6
Added migration
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 16:19:59 +02:00
Lauris BH
2db424c3f1
Fix broken migration to add can_push field back to table ( #2574 )
2017-09-23 16:45:41 +08:00
Lauris BH
6718ea6ff1
Fix can_push value to false in protected_branch ( #2560 )
2017-09-20 17:52:23 +03:00
Lauris BH
7a0297819d
Sync releases table with tags on push and for mirrors ( #2459 )
...
* Sync releases table with tags on push and for mirrors
* Code style fixes
* Fix api to return only releases
* Optimize release creation and update
Minimize posibility of race conditions
* Fix release lower tag name updating
* handle tag reference update by addionally comparing commit id
2017-09-20 13:26:49 +08:00