Rodrigo Villablanca Vásquez
c7764920fc
Some small template fixes ( #3820 )
7 years ago
Vlad Temian
592714a0ab
Writable deploy keys ( closes #671 ) ( #3225 )
* Add is_writable checkbox to deploy keys interface
* Add writable key option to deploy key form
* Add support for writable ssh keys in the interface
* Rename IsWritable to ReadOnly
* Test: create read-only and read-write deploy keys via api
* Add DeployKey access mode migration
* Update gitea sdk via govendor
* Fix deploykey migration
* Add unittests for writable deploy keys
* Move template text to locale
* Remove implicit column update
* Remove duplicate locales
* Replace ReadOnly field with IsReadOnly method
* Fix deploy_keys related integration test
* Rename v54 migration with v55
* Fix migration hell
7 years ago
Lunny Xiao
a5c212cd1e
Refactor struct's time to remove unnecessary memory usage ( #3142 )
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
7 years ago
Michael Kuhn
aa6ef1a0ab
Disable add key button if SSH is disabled ( #2873 )
7 years ago
Antoine GIRARD
8b865eb5c7
Simplify settings pages with item list ( #1389 )
* Remove point column on ssh key setting page
* Remove un-used css
* Some cleaning
* Use octicon-key
8 years ago
Patrick G
974f8f76ab
Cleaner ui for admin, repo settings, and user settings page ( #1269 ) ( #1270 )
8 years ago
Bo-Yi Wu
9b06f96354
fix: fill in ssh key title on setting of repo ( #950 )
* fix: fill in ssh key title on setting of repo
* fix: Don't overwrite ssh key title if exist.
8 years ago
Adam Strzelecki
69427c6115
Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
9 years ago
Adam Strzelecki
51df440502
UI: Always show menu on repo pages
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
9 years ago
Adam Strzelecki
4d6b9a4736
UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
9 years ago
Unknwon
67ccea3792
allow admin to migrate for any user/org
9 years ago
Unknwon
65562d2514
minor UI fix and fix ssh race
9 years ago
Unknwon
14636093e9
add confirmation to delete ssh key
10 years ago
Unknwon
4927fe0600
new access token UI
10 years ago
Unknwon
9f55ee32e4
new UI on admin/monitor
10 years ago
Unknwon
76a1ba90b7
fix css styles
10 years ago
Unknwon
d6925a4ebc
finish transforming to v2
10 years ago
Unknwon
6f6ad6f3c9
#334 : Add Deployment Key Support
10 years ago