Commit Graph

6290 Commits

Author SHA1 Message Date
gitbucket-bot[bot]
73ccfd0788 Update postgresql to 42.7.10 2026-02-13 06:37:09 +09:00
gitbucket-bot[bot]
c25145b793 Update scalafmt-core to 3.10.7 2026-02-12 07:23:19 +09:00
RIVOIRA
1b7fbcb59d Fix UTF-8 BOM preservation when editing files in browser (fixes #2188) (#3954)
* Fix UTF-8 BOM preservation when editing files in browser (fixes #2188)

When editing a file encoded in UTF-8 with BOM through the web interface,
the BOM was lost during save, making it impossible to use this feature
for files requiring UTF-8 BOM encoding.

This fix:
- Detects UTF-8 BOM when reading file content
- Preserves BOM information through the edit form
- Restores BOM when writing file content back to repository

Changes:
- Add hasUtf8Bom() function to detect BOM in byte arrays
- Add hasBom field to ContentInfo case class
- Update getContentInfo to detect and store BOM information
- Add hasBom hidden field in editor form
- Update EditorForm and commitFile to handle BOM preservation
- Add unit tests for BOM detection
2026-02-11 23:21:02 +09:00
gitbucket-bot[bot]
03760f126b Update logback-classic to 1.5.29 (#3960)
Co-authored-by: gitbucket-bot[bot] <256891351+gitbucket-bot[bot]@users.noreply.github.com>
2026-02-11 09:59:51 +09:00
gitbucket-bot[bot]
3826b690cf Update oauth2-oidc-sdk to 11.33 2026-02-09 06:53:25 +09:00
Naoki Takezoe
3f3b111afc Fix redirect after creating or editing in web editor (#3958) 2026-02-08 23:02:12 +09:00
Naoki Takezoe
379c86ba9d Restore pagination in commit history (#3957) 2026-02-08 22:31:18 +09:00
Yasumichi Akahoshi
6dce8672ab add markdown toolbar to comment (#3952) 2026-02-08 19:27:46 +09:00
gitbucket-bot[bot]
85d8432755 Update logback-classic to 1.5.28 2026-02-07 07:14:34 +09:00
gitbucket-bot[bot]
edbec530f3 Update sbt, sbt-dependency-tree, ... to 1.12.2 2026-02-04 15:44:37 +09:00
gitbucket-bot[bot]
952bfcc37b Update scalafmt-core to 3.10.6 2026-02-01 07:46:47 +09:00
Yasumichi Akahoshi
0f48c3c926 Add debug logs to JGitUtil (#3940) 2026-01-31 22:38:54 +09:00
Yasumichi Akahoshi
ed0a6ef4ff Add markdown toolbar (#3949) 2026-01-31 08:46:33 +09:00
Yasumichi Akahoshi
0bdc765198 Fixed inconsistencies in branch names on the Wiki (#3929) 2026-01-31 08:28:24 +09:00
gitbucket-bot[bot]
9a613bb678 Update logback-classic to 1.5.27 2026-01-31 06:33:18 +09:00
gitbucket-bot[bot]
06ea83579d Update json4s-jackson to 4.1.0 (#3934)
Co-authored-by: gitbucket-bot[bot] <256891351+gitbucket-bot[bot]@users.noreply.github.com>
2026-01-30 13:57:35 +09:00
gitbucket-bot[bot]
a84e501099 Update cache2k-api, cache2k-core to 2.6.1.Final (#3946)
Co-authored-by: gitbucket-bot[bot] <256891351+gitbucket-bot[bot]@users.noreply.github.com>
2026-01-30 13:57:17 +09:00
Yasumichi Akahoshi
17b3587263 share ace related script (#3936) 2026-01-30 13:56:35 +09:00
gitbucket-bot[bot]
6cce445dcb Update oauth2-oidc-sdk to 11.32 2026-01-30 06:53:12 +09:00
Yasumichi Akahoshi
22c09c2cb1 fix-cache2k-warning (#3944) 2026-01-29 09:57:12 +09:00
Yasumichi Akahoshi
241d46847b Migrated from helpers.markdown() to helpers.renderMarkup(). (#3939) 2026-01-29 09:51:46 +09:00
Yasumichi Akahoshi
6b145ea760 Recommended use of BOMInputStream (#3938) 2026-01-29 09:48:24 +09:00
gitbucket-bot[bot]
5fc3dd74a8 Update scalafmt-core to 3.10.5 2026-01-29 07:25:04 +09:00
gitbucket-bot[bot]
6ee03843c5 Update apache-sshd to 2.17.1 2026-01-28 06:52:15 +09:00
gitbucket-bot[bot]
516f67f812 Update sbt, sbt-dependency-tree, ... to 1.12.1 2026-01-27 07:32:22 +09:00
gitbucket-bot[bot]
2b3b26d542 Update logback-classic to 1.5.26 2026-01-27 07:31:44 +09:00
Yasumichi Akahoshi
858de58cd0 Add ace keybinds (#3935) 2026-01-24 17:06:23 +09:00
Yasumichi Akahoshi
3248bef98d update ace 1.43.5 (#3930) 2026-01-24 13:33:52 +09:00
Yasumichi Akahoshi
0c9863f956 Apply Ace Editor to Wiki editing with keyboard handler support (#3925) 2026-01-23 09:09:40 +09:00
Scala Steward
afc5c2d3d0 Update scala3-library to 3.8.1 2026-01-22 12:21:54 +09:00
Scala Steward
544a291dac Update logback-classic to 1.5.25 2026-01-18 10:45:10 +09:00
Scala Steward
9e8d5b89c7 Update scalafmt-core to 3.10.4 2026-01-18 09:34:30 +09:00
Scala Steward
86f069c980 Update postgresql to 42.7.9 2026-01-16 05:25:41 +09:00
Scala Steward
69bd70b381 Update scala3-library to 3.8.0 2026-01-14 06:05:07 +09:00
Scala Steward
f1d0b0c080 Update sbt-scoverage to 2.4.4 2026-01-14 06:01:47 +09:00
Scala Steward
45ae0cfd62 Update oauth2-oidc-sdk to 11.31.1 2026-01-10 23:30:44 +09:00
Naoki Takezoe
d2233e78e4 Fix release date of GitBucket 4.45.0 (#3917) 2026-01-10 13:33:39 +09:00
Naoki Takezoe
8ab6b386a3 Release 4.45.0 (#3916) 4.45.0 2026-01-10 11:55:30 +09:00
Naoki Takezoe
2dd2c4f568 Deprecate helpers.markdown() (#3913) 2026-01-09 22:15:50 +09:00
Naoki Takezoe
36f7011ebf Fix warnings in PluginRegistry (#3914) 2026-01-09 21:46:28 +09:00
Yasumichi Akahoshi
fbcf962630 Check existence of Wiki page for Wiki links (#3907) 2026-01-09 11:22:51 +09:00
Naoki Takezoe
3b9b261878 Remove unused imports (#3912) 2026-01-09 08:58:48 +09:00
Naoki Takezoe
b334809e3e Add option to display fullname instead of username on UI (#3910) 2026-01-08 14:21:23 +09:00
Scala Steward
9a1324a870 Update logback-classic to 1.5.24 2026-01-07 09:10:47 +09:00
Scala Steward
b7c39e90d2 Update sbt, sbt-dependency-tree, ... to 1.12.0 2026-01-05 16:38:47 +09:00
Scala Steward
63b4f25687 Update oauth2-oidc-sdk to 11.31 2026-01-04 19:53:19 +09:00
Yasumichi Akahoshi
b582af4469 Fix bug that #3894 doesn't work with context path (#3906) 2026-01-03 20:54:42 +09:00
Yasumichi Akahoshi
ecd3f5b4eb Fix system menu of plugins (#3902)
In the system settings, the menu-item-hover class has been added to the plugin menu.
2025-12-31 20:41:12 +09:00
Yasumichi Akahoshi
7be433d331 Remove unnecessary CSS style (#3899) 2025-12-31 20:40:00 +09:00
Scala Steward
154be0f425 Update oauth2-oidc-sdk to 11.30.2 2025-12-30 20:17:02 +09:00