71 Commits
Author SHA1 Message Date
12fcd78e8e build(snap): publish nightly version to snapcraft via actions (#37814)
The secret is added to the repo already.

Right now this only publishes commits to main branch to the
"latest/edge" snap channel, but if this is successful we can add more
workflows/logic to be able to publish RCs/fully tagged versions too.

---------

Co-authored-by: Nicolas <bircni@icloud.com>
2026-05-22 19:27:09 +00:00
ef040c5fc4 chore(deps): bump go-git/go-git/v5 to 5.19.0 (#37608)
Co-authored-by: Nicolas <bircni@icloud.com>
2026-05-08 19:11:13 +00:00
techknowlogickandGitHub 019d85039c Use updated yaml fields for snapcraft (#37318) 2026-04-20 19:02:29 +02:00
techknowlogickandGitHub ee253afb86 bump snapcraft base (#37301) 2026-04-20 08:16:48 +02:00
techknowlogickandGitHub 539654831a bump snapcraft deps (#37039) 2026-03-30 13:47:41 +00:00
techknowlogickandGitHub d7070b8513 Bump go and python versions in nix flake (#37031) 2026-03-29 23:02:15 +02:00
435123fe65 Switch cmd/ to use constructor functions. (#36962)
This is a step towards potentially splitting command groups into their
own folders to clean up `cmd/` as one folder for all cli commands.
Returning fresh command instances will also aid in adding tests as you
don't need to concern yourself with the whole command tree being one
mutable variable.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-25 15:53:13 +01:00
943ff75233 Require additional user confirmation for making repo private (#36959)
To align with how GitHub requires additional explicit user interaction
to make a repo private, including informing them of implications on what
happens if they do.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-24 20:13:08 +00:00
techknowlogickandGitHub 2cdf86e184 automate updating nix flakes (#35641) 2026-02-14 19:00:36 +01:00
techknowlogickandGitHub 919348665b Add ability for local makefile with personal customizations that wouldnt affect remote repo (#35836)
This would allow developers to keep a local file that'd add personal
makefile targets for niche convenience customization without having to
have the git workspace polluted with uncommitted changes.

---------

Signed-off-by: techknowlogick <techknowlogick@gitea.com>
2025-11-08 20:23:55 +00:00
techknowlogickandGitHub aa7ec64a54 ignore .worktrees as a "special folder" (#35835)
following the approach from nixpkgs that ignore the .worktrees folder,
we could also do the same, this would allow worktrees to be worked on in
the same folder as the primary branch.

ref:
https://github.com/NixOS/nixpkgs/commit/b6420c7bca86997ad66218dcf4fb902efc7ac4f6
2025-11-03 20:57:30 +01:00
techknowlogickandGitHub 98ff7d0773 add pnpm to Snapcraft (#35778) 2025-10-29 19:34:40 +01:00
techknowlogickandGitHub f9a4b2753c nix flake update (#35639) 2025-10-12 15:59:00 +00:00
techknowlogickandGitHub 3d264ba636 bump archives&rar dep (#35637) 2025-10-12 05:48:19 +02:00
techknowlogickandGitHub 879b896656 bump devcontainer to go 1.25 (#35404) 2025-09-04 04:21:00 +00:00
361e59fd53 Switch to pnpm (#35274)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
2025-09-04 01:17:14 +00:00
techknowlogickandGitHub ed8d4dc37a rename nightly docker tag for main branch (#35344)
fixes https://github.com/go-gitea/gitea/issues/35338
2025-08-24 13:40:50 +08:00
a2d88cd597 Remove deprecated auth sources (#35272)
Entra ID users should use the OIDC oauth2 provider.

They will still be shown if the instance has a previous Azure AD source
configured.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-08-23 20:39:05 +00:00
techknowlogickandGitHub 5cca69517d nix flake use go1.25 (#35288) 2025-08-16 02:47:39 +08:00
techknowlogickandGitHub 1740d36581 go1.25.0 (#35262) 2025-08-15 18:13:24 +08:00
techknowlogickandGitHub d9a2dfd95e fix nix dev shell on darwin (#35278) 2025-08-14 14:39:38 -04:00
techknowlogickandGitHub a301079626 nix flake update (#35085) 2025-07-15 20:43:14 +02:00
techknowlogickandGitHub 990ae2bfa8 Add gitignore rules to exclude LLM instruction files (#35076)
Similar to how we have ignores for other tooling (eg vscode & IntelliJ)
we shouldn’t include these files in our repo. If they get added then
we’d have to maintain them and keep them up to date, and personally
there are too many tools to do that for.
2025-07-14 21:26:16 -07:00
techknowlogickandGitHub 5b22af4373 bump to alpine 3.22 (#34613) 2025-06-06 08:13:17 +08:00
techknowlogickandGitHub 6fbf0e6738 nix flake update (#34476) 2025-05-16 14:09:45 +00:00
techknowlogickandGitHub 3b5aaa836e bump vite to 6.2.6 (#34202) 2025-04-15 00:33:07 +00:00
techknowlogickandGitHub 7535af20da bump x/crypto & x/oauth2 (#33704) 2025-02-24 20:15:18 +00:00
d88b012525 go1.24 (#33562)
update to use go1.24

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-13 18:00:00 +08:00
7e596bd7a9 add timetzdata build tag to binary releases (#33463)
`timetzdata` is already used in the docker images, this includes them
for the binary release files too.

Related to #33235 (I don't have a windows machine setup to test this
though)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-05 04:17:08 +00:00
189e7409b7 Use updated path to s6-svscan after alpine upgrade (#33185)
Fix #33163

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 10:16:37 +08:00
techknowlogickandGitHub 232867cff6 use -s -w ldflags for release artifacts (#33041)
fix #33030
2024-12-30 02:37:59 +00:00
techknowlogickandGitHub a09ea2f483 Use Alpine 3.21 for the docker images (#32924) 2024-12-22 15:44:50 +00:00
techknowlogickandGitHub 420cda18e6 bump x/net (#32896) 2024-12-18 22:40:04 +00:00
techknowlogickandGitHub ab6d819a89 Update actionlint.yaml 2024-12-12 15:45:27 -05:00
techknowlogickandGitHub 566f5356db use dedicated runners for release artifacts (#32811)
GH runners are having trouble, so switch the remaining release jobs to
use dedicated runners.
2024-12-12 12:02:59 -05:00
techknowlogickandGitHub 38e3d8b4e6 use rebuilt mssql-2017 image (#32109) 2024-09-23 16:54:20 -04:00
techknowlogickandGitHub d9a7748cdc bump to go 1.23 (#31855) 2024-09-10 02:23:07 +00:00
f183783baa Save initial signup information for users to aid in spam prevention (#31852)
This will allow instance admins to view signup pattern patterns for
public instances. It is modelled after discourse, mastodon, and
MediaWiki's approaches.

Note: This has privacy implications, but as the above-stated open-source
projects take this approach, especially MediaWiki, which I have no doubt
looked into this thoroughly, it is likely okay for us, too. However, I
would be appreciative of any feedback on how this could be improved.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-09-09 17:05:16 -04:00
techknowlogickandGitHub d1283524b1 bump vue-bar-graph (#31705) 2024-08-01 20:42:51 +03:00
b4ccef3dee use nolyfill to remove some polyfills (#31468)
We don't need to have polyfills down to Node v4. Some of our deps have
polyfills, and don't utilize the built-in implementation if available.
While this does decrease our package graph, I haven't been able to
notice any decrease/increase in page load times, although that could
likely be just because it's already pretty fast.

Nolyfill is https://github.com/SukkaW/nolyfill

updates to files generated with:

```shell
npx nolyfill install
npm update
```

Before this is/isn't merged, I'd be appreciative/thankful for other's
insights.

Edit: This isn't due to a specific individual. I am generally supportive
of them and their dedication to backward compatibility. This PR is due
to not needing those imports for our minimum requirements. Please don't
take this PR as commentary on anyone's character.

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-07-24 00:42:21 +00:00
techknowlogickandGitHub 24f9390f34 Enable direnv (#31672)
This lets developers who have direnv enabled to load our nix flake
automatically when entering it
2024-07-23 12:07:41 +00:00
techknowlogickandGitHub ba9589a92d fix redis dep (#31662)
fix https://github.com/go-gitea/gitea/issues/31658
2024-07-19 20:10:31 +00:00
techknowlogickandGitHub fa160b915d typo on date in security document (#31617) 2024-07-11 21:51:08 +00:00
techknowlogickandGitHub a4899ffa24 bump golang deps (#31422) 2024-06-24 13:26:42 +00:00
31011f5cde Swap word order in Comment and Close (#31148)
Reduce accident closing of tickets only to re-open them right away. This
aligns the text on these buttons with what GitHub has.

Commit is authored by @LazyDodo, and was committed to the Blender fork
by @brechtvl

Background details:
https://projects.blender.org/infrastructure/gitea-custom/pulls/7

Co-authored-by: Ray Molenkamp <github@lazydodo.com>
2024-05-29 15:54:17 +00:00
techknowlogickandGitHub 7b93d6c8f7 Alpine 3.20 has been released (#31047) 2024-05-23 12:18:25 +00:00
techknowlogickandGitHub 90f4cf51a3 align s3 files with docker naming (#31050)
docker images have `-nightly`, this will append the same to binaries
uploaded to s3.
2024-05-22 23:34:52 +00:00
techknowlogickandGitHub 06039bf0b7 bump protobuf module (#29617) 2024-03-05 20:35:29 -05:00
cb52b17f92 Add admin API route for managing user's badges (#23106)
Fix #22785

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-03-01 03:23:28 -05:00
5e32cd6beb Don’t comment when locking (#29508)
This reduces the number of emails/notifications on outdated issues.

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2024-03-01 09:43:42 +08:00
+2 5bb8d1924d Support SAML authentication (#25165)
Closes https://github.com/go-gitea/gitea/issues/5512

This PR adds basic SAML support
- Adds SAML 2.0 as an auth source
- Adds SAML configuration documentation
- Adds integration test:
- Use bare-bones SAML IdP to test protocol flow and test account is
linked successfully (only runs on Postgres by default)
- Adds documentation for configuring and running SAML integration test
locally

Future PRs:
- Support group mapping
- Support auto-registration (account linking)

Co-Authored-By: @jackHay22

---------

Co-authored-by: jackHay22 <jack@allspice.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: morphelinho <morphelinho@users.noreply.github.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
2024-02-23 00:08:17 +00:00
techknowlogickandGitHub a346a8c852 bump to use go 1.22 (#29119) 2024-02-14 18:19:57 +00:00
techknowlogickandGitHub a1d2a152f8 bump to use alpine3.19 (#28594) 2023-12-23 21:04:58 +00:00
techknowlogickandGitHub 60fce1568e Remove network call on make clean (#27689)
fix #27653

credit to silverwind for finding issue
2023-10-19 08:02:22 +00:00
techknowlogickandGitHub c573d96b70 rm outdated docs from some languages (#27530)
related to #27499
2023-10-13 19:29:18 +00:00
techknowlogickandGitHub dc7cf7a984 fully replace drone with actions (#27556)
this builds binaries and docker images for tags
2023-10-11 06:39:32 +00:00
techknowlogickandGitHub 65eea1d536 switch to using official AWS step in release nightly (#27532)
`jakejarvis/s3-sync-action@master` is out of date, and using official
actions is always recommended
2023-10-09 10:12:19 +00:00
techknowlogickandGitHub e96e440b8b add a shortcut to user's profile page to admin user details (#27299) 2023-10-08 02:48:32 +00:00
techknowlogickandGitHub e3229c8e9b bump go-deps (#27489) 2023-10-07 05:55:08 +00:00
techknowlogickandGitHub 72b66032e4 change runner for binary 2023-10-07 00:14:45 -04:00
techknowlogickandGitHub e820d9966d move re-useable workflow 2023-10-06 15:22:10 -04:00
techknowlogickandGitHub bab41dd3a3 add checkout to disk-clean 2023-10-06 15:16:56 -04:00
1683f1587c use hosted runners for nightly actions (#27485)
I'm temporarily unable to properly evaluate actuated runners, and so I'm
switching back to hosted runners until I am able to focus on that again.

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-10-06 15:13:47 -04:00
9e446dbf04 bump bleve (#27300)
Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-09-27 07:10:58 +00:00
techknowlogickandGitHub 0816463cf4 Update database-preparation and add note re: MariaDB (#27232)
update DB docs per feedback.
https://gitea.com/gitea/gitea-docusaurus/issues/69
2023-09-24 21:24:17 +00:00
techknowlogickandGitHub b32998b3f5 set version in snapcraft yaml 2023-09-13 23:20:46 -04:00
techknowlogickandGitHub 5d755ac6ae bump all nightly builds to 16gb 2023-09-13 10:43:03 -04:00
techknowlogickandGitHub 3bebcb2e9c bump rootful to 16gb 2023-09-12 15:26:41 -04:00
techknowlogickandGitHub 2abbc43dff setup go in the nightly release pipeline 2023-09-12 13:36:15 -04:00
techknowlogickandGitHub c892ab0600 Speed up nightly builds (#27045)
* Rootless/ful docker images build separately
* Vendor go modules outside docker to speed up the build

Thanks to Alex Ellis for these suggestions (and actuated runner build
time)
2023-09-12 13:33:45 -04:00
techknowlogickandGitHub e6b68c579b Use Actuated.dev runner for nightly builds 2023-09-12 12:15:05 -04:00