Vlad Temian
e78786ef39
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
f2e20c81b6
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
420fc8efc2
Disable add key button if SSH is disabled ( #2873 )
7 years ago
Antoine GIRARD
912b340d0d
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
efbb895ebe
Cleaner ui for admin, repo settings, and user settings page ( #1269 ) ( #1270 )
8 years ago
Bo-Yi Wu
4c12e2a4b9
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
da2585c11e
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
2580e7b57e
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
3eae4ecde7
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
144663a3cf
allow admin to migrate for any user/org
9 years ago
Unknwon
7c80eba77f
minor UI fix and fix ssh race
9 years ago
Unknwon
062adbed8a
add confirmation to delete ssh key
9 years ago
Unknwon
4c7b6414eb
new access token UI
9 years ago
Unknwon
81b8427438
new UI on admin/monitor
9 years ago
Unknwon
7bb5cb444c
fix css styles
10 years ago
Unknwon
8a3ee795d2
finish transforming to v2
10 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
10 years ago