summaryrefslogtreecommitdiffstats
path: root/routers/admin
Commit message (Collapse)AuthorAgeFilesLines
* go lint fixed for routers/adminLunny Xiao2016-11-216-51/+73
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-106-36/+36
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* Ordering organizations and users by nameThibault Meyer2016-11-101-1/+1
|
* Fix type in unused constant name (#111)Sandro Santilli2016-11-071-14/+14
| | | | | | | | | | | | | | | | | | * Write LDAP, SMTP, PAM, DLDAP back to all uppercase * Fix type in unused constant name * Other MixCased fixes * Complete MixerCasing of template constants * Re uppercase LTS and LDAPS suffixes * Uppercase JSON suffix in constant names * Proper case LoginNoType * Prefix unexported template path constants with "tpl"
* And othersSandro Santilli2016-11-072-2/+2
|
* Security protocolsSandro Santilli2016-11-071-5/+5
|
* More mixageSandro Santilli2016-11-071-9/+9
|
* More...Sandro Santilli2016-11-072-6/+6
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-036-36/+36
|
* models/login_source: code improvementUnknwon2016-08-311-3/+2
|
* #3515 use alert instead 500 for duplicated login source nameUnknwon2016-08-311-2/+7
|
* Fix typo CacheInternal -> CacheInterval (#3432)Thibault Meyer2016-08-111-1/+1
|
* #3091 show Git configs on admin panelUnknwon2016-08-101-0/+2
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-242-2/+2
|
* Use struct for UI settingsUnknwon2016-07-244-5/+5
|
* #2937 able to prohibit user loginUnknwon2016-07-161-0/+1
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-162-5/+3
|
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-081-16/+35
| | | | Initially proposed by #2376 and fixes #3068 as well.
* #13 fix admin can't search private reposUnknwon2016-03-153-6/+24
| | | | - update glide info
* #13 finish user and repository searchUnknwon2016-03-113-55/+9
| | | | Both are possible on explore and admin panel
* Rename module: middleware -> contextUnknwon2016-03-116-34/+34
|
* #1146 finsih UI work for access mode of collaboratorsUnknwon2016-03-051-3/+7
| | | | | Collaborators have write access as default, and can be changed via repository collaboration settings page to change between read, write and admin.
* #1891 attempt to fix expected invalid CSRF tokenUnknwon2016-03-031-1/+0
| | | | - Remove unused config settings `[picture] service`
* Post work for #2637Unknwon2016-02-271-0/+2
| | | | Improve test cases, config settings, also show SSH config settings on admin config panel.
* Minor fix for #2660Unknwon2016-02-241-3/+8
|
* Test mailer button. Addresses #1531Josh Frye2016-02-241-0/+8
|
* Move cron module to independent packageUnknwon2016-02-201-1/+1
| | | | Make it easier to keep track of upstream changes and bug fixes
* LDAP: Fetch attributes in Bind DN context optionAdam Strzelecki2016-02-201-0/+1
| | | | | | | | | 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.
* #2554 reinitialize all repos from the dbUnknwon2016-02-041-0/+4
| | | | - Update locales
* #1938 #1374 disable password change for non-local usersUnknwon2015-12-102-13/+13
|
* #1575 Limit repo creationUnknwon2015-12-101-0/+1
|
* remember page number when delete repoUnknwon2015-12-051-1/+1
|
* #2063 Ability to delete repo from admin panelUnknwon2015-12-051-1/+21
|
* APIs: admin usersUnknwon2015-12-051-3/+3
|
* #2052 advanced select ops for system noticesUnknwon2015-12-051-8/+17
|
* #2052 Ability to batch delete system noticesUnknwon2015-12-011-1/+12
|
* LDAP: Optional user name attribute specificationAdam Strzelecki2015-12-021-15/+16
| | | | | | | | | | | | | | | 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 admin op: delete missing reposUnknwon2015-11-181-0/+4
|
* fix #1930Unknwon2015-11-121-1/+1
|
* #1511 Allow local import only for admin usersUnknwon2015-11-031-0/+1
|
* fix import path, fix #1782Unknwon2015-10-151-1/+1
|
* #1525 Triggere mailer for admin created accountsUnknwon2015-09-251-0/+10
|
* #1693 minor fixUnknwon2015-09-251-23/+1
|
* Merge pull request #1693 from sapk/fix-admin-repo-new-ui无闻2015-09-251-5/+17
|\ | | | | Fix admin repos new ui
| * Fix admin repos new uiAntoine GIRARD2015-09-261-5/+17
| |
* | Merge pull request #1691 from sapk/fix-admin-organization-new-ui无闻2015-09-251-7/+18
|\ \ | | | | | | Fix admin organization new ui
| * | Fix indent in notice routerAntoine GIRARD2015-09-251-3/+3
| | |
| * | New admin organization UIAntoine GIRARD2015-09-251-7/+18
| |/
* / #1689 minor fixes and update localeUnknwon2015-09-251-5/+5
|/