gitea/cmd
zeripath c81ab17de9
TrimSpace when reading InternalToken from a file ()
InternalTokens are fixed as alphanum strings therefore TrimSpace from these.
Also use isatty to not add a terminal newline when redirecting generate.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
..
admin.go make `gitea admin auth list` formatting configurable ()
admin_auth_ldap.go Add restricted user filter to LDAP authentication ()
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication ()
cert.go
cmd.go
convert.go
doctor.go Return error for authorized_keys and mergebase problems ()
dump.go cmd: dump: check value of skip-repository flag ()
embedded.go Implement "embedded" command to extract static resources ()
embedded_stub.go Implement "embedded" command to extract static resources ()
generate.go TrimSpace when reading InternalToken from a file ()
hook.go Prevent timer leaks in Workerpool and others ()
keys.go Add debug option to serv to help debug problems ()
manager.go Queue: Make WorkerPools and Queues flushable ()
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others ()
serv.go Multiple LFS improvements ()
web.go Graceful: Xorm, RepoIndexer, Cron and Others ()
web_graceful.go Graceful: Xorm, RepoIndexer, Cron and Others ()