2
0
Commit Graph

4804 Commits

Author SHA1 Message Date
Andrey Nering
21655edf73 Merge commit 'af636848622c8ad27cace63be5f9dd9aaa565502' as 'modules/minwinsvc' 2017-01-23 20:40:11 -02:00
Andrey Nering
af63684862 Squashed 'modules/minwinsvc/' content from commit cad6b2b
git-subtree-dir: modules/minwinsvc
git-subtree-split: cad6b2b879b0970e4245a20ebf1a81a756e2bb70
2017-01-23 20:40:11 -02:00
DWE
19cf83be38 fix logfile name (#731) 2017-01-23 19:19:12 +08:00
Lunny Xiao
25e0c9a86a update xorm for bugs fix (#728) 2017-01-23 19:11:57 +08:00
Lunny Xiao
8abb4d2363 Update xorm and fix dump command (#692)
* update xorm and fix dump

* catch database init error

* still use dumpTables

* fix dump bool type

* update vendor.json
2017-01-23 17:11:18 +08:00
Bwko
ae5d868288 Add option to app.ini to enable local import paths (#724) 2017-01-23 09:19:50 +08:00
Bwko
e2ace992cf Add a reserved path check to the wiki (#720) 2017-01-22 23:08:54 +08:00
Kjell Kvinge
cfe53ed515 add scroolbars to wide graphs. (#608)
* Add scrollbars to graph and revlist if needed.

* Add border
2017-01-22 20:10:01 +08:00
Lunny Xiao
f038ff88b4 fixed bugs on Wiki and resolved #667 (#674) 2017-01-21 20:50:51 +08:00
Thomas Boerger
8f6f7d3eea Set the ldflags to static value within makefile (#709) 2017-01-20 18:34:20 +01:00
Bwko
af4af13e21 Fix crash caused by #647 (#708) 2017-01-20 21:47:09 +08:00
Philip Couling
e5f3401b18 Spun attachments into seperate go file (#701)
Moved attachments into seperate go file
2017-01-20 07:58:46 +01:00
Ethan Koenig
a42a9c1da1 Fix permission bugs in team API (#647) 2017-01-20 13:16:10 +08:00
Ethan Koenig
39f1be75c3 API Endpoints for organization members (#645) 2017-01-20 10:31:46 +08:00
Kazuki Sawada
d797af0fae Fix: Pagenation on dashboard->issues does not work well (#698) 2017-01-19 17:20:40 +08:00
Andrey Nering
40d5beabad Notifications: trying to get a better layout (#660)
* i18n button titles

* Improvements on notification page layout

* Notification count badge fixes

* Make table <tr> clickable

* Fix octicon aligment

* Fix use of AppSubUrl
2017-01-18 09:18:55 +08:00
Thomas Boerger
b6730d29a8 Enforce custom LDFLAGS within makefile (#684) 2017-01-17 14:02:44 +08:00
willemvd
0971f2d261 Remove the default console logger when it is not set in the configuration (#602)
* Remove the default console logger when it is not set in the configuration

* Added comment to new function (lint failure)

* update based on PR comments (code style)

* code style fix (thanks bkcsoft)

* check if logger exists based on the l.outputs (like in l.DelLogger) instead of adapter, otherwise panic when reinstalling gitea (since the output adapter still exist, without outputs)
2017-01-17 14:02:35 +08:00
Matthias Loibl
2a2abca584 Refactor process package and introduce ProcessManager{} with tests (#75)
* Add a process.Manager singleton with process.GetManager()

* Use process.GetManager everywhere

* Fix godoc comments for process module

* Increment process counter id after locking the mutex
2017-01-17 13:58:58 +08:00
Andrew
b7b9210c46 Two factor authentication support (#630)
* Initial commit for 2FA support

Signed-off-by: Andrew <write@imaginarycode.com>

* Add vendored files

* Add missing depends

* A few clean ups

* Added improvements, proper encryption

* Better encryption key

* Simplify "key" generation

* Make 2FA enrollment page more robust

* Fix typo

* Rename twofa/2FA to TwoFactor

* UNIQUE INDEX -> UNIQUE
2017-01-16 10:14:29 +08:00
Philip Couling
ba108352be Attach to release (#673)
* Moved attachaments POST url from /issues/attachments to /attachments

* Implemented attachment upload on release page

* Implemented downloading attachments on the release page

* Added zip and gzip files to default allowed attachments

* Implemented uploading attachments on edit release

* Renamed UploadIssueAttachment to UploadAttachment
2017-01-15 22:57:00 +08:00
Philip Couling
e10589080f Changed README to refer to https images only (#675) 2017-01-15 21:31:34 +08:00
btrepp
d6f9d20875 Removes reliance on server specific SQL (#393)
Breaks the retrieval of repositories into two queries
This fetches the paged ids in one go, then the
actual repository information in a second query

Some databases do not support SELECT with *
when group by is used.
2017-01-14 22:32:36 +08:00
Shyim
9eb105ae57 Fix #646 (#669) 2017-01-14 21:07:43 +08:00
Bo-Yi Wu
6a7a820310 docs: fix translation for zh-tw and zh-hk (#668) 2017-01-14 21:05:12 +08:00
Andrey Nering
46f7eef8a6 Merge pull request #643 from pkuphy/patch-2
fix typo
2017-01-14 10:44:58 -02:00
Ethan Koenig
d7038d446c Fix ambiguity bug in getCommentsByRepoIDSince (#665) 2017-01-14 10:21:30 +08:00
Bwko
ef8507eea4 Don't create a default pid file (#637) 2017-01-14 10:15:43 +08:00
Ethan Koenig
255d466809 Bug fixes for webhook API (#650) 2017-01-14 10:14:48 +08:00
Lunny Xiao
214c6c2e56 bug fixed for update repository (#664) 2017-01-14 10:07:04 +08:00
xgitea
ad5d777043 docs: update translation on notification page for zh-CN (#649)
* docs: update translation on notification page for zh-CN

* use international resources
2017-01-13 17:31:48 +08:00
Bo-Yi Wu
1fb85e272b docs: update zh-tw translation (#651) 2017-01-13 08:18:49 +01:00
Manuel Kuhlmann
20f1c8a946 Add data directory excluding sessions to dump (#587) 2017-01-12 12:47:20 +08:00
pkuphy
525fe40e53 fix typo (#644)
fix typo: 「與」-> 「於」
2017-01-12 12:46:51 +08:00
pkuphy
2db9ee15c0 fix typo (#642)
「与」修改为「于」
2017-01-12 12:46:20 +08:00
Andrey Nering
17b9742a82 Notifications: mark as read/unread and pin (#629)
* Use relative URLs

* Notifications - Mark as read/unread

* Feature of pinning a notification

* On view issue, do not mark as read a pinned notification
2017-01-12 12:27:09 +08:00
Bo-Yi Wu
c4094b4df2 refactor: Add new deleteOrg func. (#633) 2017-01-11 21:10:43 +08:00
Bo-Yi Wu
c976d4bf2e docs: update translation on homepage for zh-tw (#634) 2017-01-11 09:23:42 +01:00
pkuphy
ac3bbb5975 fix typo 2017-01-11 12:13:47 +08:00
Kazuki Sawada
b9c3f91596 Fix: Issues cannot be created with labels (#622)
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
2017-01-10 21:57:03 +08:00
Matthias Loibl
7bb4ccbea1 Merge pull request #631 from rasa/patch-1
Typos and make CONTRIBUTING a little nicer
2017-01-10 10:57:56 +01:00
Matthias Loibl
3397d74bf9 Merge pull request #625 from appleboy/improve
refactor: check the error returned by os.MkdirAll()
2017-01-10 10:46:08 +01:00
Lunny Xiao
4ba32ccb16 bug fix release 2017-01-09 21:54:03 +01:00
Ethan Koenig
7aafb3dc1f Unit tests for models/admin 2017-01-09 21:49:51 +01:00
Bo-Yi Wu
ec97fa07e4 refactor: check the error returned by os.MkdirAll() 2017-01-09 22:36:23 +08:00
Matthias Loibl
d0d3ae48db Merge pull request #610 from appleboy/pid
feat: support pid file.
2017-01-09 14:51:26 +01:00
Bo-Yi Wu
bdaad710c6 feat: support pid file. 2017-01-09 19:54:57 +08:00
vz
d13be752a2 Fix install.tmpl input default value (#611)
* Fix install.tmpl input default value

* Update db_user to gitea

* Add when INSTALL_LOCK = false
2017-01-09 17:16:10 +08:00
Ethan Koenig
39c8772cc8 Better coverage in pull_test (#615) 2017-01-09 11:15:07 +08:00
Ethan Koenig
2e8fe6f573 Better coverage and TODOs for update_test (#616) 2017-01-09 11:14:57 +08:00