Kim "BKC" Carlbäcker
d409d3ab57
Sanitation fix from Gogs ( #1461 )
...
* Santiation fix from Gogs
* Linting
* Fix build-errors
* still not working
* Fix all the things!
* gofmt
* Add code-injection checks
2017-04-13 10:52:24 +08:00
Michael de Wit
21290d4e80
Optimize and fix autolink function ( #1442 ) ( #1444 )
...
* Optimize and fix autolink function (#1442 )
* Fix bug in autolink recursive fallback function
2017-04-12 16:01:08 +08:00
Bo-Yi Wu
22295944df
refactor: show command help message. ( #1486 )
2017-04-12 15:44:54 +08:00
Jonas
be6edaddcb
Repo size in admin panel ( #1482 )
...
* Implementation of the feature to view repository size in admin panel
* Move GetRepoSize to git module
* Repository.RepoSize -> Repository.Size
* RepoSize -> Size in template
* Redo a few bits and pieces
* Update size when syncing mirror or forking
* Remove GetRepoSize
* Changed fatal errors to error message
* Copy migration code from Gogs
* make fmt
2017-04-11 21:30:15 +08:00
Jonas
54f0293f0a
Mirror sync interval specified as duration string ( #1407 )
...
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
2017-04-08 23:27:26 +08:00
Mura Li
edbb9eefd6
Fix race when running commands with timeout ( #1465 )
...
Update vendored module code.gitea.io/git
2017-04-07 19:23:39 -07:00
Lunny Xiao
5c0bee9b20
refactor update ssh key use time ( #1466 )
2017-04-07 17:40:38 -07:00
Antoine GIRARD
d9db188274
Fix #1418 ( #1456 )
2017-04-07 22:50:40 +08:00
Jonas
e0df611cbc
Autofocus on 2fa passcode fields ( #1460 )
...
* Autofocus on 2fa passcode field
* Autofocus on 2fa scratch code field
2017-04-07 06:07:37 -07:00
Lunny Xiao
5acfc7c4bc
fix migrate failed and org dashboard failed on MSSQL database ( #1448 )
2017-04-06 18:47:25 -07:00
Lunny Xiao
cf6699fb4f
fix gpg API panic when no verification ( #1451 )
...
* fix gpg API panic when no verification
* fix if condition
2017-04-06 18:40:05 -07:00
Morlinest
cbeeaa1b11
Fix and simplify repo branches UI ( #1435 )
2017-04-06 23:33:57 +08:00
Sandro Santilli
410af6971b
Set VERSION from git once, in a variable ( #1447 )
2017-04-06 23:32:28 +08:00
Damien Gaignon
a78a0266c4
Correct broken unaligned load/store in armv5 ( #1355 )
...
Update vendor github.com/boltdb/bolt to take care of the issue #1354 .
2017-04-05 18:50:33 -07:00
Patrick G
d800305b34
Commit search appearence fixes ( #1254 )
...
* Fix button text to be consisstent with rest of UI
* Make all commits checkbox look nicer
2017-04-05 18:32:59 -07:00
Bo-Yi Wu
0cee52e0d3
fix: remove `str2html` from org full name ( #1360 )
...
* fix: remove str2html for security issue.
* fix: update
2017-04-05 18:31:31 -07:00
Jonas
e7493e953f
Corrected Mirror.NextUpdate not set ( #1388 )
2017-04-05 17:56:45 -07:00
Mura Li
2d1efcc270
Add GOFLAGS and EXTRA_GOFLAGS ( #1438 )
2017-04-05 16:10:32 +08:00
Mura Li
b746757209
Remove unused mutex field ( #1440 )
2017-04-04 01:54:02 -07:00
Mura Li
93c25c9a35
Fix races in the log module by using syncmap ( #1421 )
2017-04-03 10:22:26 +08:00
Kuba Tyszko
5d6b71fdbb
fixes pull request hanging indefinitely when it contains normal and LFS file pointers ( #1425 )
2017-04-03 10:21:09 +08:00
Morlinest
21fd3da6f5
Fix disabled fields in repo settings UI ( #1431 )
2017-04-03 10:19:51 +08:00
Andrey Nering
37a34c1a28
Merge pull request #1410 from andreynering/notification/issue-watch
...
[Notifications Step 6] Per issue/PR watch/unwatch
2017-04-01 15:12:24 -03:00
Andrey Nering
f6e5ce65b2
Improve tests a little
2017-04-01 10:05:58 -03:00
Andrey Nering
e5c56fe30d
Code style fixes
2017-04-01 09:58:20 -03:00
agrn
88112a5324
Fix "Error: No issue number specified" when pushing ( #1393 )
...
* Fix "Error: No issue number specified" when pushing
* update pr
2017-03-31 18:05:39 -07:00
Jonas
095e1f5155
Support for custom html meta ( #1423 )
...
* Support for custom html meta
* Changed html meta description default
2017-03-31 18:03:01 -07:00
Mura Li
6a39250579
Add length check for the return string ( #1420 )
...
* Add length check for the return string
* Differentiate error paths and logging messages
* Rectify error message
2017-03-31 16:42:23 +08:00
Andrey Nering
fac7a6fecf
Merge pull request #1390 from Morlinest/commit-graph-UI
...
Use whole button (commit graph) as link
2017-03-30 20:29:57 -03:00
Andrey Nering
e6781d5488
Add unit tests for issue_watch
2017-03-30 20:20:08 -03:00
Andrey Nering
a90ffffb1a
Use variables for times
2017-03-30 19:14:16 -03:00
Andrey Nering
18952c40f8
Add copyright headers
2017-03-30 19:11:58 -03:00
Andrey Nering
4b284f814c
UI and translation improvements
2017-03-30 19:10:30 -03:00
Morlinest
4fa691c4dd
Make issue in commit graph "clickable" ( #1392 )
2017-03-30 18:05:38 +08:00
Antoine GIRARD
912b340d0d
Simplify settings pages with item list ( #1389 )
...
* Remove point column on ssh key setting page
* Remove un-used css
* Some cleaning
* Use octicon-key
2017-03-30 09:02:37 +08:00
Andrey Nering
caed86fc6e
Fix lint
2017-03-29 21:18:28 -03:00
Andrey Nering
e4a33ed4d0
Add octicons to watch/unwatch buttons
2017-03-29 21:08:46 -03:00
Andrey Nering
cb362513f0
Add updated_unix column on issue_watch
2017-03-29 20:59:28 -03:00
Andrey Nering
aa6e949b3d
Consider issue_watchers while sending notifications
2017-03-29 20:54:57 -03:00
Andrey Nering
b674460748
Add watch button on issue
2017-03-29 20:31:47 -03:00
Andrey Nering
a0d0de7233
Create issue_watch table
2017-03-29 19:55:40 -03:00
Sandro Santilli
129b0d6a4b
Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION ( #1369 )
...
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION
Omit the configuration variable (the default) to be dependent.
Fixes #1363
* Move OpenID settings under Service object
* Show OpenID SignUp and SignIn status in admin panel / configuration
2017-03-29 18:57:43 +08:00
Bo-Yi Wu
08f7fded3c
refactor: remove workaround after the golang 1.7 release. ( #1349 )
...
* refactor: remove workaround after the golang 1.7 release.
* remove unused import.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* refactor: Add remove function.
* refactor: rename
* refactor: update build flag
2017-03-29 10:05:23 +08:00
Peter Žeby
d0298ea2fb
Use whole button as link
2017-03-27 12:46:46 +02:00
Andrey Nering
6a451a2b59
Minor improvements on commit graph UI ( #1380 )
...
* Make "Commit Graph" link a button and translate it
* Add title on Commit Graph page
2017-03-24 10:32:40 +08:00
Pavel Korovin
ae9b02b079
Fix FCGI (over TCP) support ( #1368 )
2017-03-23 15:57:43 +08:00
Philippe Kueck
fe94032f74
rewrite pre-commit, post-commit and options hooks ( fixes #1250 ) ( #1257 )
...
* issue #1250 , replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script
* issue #1250 , make script posix compilant
* v23, add migration script to update {pre,post}-receive and update hooks
* migration: use a more common name and rename v23 to v26 to avoid conflicts
* gofmt'ed and added copyright header
* fix SyncRepositoryHooks to also sync wiki repos
2017-03-23 09:12:51 +08:00
Lunny Xiao
d330a23ce1
fix migration failed when authorized_keys is not exist ( #1180 )
2017-03-23 00:04:31 +08:00
Kim "BKC" Carlbäcker
d349f059af
Cleaner IMO ( #1361 )
2017-03-22 22:30:40 +08:00
Jonas
bbbd08edc1
Changed text when password reset disabled. ( #1364 )
...
Fixes #1340
2017-03-22 22:29:29 +08:00