b26c3b482f
Add TestPrepareWikiFileName ( #16487 )
...
* Add TestPrepareWikiFileName
* use LsTree as LsFiles is index only
* ajust other tests
Co-authored-by: Andrew Thornton <art27@cantab.net >
2021-07-20 15:16:20 +02:00
6543 and GitHub
4b512abf5b
CI: Add unit-test-race ( #16470 )
2021-07-17 22:46:20 +02:00
195c9999a1
Changelog for v1.15.0-rc1 ( #16422 )
...
* changelog -m 1.15.0 generate
* enhance changelog
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: techknowlogick <matti@mdranta.net >
* move SECURITY before FEATURES
* move ENHANCEMENTS above BUGFIXES
* as per techknowlogick
* more
* node16
* Apply suggestions from code review
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
* next
* Apply suggestions from code review
* Update CHANGELOG.md
Co-authored-by: Norwin <noerw@users.noreply.github.com >
* Update CHANGELOG.md
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
Co-authored-by: Norwin <noerw@users.noreply.github.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-07-15 11:47:57 -04:00
6543 and GitHub
8798e3a098
Use TrN helper for email templates ( #16425 )
...
* Add TrN helper
* use TrN
* a nit
2021-07-14 15:06:09 +02:00
6543 and GitHub
56b7f53329
Return updated repository when changing repository using API ( #16420 )
2021-07-13 20:31:59 +01:00
57ee06fb94
fix calculation for finalPage in repo-search component ( #16382 )
...
Co-authored-by: Jan Naahs <jan.naahs@naahstea.de >
2021-07-13 16:05:27 +02:00
6543 and GitHub
b81106be3f
Let branch/tag name be a valid ref to get CI status ( #16400 )
...
* fix #16384#
* refactor: move shared helper func to utils package
* extend Tests
* use ctx.Repo.GitRepo if not nil
2021-07-13 08:14:14 +01:00
46a4c6835d
Fix external renderer ( #16401 )
...
* fix external renderer
* use GBackground context as fallback
* no fallback, return error
Co-authored-by: Lauris BH <lauris@nix.lv >
2021-07-12 17:13:59 -04:00
6543 and GitHub
5b1d0a7701
Replace plugins/docker with techknowlogick/drone-dockerin ci ( #16407 )
...
* plugins/docker -> techknowlogick/drone-docker
* It is multi-arch
2021-07-12 15:20:44 -04:00
6543 and GitHub
91162bbaea
Update bluemonday to v1.0.15 ( #16379 )
...
* update github.com/microcosm-cc/bluemonday
* add exec flag to contrib/update_dependencies.sh
* Fix TESTS
2021-07-09 03:30:31 +02:00
1b29747f0f
Changelog for v1.14.4 ( #16348 ) ( #16351 )
...
* Changelog for v1.14.4 (#16348 )
* docs: bump version
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-07-06 23:41:07 +08:00
6543 and GitHub
fae07cbc8f
Update Vendor ( #16325 )
...
* Add Dependencie Update Script
* update gitea.com/lunny/levelqueue
* update github.com/PuerkitoBio/goquery
* update github.com/alecthomas/chroma
* update github.com/blevesearch/bleve/v2
* update github.com/caddyserver/certmagic
* update github.com/go-enry/go-enry/v2
* update github.com/go-redis/redis/v8
* update github.com/hashicorp/golang-lru
* update github.com/klauspost/compress
* update github.com/markbates/goth
* update github.com/mholt/archiver/v3
* update github.com/microcosm-cc/bluemonday
* update github.com/minio/minio-go/v7
* update github.com/olivere/elastic/v7
* update github.com/xanzy/go-gitlab
* update github.com/yuin/goldmark
2021-07-04 04:06:10 +02:00
6543 and GitHub
836884429a
Add forge emojies ( #16296 )
...
* codeberg
* gitlab
* git
* github
* gogs
2021-07-02 16:04:57 +02:00
6543 and GitHub
290f458d46
Reserve user/repo pattern for rss feature ( #16323 )
2021-07-01 23:13:20 +08:00
6543 and GitHub
dfa18a8b1c
Introduce NotifySubjectType ( #16320 )
...
* Introduce NotifySubjectType
* update swagger docs
2021-07-01 12:51:24 +02:00
6543 and GitHub
dea7a5c5b9
just add some unit tests ( #16291 )
...
* code.gitea.io/gitea/routers/utils coverage: 100.0%
* code.gitea.io/gitea/routers/install 0% -> 5.0%
* ConvertUtf8ToUtf8mb4: make sure DBType is mysql
2021-06-29 22:00:02 +01:00
6543 and GitHub
653704c102
Add Vultr and DO Marketplace links ( #16297 )
...
* fix emoji img path
* move cloudron
* Add Vultr and DO
2021-06-29 15:42:47 -04:00
6543 and GitHub
65548359cc
Add custom emoji support ( #16004 )
2021-06-29 16:28:38 +02:00
6543 and GitHub
59c58553ba
Fix API to return author for author on commits( #16276 )
2021-06-27 23:15:42 +01:00
0b27b93728
Make allowed Visiblity modes configurable for Users ( #16271 )
...
Now that #16069 is merged, some sites may wish to enforce that users are all public, limited or private, and/or disallow users from becoming private.
This PR adds functionality and settings to constrain a user's ability to change their visibility.
Co-authored-by: zeripath <art27@cantab.net >
2021-06-27 19:47:35 +01:00
3ef23d5411
Use gitea logging module for git module ( #16243 )
...
remove log() func from gogs times and switch to proper logging
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Andrew Thornton <art27@cantab.net >
2021-06-25 17:54:08 +01:00
eb324a9402
[API] Add repoGetTag ( #16166 )
...
* GetTag -> GetAnnotatedTag
* API: Add repoGetTag
* fix swagger docs
* support "/" as tag name char
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-06-23 17:08:47 -04:00
58501a2682
[API] GET / SET User Settings ( #16169 )
...
* API: GET/SET User Settings
* linter
* Apply suggestions from code review
* Update modules/structs/user.go
* lint
* fix swagger
* move User2UserSettings to convert
* as per @zeripath "preferences" -> "settings"
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-06-23 15:58:44 -04:00
6543 and GitHub
5930d09096
Fix Nits ( #16234 )
...
* template fix
* nits
* add doer to "created issue/pull"
2021-06-23 19:43:33 +02:00
6543 and GitHub
be81dc8b20
Localize Email Templates ( #16200 )
...
close #14822
2021-06-23 14:33:21 +02:00
6543 and GitHub
889dea8fc1
Remove User.GetOrganizations() ( #14032 )
...
as title
2021-06-18 19:00:53 +02:00
59f25587e8
Changelog v1.14.3 ( #16131 ) ( #16196 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: zeripath <art27@cantab.net >
2021-06-18 11:54:08 -04:00
6543 and GitHub
d5be9ddc97
fix TestAPIRepoTransfer ( #16189 )
2021-06-18 16:46:22 +02:00
6543 and GitHub
75205b5669
Fix some API bugs ( #16184 )
...
* Repository object only count releases as releases (fix #16144 )
* EditOrg respect RepoAdminChangeTeamAccess option (fix #16013 )
2021-06-18 01:24:55 +02:00
6543 and GitHub
f7cd394680
[API] Add repoCreateTag ( #16165 )
...
* Add API CreateTag
* Add Test
* API: expose Tag Message
2021-06-17 18:04:10 +02:00
6543 and GitHub
b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() ( #16168 )
...
* API: expose repo.GetReviewers() & repo.GetAssignees()
* Add tests
* fix unrelated swagger query type
2021-06-17 16:02:34 +02:00
6543 and GitHub
6ad5d0a306
[API] ListReleases add filter for draft and pre-releases ( #16175 )
...
* invent ctx.QueryOptionalBool
* [API] ListReleases add draft and pre-release filter
* Add X-Total-Count header
* Add a release to fixtures
* Add TEST for API ListReleases
2021-06-17 10:58:10 +02:00
6543 and GitHub
c9d053f0ca
[API] User expose counters ( #16167 )
2021-06-17 09:17:35 +02:00
6543 and GitHub
9469e14dc6
[API] Issue Search Add filter for MilestoneNames ( #16173 )
2021-06-17 08:40:59 +02:00
0e081ff0ce
[API] ListIssues add more filters ( #16174 )
...
* [API] ListIssues add more filters:
optional filter repo issues by:
- since
- before
- created_by
- assigned_by
- mentioned_by
* Add Tests
* Update routers/api/v1/repo/issue.go
Co-authored-by: Lanre Adelowo <adelowomailbox@gmail.com >
* Apply suggestions from code review
Co-authored-by: Lanre Adelowo <adelowomailbox@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-06-16 18:33:37 -04:00
6543 and GitHub
9273601064
Add subject-type filter to list notification API endpoints ( #16177 )
...
Close #15886
2021-06-16 18:04:37 +01:00
86e2789960
Vendor Update ( #16121 )
...
* update github.com/PuerkitoBio/goquery
* update github.com/alecthomas/chroma
* update github.com/blevesearch/bleve/v2
* update github.com/caddyserver/certmagic
* update github.com/go-enry/go-enry/v2
* update github.com/go-git/go-billy/v5
* update github.com/go-git/go-git/v5
* update github.com/go-redis/redis/v8
* update github.com/go-testfixtures/testfixtures/v3
* update github.com/jaytaylor/html2text
* update github.com/json-iterator/go
* update github.com/klauspost/compress
* update github.com/markbates/goth
* update github.com/mattn/go-isatty
* update github.com/mholt/archiver/v3
* update github.com/microcosm-cc/bluemonday
* update github.com/minio/minio-go/v7
* update github.com/prometheus/client_golang
* update github.com/unrolled/render
* update github.com/xanzy/go-gitlab
* update github.com/yuin/goldmark
* update github.com/yuin/goldmark-highlighting
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-06-10 16:44:25 +02:00
6543 and GitHub
c1ff59c1cd
use "true" for RACE_ENABLED ( #15261 )
2021-06-02 17:34:11 +02:00
6543 and GitHub
e0c93fed05
GitHub: migrate draft releases too ( #15884 )
...
* GitHub: migrate draft releases too
* refactor
2021-05-15 18:37:17 -04:00
6543 and GitHub
4ea0b46d9b
Tests should use test files ( #15801 )
2021-05-09 17:20:33 +02:00
6543 and GitHub
a229e34387
Allow only internal registration ( #15795 )
...
* Add ALLOW_ONLY_INTERNAL_REGISTRATION into settings
* OpenID respect setting too
2021-05-09 16:13:35 +02:00
a98c09d2ae
Changelog v1.14.2 ( #15794 ) ( #15799 )
...
* Changelog v1.14.2 (#15794 )
* changelog tool generate
* format & add
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: zeripath <art27@cantab.net >
2021-05-09 13:49:26 +02:00
6543 and GitHub
e278614753
[API] make change repo settings work on empty repos ( #15778 )
...
* API: Fix #15602
* Add TEST
2021-05-08 14:11:36 +02:00
6543 and GitHub
272bbb200d
Make let target "clean-all" remove node_modules folder too ( #15780 )
...
* Make let target "clean-all" remove node_modules folder too
2021-05-08 11:57:48 +02:00
6543 and GitHub
16034bb613
OAuth2 login: Set account link to "login" as default behavior ( #15768 )
2021-05-07 16:15:16 +02:00
640066840e
Use a generic markup class to display externally rendered files and diffs ( #15735 )
...
* creates and implements generic markup less class
* How to give custom CSS to externally rendered html
* Clarifies sources of CSS styling of markup
* further clarification of sources of markup styling
* rename _markdown to _markup
* remove defunct import
* fix orphaned reference
* Update docs/content/doc/advanced/external-renderers.en-us.md
* more renames markdown -> markup
* do not suggest less customization
* add back tokens
* fix class whitespace, remove useless if-clause
* remove unused csv-data rules
* use named exports and rename functions
* sort imports
Co-authored-by: HarvsG <11440490+HarvsG@users.noreply.github.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: silverwind <me@silverwind.io >
2021-05-07 10:43:41 +02:00
6a3ad0b24e
reverse #15734 partial and comment ( #15740 )
...
* reverse & comment
* Update templates/repo/graph/commits.tmpl
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: zeripath <art27@cantab.net >
2021-05-06 00:05:54 -04:00
6543 and GitHub
1cd301796c
Only log Error on getLastCommitStatus error to let pull list still be visible ( #15716 )
2021-05-04 14:03:02 +02:00
6543 and GitHub
a6bfe59b4b
Docs: renderers rst: rst2html.py -> pandoc ( #15659 )
2021-04-30 14:50:55 +08:00
6543 and GitHub
bee8ce342f
Fix go-fuzz ( #15596 )
...
* Fix go-fuzz
followup of https://github.com/go-gitea/gitea/pull/15175
* simplify
* enhance
2021-04-23 16:22:52 +08:00
6543 and GitHub
792b4dba2c
[Vendor] Update directly used dependencys ( #15593 )
...
* update github.com/blevesearch/bleve v2.0.2 -> v2.0.3
* github.com/denisenkom/go-mssqldb v0.9.0 -> v0.10.0
* github.com/editorconfig/editorconfig-core-go v2.4.1 -> v2.4.2
* github.com/go-chi/cors v1.1.1 -> v1.2.0
* github.com/go-git/go-billy v5.0.0 -> v5.1.0
* github.com/go-git/go-git v5.2.0 -> v5.3.0
* github.com/go-ldap/ldap v3.2.4 -> v3.3.0
* github.com/go-redis/redis v8.6.0 -> v8.8.2
* github.com/go-sql-driver/mysql v1.5.0 -> v1.6.0
* github.com/go-swagger/go-swagger v0.26.1 -> v0.27.0
* github.com/lib/pq v1.9.0 -> v1.10.1
* github.com/mattn/go-sqlite3 v1.14.6 -> v1.14.7
* github.com/go-testfixtures/testfixtures v3.5.0 -> v3.6.0
* github.com/issue9/identicon v1.0.1 -> v1.2.0
* github.com/klauspost/compress v1.11.8 -> v1.12.1
* github.com/mgechev/revive v1.0.3 -> v1.0.6
* github.com/microcosm-cc/bluemonday v1.0.7 -> v1.0.8
* github.com/niklasfasching/go-org v1.4.0 -> v1.5.0
* github.com/olivere/elastic v7.0.22 -> v7.0.24
* github.com/pelletier/go-toml v1.8.1 -> v1.9.0
* github.com/prometheus/client_golang v1.9.0 -> v1.10.0
* github.com/xanzy/go-gitlab v0.44.0 -> v0.48.0
* github.com/yuin/goldmark v1.3.3 -> v1.3.5
* github.com/6543/go-version v1.2.4 -> v1.3.1
* do github.com/lib/pq v1.10.0 -> v1.10.1 again ...
2021-04-22 20:08:53 -04:00
6543 and GitHub
8ea1d32bea
[Vendor] update certmagic ( #15590 )
...
* update github.com/caddyserver/certmagic v0.12.0 -> v0.13.0
* migrate
2021-04-22 22:42:33 +02:00
6543 and GitHub
a67861b4dc
Fix Benchmark tests, remove a broken one & add two new ( #15250 )
...
* Benchmark Integration TESTS
* CI: add benching-arm64 pipeline
* BenchmarkRepo: name test case tests
* Fix BenchmarkRepoBranchCommit beside Create new Branch
* CI: benching use amd64
* rm total broken "BenchmarkRepo"
* dont run benchmark in CI
2021-04-16 20:30:16 +02:00
6543 and GitHub
2a42d80d14
migration: github: if rate limit is not enabled, ignore it ( #15490 )
2021-04-15 15:34:22 +02:00
6543 and GitHub
ca2e1d8090
docs: migration start new section ( #15462 )
2021-04-14 08:46:17 +02:00
6543 and GitHub
83d771c1c7
use repo1_bare to test against ( #15402 )
2021-04-11 11:45:29 -04:00
6543 and GitHub
18efe9a023
Changelog v1.14.0 ( #15360 ) ( #15400 )
...
* Changelog v1.14.0 (#15360 )
* clean & merge & update v1.14.0 changelog
* backport v1.13.x changelogs
* update latest gitea version
2021-04-11 13:23:55 +08:00
6543 and GitHub
477c4530e4
Fix admin user list ( #15358 )
2021-04-09 10:16:10 +02:00
6543 and GitHub
9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions ( #15286 )
...
* _ to unused func options
* rm useless brakets
* rm trifial non used models functions
* rm dead code
* rm dead global vars
* fix routers/api/v1/repo/issue.go
* dont overload import module
2021-04-09 09:40:34 +02:00
6543 and GitHub
147826a577
[API] pull notification subject status: add "merged" ( #15344 )
...
Current subject status can be "", "open" and "closed". This add "merged" to it.
2021-04-09 03:36:23 +02:00
6543 and GitHub
298d56fe8b
[Frontport] Changelog (v1.13.6, v1.13.7, v1.14.0-rc2) ( #15328 )
...
* Changelog v1.13.7 (#15319 )
* Update Changelog (#15322 )
* update
* next
* RC2
* Update Docs Version
2021-04-07 13:41:02 -04:00
6543 and GitHub
16dea6cebd
[refactor] replace int with httpStatusCodes ( #15282 )
...
* replace "200" (int) with "http.StatusOK" (const)
* ctx.Error & ctx.HTML
* ctx.JSON Part1
* ctx.JSON Part2
* ctx.JSON Part3
2021-04-05 11:30:52 -04:00
80d6c6d7de
[refactor] mailer service ( #15072 )
...
* Unexport SendUserMail
* Instead of "[]*models.User" or "[]string" lists infent "[]*MailRecipient" for mailer
* adopt
* code format
* TODOs for "i18n"
* clean
* no fallback for lang -> just use english
* lint
* exec testComposeIssueCommentMessage per lang and use only emails
* rm MailRecipient
* Dont reload from users from db if you alredy have in ram
* nits
* minimize diff
Signed-off-by: 6543 <6543@obermui.de >
* localize subjects
* linter ...
* Tr extend
* start tmpl edit ...
* Apply suggestions from code review
* use translation.Locale
* improve mailIssueCommentBatch
Signed-off-by: Andrew Thornton <art27@cantab.net >
* add i18n to datas
Signed-off-by: Andrew Thornton <art27@cantab.net >
* a comment
Co-authored-by: Andrew Thornton <art27@cantab.net >
2021-04-02 11:25:13 +01:00
6543 and GitHub
290cf75f93
[refactor] Unify the export of user data via API ( #15144 )
...
* [refactor] unify how user data is exported via API
* test time via unix timestamp
2021-03-27 17:45:26 +01:00
6543 and GitHub
dc56fb7c84
fix regression of 15139 ( #15164 )
2021-03-26 03:46:41 +01:00
6543 and GitHub
5f038cd7fe
[Vendor] update gitea-sdk v0.14.0 ( #15103 )
...
* upgraded code.gitea.io/sdk/gitea v0.13.2 => v0.14.0
* rm workaround
2021-03-22 18:03:18 +01:00
6543 and GitHub
98c8513db2
Changelog v1.13.5 ( #15084 ) ( #15093 )
...
* Changelog v1.13.5 (#15084 )
* fix unrel. nit
2021-03-21 13:58:19 -04:00
6543 and GitHub
24f7bd5899
Use i18n.Reset to reload locales ( #15073 )
2021-03-21 16:11:36 +01:00
78e8f62706
[Refactor] remove possible resource leak ( #15067 )
...
* move "copy uploaded lfs files 2 repo" to own function for "defer file.Close()"
* rm type overload
* Update modules/repofiles/upload.go
Co-authored-by: zeripath <art27@cantab.net >
2021-03-21 00:30:29 +08:00
fcf2c97d39
Changelog for 1.14.0-RC1 ( #14935 )
...
* Changelog for 1.14.0-RC1
* api
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: zeripath <art27@cantab.net >
* Apply suggestions from code review
Co-authored-by: zeripath <art27@cantab.net >
* update
* Apply suggestions from code review
Co-authored-by: techknowlogick <matti@mdranta.net >
* Update CHANGELOG.md
Co-authored-by: techknowlogick <matti@mdranta.net >
* update
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: zeripath <art27@cantab.net >
* Apply suggestions from code review
* Move things to SECURITY that are SECURITY
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Update CHANGELOG.md
Co-authored-by: Lauris BH <lauris@nix.lv >
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: Norwin <noerw@users.noreply.github.com >
* Update CHANGELOG.md
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
* sort
* Update CHANGELOG.md
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
* 🚀
* Update date
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Norwin <noerw@users.noreply.github.com >
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
2021-03-19 22:42:57 +02:00
6543 and GitHub
a3a65137ba
Delete Labels & IssueLabels on Repo Delete too ( #15039 )
...
* Doctor: find IssueLabels without existing label
* on Repo Delete: delete labels & issue_labels too
* performance nits
* Add Migration: Delete orphaned IssueLabels
* Migration v174: use Sync2
* USE sess !!!
* better func name
* code format & comment
* RAW SQL
* Update models/migrations/v176.go
* next try?
2021-03-19 21:01:24 +02:00
6543 and GitHub
177da717a7
[API] get pull, return head branch sha, even if deleted ( #14931 )
...
* API: return head branch sha, even if deleted
* relax if ref not resolvable
2021-03-08 21:48:31 +01:00
6543 and GitHub
14d8cb7819
Move Workaround for #12675 into it's own function ( #14922 )
...
* Move Workatround for #12675 into it's own function
* use more reliable solution (as tea do)
2021-03-08 20:00:19 +01:00
6543 and GitHub
ae62bb7b6c
Changelog v1.13.4 ( #14917 ) ( #14920 )
2021-03-08 00:07:02 +01:00
6543 and GitHub
11229ca539
IsUserAllowedToUpdate ignore igonre if user is nil ( #14885 )
2021-03-04 19:27:54 +01:00
8ac1367718
[Docs] Fix how lfs data path is set ( #14855 )
...
* fix docs: lfs data path
* DEPRECATED note
* 已废弃
* better english sentence
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-03-04 18:01:44 +01:00
1d18b76e0e
Add changelog for v1.13.3 ( #14877 ) ( #14883 )
...
* Add changelog for v1.13.3 (#14877 )
Add changelog for v1.13.3
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: techknowlogick <matti@mdranta.net >
* Update Docs
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
2021-03-04 10:00:23 -05:00
6543 and GitHub
a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner ( #14792 )
...
* make repo as "pending transfer" if on transfer start doer has no right to create repo in new destination
* if new pending transfer ocured, create UI & Mail notifications
2021-03-01 01:47:30 +01:00
6543 and GitHub
dc081959db
Fix issue/pul sidebar ( #14826 )
2021-02-28 15:05:55 +01:00
6543 and GitHub
b4b4d765f3
Fix missleading sentence ( #14829 )
2021-02-28 07:54:12 +00:00
6543 and GitHub
8f4d55452a
use gogs.ico to create a better svg for migration page ( #14795 )
2021-02-25 14:13:44 +08:00
6543 and GitHub
5cc1a49b19
Generate man pages ( #13901 )
...
* extend gitignore
* first working draft
* use docs subcomand
* rm config-sheet-sheet-2-man
2021-02-24 16:36:48 -06:00
6543 and GitHub
1d63e17de8
CI: translation update as cron task ( #14774 )
2021-02-23 07:16:02 +08:00
6543 and GitHub
190bd0accd
Export LFS & TimeTracking function status ( #14753 )
2021-02-20 11:17:51 +01:00
6543 and GitHub
25fe60d12f
Update golangci-lint v1.35.2 -> v1.37.0 ( #14747 )
2021-02-19 16:45:23 +01:00
8d5c795cc4
[API] Add Restricted Field to User ( #14630 )
...
* Expose Restricted field for User
* Add Option to Change Restricted on User via adminEditUser API
* Add test who change restricted & test if it changed it ...
* make generate-swagger
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-02-18 16:25:35 +08:00
fe628d8406
Vendor Update ( #14696 )
...
* github.com/yuin/goldmark v1.3.1 -> v1.3.2
* github.com/xanzy/go-gitlab v0.42.0 -> v0.44.0
* github.com/prometheus/client_golang v1.8.0 -> v1.9.0
* github.com/minio/minio-go v7.0.7 -> v7.0.9
* github.com/lafriks/xormstore v1.3.2 -> v1.4.0
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-02-16 22:47:24 -05:00
6543 and GitHub
0a4c2d75cd
rm gogs relict ( #14665 )
2021-02-14 00:07:17 +08:00
9e852edc41
Add v171 (addSortingColToProjectBoard) migration for #14634 ( #14652 )
...
* add v171 Migration for #14634
* NOT NULL
Co-authored-by: Lauris BH <lauris@nix.lv >
2021-02-12 13:01:26 +02:00
ac97ea573c
[Vendor] Update go-redis to v8.5.0 ( #13749 )
...
* Update go-redis to v8.4.0
* github.com/go-redis/redis/v8 v8.4.0 -> v8.5.0
* Apply suggestions from code review
Co-authored-by: zeripath <art27@cantab.net >
* TODO
* Use the Queue termination channel as the default context for pushes
Signed-off-by: Andrew Thornton <art27@cantab.net >
* missed one
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
2021-02-10 21:28:32 +00:00
6543 and GitHub
5f248d0df2
[API] Add delete release by tag & fix unreleased inconsistency ( #14563 )
...
* DeleteReleaseByTag delete release not git tags
* Add api to delete tag (without release)
* fix & extend tests
* fix swagger doc
2021-02-07 19:32:18 +01:00
cbe7f5296e
[API] Add affected files of commits to commit struct ( #14579 )
...
* Add files affected by a commit to gitea API -- similar to github
* Add files affected by a commit to gitea API
* Fix stupid error
* Fix other stupid typo
* Generate swagger tmpl
* Comply with convert to git commit refacto
* update swagger docs
* extend test
* format code
* Update integrations/api_repo_git_commits_test.go
* Update modules/convert/git_commit.go
Co-authored-by: Laurent Cahour <laurent.cahour@dont-nod.com >
Co-authored-by: zeripath <art27@cantab.net >
2021-02-07 15:43:40 +01:00
6543 and GitHub
87009ab40a
Reduce data races ( #14549 )
...
* Add race conditions into test
* Fix Race in GetManager()
* DataAsync() use error chan
* just log no chan
* finish
2021-02-03 22:36:38 +01:00
0d1444751f
[API] Add pagination to ListBranches ( #14524 )
...
* make PaginateUserSlice generic -> PaginateSlice
* Add pagination to ListBranches
* add skip, limit to Repository.GetBranches()
* Move routers/api/v1/utils/utils PaginateSlice -> modules/util/paginate.go
* repo_module.GetBranches paginate
* fix & rename & more logging
* better description
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: a1012112796 <1012112796@qq.com >
2021-02-03 20:06:13 +01:00
6543 and GitHub
3f332a9919
Changelog v1.13.2 ( #14535 ) ( #14543 )
2021-02-02 02:19:10 +01:00
6543 and GitHub
6d27703f14
[API] List, Check, Add & delete endpoints for repository teams ( #13630 )
...
* List, Check, Add & delete endpoints for repository teams
* return units on single team responce too
* Add Tests
2021-02-01 22:57:12 +01:00
6543 and GitHub
6fc2d36fb5
rm redirect ( #14534 )
2021-02-01 12:49:25 +08:00
6543 and GitHub
0e0424c8ec
Add Doctor FixWrongUserType ( #14522 )
...
* Add Doctor FixWrongUserType
* use NoAutoTime
2021-01-29 19:30:43 +01:00
6543 and GitHub
2ebe609d65
Fix migration v141 ( #14387 )
...
* Fix mig 141
* Add Migration to fix it
* update null values to false first
* Alter Table if posible
* use dropTableColumns instead of recreateTable
* MySQL use Alter
* Postgres use Alter
* Update models/migrations/v167.go
* Apply suggestions from code review
* use 2x add col & 2x update & 2x drop col
* let sqlite be the only issue
* use recreate since it just WORKS
2021-01-28 23:58:33 +01:00
6543 and GitHub
3599d44399
Extend TestUserOrgs to cover permission cases ( #14495 )
...
* TestMyOrgs: add unauthorized test
* Extend TestUserOrgs, to cover permission cases
2021-01-28 22:40:41 +01:00