Unknwon
dbdd27e199
Minor naming improvement
2016-08-17 16:10:07 -07:00
Unknwon
258fefac24
General code quality improvement
2016-08-16 23:06:38 -07:00
Unknwon
b36d801abe
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
ce4acf67b9
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
2016-08-15 15:27:19 -07:00
Unknwon
e32c7ff88e
Fix outdated edit can’t overwrite changes
2016-08-15 02:06:35 -07:00
Unknwon
e39f53bab8
Web editor: improve edit file and diff preview
2016-08-14 23:52:24 -07:00
Unknwon
7863b5bde9
modules/sync: move sync objects to independent module
2016-08-14 23:52:24 -07:00
Unknwon
a1f46bf7c8
Code clean up for new config options
2016-08-14 23:52:24 -07:00
Richard Mahn
0450fc3784
Squashed commit of the following:
...
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 818df27
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa 2fcd3c9
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 1104e17
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 22719b6
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
2016-08-14 23:52:24 -07:00
Unknwon
a2c880ef17
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Unknwon
3b490bb4de
Add new dependency
2016-08-11 17:12:55 -07:00
Andrey Nering
d462d04d41
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
2016-08-11 17:07:09 -07:00
Andrey Nering
f3f2598e23
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
2016-08-11 16:16:36 -07:00
Thibault Meyer
4a7d79a68c
Fix #3321 : commit tag shortener ( #3418 )
...
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
2016-08-11 15:34:00 -07:00
Unknwon
19ea718eeb
#2852 code cleanup
2016-08-11 14:55:10 -07:00
Odin Ugedal
2ed68857cd
Add initial support for unix sockets ( #2852 )
2016-08-11 14:46:33 -07:00
Unknwon
241d1e13a0
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
12f0f252ee
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
2016-08-11 10:18:51 -07:00
Unknwon
97d54ac077
#3408 minor code fix
2016-08-11 07:41:01 -07:00
Thibault Meyer
8467154168
Fix typo CacheInternal -> CacheInterval ( #3432 )
2016-08-11 05:59:11 -07:00
Unknwon
ccf1b7381a
Update locales [CI SKIP]
2016-08-10 11:54:52 -07:00
Thibault Meyer
aaf5e5d9f2
Fix #3420 : Bad commit URL generation ( #3424 )
2016-08-10 11:35:06 -07:00
Unknwon
c94b4f69fc
#3091 show Git configs on admin panel
2016-08-10 11:01:42 -07:00
Unknwon
2aff46601b
Update bindata.go [CI SKIP]
2016-08-09 23:58:15 -07:00
Thibault Meyer
34ed7d24a1
Feature #3398 : Redefine global mirror interval ( #3409 )
...
* add mirror::GLOBAL_INTERVAL on app.ini
* rename key to DEFAULT_INTERVAL
* add key on default app.ini + move code
2016-08-09 23:47:16 -07:00
Unknwon
722427e216
#3158 skip RUN_USER check on Windows
2016-08-09 17:41:18 -07:00
Unknwon
378f119181
#3091 add config option for Git GC
2016-08-09 17:24:32 -07:00
Unknwon
279b1cd419
Little code refactoring
2016-08-09 12:56:00 -07:00
Unknwon
f15cd4c442
#3325 use correct word for .gitignore
2016-08-09 12:16:21 -07:00
Unknwon
6e987c5d4d
#3399 500 for upstream pulls page if user has forked repository
2016-08-08 13:02:55 -07:00
Unknwon
db02619c00
#2825 early response 200 when ?go-get=1
2016-08-07 14:29:16 -07:00
Unknwon
90d24701ae
#3320 code cleanup
2016-08-07 11:01:47 -07:00
Sandro Santilli
82d2c65308
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
2016-08-07 10:27:38 -07:00
Unknwon
99728407d4
#3393 fix missing sub-url prefix in relative avatar link
2016-08-07 10:13:05 -07:00
Andrey Nering
6eee0a680e
Improve diff highlight ( #3390 )
...
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
2016-08-07 09:49:47 -07:00
Unknwon
6bff2e63c2
Update locales [CI SKIP]
2016-08-03 12:24:53 -07:00
Unknwon
818df278ff
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
2016-07-31 01:26:43 +08:00
Unknwon
1db9d97a39
Update locales
2016-07-30 22:28:23 +08:00
Unknwon
3f60d71e08
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
34661bcdc8
repo/settings/options: take naming style examples out of locale string
2016-07-25 16:55:51 +08:00
Unknwon
7307a2c557
Add org.getUserTeams to reduce redundant code
2016-07-24 18:09:45 +08:00
Unknwon
631af92670
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
48b0d21673
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
11e7ac2a93
Use struct for UI settings
2016-07-24 00:23:54 +08:00
Unknwon
0615474a72
conf: change default mirror checking interval to 10m
2016-07-23 20:20:09 +08:00
Unknwon
21530f0437
#3107 fix mention regex does not include dash
2016-07-23 17:29:34 +08:00
Unknwon
f62068102d
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
Unknwon
0a9bb4de20
Update locales [CI SKIP]
2016-07-22 22:21:26 +08:00
Dennis Chen
ade2b40c6b
avatar: make custom and generated avatars equal ( #3301 )
...
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.
Signed-off-by: Dennis Chen <barracks510@gmail.com >
2016-07-21 15:31:14 +08:00
Unknwon
aaf133c4c1
Update locales and .gopmfile
2016-07-17 09:25:30 +08:00