forgejo/modules
Gusted 796c4eca0b
Prettify number of issues (#17760)
* Prettify number of issues

- Use the PrettyNumber function to add commas in large amount of issues.

* Use client-side formatting

* prettify on both server and client

* remove unused i18n entries

* handle more cases, support other int types in PrettyNumber

* specify locale to avoid issues with node default locale

* remove superfluos argument

* introduce template helper, octicon tweaks, js refactor

* Update modules/templates/helper.go

* Apply some suggestions.

* Add comment

* Update templates/user/dashboard/issues.tmpl

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-06-12 20:08:23 +08:00
..
activitypub
analyze Simplify IsVendor (#19626) 2022-05-06 10:12:30 +01:00
appstate
auth Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
avatar Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
base Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
cache Update go-chi/cache to utilize Ping() (#19719) 2022-05-15 20:43:27 +02:00
charset Detect truncated utf-8 characters at the end of content as still representing utf-8 (#19773) 2022-05-21 14:06:24 +01:00
container
context Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
convert Nuke the incorrect permission report on /api/v1/notifications (#19761) 2022-05-20 18:57:49 +02:00
csv
doctor Add breaking email restrictions checker in doctor (#19903) 2022-06-07 16:51:33 -04:00
emoji
eventsource
generate
git Fix some mirror bugs (#18649) 2022-06-11 21:50:14 +08:00
gitgraph Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
graceful Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
hcaptcha
highlight Fix copy/paste of empty lines (#19798) 2022-06-10 21:45:28 +08:00
hostmatcher
httpcache Set the LastModified header for raw files (#18356) 2022-05-09 17:54:51 +02:00
httplib
indexer Fix data-race problems in git module (quick patch) (#19934) 2022-06-11 11:56:27 +08:00
json
lfs Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
log Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581) 2022-05-03 18:03:34 +02:00
markup Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
metrics
migration Prevent NPE whilst migrating if there is a team request review (#19855) 2022-06-09 10:50:05 +08:00
nosql
notification Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
options Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
packages
paginator
password
pprof
private
process Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
proxy
public Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
queue
recaptcha
references Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
regexplru Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
repository Refactor git module, make Gitea use internal git config (#19732) 2022-06-10 09:57:49 +08:00
secret
session
setting Make AppDataPath absolute against the AppWorkPath if it is not (#19815) 2022-06-06 10:43:17 -04:00
ssh Implement http signatures support for the API (#17565) 2022-06-05 08:16:14 +01:00
storage
structs
svg Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
sync
templates Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
test Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
timeutil
translation
typesniffer Fix raw endpoint PDF file headers (#19825) 2022-05-28 18:10:14 +03:00
updatechecker
upload
uri
user
util Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
validation
web Unify repo settings & show better error (#19828) 2022-06-12 13:43:27 +08:00