mirror of
1
Fork 0
forgejo/routers/web/repo
Gusted 69dfe81d0e [UI] Adjust trailing EOL behavior for empty file
- Follow up #4835
- Currently for empty files (file size is shown in the file header) the
"No EOL" information is being shown, even though it doesn't really
make sense to show that for empty files.
- Add integration test.
- Ref: https://codeberg.org/Codeberg/Community/issues/1612#issuecomment-2169437

(cherry picked from commit e9a89a188e)
2024-08-20 13:42:33 +00:00
..
actions Fixes an visual bug where the info box to dispatch a workflow is shown even for users that lack permissions to actualy run the workflow. (#4305) 2024-07-06 05:36:21 +00:00
badges Enable `unparam` linter (#31277) 2024-06-16 13:42:58 +02:00
flags
setting enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00
activity.go Show repo activities even if only code unit active or git repo is empty but issue is active (#3455) 2024-04-28 13:47:52 +00:00
attachment.go
blame.go Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
branch.go Use repo object format name instead of detecting from git repository (#29702) 2024-03-20 08:46:28 +01:00
cherry_pick.go
code_frequency.go
commit.go [BUG] Fix panic on too high page number 2024-07-21 06:00:22 +00:00
compare.go Refactor sha1 and time-limited code (#31023) 2024-05-26 18:43:30 +02:00
contributors.go Fix Activity Page Contributors dropdown (#31264) 2024-06-18 20:05:23 +02:00
download.go
editor.go Add missed return after `ctx.ServerError` (#31130) 2024-06-02 16:26:54 +02:00
editor_test.go
find.go Escape paths for find file correctly (#30026) 2024-03-26 19:04:27 +01:00
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go fix(ui): allow unreacting from comment popover 2024-08-10 09:42:40 +00:00
issue_content_history.go Remove unnecessary inline style for tab-size (#31224) 2024-06-09 11:13:39 +02:00
issue_dependency.go Use PostFormValue instead of PostForm.Get 2024-05-02 10:51:07 +02:00
issue_label.go [GITEA] Apply changes to archived labels 2024-04-01 17:46:02 +05:00
issue_label_test.go enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go Fix Issue watching / unwatching on the web ui 2024-05-01 11:04:54 +02:00
main_test.go
middlewares.go
migrate.go
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
patch.go
projects.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
projects_test.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
pull.go [BUG] Return blocking errors as JSON errors 2024-08-10 05:53:07 +00:00
pull_review.go Revert "Prevent allow/reject reviews on merged/closed PRs" 2024-08-15 10:47:38 +01:00
pull_review_test.go enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00
recent_commits.go
release.go [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
release_test.go enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00
render.go Refactor render (#30136) 2024-03-30 07:17:31 +01:00
repo.go Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (#31359) 2024-06-16 13:42:59 +02:00
search.go [FEAT] support searching non default branches/tags when using git-grep (#3654) 2024-05-14 15:41:03 +00:00
topic.go
treelist.go
view.go [UI] Adjust trailing EOL behavior for empty file 2024-08-20 13:42:33 +00:00
view_test.go
wiki.go feat: wiki search using git-grep 2024-05-20 13:48:50 +00:00
wiki_test.go enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00