Commit graph

15995 commits

Author SHA1 Message Date
Earl Warren
8c0d9459c5
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) comment out obsoleted queue keys 2023-07-24 22:49:19 +02:00
Earl Warren
1c2a5b5162
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) fix typo in Alpine version 2023-07-24 21:21:14 +02:00
Earl Warren
2f2817ad4b Merge pull request '[DOCS] RELEASE-NOTES: 1.20.1-0' (#1105) from earl-warren/forgejo:wip-release-notes-1.20.0 into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1105
2023-07-24 15:56:10 +00:00
Loïc Dachary
c516fd0c7a
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) Forgejo features/optimizations 2023-07-24 16:01:32 +02:00
Earl Warren
3c11eb1de5
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) 2023-07-24 09:29:26 +02:00
Earl Warren
4107d99f25
[API] Forgejo API /api/forgejo/v1 (squash) 5.0.0+0-gitea-1.20.1 2023-07-24 08:57:21 +02:00
Earl Warren
e6c69c50a0 Merge pull request '[DOCS] Forgejo has its own code of conduct' (#1095) from earl-warren/forgejo:wip-coc into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1095
2023-07-23 10:22:01 +00:00
Earl Warren
df78cedd05
[DOCS] delete Gitea specific files that need rewriting for Forgejo (squash) 2023-07-23 10:01:33 +02:00
Loïc Dachary
e2c6c1dbd0 Merge pull request '[FEAT] Add OpenStreetMap URL to Location field in profile' (#1076) from n0toose/forgejo:osm-urls-in-profiles into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1076
2023-07-21 12:54:43 +00:00
Loïc Dachary
60a0952ae0 Merge pull request '[TESTS] increase test-sqlite log level to Trace' (#1085) from earl-warren/forgejo:wip-trace into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1085
2023-07-21 07:28:10 +00:00
Earl Warren
666b02eb9d
[TESTS] increase test-sqlite log level to Trace
It does not pollute the output because they go to sqlite-log/gitea.log
and it may provide clues for debugging. When trying to figure out a
problem in production, Debug is likely to be used but in a development
environment a very fine grain log is the most useful. If that's really
too much noise, the lines can be trimmed by removing all those with [T].
2023-07-21 07:40:17 +02:00
Panagiotis "Ivory" Vasilopoulos
27d8d1c5fc Revert "Alright, we just made all the icons in that submenu a bit bolder and more consistent."
This reverts commit d5c0009ad0.
2023-07-20 20:53:37 +02:00
Panagiotis "Ivory" Vasilopoulos
a36d657509 Revert "Wait, I forgot about *that* icon"
This reverts commit 9930f9b8f2.
2023-07-20 20:53:27 +02:00
Panagiotis "Ivory" Vasilopoulos
02bb52617d Revert "16, "gt-mr-2" in *all* icons"
This reverts commit c2c60a01eb.
2023-07-20 20:53:11 +02:00
Panagiotis "Ivory" Vasilopoulos
b906008ff1 Add tooltip 2023-07-20 20:30:21 +02:00
Panagiotis "Ivory" Vasilopoulos
4bbcbd37e1 Add more tests 2023-07-20 20:15:09 +02:00
Panagiotis "Ivory" Vasilopoulos
22983c65f8 Fix tests (tested) 2023-07-20 17:39:59 +02:00
Panagiotis "Ivory" Vasilopoulos
ba3d76f5ba Make OSM button configurable 2023-07-20 17:32:53 +02:00
Panagiotis "Ivory" Vasilopoulos
1254f2aa9d Remove | Safe attribute, it does exactly the opposite of what I intended it to. 2023-07-20 17:07:59 +02:00
Panagiotis "Ivory" Vasilopoulos
d5c0009ad0 Alright, we just made all the icons in that submenu a bit bolder and more consistent. 2023-07-20 17:05:21 +02:00
Panagiotis "Ivory" Vasilopoulos
9930f9b8f2 Wait, I forgot about *that* icon 2023-07-20 16:57:10 +02:00
Panagiotis "Ivory" Vasilopoulos
c2c60a01eb 16, "gt-mr-2" in *all* icons 2023-07-20 16:55:46 +02:00
Panagiotis "Ivory" Vasilopoulos
852317b467 Introduce new button for OpenStreetMap URL 2023-07-20 16:46:25 +02:00
Gusted
56a028ec96
Improve testing 2023-07-20 15:57:05 +02:00
Panagiotis "Ivory" Vasilopoulos
4437292622 It finally works, will add more tests later. 2023-07-20 15:52:14 +02:00
Panagiotis "Ivory" Vasilopoulos
5731fbb4a4 Lint tests (sorry, I'm a bit tired) 2023-07-20 15:30:22 +02:00
Panagiotis "Ivory" Vasilopoulos
2c94e6d56f Add test for OSM feature (doesn't work yet) 2023-07-20 15:23:16 +02:00
Earl Warren
a9839e009f Merge pull request '[FEATURE] Add ThreadID parameter for Telegram webhooks' (#1077) from neveraskedtoexist/forgejo:forgejo-development into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1077
2023-07-19 21:18:37 +00:00
Panagiotis "Ivory" Vasilopoulos
1396e2716b Add placeholder text 2023-07-19 22:46:32 +02:00
neveraskedtoexist
29d77def40 [FEATURE] Add ThreadID parameter for Telegram webhooks 2023-07-19 21:46:29 +02:00
Panagiotis "Ivory" Vasilopoulos
64de4e02f9 [FEAT] Add OpenStreetMap URL to Location field in profile
Not too important, but I think that it'd be a pretty neat touch.
2023-07-19 21:29:37 +02:00
Loïc Dachary
6d164246b5 Merge pull request '[DOCS] RELEASE-NOTES: 1.20.0-5' (#1064) from dachary/forgejo:doc-release-notes-1.20 into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1064
2023-07-19 17:41:50 +00:00
Earl Warren
ed236e1ee8
[DOCS] RELEASE-NOTES: 1.20.0 (squash) minor rewording
The CI & Actions sections were grouped together.
2023-07-19 19:17:10 +02:00
Earl Warren
b34e9a7b19
[DOCS] RELEASE-NOTES: 1.20.0 (squash) reword breaking
- removed the section about the changed themes: it is an internal
detail and redundant with the above warning regarding themes &
templates
2023-07-19 18:56:28 +02:00
Earl Warren
865a585eea Merge pull request '[DOCS] Add link to build instructions in CONTRIBUTING.md' (#1073) from n0toose/forgejo:compiling-from-source into forgejo-development
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1073
2023-07-19 16:38:10 +00:00
Panagiotis "Ivory" Vasilopoulos
3e99f49fc5 Replace 'v1.20' with 'next' 2023-07-19 16:55:02 +02:00
Panagiotis "Ivory" Vasilopoulos
50d86aa4ad [DOCS] Add link to build instructions in CONTRIBUTING.md 2023-07-19 15:57:02 +02:00
Loïc Dachary
8791fe88b1
address rome-user review 2023-07-18 08:12:38 +02:00
Loïc Dachary
4e4cdddc55
[DOCS] RELEASE-NOTES: 1.20.0 (squash) reorder breaking 2023-07-17 19:34:03 +02:00
Loïc Dachary
3e9e862e5e
[DOCS] RELEASE-NOTES: 1.20.0 (squash) commits
git log --no-merges --oneline 64ed262e1..gitea/release/v1.20 . ':(exclude,glob)docs/**' ':(exclude)CONTRIBUTING.md' ':(exclude)MAINTAINERS' ':(exclude,glob).github/**' ':(exclude)CHANGELOG.md' ':(exclude,glob)options/locale/**' ':(exclude,glob)options/license/**' ':(exclude,glob)snap/**' ':(exclude).drone.yml' ':(exclude)custom/conf/app.example.ini'

9159964ad Avoid opening/closing PRs which are already merged (#25883) (#25903)
9369b3831 Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927)
6e82d0bb7 Add shutting down notice (#25920) (#25922)
36b9a86bd Fix incorrect milestone count when provide a keyword (#25880) (#25904)
de8127e78 fix incorrect repo url when changed the case of ownername (#25733) (#25881)
de8127e78 fix incorrect repo url when changed the case of ownername (#25733) (#25881)
186f07bbf Make `add line comment` buttons focusable (#25894) (#25896)
45b1f4dd3 Add support for different Maven POM encoding (#25873) (#25890)
026e745b9 Fix incorrect release count (#25879) (#25887)
c334be828 Fix empty project displayed in issue sidebar (#25802) (#25854)
353dcc5ad Fix the error message when the token is incorrect (#25701) (#25836)
abe9c641c Show correct SSL Mode on "install page" (#25818) (#25838)
052e65e63 Fix incorrect oldest sort in project list (#25806) (#25835)
c1a10be07 Fix activity type match in `matchPullRequestEvent` (#25746) (#25796)
2b79d3fd5 For API attachments, use API URL (#25639) (#25814)
b4460cf54 Make "install page" respect environment config (#25648) (#25799)
a1bc2aa05 Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) (#25809)
d713cf615 Fix WORK_DIR for docker (root) image (#25738) (#25811)
012b804a9 Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764)
372b622c2 Revert package access change from #23879 (#25707) (#25785)
06bcdfe77 Remove unused code (#25734) (#25788)
a5a3c8141 Fix notification list bugs (#25781) (#25787)
ea2c9de3c Test if container blob is accessible before mounting (#22759) (#25784)
348a6bf70 Always pass 6-digit hex color to monaco (#25780) (#25782)
91dadeddd Translate untranslated string in issues list (#25759) (#25761)
32eaba1b4 Hide `add file` button for pull mirrors (#25748) (#25751)
917ca5ded Several fixes for mobile UI (#25634) (#25689)
e595dfeec Allow/fix review (approve/reject) of empty PRs (#25690) (#25732)
03cacf971 Check `ctx.Written()` for `GetActionIssue` (#25698) (#25711)
68e0c802f Show correct naming for 1 comment (#25704) (#25712)
09668b2e2 Correct permissions for `.ssh` and `authorized_keys` (#25721) (#25730)
04eea29ec Fix tags header and pretty format numbers (#25624) (#25694)
511be9fe6 Fix position of org follow button (#25688) (#25692)
24e64fe37 Replace `interface{}` with `any` (#25686) (#25687)
4e310133f Prevent duplicate image loading (#25675) (#25684)
491f36d32 Actions list enhancements (#25601) (#25678)
5510ed34f Fix the nil pointer when assigning issues to projects (#25665) (#25677)
39fce5750 Prevent SVG shrinking (#25652) (#25669)
1f9037604 Fix show more for image on diff page (#25672) (#25673)
0af6542a3 Add unit test for repository collaboration (#25640) (#25658)
69bdcf41f Log the real reason when authentication fails (but don't show the user) (#25414) (#25660)
e610b0389 Fix UI misalignment on user setting page (#25629) (#25656)
13ffa287b  Fix bug of branches API with tests(#25578) (#25579)
2023-07-17 19:11:51 +02:00
Loïc Dachary
dd58b50403
[DOCS] RELEASE-NOTES: 1.20.0 (squash) Gitea release notes
Review https://github.com/go-gitea/gitea/releases/tag/v1.20.0
2023-07-17 18:50:54 +02:00
Loïc Dachary
c8068a9d7b
[DOCS] RELEASE-NOTES: 1.20.0 (squash) blog
Pick changes from https://blog.gitea.com/release-of-1.20.0/
2023-07-17 18:25:29 +02:00
Earl Warren
ad2fedb693
[DOCS] RELEASE-NOTES: 1.20.0
(cherry picked from commit 3fbcdd235b)
(cherry picked from commit e7a621acae)
(cherry picked from commit 70adac6d66)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) rewording

(cherry picked from commit 1b79fab57d)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) time

(cherry picked from commit cfd599a132)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) wiki

(cherry picked from commit 6aa2ab41c6)

pick changes from #829

(cherry picked from commit f599598101)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) ui

(cherry picked from commit 5f0aa769b1)

features

(cherry picked from commit d1e788ff4e)

typos

(cherry picked from commit 088d4b2d61)

Mirror Settings

(cherry picked from commit 161412affd)

features

(cherry picked from commit 10cb0379e2)

fix typo

(cherry picked from commit aee096b040)

TODO

(cherry picked from commit 0d4e0bb4a9)

typo

(cherry picked from commit b76a3c1a84)
(cherry picked from commit 4c354196c2)
(cherry picked from commit 6323c6d1a2)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) Woodpecker CI archive repository

(cherry picked from commit 154ee5bc9c)

[DOCS] RELEASE-NOTES: 1.20.0 (squash)

(cherry picked from commit 656f955448)

[DOCS] RELEASE-NOTES: 1.19.4-0

(cherry picked from commit 85bd997176)

[DOCS] RELEASE-NOTES: 1.19.4-0 (squash) fix typo

(cherry picked from commit e5c364c586)
(cherry picked from commit c123048e51)
2023-07-16 23:41:39 +02:00
Earl Warren
e0c7b7055f
[TESTS] coverage for SignInOAuthCallback
(cherry picked from commit f8e1619b99)
(cherry picked from commit 46d8bc9bdf)
2023-07-16 23:41:39 +02:00
Earl Warren
c4935f08ad
[TESTS] oauth2: make it possible to use an alternate http.Client
(cherry picked from commit aea4ab25a9)
(cherry picked from commit d386b212c4)
2023-07-16 23:41:39 +02:00
Earl Warren
35da630ad8
[TESTS] auth LinkAccount test coverage
(cherry picked from commit e11dcc60f2)

use backticks to avoid backslash

(cherry picked from commit 34212791ee)
(cherry picked from commit bde9473c69)
(cherry picked from commit d4deb43084)
(cherry picked from commit 08e91649b0)
(cherry picked from commit 2b988e5415)

[TESTS] auth LinkAccount test coverage (squash)

(cherry picked from commit a2b2e3066b)
(cherry picked from commit 841d1b5073)
2023-07-16 23:41:37 +02:00
Earl Warren
398a6ab072
[TESTS] createUser via the user model helper for integration tests
(cherry picked from commit c1d14c5fff)
(cherry picked from commit e0e8aabc98)
(cherry picked from commit 392a415070)
(cherry picked from commit c7cf1307ca)
(cherry picked from commit 93b13d092b)

[TESTS] createUser via the user model helper for integration tests (squash)

(cherry picked from commit 6ff2383952)
(cherry picked from commit de2a6fe8c3)
2023-07-16 23:41:36 +02:00
Earl Warren
f9d054d17f
[TESTS] testMiddlewareHook, dependency injection in integration tests
(cherry picked from commit 6623630d10)
(cherry picked from commit d30b9dc5b4)
(cherry picked from commit 8e790a65ba)
(cherry picked from commit 9d98ba7e5c)
(cherry picked from commit 07fc55a3a7)
2023-07-16 23:40:30 +02:00
Gusted
94a458835a
[DB] Forgejo database migrations
- Implements https://codeberg.org/forgejo/discussions/issues/32#issuecomment-918737
- Allows to add Forgejo-specific migrations that don't interfere with Gitea's migration logic. Please do note that we cannot liberally add migrations for Gitea tables, as they might do their own migrations in a future version on that table, and that could undo our migrations. Luckily,  we don't have a scenario where that's needed and thus not taken into account.

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/795
(cherry picked from commit 8ee32978c0)
(cherry picked from commit c240b34f59)
(cherry picked from commit 03936c6492)
(cherry picked from commit a20ed852f8)
(cherry picked from commit 1dfa82676f)
(cherry picked from commit c39ae0bf8a)
(cherry picked from commit cfaff08996)
2023-07-16 23:40:29 +02:00
Loïc Dachary
ec6cdc9e1a
[SECURITY] default to pbkdf2 with 320,000 iterations
(cherry picked from commit 3ea0b287d7)
(cherry picked from commit db8392a8ac)
(cherry picked from commit bd2a5fa292)
(cherry picked from commit 2436acb3d9)
(cherry picked from commit 62f50e1c52)
(cherry picked from commit dba1892521)
(cherry picked from commit 4b58e3b6d4)
(cherry picked from commit 1247056856)
(cherry picked from commit afbaea7009)
(cherry picked from commit dcd4813d96)
(cherry picked from commit b51dc963d1)
(cherry picked from commit 611e895efd)
(cherry picked from commit fd492a03f5)
(cherry picked from commit 2c99991f44)
(cherry picked from commit 7426c1edb4)
(cherry picked from commit 373244f8b2)
(cherry picked from commit 4f6efecdb9)
(cherry picked from commit 61d500808e)
(cherry picked from commit 65f8384b63)
(cherry picked from commit 12ed28e734)
2023-07-16 23:40:29 +02:00