6543 and GitHub
212fa340cf
Migration: drop to long repo topics ( #14152 )
2020-12-27 09:23:57 +08:00
6543 and GitHub
a19447aed1
migrate from com.* to alternatives ( #14103 )
...
* remove github.com/unknwon/com from models
* dont use "com.ToStr()"
* replace "com.ToStr" with "fmt.Sprint" where its easy to do
* more refactor
* fix test
* just "proxy" Copy func for now
* as per @lunny
2020-12-25 11:59:32 +02:00
6543 and GitHub
5b958315c1
API: Make BasicAuth Prefix case insensitive ( #14106 )
2020-12-23 20:52:46 +01:00
27fa4814b8
Fix git.parseTagData ( #14105 )
...
* Fix git.parseTagData()
close #14092
* Add Test
* add message to test
* limit readers
* git tag -m trims and terminates with a newline
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: 6543 <6543@obermui.de >
2020-12-22 21:44:25 +01:00
6543 and GitHub
9271040c21
Add Test for Fix #14040 ( #14045 )
...
Add Test for Fix #14040
2020-12-21 18:27:23 +01:00
6543 and GitHub
e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs ( #14026 )
...
* RM unused struct
* rename (*CommitStatus) loadRepo() -> loadAttributes()
* move ToCommitStatus into its own file
* use CommitStatusState instead of StatusState
* move CombinedStatus convertion into convert package
* let models.GetLatestCommitStatus use repoID direct and accept ListOptions
* update swagger docs
* fix tests
* Fix swagger docs
* rm page
* fix swagger docs!!!
* return json null
* always return json
* rename api.Status to api.CommitStatus
* fix swagger docs
* sec swagger fix
2020-12-18 11:33:32 +08:00
6543 and GitHub
9e456b5a56
HotFix: Hide private partisipation in Orgs ( #13994 )
...
* HotFix: Hide private partisipation in Orgs
* refactor & add node to fuc GetOrganizations
2020-12-17 00:39:12 +01:00
6543 and GitHub
069acf6a21
Add FAQ link to Issue template ( #14020 )
2020-12-16 20:18:36 +01:00
6543 and GitHub
e2aa701812
[API] Add ref to create/edit issue options & deprecated assignee ( #13992 )
...
* API: Add ref to create/edit issue options
* deprecate Assignee in favour of Assignees
2020-12-15 19:38:10 +01:00
6543 and GitHub
3285babcae
Update github.com/blevesearch/bleve v1.0.13 -> v1.0.14 ( #13947 )
2020-12-12 01:16:53 +01:00
6543 and GitHub
658e90a114
[Docu] Fix Location of Comments in migrations.go ( #13900 )
2020-12-09 00:24:23 +01:00
6bdcacd73b
Added Table of Contents to long documentation pages ( #13890 )
...
* Redo #13836 with new shortcode
(https://gitea.com/gitea/theme/pulls/90 )
* add Api Usage
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-12-07 23:52:26 -05:00
6543 and GitHub
48a3bb7a32
User Settings: Ignore empty language codes & validate ( #13755 )
2020-12-04 08:20:30 +02:00
6543 and GitHub
4353cf96c0
Move LFSLock APIFormat into convert package ( #13808 )
2020-12-03 16:05:48 +02:00
6543 and GitHub
7ac8a770e1
Move Repo APIFormat to convert package ( #13787 )
...
* Move Repo APIFormat to convert package
* tweek
2020-12-02 16:38:30 -05:00
6543 and GitHub
2b4a08e962
Migrations: Use Process Manager to create own Context ( #13792 )
2020-12-02 18:36:06 +00:00
6543 and GitHub
594cc4aa2a
Update Gitea Version & Fix Migration Comments ( #13789 )
...
* correct migration version comments
* update lates version in docs
2020-12-03 00:04:19 +08:00
6543 and GitHub
4f5ff1ef08
move notification APIFormat ( #13783 )
2020-12-02 09:24:35 +00:00
c4deb97ed1
[Vendor] Update Batch 2020-11 ( #13746 )
...
* github.com/alecthomas/chroma v0.8.1 -> v0.8.2
Changelog: https://github.com/alecthomas/chroma/releases/tag/v0.8.2
* github.com/blevesearch/bleve v1.0.12 -> v1.0.13
Changelog: https://github.com/blevesearch/bleve/releases/tag/v1.0.13
* github.com/editorconfig/editorconfig-core-go v2.3.8 -> v2.3.9
Changelog: https://github.com/editorconfig/editorconfig-core-go/releases/tag/v2.3.9
* github.com/klauspost/compress v1.11.2 -> v1.11.3
Changelog: https://github.com/klauspost/compress/releases/tag/v1.11.3
* github.com/minio/minio-go v7.0.5 -> v7.0.6
Changelog: https://github.com/minio/minio-go/releases/tag/v7.0.6
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-11-29 15:54:08 -05:00
b2435af9be
Add Allow-/Block-List for Migrate & Mirrors ( #13610 )
...
* add black list and white list support for migrating repositories
* fix fmt
* fix lint
* fix vendor
* fix modules.txt
* clean diff
* specify log message
* use blocklist/allowlist
* allways use lowercase to match url
* Apply allow/block
* Settings: use existing "migrations" section
* convert domains lower case
* dont store unused value
* Block private addresses for migration by default
* fix lint
* use proposed-upstream func to detect private IP addr
* a nit
* add own error for blocked migration, add tests, imprufe api
* fix test
* fix-if-localhost-is-ipv4
* rename error & error message
* rename setting options
* Apply suggestions from code review
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-11-28 19:37:58 -05:00
0f14f69e60
Verify password for local-account activation ( #13631 )
...
* Verify passwords for activation
This is to prevent 3rd party activation
* Fix function comment
* only veify password on local-account aktivation
* fix lint
* Update templates/user/auth/activate.tmpl
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-11-28 17:41:06 -05:00
e7b47c5215
Format files ( #13698 )
...
* align "make help"
* format
* untouch build/generate-svg.js
* untouch .eslintrc
* combine editorconfig's
* rm editorconfig
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-11-28 01:12:22 -05:00
6543 and GitHub
f88a2eae97
[API] Add more filters to issues search ( #13514 )
...
* Add time filter for issue search
* Add limit option for paggination
* Add Filter for: Created by User, Assigned to User, Mentioning User
* update swagger
* Add Tests for limit, before & since
2020-11-23 20:49:36 +00:00
6543 and GitHub
f915161a2f
skip email validation on empty string ( #13627 )
...
- move validation into its own function
- use a session for UpdateUserSetting
2020-11-20 23:45:55 +02:00
1bb5c09b5d
API: Admin EditUser: Make FullName, Email, Website & Location optional ( #13562 )
...
* API: Admin EditUser: Make FullName, Email, Website & Location optional
* update swagger docs
* add Tests
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-11-19 20:56:42 -05:00
24b3b2140a
finaly fix gitlab migration with subdir 2.0 ( #13646 )
...
* final fix 2.0?
* ignore Approvals for pulls if not found
* CI.restart()
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-11-20 01:18:34 +02:00
6543 and GitHub
ad2a288622
finaly fix gitlab migration with subdir ( #13629 )
...
* finaly fix #13535
* add logging
2020-11-19 00:17:56 -05:00
6543 and GitHub
d02c3508e6
Config lock bot ( #13624 )
...
* config lock bot
* Update .github/lock.yml
2020-11-18 14:42:31 -05:00
77aa742528
Migration: Gitlab: Support Subdirectory ( #13563 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-11-16 21:22:49 +02:00
7d2700c8be
[API] Only Return Json ( #13511 )
...
* Let Branch and Raw Endpoint return json error if not found
* Revert "RM RepoRefByTypeForAPI and move needed parts into GetRawFile directly"
This reverts commit d826d08577b23765cb3c257e7a861191d1aa9a04.
* more similar to RepoRefByType
* dedub-code
* API should just speak JSON
* nice name
Co-authored-by: zeripath <art27@cantab.net >
2020-11-14 11:13:55 -05:00
6543 and GitHub
3f3447a1ea
API: Fix GetQueryBeforeSince ( #13559 )
2020-11-14 14:05:40 +00:00
30ce3731a1
Vendor Update Go Libs ( #13444 )
...
* denisenkom/go-mssqldb untagged -> v0.9.0
* github.com/editorconfig/editorconfig-core-go v2.3.7 -> v2.3.8
* github.com/go-testfixtures/testfixtures v3.4.0 -> v3.4.1
* github.com/mholt/archiver v3.3.2 -> v3.5.0
* github.com/olivere/elastic v7.0.20 -> v7.0.21
* github.com/urfave/cli v1.22.4 -> v1.22.5
* github.com/xanzy/go-gitlab v0.38.1 -> v0.39.0
* github.com/yuin/goldmark-meta untagged -> v1.0.0
* github.com/ethantkoenig/rupture 0a76f03a811a -> c3b3b810dc77
* github.com/jaytaylor/html2text 8fb95d837f7d -> 3577fbdbcff7
* github.com/kballard/go-shellquote cd60e84ee657 -> 95032a82bc51
* github.com/msteinert/pam 02ccfbfaf0cc -> 913b8f8cdf8b
* github.com/unknwon/paginater 7748a72e0141 -> 042474bd0eae
* CI.restart()
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-11-06 13:41:42 -05:00
6543 and GitHub
70ea2300ca
[Vendor] update macaron related ( #13409 )
...
* Vendor: update gitea.com/macaron/session to a177a270
* make vendor
* Vendor: update gitea.com/macaron/macaron to 0db5d458
* make vendor
* Vendor: update gitea.com/macaron/cache to 905232fb
* make vendor
* Vendor: update gitea.com/macaron/i18n to 4ca3dd0c
* make vendor
* Vendor: update gitea.com/macaron/gzip to efa5e847
* make vendor
* Vendor: update gitea.com/macaron/captcha to e8597820
* make vendor
2020-11-03 08:04:09 +02:00
81d3942bf0
Migrations: Gitea should not fail just because of no apiConfig return ( #13229 )
...
* close #13227
* log it
👍
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-10-22 01:46:18 -04:00
6543 and GitHub
48a80096bb
Update heatmap fixtures to restore tests ( #13224 )
...
* hotfix
* update ...
2020-10-20 17:39:25 -05:00
d453533beb
[Refactor] Move APIFormat functions into convert package ( #12856 )
...
* USER APIFormat -> ToUser
* Migrate more and mark APIFormat deprecated
* models.Comment APIFormat() -> convert.ToComment
* models.Release APIFormat() -> convert.ToRelease
* models.Attachments APIFormat() -> convert.ToReleaseAttachments
* models.CommitStatus APIFormat() -> convert.ToCommitStatus
* finish migration to convert.ToUser
* Move Test
* Imprufe Test
* fix test
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-10-17 00:23:08 -04:00
b222dbc1d1
Update go-version v1.2.3 -> v1.2.4 ( #13169 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-10-16 12:05:02 +03:00
12a1f914f4
Vendor Update Go Libs ( #13166 )
...
* update github.com/alecthomas/chroma v0.8.0 -> v0.8.1
* github.com/blevesearch/bleve v1.0.10 -> v1.0.12
* editorconfig-core-go v2.1.1 -> v2.3.7
* github.com/gliderlabs/ssh v0.2.2 -> v0.3.1
* migrate editorconfig.ParseBytes to Parse
* github.com/shurcooL/vfsgen to 0d455de96546
* github.com/go-git/go-git/v5 v5.1.0 -> v5.2.0
* github.com/google/uuid v1.1.1 -> v1.1.2
* github.com/huandu/xstrings v1.3.0 -> v1.3.2
* github.com/klauspost/compress v1.10.11 -> v1.11.1
* github.com/markbates/goth v1.61.2 -> v1.65.0
* github.com/mattn/go-sqlite3 v1.14.0 -> v1.14.4
* github.com/mholt/archiver v3.3.0 -> v3.3.2
* github.com/microcosm-cc/bluemonday 4f7140c49acb -> v1.0.4
* github.com/minio/minio-go v7.0.4 -> v7.0.5
* github.com/olivere/elastic v7.0.9 -> v7.0.20
* github.com/urfave/cli v1.20.0 -> v1.22.4
* github.com/prometheus/client_golang v1.1.0 -> v1.8.0
* github.com/xanzy/go-gitlab v0.37.0 -> v0.38.1
* mvdan.cc/xurls v2.1.0 -> v2.2.0
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-10-16 01:06:27 -04:00
e374bb7e2d
[Vendor] Update go-ldap to v3.2.4 ( #13163 )
...
* [Vendor] update go-ldap to v3.0.3
* update go-ldap to v3.2.4
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-10-15 15:27:33 -04:00
33e0e37537
Changelog v1.13.0-RC1 ( #13142 )
...
* Changelog v1.13.0
* reorder topics
* impruve
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Goldmark ...
* Add 12516
* Apply suggestions from code review
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: techknowlogick <matti@mdranta.net >
* Apply suggestions from code review
Co-authored-by: zeripath <art27@cantab.net >
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: 6543 <6543@obermui.de >
* Securety is more importand than Breaking ...
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: zeripath <art27@cantab.net >
2020-10-14 14:48:03 -04:00
6543 and GitHub
49b1948cb1
Gitea 2 Gitea migration ( #12657 )
...
* first draft
* update gitea sdk to 9e280adb4da
* adapt feat of updated sdk
* releases now works
* break the Reactions loop
* use convertGiteaLabel
* fix endless loop because paggination is not supported there !!!
* rename gitea local uploader files
* pagination can bite you in the ass
* Version Checks
* lint
* docs
* rename gitea sdk import to miss future conficts
* go-swagger: dont scan the sdk structs
* make sure gitea can shutdown gracefully
* make GetPullRequests and GetIssues similar
* rm useles
* Add Test: started ...
* ... add tests ...
* Add tests and Fixing things
* Workaround missing SHA
* Adapt: Ensure that all migration requests are cancellable
(714ab71ddc )
* LINT: fix misspells in test set
* adapt ListMergeRequestAwardEmoji
* update sdk
* Return error when creating giteadownloader failed
* update sdk
* adapt new sdk
* adopt new features
* check version before err
* adapt: 'migrate service type switch page'
* optimize
* Fix DefaultBranch
* impruve
* handle subPath
* fix test
* Fix ReviewCommentPosition
* test GetReviews
* add DefaultBranch int test set
* rm unused
* Update SDK to v0.13.0
* addopt sdk changes
* found better link
* format template
* Update Docs
* Update Gitea SDK (v0.13.1)
2020-10-14 07:06:00 +03:00
daa393cb48
Add API Section to Changelog ( #13125 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-10-13 01:39:17 -04:00
ade9c8dc3c
[API] If User is Admin, show 500 error message on PROD mode too ( #13115 )
...
* API: show admin 500 error message on PROD mode too
* a nit
* dont miss InternalServerError
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-10-12 20:41:49 -04:00
6543 and GitHub
f4ffe8ed54
Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database ( #13124 )
...
* Add timestamps to Star, Label, LanguageStat, Follow, Watch and Collaboration
* Star do not need updated
* LanguageStat do not need update (they wont change)
* fix unit-test
2020-10-12 20:01:57 -04:00
9513638715
Prohibit automatic downgrades ( #13108 )
...
Prohibit automatic downgrades by checking the version of the db and warning if the version number should be lower.
Close #13107
Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com >
2020-10-12 15:35:56 +01:00
6543 and GitHub
845d0afb33
4 line diff ( #13103 )
2020-10-12 09:15:15 +08:00
6543 and GitHub
c584364b90
[Docs] Update GitNex Link ( #13050 )
2020-10-06 08:23:10 +01:00
df4bbcd235
Fix error create comment on outdated file ( #13041 )
...
* FIX
* more specific
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-10-05 20:18:55 -04:00
6543 and GitHub
818d921bbb
Refactor use TrimSuffix instead of TrimRight ( #12993 )
...
* Refactor use TrimSuffix instead of TrimRight
* TrimRight right
* has #12990
2020-10-01 06:54:34 +01:00
feb1a8cabc
Docs: Add missing SESSION_LIFE_TIME to Config Cheat Sheet ( #12968 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-28 16:39:54 -04:00
6543 and GitHub
4a654a8d44
Mirror: Update DB on Address-Update too ( #12964 )
...
* Mirror: Update DB on Address-Update too
* new name for function to better describe
2020-09-28 15:00:52 -04:00
6543 and GitHub
efebb824ac
API: GetReleaseByID return 404 if not found ( #12933 )
...
* API: GetReleaseByID return 404 if not found
* update swagger docs
2020-09-24 18:36:56 -04:00
ba20dd7a7b
Fix Create Repository Template ( #12924 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-09-23 16:53:06 -05:00
6543 and GitHub
2dbca92a0f
API: NotificationSubject show Issue/Pull State ( #12901 )
2020-09-20 19:10:53 -04:00
6543 and GitHub
1418288734
Refactor: move Commit To APIFormat Code & Lot of StopWatch related things ( #12729 )
...
* move GitCommit to APIFormat convertion into convert package
* rename Commit convert functions
* move stopwatch to api convertion into convert package & rm unused code & extend test
* fix compare time
* Gitea not Gogs ;)
2020-09-18 20:09:26 +08:00
6543 and GitHub
06480af472
Convert User expose ID each time ( #12855 )
...
* git blame tells me a lot of gitea things happen here around 2018, add header
* move user code int its own file
* expose user id
* adopt things from APIFormat
* fix test
* CI.restart()
2020-09-17 16:33:23 -05:00
07995e2301
Fix [API] [Bug] CreateRepo missing information ( #12848 )
...
* Fix [API] [Bug] CreateRepo missing information
* add code comment
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-09-15 18:42:19 -04:00
6c61f498ea
On Migration respect old DefaultBranch ( #12843 )
...
* On Migration respect old DefaultBranch
* add DefaultBranch int test set
Co-authored-by: zeripath <art27@cantab.net >
2020-09-15 22:37:44 +08:00
00a806de68
[API] Milestone endpoints accept names too ( #12649 )
...
* API: Milestone endpoints accept names too
* add test
* rename
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-09-14 14:48:03 +03:00
6543 and GitHub
fd60ebfe14
[API] Migration: Change ServiceType String ( #12672 )
...
* use different structs for MigrateRepoOptions on UI and API
* Fix TokenAuth and rename UID to an understandable Name
* fix swagger doc
* simplify & mk redable
* R E F A C T O R:
migration has now internal 3 structs to store its options:
* the Options for WebUI: modules/auth/repo_form.go
* the Options for API: modules/structs/repo.go
* the option struct with after validation for internal prossessing: modules/migrations/base/options.go
* Copyright Header
* Deprecate UID - add RepoOwner
* adopt repo.go -> migrate.go
* add comment about each struct purpose
* lint
2020-09-10 23:29:19 +01:00
6543 and GitHub
e10327168d
GitLab DL: normalizeColor ( #12793 )
2020-09-10 14:04:30 +01:00
6543 and GitHub
cfd8e8a489
gitea dump: include version & Check InstallLock ( #12760 )
...
* gitea dump: include version
* Check InstallLock (close #12759 )
* fix test
* fix lint
2020-09-07 23:27:17 +01:00
6543 and GitHub
ad2bf376df
RepoInit Respect AlternateDefaultBranch ( #12746 )
2020-09-06 16:58:54 -04:00
6543 and GitHub
f7b3e06026
Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) ( #12745 )
...
* Update Vendor github.com/nfnt/resize
* switch resize algo NearestNeighbor -> Bilinear
2020-09-06 20:53:33 +01:00
3408fb73b6
Add better Swagger description and a example for GetArchive ( #12743 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-06 12:23:47 -04:00
0c6a802731
[Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 ( #12701 )
...
* update github.com/xanzy/go-gitlab v0.31.0 => v0.37.0
* vendor
* adapt changes
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-06 11:37:53 -04:00
1c35353c53
implemet Cache for Stopwatches.APIFormat() ( #12730 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 21:20:27 -04:00
f10d3ea803
[Vendor] Fix Version Compare Lib ( #12735 )
...
* switch to patched fork
* vendor
* reference upstream lib and use replace in go.mod
* reference upstream lib and use replace in go.mod
* Apply suggestions from code review
* vendor
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 20:44:34 -04:00
1ea1cade85
Add Created & Updated to Milestone ( #12662 )
...
* Add Created and Updated to Milestone table and expose via API
* Expose to UI - To Overloaded ?!?
* fix unit test
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 13:38:54 -04:00
bc11caff94
[Vendor] Switch go-version lib ( #12719 )
...
* vendor: switch from "mcuadros/go-version" to "hashicorp/go-version"
* Adapt P1
* simplify
* fix lint
* adapt
* fix lint & rm old code
* no deadlock
* rm RWMutex and check GoVersion only 1-time
* Copyright header
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 12:42:58 -04:00
6543 and GitHub
dba5d82f86
Expose Attachemnt Settings by API ( #12514 )
...
close #12368
2020-09-05 08:43:06 +01:00
2a52aeec49
API: Expose its limitation settings ( #12714 )
...
* API: Expose its limitation settings
* TESTs
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-04 14:10:15 -04:00
6543 and GitHub
fb603825f5
Test ignore migration rate limitation error ( #12715 )
2020-09-04 13:28:36 -04:00
ca81b6528b
UI: Inform user what meaning hourglass on reviews has ( #12713 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-04 12:36:37 -04:00
d7456106bf
fix go1.15 lint error in modules/public/public.go ( #12707 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-09-04 16:15:54 +03:00
f083bd70df
Changelog for 1.12.4 release ( #12687 ) ( #12709 )
...
* Changelog for 1.12.4 release (#12687 )
Co-authored-by: zeripath <art27@cantab.net >
* update gitea version in docs
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: zeripath <art27@cantab.net >
2020-09-03 23:44:34 -04:00
6c5266c9ca
[BugFix] Fix comment broken issue ref dependence ( #12651 )
...
* deleteIssuesByRepoID: delete related CommentTypeRemoveDependency & CommentTypeAddDependency comments too
* Ignore ErrIssueNotExist on comment.LoadDepIssueDetails()
* Add migration
* Ignore 'dependent_issue_id = 0' case
* exchange as per @lunny
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-04 09:36:56 +08:00
ad4a644fb3
Migrations: Gitlab Add Reactions Support for Issues & MergeRequests ( #12695 )
...
* fix migrations: gitlab_test
* more stable test
* Get Reactions to Pulls
* Reactions for Issues
* Comments are still hard
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-09-03 10:35:17 +03:00
84eac6ed6c
Add make targed generate-license & generate-gitignore + Update ( #12682 )
...
* Add make targed generate-license & generate-gitignore
* Update Gitignores & Licenses
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-02 12:57:08 -04:00
6543 and GitHub
3270e7a443
[Vendor] update go-swagger v0.21.0 -> v0.25.0 ( #12670 )
...
* Update go-swagger
* vendor
2020-09-01 10:01:23 -04:00
d5b6931dbe
[API] Delete Token accept names too ( #12366 )
...
* Delete Token accept names too
* better description
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-08-28 11:09:33 +03:00
6543 and GitHub
4b97f9018b
OpenGraph: use repo avatar if exist ( #12586 )
2020-08-24 22:46:56 +03:00
6543 and GitHub
dcb543ac2a
Show 2FA info on Admin Pannel: Users List ( #12515 )
2020-08-20 09:53:49 +08:00
1984b6a11b
Milestone Issue/Pull List: Add octicons type ( #12499 )
...
* add octicons based on issue type (pull|issue)
* handle IsRead again
* short code
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-08-17 15:11:42 -04:00
6543 and GitHub
05b1af990e
add & correct Translation ( #12507 )
2020-08-17 11:58:23 -04:00
ee97e6a66a
Update gitea-vet to v0.2.1 ( #12282 )
...
* change to new code location
* vendor
* tagged version v0.2.0
* gitea-vet v0.2.1
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-08-15 13:13:07 -04:00
e266ba30cc
update ( #12481 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-08-13 11:57:08 -04:00
78d17b4b43
Make default StaticRootPath compile time settable ( #12371 )
...
Make it possible to compile the default location of StaticRootPath independent from AppWorkPath
Co-authored-by: Andrew Thornton <art27@cantab.net >
2020-08-08 15:02:22 +01:00
2872a04f27
UserProfile Page: Render Description ( #12415 )
...
* If Description contain more that one line render it
* simpler ...
* only render if description exists
* Fix NPE in tests
* Update routers/user/profile.go
Co-authored-by: zeripath <art27@cantab.net >
2020-08-05 15:48:37 +08:00
6543 and GitHub
7b260acd7b
Add TOTP header to Swagger Documentation ( #12402 )
2020-08-02 13:01:12 +01:00
6543 and GitHub
b3e06523c1
[Vendor] upgrade google/go-github to v32.1.0 ( #12361 )
...
* upgrate go-github client to v32.1.0
* migrate
2020-07-31 15:22:34 +01:00
6543 and GitHub
1de19e0c76
Changelog v1.12.3 ( #12356 ) ( #12357 )
2020-07-28 16:54:08 -04:00
6543 and GitHub
8bdc9795d8
Add name filter to API for GetMilestoneList ( #12336 )
...
Adds a name filter to the API for GetMilestoneList
Includes a small refactor: merge GetMilestones and GetMilestonesByRepoID
Close #12260
Needed for https://gitea.com/gitea/go-sdk/issues/383 and https://gitea.com/gitea/tea/pulls/149
2020-07-28 12:30:40 +01:00
7ecb25b41b
Refactor: Remove Dependencies from Migration v111 ( #11646 )
...
* Refactor: Remove Dependencys from Migration v111
* Update models/migrations/v111.go
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-07-26 17:34:30 -04:00
6543 and GitHub
2753d72773
Migrations (v82,v96,v99,v136) remove dependencies ( #12286 )
...
* remove dependencys
* add missing fields
* CI.restart()
2020-07-22 09:27:22 -05:00
3973a4609e
Frontport Changelog of v1.12.2 ( #12216 )
...
* Changelog for v1.12.2 (#12214 )
* Changelog for v1.12.2
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* update docs
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
2020-07-11 16:28:23 -04:00
6543 and GitHub
16980d13ce
Default to showing closed Issues/PR list when there are only closed issues/PRs ( #12200 )
...
If all issues are closed, then set the default to show the closed issues.
2020-07-09 22:13:06 +01:00
6543 and GitHub
9ef2f62a79
Update Goldmark v1.1.25 -> v1.1.32 ( #12048 )
2020-06-25 10:43:18 +08:00
c86478ec47
[UI] Sortable Tables Header By Click ( #7980 )
...
* [UI] Sortable Tables Header By Click
* get rid of padding above header
* restart CI
* fix lint
* convert getArrow JS to SortArrow go func
* addopt SortArrow funct
* suggestions from @silverwind - tablesort.js
Co-authored-by: silverwind <me@silverwind.io >
* Update web_src/js/features/tablesort.js
Co-authored-by: silverwind <me@silverwind.io >
* Update web_src/js/features/tablesort.js
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: silverwind <me@silverwind.io >
2020-06-24 23:23:05 +01:00
6543 and GitHub
fc2f2c7602
API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings ( #11854 )
...
* move Setting function into its own package
* swagger add&use new section "settings"
* move api AllowedReactions into general UI-Settings endpoint
* prepare TEST
* lint
2020-06-22 14:21:31 -04:00