Commit Graph

4183 Commits

Author SHA1 Message Date
Shreejan Shrestha
2587f2bd19 Improve pull request compare performance by making mergeability and diff loading manually triggerable, with configurable default mode (#3996) 2026-04-05 20:40:14 +09:00
Naoki Takezoe
6ff90aae1a Fix NullPointerException in the commits page (#4000) 2026-04-01 09:57:52 +09:00
Naoki Takezoe
d10736387b Suppress JGitUtil's debug logs in test (#3982) 2026-03-07 12:50:48 +09:00
Naoki Takezoe
f9e4500bbb Support for revert pull request (#3819) 2026-03-07 08:57:12 +09:00
Naoki Takezoe
df60395ea2 Fix CSS for discussion items in issue and pull request (#3979) 2026-03-07 03:22:33 +09:00
Yasumichi Akahoshi
3111ab3234 Add text completion (use SuggestionProvider) (#3974) 2026-03-04 02:24:37 +09:00
Yasumichi Akahoshi
f72617769b Fix potential error in Markdown preview introduced in #3907 (#3967) 2026-02-21 09:52:48 +09:00
Naoki Takezoe
b355599a96 Tweak markdown editor and tool bar styles (#3966) 2026-02-19 08:30:38 +09:00
ziggystar
8f2e0f8505 Add SHA-256 support for WebHookService by adding header X-Hub-Signature-256 (#3962)
Co-authored-by: Thomas Geier <thomas.geier@solidat.de>
2026-02-14 13:47:14 +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
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
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
Yasumichi Akahoshi
17b3587263 share ace related script (#3936) 2026-01-30 13:56:35 +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
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
Naoki Takezoe
8ab6b386a3 Release 4.45.0 (#3916) 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
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
Naoki Takezoe
6917cbf224 Fix typo in #3896 (#3898) 2025-12-23 11:48:06 +09:00
Naoki Takezoe
637b033782 Use Commons IO's IOUtils instead of Commons Compress's one (#3897) 2025-12-23 11:03:19 +09:00
Naoki Takezoe
7aee451a55 Include path in filePath param for preview in the online editor (#3896) 2025-12-23 10:59:08 +09:00
Naoki Takezoe
c2ad66438c Preview based on the correct filename on the editor (#3894) 2025-12-21 13:23:30 +09:00
Yasumichi Akahoshi
c88e5adac2 Add support for an alternative renderer to commit comments, wikis, and issues. (#3882) 2025-12-21 12:17:34 +09:00
Yasumichi Akahoshi
0d6e5af8d7 Tentative fix for issue #2456 (#3883)
Co-authored-by: Naoki Takezoe <takezoe@gmail.com>
2025-12-07 01:26:37 +09:00
xuwei-k
2fbdead64b Update testcontainers 2025-10-20 07:59:52 +09:00
Naoki Takezoe
b4220aab68 Test with MySQL 8.4 (#3860) 2025-10-18 10:40:16 +09:00
xuwei-k
9ab9363d0b fix warnings 2025-10-13 17:56:55 +09:00
Naoki Takezoe
af66f8f746 Fix Repository Contents Upload API for nested path (#3843) 2025-09-23 09:01:30 +09:00
Naoki Takezoe
217df7012c Fix Wiki branch resolution in blob endpoint (#3826) 2025-08-23 17:11:11 +09:00
Naoki Takezoe
e672d41e77 Fix downloading branch that contains slash (#3825) 2025-08-23 16:49:18 +09:00
Naoki Takezoe
0c1e8b932b Reject direct push to branch if branch protection is enabled (#3791) 2025-08-03 11:58:28 +09:00
Naoki Takezoe
b7b7322cce Fix branch selector in repository viewer (#3813) 2025-08-01 02:33:05 +09:00
Naoki Takezoe
911c102f39 Improve logging in initialization process (#3804) 2025-07-21 12:10:56 +09:00
Naoki Takezoe
c4d8af02b2 Fix wrong redirect after sign-in when user-defined CSS is used (#3789) 2025-07-05 12:08:20 +09:00
Naoki Takezoe
c99ff1cf0f Release 4.43.0 (#3784) 2025-06-29 13:00:21 +09:00
Naoki Takezoe
c9095722f8 Redirect from sign-in page to top page if already authenticated (#3781) 2025-06-22 21:23:15 +09:00
Naoki Takezoe
b9d2efa582 UI: Fix bottom margin of branch deletion box in pull request (#3780) 2025-06-21 17:23:23 +09:00