1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/routers
KN4CK3R 0c6137617f
Add Tabular Diff for CSV files (#14661)
Implements request #14320 The rendering of CSV files does match the diff style.

* Moved CSV logic into base package.

* Added method to create a tabular diff.

* Added CSV compare context.

* Added CSV diff template.

* Use new table style in CSV markup.

* Added file size limit for CSV rendering.

* Display CSV parser errors in diff.

* Lazy read single file.

* Lazy read rows for full diff.

* Added unit tests for various CSV changes.
2021-03-29 22:44:28 +02:00
..
admin Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api/v1 Improve /api/v1/repos/issues/search by just getting repo ids (#15179) 2021-03-29 18:12:21 +01:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Handle unauthorized user events gracefully (#15071) 2021-03-20 21:39:43 +01:00
org Organization removal confirmation using name not password (#14738) 2021-03-01 16:33:05 +02:00
private Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
repo Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
routes Fix bug on avatar middleware (#15124) 2021-03-23 18:20:24 +01:00
user Validate email in oauth registration form (#15014) 2021-03-17 04:54:02 +01:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) 2021-01-27 04:57:18 +01:00
install.go use level config in main section when subsection not set level (#15176) 2021-03-28 20:08:19 +01:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00