Lunny Xiao
ebaac2f66e
Implementation of discord webhook ( #2402 )
...
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
2017-08-28 13:06:45 +08:00
Lunny Xiao
77fbeece87
fix duplicated feed ( #2370 )
2017-08-28 10:26:04 +08:00
Morlinest
f080403366
Fix "index out of range" runtime error in repo_list tests ( #2376 )
2017-08-28 09:33:38 +08:00
Kim "BKC" Carlbäcker
a4c0360e89
Clarify Translation Process. Also fix branch names ( #2378 )
...
* Clarify Translation Process. Also fix branch names
* Update CONTRIBUTING.md
2017-08-28 09:26:27 +08:00
Manuel
b7d01d941a
Add UseCompatSSHURI setting ( #2356 )
...
* Add UseCompatSSHURI setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com > (+1 squashed commits)
Squashed commits:
[dda2dc79] Add ForceCloneSSHURL setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com >
* Make protocol if construct more readable
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com >
2017-08-26 15:57:41 +02:00
Lunny Xiao
b37bb632cc
Fix missing collabrative repos ( #2367 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
2017-08-24 22:01:03 +08:00
Zsombor
25c3335031
Add possibility to record branch or tag information in an issue ( #780 )
2017-08-24 15:30:27 +03:00
David Schneiderbauer
c0cf114ac2
Log failed authentication attempts with remote address for fail2ban ( #2334 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com >
2017-08-24 08:57:54 +03:00
Sandro Santilli
43ad28be42
Fix integration test after librejs location change ( #2374 )
...
Fixes #2373
2017-08-24 08:54:06 +03:00
Michael Lustfield
53434c07dd
Move themes to plugin directory. Fixes #2372 ( #2375 )
2017-08-24 08:52:42 +03:00
Lunny Xiao
8d8f50ec4b
update translation from crowdin ( #2368 )
2017-08-23 23:17:25 +08:00
Michael Lustfield
f20dd4a514
Moved vendored js/css into public/vendor and documented sources ( #1484 ) ( #2241 )
...
* Cleaning up public/ and documenting js/css libs.
This commit mostly addresses #1484 by moving vendor'ed plugins into a
vendor/ directory and documenting their upstream source and license in
vendor/librejs.html.
This also proves gitea is using only open source js/css libraries which
helps toward reaching #1524 .
* Removing unused css file.
The version of this file in use is located at:
vendor/plugins/highlight/github.css
* Cleaned up librejs.html and added javascript header
A SafeJS function was added to templates/helper.go to allow keeping
comments inside of javascript.
A javascript comment was added in the header of templates/base/head.tmpl
to mark all non-inline source as free.
The librejs.html file was updated to meet the current librejs spec. I
have now verified that the librejs plugin detects most of the scripts
included in gitea and suspect the non-free detections are the result of
a bug in the plugin. I believe this commit is enough to meet the C0.0
requirement of #1534 .
* Updating SafeJS function per lint suggestion
* Added VERSIONS file, per request
2017-08-23 16:58:05 +02:00
Lunny Xiao
c25c4d6ad5
Add more test for login links and fix a bug on action retrieve ( #2361 )
...
* add more test for login links and fix a bug on action retrieve
2017-08-23 12:53:35 +03:00
David Schneiderbauer
c59b1861fc
Add integration tests for signin ( #2363 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com >
2017-08-23 10:30:33 +03:00
Ethan Koenig
c090d2798b
Fix SQL condition bug in GetFeeds(..) ( #2360 )
2017-08-23 08:51:58 +03:00
Lunny Xiao
3fa9993c42
fix bug on create repo link on dashboard ( #2359 )
2017-08-23 12:08:20 +08:00
Bo-Yi Wu
3f29ef73e6
Revert "Changes for latest DroneCI ( #2355 )" ( #2358 )
...
This reverts commit 2560b013cf .
2017-08-22 20:56:57 -05:00
Bwko
e05576e7b1
Add collaborative repositories to the dashboard ( #2205 )
...
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
2017-08-23 09:30:54 +08:00
Thomas Boerger
2560b013cf
Changes for latest DroneCI ( #2355 )
2017-08-22 20:08:30 -05:00
Morlinest
8cc3355f05
Remove (almost) server side data rendering from repo-search component ( #2317 )
...
* Rename some shorthands
* Remove (almost) server side data rendering from repo-search component template
2017-08-22 21:00:34 +08:00
Lunny Xiao
0f99da5c65
update latest xorm version to vendor ( #2353 )
2017-08-22 14:39:52 +03:00
Silke
cd59066a92
Add badge and link to the Matrix room ( #2348 )
2017-08-21 23:35:08 +08:00
Antoine GIRARD
d7908c088d
Improve swagger doc ( #2274 )
...
* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger
2017-08-21 14:13:47 +03:00
Sandro Santilli
34888bf583
Add INTERNAL_TOKEN to integration .ini file ( #2346 )
...
Avoids override of source file upon running `make test-pgsql`
Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none
is found; the other ini files under integration/ all have an
INTERNAL_TOKEN
2017-08-21 14:47:23 +08:00
Morlinest
d01c970f1c
Fix order of elements in dashboard html ( #2344 )
2017-08-20 22:48:41 +03:00
Sandro Santilli
afa96ad8a3
Remove integration test executables on make clean ( #2340 )
2017-08-20 11:09:24 +08:00
Sandro Santilli
dbf4d596d2
Add OpenID configuration in install page ( #2276 )
2017-08-19 17:34:49 +02:00
Ethan Koenig
d849e090ae
No error log entries for repo 404 ( #2200 )
2017-08-19 15:32:18 +03:00
David Schneiderbauer
0c4f72c7f7
Add AppURL without trailing slash to TOTP issuer parameter to prevent conflicting accounts on multiple gitea installations ( #2335 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com >
2017-08-19 09:39:43 +08:00
Morlinest
b213732c9a
Fix repo-search template errors for go1.7 ( #2336 )
2017-08-19 09:37:48 +08:00
Morlinest
fb8b101c1a
Fix variable name typo ( #2327 )
2017-08-18 14:21:46 +03:00
Lauris BH
1debc089a4
Add missing forks key for dashboard repository component ( #2325 )
...
Missing key that is used in #2285
2017-08-18 14:56:04 +08:00
Morlinest
30bf0f8ffe
Make use of Vue more universal ( #2318 )
2017-08-17 19:04:39 +03:00
Lunny Xiao
1ddb46efdd
Add public links check ( #2323 )
...
* add public links check
* more links for query parameters
2017-08-17 23:52:28 +08:00
Lunny Xiao
898c4ac1a4
fix template error on explore repos ( #2319 )
2017-08-17 15:20:21 +03:00
Michael Kuhn
fb8ec350e2
Make SHOW_USER_EMAIL also apply to profiles ( #2258 )
...
The e-mail address is currently only hidden from the explore page.
2017-08-17 17:08:03 +08:00
Ethan Koenig
55ad0cad10
Trigger sync webhooks on UI commit ( #2302 )
...
* Trigger sync webhooks on UI commit
* Also fix UI upload/delete
2017-08-17 15:22:08 +08:00
Morlinest
35fe24abda
Fix and improve dashboard repo UI ( #2285 )
...
* Fix and improve dashboard repo UI
* Change order of scripts loading
* Remove "mirror" tab
* Remove single tab panel for "org user"
* Add localization strings
* Create vue component and change event for search
* Add "mirrors" filter
2017-08-17 09:31:34 +08:00
Bo-Yi Wu
d2c6f423ef
refactor(Makefile): allow overriding default go program ( #2310 )
2017-08-16 08:46:41 +08:00
Ethan Koenig
8be5ad6c97
Revert to upstream ini dependency ( #2304 )
2017-08-14 10:37:41 -03:00
silverwind
dc6f3599d9
More tweaks to repo top panel ( #2267 )
...
* More tweaks to repo top panel
* undo hiding of compare button on master
* attempt to fix ci issue
* another ci attempt
2017-08-13 19:49:38 -03:00
Ethan Koenig
1c157cd5a5
Fix rendering of external links ( #2292 )
2017-08-13 19:30:27 -03:00
Pontus Leitzler
61e740d29c
Use /dev/urandom to create random password ( #2298 )
...
* Make sure generated password is random
Use /dev/urandom to get a 32 char password
* Make sure generated password is random
Use /dev/urandom to generate 32 char password
* Make sure generated password is random
2017-08-13 14:18:05 +08:00
Lunny Xiao
8503e52685
Only update needed columns when update user ( #2296 )
...
* only update needed columns when update user
* fix missing update_unix column
2017-08-12 22:18:44 +08:00
Lunny Xiao
ef110f15a0
fix 500 error when view an issue which's milestone deleted ( #2297 )
2017-08-12 10:15:30 +08:00
Lunny Xiao
8137d08312
fix webhook link
2017-08-11 03:45:54 +02:00
Patrick G
70e82da595
Comment help text for issues ( #2281 )
2017-08-09 12:13:33 +08:00
Ethan Koenig
d25aae74f0
Temporarily patch go-ini/ini with fork ( #2255 )
2017-08-07 09:42:48 +08:00
silverwind
ea783de037
File path tweaks in UI ( #2264 )
2017-08-06 11:13:20 +08:00
Michael Kuhn
37535bb548
Make short link pattern greedy ( #2259 )
...
Multiple links on the same line are currently not recognized correctly.
2017-08-06 00:52:19 +03:00