Unknwon
0f33b04c87
Add subcommand to create new user in CLI
9 years ago
Andrey Nering
fa12c282f6
Add Content-Disposition header for downloads ( #3439 )
9 years ago
Thibault Meyer
7eafe3213f
Fix #3321 : commit tag shortener ( #3418 )
...
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
9 years ago
Unknwon
a47aef5460
#2852 code cleanup
9 years ago
Odin Ugedal
1dd003bd4c
Add initial support for unix sockets ( #2852 )
9 years ago
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
9 years ago
Unknwon
7e9b42c87d
#2780 code clean up
9 years ago
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
9 years ago
Unknwon
042d350762
Fix only user has repo write access can comment
9 years ago
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
9 years ago
Unknwon
c5d4a9e046
#2907 Add commit timestamp to webhook
9 years ago
Unknwon
15b0cbe318
#3007 update git-module require version
9 years ago
Unknwon
bbe866122d
#3406 fix regression of MustEnableIssues check
9 years ago
Unknwon
b73318bc62
Fix 404 when comment on pulls and not using interal issue tracker
9 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
9 years ago
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
9 years ago
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
9 years ago
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
9 years ago
Unknwon
899e799459
#1601 support delete issue comment
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
ae88d76032
Bump version
9 years ago
Unknwon
e3d3d424b2
Minor fix for go vet
9 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Unknwon
a752f09055
#2709 validate username attribute fetched from LDAP
9 years ago
Unknwon
de10387f41
#2586 bump git-module requirement
9 years ago
Unknwon
1faaaeb3d9
Update glide.lock
9 years ago
Unknwon
7938506e07
#518 update git-module require version
9 years ago
Unknwon
73b4acbb63
Update glide.yaml
9 years ago
Unknwon
a4eaddff81
#2958 Update dep version
9 years ago
Alex Myasoedov
84d9aff8a2
gogs dump tempdir flag ( #3086 )
9 years ago
Unknwon
7826eae452
#3045 fix DEPRECATED Action signature erorr
9 years ago
Unknwon
60ae8ac3d2
Add route for #2846
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
d733efc1cc
#1286 #2098 Alpha support for custom templates
...
No guarantee for compatibility with future changes
9 years ago
Unknwon
f76d821bda
fix #2804
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
58f0c68151
Some minor changes
9 years ago
Unknwon
12b5a76b0d
Minor fix for #2772
9 years ago
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
9 years ago
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
9 years ago
Josh Frye
2f228ddf31
Update delete wiki page route
9 years ago
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
9 years ago
Unknwon
9e89584cb4
Allow setting git operations timeouts
...
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
baaf6046a1
Minor fix for #2660
9 years ago
Josh Frye
c27038e392
Test mailer button. Addresses #1531
9 years ago
Unknwon
72ce06eab8
#2682 fix missing slash for go-get meta
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
c9516c4c60
Fix wrong place to check disable SSH
9 years ago
Unknwon
ac78bae7b5
Replace uuid module with original package
9 years ago
Unknwon
7140dbac95
Fix #857
9 years ago
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
9 years ago
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
ccc94dd11c
#2646 fix panic on pushing repositor
9 years ago
Unknwon
9cf4fe043b
Add env var check for update
9 years ago
Unknwon
58e004f7da
Remove cache avatar support and add its tests
9 years ago
Unknwon
9adfe453d5
#2569 delete repo local copy when transfer
...
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
9 years ago
Josh Frye
8662990746
Add default branch to repo payload
9 years ago
Josh Frye
47adc0e8f7
Bump git-module. Fixes #2589
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
71bb7f6053
Escape unescaped periods in route regular expression
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Unknwon
ee814bf8d6
#2491 minor fix for sr on dashboard
9 years ago
Unknwon
db719abff2
stop compile bindata for TRANSLATORS
...
- update required version of git-module for #2373
9 years ago
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
9 years ago
Unknwon
cc22c8a1ae
update dep lib version requirement
9 years ago
Unknwon
a62290de52
#2311 improve HTTP auth error message
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
f00fef0cd0
#2251 show commits count in PR tabs
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
8ecbf0f16d
fix #2204
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Unknwon
50264200f0
fix huge diff hangs
9 years ago
Unknwon
7509fa2c33
improve get commits performance
9 years ago
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
9 years ago
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
9 years ago
Unknwon
477b4d3b50
#2154 fix form submit error
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Adam Strzelecki
e4a092fb5a
Make serv/update use LOCAL_ROOT_URL instead public
...
The reasoning for that is in the previous commit.
9 years ago
Unknwon
4e0c697aaf
force new INI version
9 years ago
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
f3eaa4c592
Set default language for i18n
9 years ago
Unknwon
f41360d864
#2052 advanced select ops for system notices
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
5742f9fe69
fix #2095
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
ec2423ad7c
more UI minor fixes
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
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
9 years ago
Unknwon
dcb391d341
Merge branch 'feature/wiki' into develop
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
5a14c3cf98
Merge pull request #2053 from kakwa/develop
...
various fixes in gogs dump command
9 years ago
Unknwon
9950f5a5bd
add line break after SSH error message
9 years ago
kakwa
1d7a1b6034
add name of the dump file in last log message
9 years ago
kakwa
a59b1fcc21
Fix dump of log and custom directory in dump cmd
...
Now, the dump cmd uses setting.CustomPath and setting.LogRootPath
instead of setting.WorkDir which was kind of broken if the gogs
binary was in a different directory than gogs data.
Additionally, the backup of setting.CustomPath directory is only done
if it exists.
9 years ago
kakwa
c5a9be9115
Using a tmp dir to generate db and repo dumps
...
Using a tmp dir makes gogs dump more robust to concurrent runs.
It also permits an easier cleaning of the tmp files (gogs-db.sql and
gog-repo.zip) by just removing the tmp dir.
As a side effect, it partially fix bugs on workdir.
Previously, 'gogs dump' created the archives in the current directory,
and tried to include these archives from the directory where the
gogs binary lies.
ex: if gogs binary is in /usr/bin/gogs, and gogs dump is run from /tmp/,
/tmp/gog-repo.zip is created, but gogs dump tried to include
/usr/bin/gogs-repo.zip.
9 years ago
kakwa
f86afb04a2
Adding more error handling in dump cmd
...
The dump cmd did not check the return value of the z.AddFile or
z.AddDir when building the final archive.
It caused the dump command to succeed even if an error occurred.
The resulted dump archive could be corrupted/empty.
(errors could be various: removal by a concurrent process, disk full,
bugs in the dump cmd itself)
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
9 years ago
Unknwon
21ad4bf0fe
print error log to client side when dev mode
9 years ago
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
9 years ago
Unknwon
52c8f69163
fix #650
9 years ago
Unknwon
987dcc5372
fix #1383
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
29ed7872f8
repo sidebar active class
9 years ago
Unknwon
5dc3dd1704
fix #1960
9 years ago
Unknwon
134d8e7681
work on #1961
9 years ago
Unknwon
e030109b5a
fix api broken
9 years ago
Unknwon
7c80eba77f
minor UI fix and fix ssh race
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
2db785b3ed
convert missing name
9 years ago
Unknwon
647688bd06
#1266 convert name to lower when handle SSH
9 years ago
Unknwon
18c841050b
fix 1540 and experimental SSH server support
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
676d774d88
fix #1902
9 years ago
Unknwon
f255b1e86d
#1896 fatal when no needed update task
9 years ago
Unknwon
a374751eb8
add Makefile
9 years ago
Unknwon
b9f5def5dc
fix insecure tls when trigger task
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
b5fdf0947b
reduce code
9 years ago
Unknwon
35a65736fa
add get repo API
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
无闻
b1941f1da1
Merge pull request #1736 from soudy/develop
...
Added repository remove option to API
9 years ago
Unknwon
db00aa7653
add log for trigger hook when push through SSH
9 years ago
Steven Oud
6fe868a4d5
added repository remove option to api
9 years ago
kendaru
b05c7b3faa
moved routes to RouterRef group
9 years ago
kendaru
5c39d3fa7d
changed integrated page number to GET
9 years ago
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
9 years ago
Unknwon
e787e73e2f
fix URL match
9 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
10 years ago
Unknwon
e75fd2f783
simplify names
10 years ago
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
10 years ago
Unknwon
121a81a2c5
finish new edit auth UI
10 years ago
Unknwon
52ec80fa18
finish all new user settings UI
10 years ago
Unknwon
5020576e80
minor regexp fix on #1593
10 years ago
Unknwon
56eb252098
#1593 fix repo name router bug
10 years ago
Unknwon
c38754d432
#1191 allow upload avatar for org
...
Signed-off-by: Unknwon <u@gogs.io>
10 years ago
Unknwon
6a5c87afdd
prepare 0.6.9 release
10 years ago
Unknwon
7ec991326d
fix migrate api
10 years ago
Unknwon
e5b105e513
fix migrate API
10 years ago
Unknwon
83dc2468f5
finish initial version of pull request
10 years ago
Unknwon
d951824ff9
able to download archive by API
10 years ago
Unknwon
953bb06857
basic PR feature
10 years ago
Unknwon
37e0cee877
finish PR UI
10 years ago
Unknwon
8c046073a8
work on PR conversation
10 years ago
Unknwon
c08600c59b
new edit webhook UI
10 years ago
Unknwon
4217c2333c
new create webhook UI
10 years ago
Unknwon
2881456421
new webhooks list UI
10 years ago
Unknwon
1cb03135b7
new repo git hooks UI
10 years ago
Unknwon
a329bbc215
new org dashboard issues
10 years ago
Unknwon
062adbed8a
add confirmation to delete ssh key
10 years ago
Unknwon
371572cf5f
allow edit issue and comment
10 years ago
Unknwon
87f5ca8e1f
able edit issue title
10 years ago
Unknwon
1453e91f41
minor fix on API response
10 years ago
Unknwon
54b52de6ee
minor fix on API response
10 years ago
Unknwon
47ac579f09
only assign auto-admin when sign up by web
10 years ago
Unknwon
4c7b6414eb
new access token UI
10 years ago
Unknwon
2493454587
new delete account UI and password confirmation
10 years ago
Unknwon
81b8427438
new UI on admin/monitor
10 years ago
Unknwon
6fdc881bd4
detect kill signal
10 years ago
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
10 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
10 years ago
Unknwon
133b19d0c5
finish view comments on issue page
10 years ago
Unknwon
b410207dc1
add cache-control for attachments
10 years ago
Unknwon
e67659bf8e
fix serve attachment content type
10 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
10 years ago
Unknwon
89c2bd4a0d
finish create issue attachment UI
10 years ago
Unknwon
590c464c56
UI: create issue with title and content
10 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
9db4acc62e
improve fork process
10 years ago
Unknwon
3d0583df0f
fix private repo cannot trigger hook by SSH
10 years ago
Unknwon
9d414d4dd9
remove Index field of milestone
10 years ago
Unknwon
952c480f4f
better version checker
10 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
10 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
10 years ago
Unknwon
0705f55ce0
finish new milestone page
10 years ago
Unknwon
74bd6b939c
milestone: edit
10 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
10 years ago
Unknwon
9311a9858a
milestone: pagination
10 years ago
Unknwon
04458d49a0
milestone: list view
10 years ago
Unknwon
cc0d963f75
fix check template version
10 years ago
Unknwon
bdd92dc7d1
fix disable router log option
10 years ago
Unknwon
4cd892c99f
fix #1227
10 years ago