summaryrefslogtreecommitdiffstats
path: root/templates/admin
Commit message (Collapse)AuthorAgeFilesLines
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)Sandro Santilli2017-03-291-0/+4
| | | | | | | | | | | * Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION Omit the configuration variable (the default) to be dependent. Fixes #1363 * Move OpenID settings under Service object * Show OpenID SignUp and SignIn status in admin panel / configuration
* Refactor admin/auth/new.tmpl (#1277)Kim "BKC" Carlbäcker2017-03-174-116/+119
|
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-1513-1246/+1195
|
* Log config pretty printer (#1097)Jonas2017-03-021-1/+1
| | | Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Fix for #828: Embed build tags (#1051)Jonas2017-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | * Fix for #828 Add build tags to ldflags and print in version output Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Reworked formatBuiltWith function Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Add tags to version information in admin panel Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Added new variable for use on admin page. Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Fixed incorrect indentation
* Fix for #1037: Corrected process ID placeholder to PID from Pid (#1048)Jonas2017-02-251-1/+1
| | | Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Take back control of hooks (#1006)Lunny Xiao2017-02-231-1/+1
| | | | | | | | | | | | | | | | * git: delegate all server-side Git hooks (#1623) * create hooks directories * take control hooks back * fix lint * bug fixed and minor changes * fix imports style * fix migration scripts
* Oauth2 consumer (#679)Willem van Dreumel2017-02-223-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
* feat: Able to disable non-admin to create new organization (#927)Bo-Yi Wu2017-02-141-0/+2
|
* feat: add git version on admin panel. (#921)Bo-Yi Wu2017-02-131-0/+5
|
* Add Keep email private (see issue #571). (#571)derSuessmann2017-01-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE. - Add the new option to the install and admin/config pages. - Add the new option to app.ini in the service section. - Add the new option to the settings struct. - Add English text strings to i18n. - Add field KeepEmailPrivate to user struct. - Add field KeepEmailPrivate to user form. - Add option to UI. - Add using noreply email address if user has "Keep Email Private". An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit messages (and hopefully all other git log relevant places). The change relies on the fact that git commands should use user.NetGitSig(). - Add hiding of email address in UI, if user has set "Keep Email Private". - Add condition to show email address only on explore/users and user pages, if user has not set "Keep Email Private". - Add noreply email in API if set "Keep Email Private". - Add a new service setting NO_REPLY_ADDRESS. The value of this setting is used as the domain part for the user's email address in git log, iff he decides to keep his email address private. If the user decides to keep his email address private and this option is not set 'noreply.example.org' is used, which no MTA should send email to. Add NO_REPLY_ADDRESS to conf/app.ini.
* fix config session missing data row & resolved #517 (#549)Lunny Xiao2017-01-021-1/+1
|
* resolved #517: fix admin ui data row missingLunny Xiao2016-12-311-5/+5
|
* Restrict creating organisations by user (#193)Schwobaland2016-12-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | * restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration
* Added sorting to organizations, repos & users page (#222)Bwko2016-12-241-1/+18
|
* Fix bug that tries to load mistyped templatesMatthias Loibl2016-11-101-1/+1
|
* Support to last login featureJoubert RedRat2016-11-091-0/+6
|
* Merge all pagination-templates into 'base/paginate'Kim "BKC" Carlbäcker2016-11-074-26/+3
| | | | to reduce code-duplicity
* fix grammar + typo. (#3453)Justin Ray Vrooman2016-08-121-2/+2
|
* Fix typo CacheInternal -> CacheInterval (#3432)Thibault Meyer2016-08-111-1/+1
|
* #3091 show Git configs on admin panelUnknwon2016-08-101-6/+36
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for federated avatars Fixes #3105 Removes avatar fetching duplication code Adds an "Enable Federated Avatar" checkbox in user settings (defaults to unchecked) Moves avatar settings all in the same form, making local and remote avatars mutually exclusive Renames UploadAvatarForm to AvatarForm as it's not anymore only for uploading * Run gofmt on all modified files * Move Avatar form in its own page * Add go-libravatar dependency to vendor/ dir Hopefully helps with accepting the contribution. See also #3214 * Revert "Add go-libravatar dependency to vendor/ dir" This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82. * Make federated avatar setting a global configuration Removes the per-user setting * Move avatar handling back to base tool, disable federated avatar in offline mode * Format, handle error * Properly set fallback host * Use unsupported github.com mirror for importing go-libravatar * Remove comment showing life exists outside of github.com ... pity, but contribution would not be accepted otherwise * Use Combo for Get and Post methods over /avatar * FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR * Fix persistance of federated avatar lookup checkbox at install time * Federated Avatars -> Enable Federated Avatars * Use len(string) == 0 instead of string == "" * Move import line where it belong See https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md Pity the import url is still the unofficial one, but oh well... * Save a line (and waste much more expensive time) * Remove redundant parens * Remove an empty line * Remove empty lines * Reorder lines to make diff smaller * Remove another newline Unknwon review got me start a fight against newlines * Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE On re-reading the diff I figured what Unknwon meant here: https://github.com/gogits/gogs/pull/3320/files#r73741106 * Remove newlines that weren't there before my intervention
* Refactor User.Id to User.IDUnknwon2016-07-245-6/+6
|
* Minor HTML fix for delete repository noticeUnknwon2016-07-231-2/+2
|
* #2937 able to prohibit user loginUnknwon2016-07-161-0/+6
|
* Modify behaviour of repo-delete. (#3232)Pheng Heong TAN2016-07-091-2/+0
| | | | | | | | | | Re: issues gogits/gogs#2863 and gogits/gogs#3231 As a result of modifications to the contents of the conf folder, `make bindata` was run, causing an update to bindata.go. Meta ----- This commit will be rebased onto the 'develop' branch.
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-082-6/+32
| | | | Initially proposed by #2376 and fixes #3068 as well.
* #13 finish user and repository searchUnknwon2016-03-115-71/+43
| | | | Both are possible on explore and admin panel
* #1891 attempt to fix expected invalid CSRF tokenUnknwon2016-03-031-2/+0
| | | | - Remove unused config settings `[picture] service`
* Post work for #2637Unknwon2016-02-271-1/+41
| | | | Improve test cases, config settings, also show SSH config settings on admin config panel.
* Minor fix for #2660Unknwon2016-02-241-9/+18
|
* Test mailer button. Addresses #1531Josh Frye2016-02-241-1/+2
|
* Minor fix for #2634Unknwon2016-02-201-0/+6
| | | | Add AttributesInBind option in new auth source form.
* LDAP: Fetch attributes in Bind DN context optionAdam Strzelecki2016-02-201-0/+8
| | | | | | | | | This is feature is workaround for #2628 (JumpCloud) and some other services that allow LDAP search only under BindDN user account, but not allow any LDAP search query in logged user DN context. Such approach is an alternative to minimal permissions security pattern for BindDN user.
* #2633 fix removed config optionUnknwon2016-02-161-2/+0
|
* #2554 reinitialize all repos from the dbUnknwon2016-02-041-0/+4
| | | | - Update locales
* fix #2416Unknwon2016-01-261-2/+2
|
* #2156 add edit org link in admin panelUnknwon2015-12-121-0/+2
|
* #2156 admin able to edit organization max repo creationUnknwon2015-12-112-1/+3
|
* #1575 Limit repo creationUnknwon2015-12-101-0/+10
|
* LDAP parameters UI: bind_dn and bind_password are not requiredSlavikZ2015-12-092-6/+6
|
* Indent all templates with tabsAdam Strzelecki2015-12-0814-1162/+1162
| | | | | | | | | | | | 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
* remember page number when delete repoUnknwon2015-12-051-1/+1
|
* #2063 Ability to delete repo from admin panelUnknwon2015-12-051-0/+17
|
* #2052 advanced select ops for system noticesUnknwon2015-12-051-10/+48
|
* #2052 Ability to batch delete system noticesUnknwon2015-12-011-0/+3
|
* LDAP: Optional user name attribute specificationAdam Strzelecki2015-12-022-0/+8
| | | | | | | | | | | | | | | Consider following LDAP search query example: (&(objectClass=Person)(|(uid=%s)(mail=%s))) Right now on first login attempt Gogs will use the text supplied on login form as the newly created user name. In example query above the text matches against both e-mail or user name. So if user puts the e-mail then the new Gogs user name will be e-mail which may be undesired. Using optional user name attribute setting we can explicitly say we want Gogs user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail to login 1st time, the new account will receive correct user name.
* add some logUnknwon2015-11-211-1/+1
|
* minor fix on #1694Unknwon2015-11-211-15/+15
|
* Fix admin configuration new uiAntoine GIRARD2015-11-211-211/+188
|