Bwko
f27d87d93b
Added minimum password length to app.ini ( #223 )
8 years ago
Ethan Koenig
d0932ef147
Bug fixes for Issues filters ( #413 )
...
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Lunny Xiao
a12da66dfb
resolved #394 ( #396 )
8 years ago
Denis Denisov
380e32e129
Fix random string generator ( #384 )
...
* Remove unused custom-alphabet feature of random string generator
Fix random string generator
Random string generator should return error if it fails to read random data via crypto/rand
* Fixes variable (un)initialization mixed assign
Update test GetRandomString
8 years ago
Lunny Xiao
b4c794058a
fixed vulnerabilities ( #392 )
8 years ago
Bwko
a4ece1f223
Fixes typos
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
...
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- 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
8 years ago
Joubert RedRat
f91cbf0fed
Support to last login feature
8 years ago
Sandro Santilli
b7bf9dfd28
more
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
LefsFlare
2cb5ec5983
Prevented user enumeration of valid users through HTTP status codes of login ( #3639 ) ( #3654 )
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
f0b5c3b90a
#3448 redirect if any after sign in
8 years ago
lstahlman
2c82fc3edb
Fix for #3410 overall issues for organisations is limited to num_repos from the user ( #3412 )
8 years ago
Sandro Santilli
90dd0657b5
Add support for federated avatars ( #3320 )
...
* 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
8 years ago
Unknwon
cf6d321991
Ignore repository with issue disabled or use external tracker in dashboard issues
8 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Unknwon
8966f5635d
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
...
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens
63e21c146a
ensure we don’t try changing LDAP passswords
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Alec S
792c13cf0a
readd 'dashboard' to title
9 years ago
Alec S
af847ef94e
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Alec S
bfed3ea7d3
fix indentation
9 years ago
Alec S
affa3c2dbf
Remove dashboard keyword from title
9 years ago
Alec S
6775ac7334
change page titles for user and org dashes
9 years ago
Jan Christophersen
72a8fa3bc8
Allowing site admins to view private repositories in org/home
9 years ago
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
9 years ago
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
aa12135b97
Fix panic when view profile without signin
...
Also fix that no matter who, still able to see organizations with private membership.
9 years ago
Unknwon
d8631b616e
Merge pull request #2578 from exmex/develop
...
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
9 years ago
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Florian Kaiser
90e9e3c89d
Only show repositories on organization dashboard, that the user has access to
9 years ago
Unknwon
739d5aa1d3
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
...
Hide other teams & repos from organization page
9 years ago
Florian Kaiser
c3ff476ed6
Remove unnecessary else-block
9 years ago
Florian Kaiser
bead46363b
Evaulate org/team permissions when using the issue/PR view
9 years ago
Florian Kaiser
fdad234445
Remove unnecessary comments
9 years ago
Florian Kaiser
bba1847a8e
Everyone can see public repos
9 years ago
Unknwon
a9d68a6884
fix #2529
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
9 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
9 years ago
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
9 years ago
Unknwon
62edc5c59a
fix cannot show user public ssh keys
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
33a99d587a
fix #2223
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
b117befc2b
#1692 add user email APIs
9 years ago
Unknwon
0cce4439ce
#2154 minor fix
9 years ago
Unknwon
477b4d3b50
#2154 fix form submit error
9 years ago
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Adam Strzelecki
e57b2dffa4
Admin should be able to see all organizations
...
This is follow-up for 56c66ee486
allowing admin
to see private repositories, even when not being member of them.
9 years ago
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
52c8f69163
fix #650
9 years ago
Unknwon
3d14e73fd8
fix #1119 and data race in timming tasks
9 years ago
Unknwon
dc0c0dc06b
fix typo for #1996
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
917d334ebd
only show user's activities in profile
9 years ago
Unknwon
f8ae161c74
fix #1302
9 years ago
Unknwon
1559bd58e7
save custom avatar as PNG
9 years ago
Unknwon
603c7389b8
#1459 Dashboard issues lacks sorting
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
acf428863c
fix #981
9 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
9 years ago
Unknwon
9d36fc6986
finish new auth e-mails
9 years ago
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
9 years ago
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
9 years ago
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
9 years ago
Unknwon
52ec80fa18
finish all new user settings UI
9 years ago
Unknwon
c38754d432
#1191 allow upload avatar for org
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon
83dc2468f5
finish initial version of pull request
9 years ago
Unknwon
8d73832bdf
fix sql
9 years ago
Unknwon
a329bbc215
new org dashboard issues
9 years ago
Unknwon
f808df5a7b
new user dahsboard issues
9 years ago
Unknwon
062adbed8a
add confirmation to delete ssh key
9 years ago
Unknwon
47ac579f09
only assign auto-admin when sign up by web
9 years ago
Unknwon
4c7b6414eb
new access token UI
9 years ago
Unknwon
2493454587
new delete account UI and password confirmation
9 years ago
Unknwon
407385db7e
work on #1493
9 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
9 years ago
Unknwon
b4c0b7b98b
finish view issue without comments and ops
9 years ago
Unknwon
75aff60c90
finish create issue with milestone and assignee
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
9 years ago
Unknwon
0705f55ce0
finish new milestone page
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
eea9302d8f
fix #1204
9 years ago
无闻
333ab1b2b4
Merge pull request #1317 from smcquay/keys
...
fix .keys route
9 years ago
stephen mcquay
73698d292a
fix .keys route
...
This change fixes the output from /{{ username }}.keys so that it can work in
a ~/.ssh/authorized_keys file
9 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
无闻
e312634286
Merge pull request #1091 from sapk/fix-ng-issue-pages
...
Apply ng to issue dashboard
10 years ago
Unknwon
1cb57b1a44
#1094 : fix locale
10 years ago
Antoine GIRARD
96a71aaed8
Apply ng to issue dashboard
10 years ago
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
10 years ago
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
10 years ago
无闻
f92bfabf86
Merge pull request #960 from phsmit/access_action
...
Fix that owners also see actions on their repositories
10 years ago
Unknwon
7ccab9cd09
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
10 years ago
Unknwon
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
10 years ago
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
10 years ago
Peter Smit
0fa209d07b
Update/simplify fix that owners also see actions on their repositories
10 years ago
Peter Smit
455fad0fbd
Fix that owners also see actions on their repositories
...
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.
It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago
Peter Smit
6251626de4
Implement #798 Flexible ssh-key input
...
It is now possible to input ssh keys in a number of formats: openssh, SSH2 or just the base64 encoded key.
10 years ago
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
...
Multiple emails
10 years ago
Peter
20b5c23a19
Small fixes to multiple_emails feature
10 years ago
Unknwon
0a697517ac
work on #754
10 years ago
Unknwon
c4820f119d
work on #754
10 years ago
Unknwon
57b3be4016
work on #756
10 years ago
Peter
b033f2f535
Finish method for having multiple emails/user.
...
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
10 years ago
Peter
ec71d538fc
Method for activating email addresses through verification email
10 years ago
Unknwon
d01f2f3c22
fix #751
10 years ago
Unknwon
b6437b5a4c
safe check
10 years ago
Unknwon
db4951bc61
mirror fix on oauth2
10 years ago
Unknwon
d6132aaa88
fix oauth2
10 years ago
Unknwon
1b66600bd0
Fix #652
10 years ago
Unknwon
dc53270da9
Fix 653
10 years ago
Unknwon
ef275ebf62
more on change avatar
10 years ago
Unknwon
22ab4fa1b0
fix #139
10 years ago
Unknwon
55dfe2c978
custom avatar upload
10 years ago
Unknwon
9e22840483
fix #622
10 years ago
Unknwon
8c9338a537
add personal access token panel #12
10 years ago
Unknwon
146c8efee3
Fix API broken
10 years ago
Unknwon
3abc41ccca
Fix API broken
10 years ago
Unknwon
452ccff81c
Mirror fix on add ssh key
10 years ago
Martin van Beurden
976f1486e0
Set cookiepath to AppSubUrl
10 years ago
Unknwon
7ba9257a7f
Add suburl support
10 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
10 years ago
tobyzxj
ad041167f7
fix user's actions on domain/org/name-of-organization/dashboard
10 years ago
Unknwon
632b1b694d
Fix #465
10 years ago
Unknwon
81287ba022
Mirror issue fix
10 years ago
Marios Andreopoulos
510d5a5d74
import strings
10 years ago
Marios Andreopoulos
cd0ddcfa01
fix typo
10 years ago
Marios Andreopoulos
3d79f59671
fix wrong variable name
10 years ago
Marios Andreopoulos
b40922f4d4
remove extra comma
10 years ago
Marios Andreopoulos
12639c577f
Remove newline characters from ssh key before processing it.
...
Fixes issue #370 : https://github.com/gogits/gogs/issues/370
10 years ago
Unknwon
bba707de36
Finish team list, create new team, join/leave team page
10 years ago
Unknwon
5acc948562
Page: `/org/:orgname/settings`
10 years ago
Unknwon
5fbf8531e6
Finish new home page of organization
10 years ago
Unknwon
7af7584d25
Finish new reset password, etc.
10 years ago
Unknwon
5605af973b
Feature: Social sign in
10 years ago
Unknwon
78defd238c
Page: Manage social accounts
10 years ago
Unknwon
e8c9bb2c66
Finish new collaboration page
10 years ago
Unknwon
a8e05fdf1b
Use toolbox
10 years ago
Unknwon
7bbf644dd5
Convert captcha, cache, csrf as middlewares
10 years ago
Unknwon
9813161411
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
10 years ago
Unknwon
5e81383413
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
10 years ago
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
10 years ago
无闻
536f65b8ad
Merge pull request #293 from wmark/master
...
Enable users to upload other key types than RSA (+ ED25519, ECDSA, NTRU, McE)
10 years ago
W-Mark Kubacki
887ad1ec8b
Utilize ssh-keygen for checking of keys.
...
Removes the limitation to RSA and enables us to use all key types
SSH recognizes.
10 years ago
Unknown
0f907301b7
Fix #285
10 years ago
Unknown
5dbfe3c26c
Finish organization homepage
10 years ago
Unknown
6e448b0714
Finish delete organization
10 years ago
Unknown
ee9b7f322f
Clean code
10 years ago
Unknown
e0f9c628c5
Add create organization
10 years ago
Unknown
98f614a58e
Work on #249 issue1
10 years ago
Unknown
314193029a
Use constants to name template file
10 years ago
Unknown
4f2f3c2857
Code convention
10 years ago
Unknown
2657f88d9a
Fix #222
10 years ago
Unknown
688ec6ecbd
Fixed #209
10 years ago
Unknown
80055bde86
Code convention
10 years ago
Sebastian Jackel
02fb088b80
Remove password from log message on failed login
10 years ago
Unknown
9100786beb
Fix #185
10 years ago
Unknown
33ec0632ff
Fix #183
10 years ago
Michael Litvak
cca2a53d6f
Fix issue link in issues page
...
The link assumes that the issue belongs to the signed in
user, which is not necessarily the case
I changed it to use repository owner name instead
10 years ago
Unknown
a913aff1d0
Show collaborative repositories in dashboard
10 years ago
Lunny Xiao
55019bfbc5
merge all login methods
10 years ago
Unknown
25713ab209
Fix #167
10 years ago
Unknown
914ffa496f
Show private repository activities in dashboard if has access
10 years ago
Unknown
33d32585b1
Add mention, read/unread support of issue tracker
10 years ago
Unknown
7407f9caf3
Finish issue design
10 years ago
Unknown
8ca14e2109
Improve delete SSH key
10 years ago
Unknown
6e3dba2cc5
Clean repo code
10 years ago
Unknown
bbdfe25769
User code clean and ui improve
10 years ago
Unknown
89c99167b2
Fix #149
10 years ago
Unknown
41b0a7b97c
Mirror fix on public key
10 years ago
Unknown
62240b6bc1
Add login by email
10 years ago
Unknown
59d0e73c35
Batch mirror fix
10 years ago
无闻
37cbfc032a
Merge pull request #112 from juju2013/master
...
basic support for LDAP/Microsoft Active Directory authentication
10 years ago